我使用的是百问网的100ASK T113板子,
SDK也是百问网提供的,之后打上T113的板级配置补丁,但是使用编译出来的固件始终无法烧录,log如下
[662]fes begin commit:2c94b33
[665]set pll start
[670]periph0 has been enabled
[673]set pll end
[675][pmu]: bus read error
[677]board init ok
[679]beign to init dram
[682]ZQ value = 0x31***********
[684]get_pmu_exist() = -1
[687]ddr_efuse_type: 0xa
[690][AUTO DEBUG] single rank and full DQ!
[694]ddr_efuse_type: 0xa
[697][AUTO DEBUG] rank 0 row = 13
[700][AUTO DEBUG] rank 0 bank = 8
[703][AUTO DEBUG] rank 0 page size = 2 KB
[707]DRAM BOOT DRIVE INFO: V0.24
[710]DRAM CLK = 792 MHz
[712]DRAM Type = 3 (2:DDR2,3:DDR3)
[716]DRAMC read ODT off.
[718]DRAM ODT value: 0x42.
[721]ddr_efuse_type: 0xa
[724]DRAM SIZE =128 M
[726]PLL_DDR_CTRL_REG:0xf8004100
[728]DRAM_CLK_REG:0xc0000000
[732]DRAM simple test OK.
[735]rtc standby flag is 0x0, super standby flag is 0x0
[740]init dram ok
U-Boot 2018.05-g5b4bafa (Oct 18 2021 - 01:53:36 +0000) Allwinner Technology
[02.308]CPU: Allwinner Family
[02.311]Model: sun8iw20
[02.313]DRAM: 128 MiB
[02.317]Relocation Offset is: 04ec6000
[02.344]secure enable bit: 0
[02.346]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[02.352]gic: normal mode
[02.355]flash init start
[02.357]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[02.365][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00
[02.371][mmc]: Is not Boot mode!
[02.374][mmc]: SUNXI SDMMC Controller Version:0x50310
[02.385][mmc]: ************Try SD card 2************
[02.390][mmc]: mmc 2 cmd timeout 100 status 100
[02.394][mmc]: smc 2 err, cmd 8, RTO
[02.398][mmc]: mmc 2 close bus gating and reset
[02.403][mmc]: mmc 2 cmd timeout 100 status 100
[02.407][mmc]: smc 2 err, cmd 55, RTO
[02.410][mmc]: mmc 2 close bus gating and reset
[02.415][mmc]: ************Try MMC card 2************
[02.424][mmc]: mmc 2 cmd timeout 100 status 100
[02.428][mmc]: smc 2 err, cmd 1, RTO
[02.431][mmc]: mmc 2 close bus gating and reset
[02.435][mmc]: Card did not respond to voltage select!
[02.440][mmc]: ************SD/MMC 2 init error!************
[02.445][mmc]: mmc init product failed
MMC init failed
try emmc fail
[02.452]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
[02.458]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
[02.466]sunxi-spinand-phy: request spi0 gpio ok
[02.470]sunxi-spinand-phy: request general tx dma channel ok!
[02.475]sunxi-spinand-phy: request general rx dma channel ok!
[02.481]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[02.485]sunxi-spinand-phy: init spic0 clk ok
sspi->base_addr = 0x4025000, the SPI control register:
[VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
[ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
[FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
[SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
[BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
[02.531]sunxi-spinand-phy: not detect any munufacture from id table
[02.537]sunxi-spinand-phy: get spi-nand Model from fdt fail
[02.542]sunxi-spinand-phy: get phy info from fdt fail
[02.547]sunxi-spinand-phy: not detect munufacture from fdt
[02.552]sunxi-spinand-phy: detect munufacture from id table: Mxic
[02.558]sunxi-spinand-phy: detect spinand id: ffff12c2 ffffffff
[02.563]sunxi-spinand-phy: ========== arch info ==========
[02.569]sunxi-spinand-phy: Model: MX35LF1GE4AB
[02.574]sunxi-spinand-phy: Munufacture: Mxic
[02.579]sunxi-spinand-phy: DieCntPerChip: 1
[02.583]sunxi-spinand-phy: BlkCntPerDie: 1024
[02.588]sunxi-spinand-phy: PageCntPerBlk: 64
[02.592]sunxi-spinand-phy: SectCntPerPage: 4
[02.597]sunxi-spinand-phy: OobSizePerPage: 64
[02.601]sunxi-spinand-phy: BadBlockFlag: 0x1
[02.606]sunxi-spinand-phy: OperationOpt: 0x7
[02.610]sunxi-spinand-phy: MaxEraseTimes: 65000
[02.615]sunxi-spinand-phy: EccFlag: 0x2
[02.620]sunxi-spinand-phy: EccType: 4
[02.624]sunxi-spinand-phy: EccProtectedType: 3
[02.629]sunxi-spinand-phy: ========================================
[02.635]sunxi-spinand-phy:
[02.637]sunxi-spinand-phy: ========== physical info ==========
[02.643]sunxi-spinand-phy: TotalSize: 128 M
[02.647]sunxi-spinand-phy: SectorSize: 512 B
[02.651]sunxi-spinand-phy: PageSize: 2 K
[02.655]sunxi-spinand-phy: BlockSize: 128 K
[02.659]sunxi-spinand-phy: OOBSize: 64 B
[02.663]sunxi-spinand-phy: ========================================
[02.669]sunxi-spinand-phy:
[02.672]sunxi-spinand-phy: ========== logical info ==========
[02.677]sunxi-spinand-phy: TotalSize: 128 M
[02.681]sunxi-spinand-phy: SectorSize: 512 B
[02.685]sunxi-spinand-phy: PageSize: 4 K
[02.689]sunxi-spinand-phy: BlockSize: 256 K
[02.694]sunxi-spinand-phy: OOBSize: 128 B
[02.698]sunxi-spinand-phy: ========================================
[02.704]sunxi-spinand-phy: MX35LF1GE4AB reset rx bit width to 1
[02.710]sunxi-spinand-phy: MX35LF1GE4AB reset tx bit width to 1
[02.715]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[02.720]sunxi-spinand-phy: block lock register: 0x00
[02.724]sunxi-spinand-phy: feature register: 0x11
[02.729]sunxi-spinand-phy: sunxi physic nand init end
[02.734]Loading Environment from SUNXI_FLASH... OK
[02.738]try to burn key
[02.740]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
buf queue page size = 16384
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x13
set address 0x13 ok
一直卡这个地方
感觉是我USB问题?
注:板子验证过,之前是OK的,但是我重新拉了一个SDK之后,就没有办法烧录了