使用F1C200S TINA3.5 SPINAND 在windows下的PhoenixSuit V1.19烧写固件 卡在7%
-
使用F1C200S TINA3.5 SPINAND 在windows下的PhoenixSuit V1.19烧写固件 卡在7%。最终提示失败。
已经有按照tina的文档,修改sys_config.fex,make menuconfig,make kernel_menuconfig。
环境是:
SPINAN型号:W25N01G
tina3.5
u-boot-2014.07
linux-3.10以下是烧录的时候,日志的头尾两端。
[0]beign to init dram [23]init dram ok U-Boot 2014.07 (Jul 31 2018 - 14:59:19) Allwinner Technology uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e 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.642]pmbus: ready axp: get node[/soc/pmu0] error axp_probe error [2.649]PMU: cpux 408 Mhz,AXI=408 Mhz PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz DRAM: 32 MiB [2.658]fdt addr: 0x809e77a0 [2.660]gd->fdt_size: 0xc360 Relocation Offset is: 01524000 axp: get node[/soc/pmu0] error int sunxi_dma_init--- irq enable [2.730]flash init start workmode = 16,storage type = 3 try card 1 [2.736][mmc]: mmc driver ver 2018-6-1 17:39:00 SUNXI SD/MMC: 1 [2.753][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.771][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.789][mmc]: send app cmd failed [2.792][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 [2.814][mmc]: read op condition failed [2.817][mmc]: mmc send op cond failed Card did not respond to voltage select! [2.824][mmc]: ************SD/MMC 1 init error!!!************ [2.830][mmc]: mmc_init_boot: mmc int fail [2.833][mmc]: mmc_init: mmc init fail, err -17 MMC init failed try emmc fail [2.840]NAND_UbootProbe start... [2.843]NB1 : enter phy init [2.846]nand_physic_init [2.850]nand0: get node offset error [2.853]init nctri NAND PIORequest error! [2.857]nand_physic_init, init nctri error [2.861]nand_physic_init init_parameter error [2.865]nand_physic_init error -1 [2.868]SpiNandHwInit: Start Nand Hardware initializing Jun 9 2018 19:05:34..... [2.875]uboot: nand version: 3 6008 20180610 1300 [2.892]request spi gpio ok! int sunxi_dma_init--- irq enable [2.897]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c7c [2.905]request general tx dma channel ok! [2.908]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c [2.916]request general rx dma channel ok! [2.920]SPI nand ID: 21aaef 0 [2.922][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff [2.929]nand : get id number_ctl from script:0x55aaaa55 [2.934]_UpdateExtAccessFreqPara: no para. [2.938]PHY_Scan_DelayMode: right delay mode 0x0 [2.942]PHY_Scan_DelayMode: right delay mode 0x800 _get_spic_clk_v1: sclk0=0x64 [2.949]PHY_Scan_DelayMode: right delay mode,clk 50 MHz, SPI_TCR = 0x00000984, bit[13]=0,bit[11]=1 [2.958]physic_info_read start!! [2.961]physic_info_get_offset start!! [2.966]physic_info_get_one_copy start!! [2.970]block 13 page 48 [2.972]block 13 page 49 [2.974]block 13 page 50 [2.977]block 13 page 51 [2.979]block 13 page 52 [2.981]block 13 page 53 [2.983]block 13 page 54 [2.986]block 13 page 55 [2.988]block 13 page 56 [2.990]block 13 page 57 [2.992]block 13 page 58 [2.994]block 13 page 59 [2.997]block 13 page 60 [2.999]block 13 page 61 [3.001]block 13 page 62 [3.003]block 13 page 63 [3.006]physic info copy is ok [3.009] [3.010][SCAN_DBG] ==============Nand Architecture Parameter============== [3.016][SCAN_DBG] Nand Chip ID: 0xff21aaef 0xffffffff [3.022][SCAN_DBG] Nand Chip Count: 0x1 [3.026][SCAN_DBG] Nand Chip Connect: 0x1 [3.030][SCAN_DBG] Sector Count Of Page: 0x4 [3.035][SCAN_DBG] Page Count Of Block: 0x40 [3.039][SCAN_DBG] Block Count Of Die: 0x400 [3.043][SCAN_DBG] Plane Count Of Die: 0x1 [3.048][SCAN_DBG] Die Count Of Chip: 0x1 [3.052][SCAN_DBG] Bank Count Of Chip: 0x1 [3.056][SCAN_DBG] Optional Operation: 0x60 [3.060][SCAN_DBG] Access Frequence: 0x0 [3.065][SCAN_DBG] ======================================================= [3.092]secure storage updata ok! [3.095]nand secure storage ok: 58,59 [3.099]NB1 : nand phy init ok [3.101]NB1 : enter phy Exit nand release dma:81db8c7c nand release dma:0 sunxi dma exit [3.109]NAND_UbootProbe end: 0x0 nand found read mbr copy[0] failed read mbr copy[1] failed read mbr copy[2] failed read mbr copy[3] failed [3.122]flash init end [3.124]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 0xd set address 0xd SUNXI_EFEX_ERASE_TAG erase_flag = 0x0 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 :0x800 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x2800 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 :0x2a00 part[2] lenlo :0x3000 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :rootfs part[3] classname :DISK part[3] addrlo :0x5a00 part[3] lenlo :0x15c70 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 :0x1b670 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 :0x27e70 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 :0x28070 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 :0x28270 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, 800, 8000 env 2, 200, 8000 boot 3, 3000, 8000 rootfs 4, 15c70, 8000 rootfs_data 5, c800, 8000 misc 6, 200, 8000 private 7, 200, 8000 UDISK 8, 0, 8100 [7.326]erase_flag = 0 [7.328]NB1 : enter phy init [7.330]SpiNandHwInit: Start Nand Hardware initializing Jun 9 2018 19:05:34..... [7.337]uboot: nand version: 3 6008 20180610 1300 [7.354]request spi gpio ok! [7.357]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c [7.364]request general tx dma channel ok! [7.368]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc [7.375]request general rx dma channel ok! [7.379]SPI nand ID: 21aaef 0 [7.382][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff [7.388]nand : get id number_ctl from script:0x55aaaa55 [7.393]_UpdateExtAccessFreqPara: no para. [7.397]PHY_Scan_DelayMode: right delay mode 0x0 [7.402]PHY_Scan_DelayMode: right delay mode 0x800 _get_spic_clk_v1: sclk0=0x64 [7.409]PHY_Scan_DelayMode: right delay mode,clk 50 MHz, SPI_TCR = 0x00000984, bit[13]=0,bit[11]=1 [7.417]physic_info_read start!! [7.420]physic_info_read already!! [7.423] [7.424][SCAN_DBG] ==============Nand Architecture Parameter============== [7.431][SCAN_DBG] Nand Chip ID: 0xff21aaef 0xffffffff [7.437][SCAN_DBG] Nand Chip Count: 0x1 [7.441][SCAN_DBG] Nand Chip Connect: 0x1 [7.445][SCAN_DBG] Sector Count Of Page: 0x4 [7.449][SCAN_DBG] Page Count Of Block: 0x40 [7.454][SCAN_DBG] Block Count Of Die: 0x400 [7.458][SCAN_DBG] Plane Count Of Die: 0x1 [7.462][SCAN_DBG] Die Count Of Chip: 0x1 [7.466][SCAN_DBG] Bank Count Of Chip: 0x1 [7.471][SCAN_DBG] Optional Operation: 0x60 [7.475][SCAN_DBG] Access Frequence: 0x0 [7.479][SCAN_DBG] ======================================================= [7.507]secure storage updata ok! [7.510]nand secure storage ok: 58,59 [7.513]NB1 : nand phy init ok [7.516]uboot_start_block 8 uboot_next_block 58. [7.520]check nand version start. [7.523]Current nand driver version is ff 0 3 1 [7.528]Media version is valid in block 8, version info is ff 0 3 1 [7.534]nand driver version match ok in block 8. [7.538]nand version = 0 [7.540]has cleared the boot blocks. [7.548]NAND_Uboot_Erase [7.550]NB1 : enter phy Exit nand release dma:81db8c9c nand release dma:0 not need erase flash sunxi_sprite_erase_flash, erase_flag=0 private part exist NAND_UbootInit [7.565]NAND_UbootInit start [7.567]NB1: enter NAND_LogicInit [7.570]SpiNandHwInit: Start Nand Hardware initializing Jun 9 2018 19:05:34..... [7.578]uboot: nand version: 3 6008 20180610 1300 [7.594]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c [7.602]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc _get_spic_clk_v1: sclk0=0x64 [7.633]not burn nand partition table! [7.637][ND]not enough block:479,878!! [7.640][NE]build phy partition 0 error! [7.644][NE]build all phy partition fail! [7.764][NE]not find mbr table!!!! [7.767]NB1: nand_info_init fail [7.770]NAND_UbootInit end: 0xfffffffb NAND_UbootExit
[19.204]PHY_PageReadSpare bad flag: bank 0x0 block 0x3f8 page 0x0 [19.210][PHY_DBG] Find a bad block (NO. 0x3f8) in the Die 0x0 [19.216]PHY_PageReadSpare bad flag: bank 0x0 block 0x3f9 page 0x0 [19.222][PHY_DBG] Find a bad block (NO. 0x3f9) in the Die 0x0 [19.227]PHY_PageReadSpare bad flag: bank 0x0 block 0x3fa page 0x0 [19.233][PHY_DBG] Find a bad block (NO. 0x3fa) in the Die 0x0 [19.239]PHY_PageReadSpare bad flag: bank 0x0 block 0x3fb page 0x0 [19.245][PHY_DBG] Find a bad block (NO. 0x3fb) in the Die 0x0 [19.251]PHY_PageReadSpare bad flag: bank 0x0 block 0x3fc page 0x0 [19.257][PHY_DBG] Find a bad block (NO. 0x3fc) in the Die 0x0 [19.262]PHY_PageReadSpare bad flag: bank 0x0 block 0x3fd page 0x0 [19.268][PHY_DBG] Find a bad block (NO. 0x3fd) in the Die 0x0 [19.274]PHY_PageReadSpare bad flag: bank 0x0 block 0x3fe page 0x0 [19.280][PHY_DBG] Find a bad block (NO. 0x3fe) in the Die 0x0 [19.286]PHY_PageReadSpare bad flag: bank 0x0 block 0x3ff page 0x0 [19.292][PHY_DBG] Find a bad block (NO. 0x3ff) in the Die 0x0 [19.297][NE]not find mbr table!!!! [19.301]NB1: nand_info_init fail [19.304]NAND_UbootInit end: 0xfffffffb sunxi sprite init fail when downlaod mbr
-
看log是坏块过多导致的
-
@whycanservice 应该不是 好像全是识别成坏块。spinand 都换了3颗了,都是一样的现象。
-
@qinhao4832 驱动是否支持这个物料
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号