f1c100s tina 烧录到sdnand/tf卡 出错, 请问是什么原因?
-
[0]beign to init dram [23]init dram ok U-Boot 2014.07 (Feb 21 2023 - 22:13:47) Allwinner Technology uboot commit : f1592db8c49aaedd6895f7e0f90caa123f0a3d5a i2c_init: by cpux [I2C-DEBUG]:i2c_set_clock() 354 [I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. i2c_init ok [2.859]pmbus: ready axp: get node[/soc/pmu0] error axp_probe error [2.865]PMU: cpux 720 Mhz,AXI=720 Mhz PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz DRAM: 32 MiB [2.875]fdt addr: 0x809e6ee0 [2.877]gd->fdt_size: 0xc7c0 Relocation Offset is: 01520000 axp: get node[/soc/pmu0] error int sunxi_dma_init--- irq enable [2.945]flash init start workmode = 16,storage type = 3 try card 1 [2.951][mmc]: mmc driver ver 2018-12-27 9:21:00 SUNXI SD/MMC: 1 [2.966][mmc]: ************Try SD card 1************ [mmc]: mmc 1 cmd 8 timeout, err 100 [mmc]: smc 1 err, cmd 8, RTO [mmc]: mmc 1 close bus gating and reset [mmc]: mmc 1 mmc cmd 8 err 0x00000100 [2.984][mmc]: mmc send if cond failed [mmc]: mmc 1 cmd 55 timeout, err 100 [mmc]: smc 1 err, cmd 55, RTO [mmc]: mmc 1 close bus gating and reset [mmc]: mmc 1 mmc cmd 55 err 0x00000100 [3.002][mmc]: send app cmd failed [3.005][mmc]: ************Try MMC card 1************ [mmc]: mmc 1 cmd 1 timeout, err 100 [mmc]: smc 1 err, cmd 1, RTO [mmc]: mmc 1 close bus gating and reset [mmc]: mmc 1 mmc cmd 1 err 0x00000100 [3.026][mmc]: read op condition failed [3.030][mmc]: mmc send op cond failed Card did not respond to voltage select! [3.037][mmc]: ************SD/MMC 1 init error!!!************ [3.042][mmc]: mmc_init_boot: mmc int fail [3.046][mmc]: mmc_init: mmc init fail, err -17 MMC init failed try card 0 [3.053][mmc]: mmc driver ver 2018-12-27 9:21:00 SUNXI SD/MMC: 1, SUNXI SD/MMC: 0 [3.268][mmc]: mmc 0 update clk failed [3.271][mmc]: [mmc]: mmc 0 update clock failed [3.276][mmc]: mmc 0 Found fatal err,so no send cmd [3.280][mmc]: go idle failed [3.283][mmc]: mmc go idle error [3.286][mmc]: mmc_init_boot: mmc int fail [3.290][mmc]: mmc_init: mmc init fail, err -1 MMC init failed not found SDC try emmc fail [3.298]NAND_UbootProbe start... [3.301]NB1 : enter phy init [3.304]nand_physic_init [3.307]nand0: get node offset error [3.310]init nctri NAND PIORequest error! [3.314]nand_physic_init, init nctri error [3.317]nand_physic_init init_parameter error [3.322]nand_physic_init error -1 [3.325]SpiNandHwInit: Start Nand Hardware initializing Nov 4 2018 13:15:18..... [3.332]uboot: nand version: 3 6019 20181104 1256 [3.343]request spi gpio ok! int sunxi_dma_init--- irq enable [3.349]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db89b4 [3.356]request general tx dma channel ok! [3.360]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db89d4 [3.368]request general rx dma channel ok! _change_spic_clk: 0x01c05024=0x1009 _change_spic_clk_v1: mclk=0xc8 _change_spic_clk: 0x01c05024=0x1004 _change_spic_clk_v1: mclk=0xc8 [3.383]SPI nand ID: ffffffff ffffffff [3.387]SPI nand ID: ffffffff ffffffff [3.390]_SearchNandArchi fail [3.393][ERR]SpiNandHwInit: SCN_AnalyzeNandSystem() failed! [3.398]SpiNandHwInit: End Nand Hardware initializing ..... FAIL! [3.404]NB1 : nand phy init fail [3.407]NB1 : enter phy Exit nand release dma:81db89b4 nand release dma:0 sunxi dma exit [3.415]NAND_UbootProbe end: 0xffffffff try nand fail flash size =0x4000 sectors sunxi spinor is initing...int sunxi_dma_init--- irq enable sunxi_dma_install_int ok sunxi_dma_install_int ok OK spinor id:0xffffff spi_freq = 40000000 spinor id is ffffff try nor successed read mbr copy[0] failed read mbr copy[1] failed read mbr copy[2] failed read mbr copy[3] failed [3.449]flash init end [3.451]try to burn key [3.454]inter uboot shell Hit any key to stop autoboot: 0 work mode=0x10 run usb efex delay time 2500 sunxi_dma_install_int ok usb init ok set address 0xa SUNXI_EFEX_ERASE_TAG erase_flag = 0x1 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0
-
[0]beign to init dram [23]init dram ok U-Boot 2014.07 (Feb 21 2023 - 22:13:47) Allwinner Technology uboot commit : f1592db8c49aaedd6895f7e0f90caa123f0a3d5a i2c_init: by cpux [I2C-DEBUG]:i2c_set_clock() 354 [I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. i2c_init ok [2.854]pmbus: ready axp: get node[/soc/pmu0] error axp_probe error [2.861]PMU: cpux 720 Mhz,AXI=720 Mhz PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz DRAM: 32 MiB [2.870]fdt addr: 0x809e6ee0 [2.872]gd->fdt_size: 0xc7c0 Relocation Offset is: 01520000 axp: get node[/soc/pmu0] error int sunxi_dma_init--- irq enable [2.940]flash init start workmode = 16,storage type = 3 try card 1 [2.946][mmc]: mmc driver ver 2018-12-27 9:21:00 SUNXI SD/MMC: 1 [2.961][mmc]: ************Try SD card 1************ [mmc]: mmc 1 cmd 8 timeout, err 100 [mmc]: smc 1 err, cmd 8, RTO [mmc]: mmc 1 close bus gating and reset [mmc]: mmc 1 mmc cmd 8 err 0x00000100 [2.979][mmc]: mmc send if cond failed [mmc]: mmc 1 cmd 55 timeout, err 100 [mmc]: smc 1 err, cmd 55, RTO [mmc]: mmc 1 close bus gating and reset [mmc]: mmc 1 mmc cmd 55 err 0x00000100 [2.996][mmc]: send app cmd failed [2.999][mmc]: ************Try MMC card 1************ [mmc]: mmc 1 cmd 1 timeout, err 100 [mmc]: smc 1 err, cmd 1, RTO [mmc]: mmc 1 close bus gating and reset [mmc]: mmc 1 mmc cmd 1 err 0x00000100 [3.021][mmc]: read op condition failed [3.025][mmc]: mmc send op cond failed Card did not respond to voltage select! [3.032][mmc]: ************SD/MMC 1 init error!!!************ [3.037][mmc]: mmc_init_boot: mmc int fail [3.041][mmc]: mmc_init: mmc init fail, err -17 MMC init failed try card 0 [3.048][mmc]: mmc driver ver 2018-12-27 9:21:00 SUNXI SD/MMC: 1, SUNXI SD/MMC: 0 [3.066][mmc]: ************Try SD card 0************ [3.086][mmc]: host caps: 0x27 [3.088][mmc]: MID 22 PSN 7634e19e [3.091][mmc]: PNM MK -- 0x4d-4b-20-20-20 [3.095][mmc]: PRV 0.6 [3.097][mmc]: MDT m-1 y-2023 [3.100][mmc]: user capacity : 118 MB [3.104][mmc]: cache size 0 KB [3.106][mmc]: cache ctl 0 [3.109][mmc]: SD/MMC 0 init OK!!! [3.112][mmc]: End mmc_init_boot read mbr copy[0] failed read mbr copy[1] failed read mbr copy[2] failed read mbr copy[3] failed [3.124]flash init end [3.126]try to burn key [3.129]inter uboot shell Hit any key to stop autoboot: 0 work mode=0x10 run usb efex delay time 2500 int sunxi_dma_init--- irq enable sunxi_dma_install_int ok usb init ok set address 0x2 SUNXI_EFEX_ERASE_TAG erase_flag = 0x1 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 the 0 mbr table is ok the 1 mbr table is ok the 2 mbr table is ok the 3 mbr table is ok *************MBR DUMP*************** total mbr part 8 part[0] name :bootlogo part[0] classname :DISK part[0] addrlo :0x2000 part[0] lenlo :0x400 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x2400 part[1] lenlo :0x200 part[1] user_type :32768 part[1] keydata :0 part[1] ro :0 part[2] name :boot part[2] classname :DISK part[2] addrlo :0x2600 part[2] lenlo :0x4000 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :rootfs part[3] classname :DISK part[3] addrlo :0x6600 part[3] lenlo :0xc800 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs_data part[4] classname :DISK part[4] addrlo :0x12e00 part[4] lenlo :0xc800 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :misc part[5] classname :DISK part[5] addrlo :0x1f600 part[5] lenlo :0x200 part[5] user_type :32768 part[5] keydata :0 part[5] ro :0 part[6] name :private part[6] classname :DISK part[6] addrlo :0x1f800 part[6] lenlo :0x200 part[6] user_type :32768 part[6] keydata :0 part[6] ro :0 part[7] name :UDISK part[7] classname :DISK part[7] addrlo :0x1fa00 part[7] lenlo :0x0 part[7] user_type :33024 part[7] keydata :0 part[7] ro :0 total part: 9 mbr 0, 2000, 8000 bootlogo 1, 400, 8000 env 2, 200, 8000 boot 3, 4000, 8000 rootfs 4, c800, 8000 rootfs_data 5, c800, 8000 misc 6, 200, 8000 private 7, 200, 8000 UDISK 8, 0, 8100 do need erase flash sunxi_sprite_erase_flash, erase_flag=1 private part exist the 0 mbr table is bad the 1 mbr table is bad the 2 mbr table is bad the 3 mbr table is bad the mbr on flash is bad card0 download boot0 erase boot0, size:32k, write 0x00 erase env part [6.664][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x2400 to 0x2600 erase boot part [6.730][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x2600 to 0x6600 erase rootfs part [8.776][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x6600 to 0xa600 erase part's tail from sector 0xee00 to 0xfe00 erase rootfs_data part [12.173][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x12e00 to 0x16e00 erase part's tail from sector 0x1b600 to 0x1c600 erase misc part [15.370][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x1f600 to 0x1f800 erase private part [15.445][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x1f800 to 0x1fa00 erase UDISK part sunxi_sprite_mmc_phyerase: @nr is 0, erase from @from to end [15.516][mmc]: mmc_mmc_erase: sd card don't support erase erase prat's head from sector 0x1fa00 to 0x23a00 card erase all SUNXI_EFEX_MBR_TAG mbr size = 0x10000 begin to write standard mbr successed to write standard mbr sunxi_sprite_verify_mbr_from_flash the 0 mbr table is ok the 1 mbr table is ok the 2 mbr table is ok the 3 mbr table is ok *************MBR DUMP*************** total mbr part 8 part[0] name :bootlogo part[0] classname :DISK part[0] addrlo :0x2000 part[0] lenlo :0x400 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x2400 part[1] lenlo :0x200 part[1] user_type :32768 part[1] keydata :0 part[1] ro :0 part[2] name :boot part[2] classname :DISK part[2] addrlo :0x2600 part[2] lenlo :0x4000 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :rootfs part[3] classname :DISK part[3] addrlo :0x6600 part[3] lenlo :0xc800 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs_data part[4] classname :DISK part[4] addrlo :0x12e00 part[4] lenlo :0xc800 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :misc part[5] classname :DISK part[5] addrlo :0x1f600 part[5] lenlo :0x200 part[5] user_type :32768 part[5] keydata :0 part[5] ro :0 part[6] name :private part[6] classname :DISK part[6] addrlo :0x1f800 part[6] lenlo :0x200 part[6] user_type :32768 part[6] keydata :0 part[6] ro :0 part[7] name :UDISK part[7] classname :DISK part[7] addrlo :0x1fa00 part[7] lenlo :0x0 part[7] user_type :33024 part[7] keydata :0 part[7] ro :0 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x4b036 FEX_CMD_fes_verify_value 0x60b4446e FEX_CMD_fes_verify_value, start 0x2400, size high 0x0:low 0x20000 FEX_CMD_fes_verify_value 0xd0d646c3 FEX_CMD_fes_verify_value, start 0x2600, size high 0x0:low 0x264a10 FEX_CMD_fes_verify_value 0xf5d8bccd FEX_CMD_fes_verify_value, start 0x6600, size high 0x0:low 0x5e5000 FEX_CMD_fes_verify_value 0xbef15eb bootfile_mode=4 SUNXI_EFEX_BOOT1_TAG boot1 size = 0xbc000 uboot_pkg magic 0x89119800 uboot size = 0xbc000 storage type = 1 mmc down uboot uboot_pkg magic 0x89119800 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 bootfile_mode=4 SUNXI_EFEX_BOOT0_TAG boot0 size = 0x8000 production_media:1! [25.429][mmc]: write mmc info ok dram para[0] = ea00018e dram para[1] = 6f6f6275 dram para[2] = 74 dram para[3] = a7698bf5 dram para[4] = 4000 dram para[5] = a4000 dram para[6] = a4000 dram para[7] = 2e302e33 dram para[8] = 30 dram para[9] = 2e302e31 dram para[10] = 30 dram para[11] = 80800000 dram para[12] = 80000000 dram para[13] = 0 dram para[14] = 0 dram para[15] = 0 dram para[16] = 0 dram para[17] = 0 dram para[18] = 0 dram para[19] = 0 dram para[20] = 0 dram para[21] = 0 dram para[22] = 0 dram para[23] = 0 dram para[24] = 0 dram para[25] = 0 dram para[26] = 0 dram para[27] = 0 dram para[28] = 0 dram para[29] = 0 dram para[30] = 0 dram para[31] = 0 storage type = 1 card0 download boot0
正常是这样的.
-
两个mmc都初始化错误了
-
@whycanservice
搞定了,同事在sd nand的电源上面接了一个MOS管。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号