研究了好长时间,sunxi-fel有完整的教程但不支持T113,XFEL支持芯片,但卡在了引导阶段:
xboot:还没试。
awboot:初始化后只在flash和SD中尝试读取。
u-boot:目前用的100ask的sdk里编译出的u-boot-sun8iw20p1.bin,启动后显示如下
U-Boot 2018.05 (Aug 04 2022 - 08:50:22 +0000) Allwinner Technology
[2878.195]DRAM: 128 MiB
[2878.199]Relocation Offset is: 04eee000
[2878.222]secure enable bit: 0
[2878.224]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[2878.231]gic: normal mode
[2878.234]flash init start
[2878.236]workmode = 0,storage type = 0
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
[2878.303]sunxi-spinand-phy: read id failed : -110
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
[2878.371]sunxi-spinand-phy: read id failed : -110
initcall sequence 47f89454 failed at call 4300f0f5 (err=-1)
### ERROR ### Please RESET the board ###
离线