页次: 1
搜遍全网也没找到任何资料。T113-s3,我只焊接了主芯片、nand还有供电和晶振。然后现在是插上usb,电脑能认出来usb设备,然后phoenix suit会自动检测到,并且下载fes和uboot到dram中然后运行,也能正常运行,但是到了启动efex后,显示usb init ok,但是电脑usb就不认了,说设备描述符无法获取之类的。
我是想既然一开始电脑能发现并且传输uboot,说明usb硬件链路没问题。但是我的固件放到其他开发板上也可以下载没问题。
一般都是卡在usb init ok,极少数情况可以输出set address 0x3c之类的。但是和电脑就是不通。
下面是输出的信息
[13:20:43.740]收←◆[738]fes begin commit:adaf1174cc
[741]set pll start
[747]periph0 has been enabled
[750]set pll end
[751][pmu]: bus read error
[754]board init ok
[756]beign to init dram
[758]ZQ value = 0x34
[760]get_pmu_exist() = -1
[762]ddr_efuse_type: 0xa
[765]trefi:7.8ms
[767][AUTO DEBUG] single rank and full DQ!
[771]ddr_efuse_type: 0xa
[774]trefi:7.8ms
[776][AUTO DEBUG] rank 0 row = 13
[779][AUTO DEBUG] rank 0 bank = 8
[782][AUTO DEBUG] rank 0 page size = 2 KB
[786]DRAM BOOT DRIVE INFO: V0.33
[789]DRAM CLK = 936 MHz
[792]DRAM Type = 3 (2:DDR2,3:DDR3)
[795]DRAMC read ODT off.
[797]DRAM ODT value: 0x42.
[800]ddr_efuse_type: 0xa
[803]DRAM SIZE =128 M
[805]dram_tpr4:0x0
[807]PLL_DDR_CTRL_REG:0xf8004d00
[810]DRAM_CLK_REG:0xc0000000
[813][TIMING DEBUG] MR2= 0x20
[817]DRAM simple test OK.
[819]rtc standby flag is 0x0, super standby flag is 0x0
[824]init dram ok
[13:20:46.352]收←◆
U-Boot 2018.05 (Jun 25 2025 - 11:17:54 +0800) Allwinner Technology
[03.355]CPU: Allwinner Family
[03.358]Model: sun8iw20
[03.360]DRAM: 128 MiB
[03.363]Relocation Offset is: 04ebc000
[03.389]secure enable bit: 0
[03.392]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.398]gic: normal mode
[03.400]flash init start
[03.402]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[03.410][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[03.417][mmc]: Is not Boot mode!
[03.420][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.431][mmc]: ************Try SD card 2************
[03.436][mmc]: mmc 2 cmd timeout 100 status 100
[03.440][mmc]: smc 2 err, cmd 8, RTO
[03.444][mmc]: mmc 2 close bus gating and reset
[03.449][mmc]: mmc 2 cmd timeout 100 status 100
[03.453][mmc]: smc 2 err, cmd 55, RTO
[03.456][mmc]: mmc 2 close bus gating and reset
[03.460][mmc]: ************Try MMC card 2************
[03.469][mmc]: mmc 2 cmd timeout 100 status 100
[03.473][mmc]: smc 2 err, cmd 1, RTO
[03.477][mmc]: mmc 2 close bus gating and reset
[03.481][mmc]: Card did not respond to voltage select!
[03.486][mmc]: ************SD/MMC 2 init error!************
[03.491][mmc]: mmc init product failed
MMC init failed
try emmc fail
[03.498]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
[03.503]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
[03.511]sunxi-spinand-phy: request spi0 gpio ok
[03.515]sunxi-spinand-phy: request general tx dma channel ok!
[03.521]sunxi-spinand-phy: request general rx dma channel ok!
[03.526]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.531]sunxi-spinand-phy: init spic0 clk ok
[13:20:46.824]收←◆[03.821]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.827]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[03.832]sunxi-spinand-phy: ========== arch info ==========
[03.837]sunxi-spinand-phy: Model: W25N01GVZEIG
[03.843]sunxi-spinand-phy: Munufacture: Winbond
[03.848]sunxi-spinand-phy: DieCntPerChip: 1
[03.852]sunxi-spinand-phy: BlkCntPerDie: 1024
[03.857]sunxi-spinand-phy: PageCntPerBlk: 64
[03.861]sunxi-spinand-phy: SectCntPerPage: 4
[03.866]sunxi-spinand-phy: OobSizePerPage: 64
[03.870]sunxi-spinand-phy: BadBlockFlag: 0x0
[03.875]sunxi-spinand-phy: OperationOpt: 0x7
[03.879]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.884]sunxi-spinand-phy: EccFlag: 0x0
[03.889]sunxi-spinand-phy: EccType: 2
[03.893]sunxi-spinand-phy: EccProtectedType: 3
[03.898]sunxi-spinand-phy: ========================================
[03.904]sunxi-spinand-phy:
[03.906]sunxi-spinand-phy: ========== physical info ==========
[03.912]sunxi-spinand-phy: TotalSize: 128 M
[03.916]sunxi-spinand-phy: SectorSize: 512 B
[03.920]sunxi-spinand-phy: PageSize: 2 K
[03.924]sunxi-spinand-phy: BlockSize: 128 K
[03.928]sunxi-spinand-phy: OOBSize: 64 B
[03.932]sunxi-spinand-phy: ========================================
[03.938]sunxi-spinand-phy:
[03.941]sunxi-spinand-phy: ========== logical info ==========
[03.946]sunxi-spinand-phy: TotalSize: 128 M
[03.950]sunxi-spinand-phy: SectorSize: 512 B
[03.954]sunxi-spinand-phy: PageSize: 4 K
[03.958]sunxi-spinand-phy: BlockSize: 256 K
[03.963]sunxi-spinand-phy: OOBSize: 128 B
[03.967]sunxi-spinand-phy: ========================================
[03.973]sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[03.979]sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[03.984]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[03.989]sunxi-spinand-phy: block lock register: 0x00
[03.993]sunxi-spinand-phy: feature register: 0x19
[03.998]sunxi-spinand-phy: sunxi physic nand init end
[04.003]line:703 init_clocks
[04.006]init_clocks:finish
[04.008]Loading Environment from SUNXI_FLASH... OK
[04.012]try to burn key
[04.015]out of usb burn from boot: not need burn key
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
delay time 2500
[13:20:49.536]收←◆weak:otg_phy_config
usb init ok
页次: 1