导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    F1C200S TINA3.5 使用spinand

    其它全志芯片讨论区
    2
    2
    1558
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • D
      dort91011 LV 5 最后由 编辑

      使用F1C200S TINA3.5 SPINAND 在windows下的PhoenixSuit V1.19烧写固件,现象是:
      1,空的nand第一次似乎提示烧写成功,但启动失败。
      2,第二次以及之后的烧写就会失败。
      3,配置以及按照官方nor切换nand的指南进行修改配置了。
      4,板子换了全新空白nand 上去,也是一样的现象。
      5,以下是第一次和第二次两次烧录的日志输出。

      [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.651]pmbus:   ready
      axp: get node[/soc/pmu0] error
      axp_probe error
      [2.658]PMU: cpux 408 Mhz,AXI=408 Mhz
      PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
      DRAM:  32 MiB
      [2.667]fdt addr: 0x809e77a0
      [2.669]gd->fdt_size: 0xc360
      Relocation Offset is: 01524000
      axp: get node[/soc/pmu0] error
      int sunxi_dma_init---
      irq enable
      [2.739]flash init start
      workmode = 16,storage type = 3
      try card 1
      [2.745][mmc]: mmc driver ver 2018-6-1 17:39:00
      SUNXI SD/MMC: 1
      [2.762][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.780][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.798][mmc]: send app cmd failed
      [2.801][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.823][mmc]: read op condition failed
      [2.826][mmc]: mmc send op cond failed
      Card did not respond to voltage select!
      [2.833][mmc]: ************SD/MMC 1 init error!!!************
      [2.839][mmc]: mmc_init_boot: mmc int fail
      [2.842][mmc]: mmc_init: mmc init fail, err -17
      MMC init failed
      try emmc fail
      [2.849]NAND_UbootProbe start...
      [2.852]NB1 : enter phy init
      [2.855]nand_physic_init
      [2.859]nand0: get node offset error
      [2.862]init nctri NAND PIORequest error!
      [2.866]nand_physic_init, init nctri error
      [2.870]nand_physic_init init_parameter error
      [2.874]nand_physic_init error -1
      [2.877]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [2.884]uboot: nand version: 3 6008 20180610 1300
      [2.901]request spi gpio  ok!
      int sunxi_dma_init---
      irq enable
      [2.906]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c7c
      [2.914]request general tx dma channel ok!
      [2.917]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [2.925]request general rx dma channel ok!
      [2.929]SPI nand ID: 21aaef 0
      [2.931][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [2.938]nand : get id number_ctl from script:0x55aaaa55
      [2.943]_UpdateExtAccessFreqPara: no para.
      [2.947]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [2.952]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [2.958]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [2.963]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [2.969]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [2.975]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [2.980]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [2.986]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [2.992]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [2.997]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [3.006]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [3.012]physic_info_read start!!
      [3.015]physic_info_get_offset start!!
      [3.027]can't find uboot head
      [3.029]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [3.036]_GetOldPhysicArch: find a good block, but no physic arch info.
      [3.043]NAND_ReadPhyArch: blank page!
      [3.046]
      
      [3.047][SCAN_DBG] ==============Nand Architecture Parameter==============
      [3.054][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [3.059][SCAN_DBG]    Nand Chip Count:      0x1
      [3.064][SCAN_DBG]    Nand Chip Connect:    0x1
      [3.068][SCAN_DBG]    Sector Count Of Page: 0x4
      [3.072][SCAN_DBG]    Page Count Of Block:  0x40
      [3.076][SCAN_DBG]    Block Count Of Die:   0x400
      [3.081][SCAN_DBG]    Plane Count Of Die:   0x2
      [3.085][SCAN_DBG]    Die Count Of Chip:    0x1
      [3.089][SCAN_DBG]    Bank Count Of Chip:   0x1
      [3.093][SCAN_DBG]    Optional Operation:   0x6d
      [3.098][SCAN_DBG]    Access Frequence:     0x32
      [3.102][SCAN_DBG] =======================================================
      
      [3.117]nand secure storage fail: 0,0
      [3.120]NB1 : nand phy init ok
      [3.123]NB1 : enter phy Exit
      nand release dma:81db8c7c
      nand release dma:0
      sunxi dma exit
      [3.131]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.143]flash init end
      [3.145]try to burn key
      [3.150]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
      [6.846]erase_flag = 0
      [6.848]NB1 : enter phy init
      [6.851]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [6.858]uboot: nand version: 3 6008 20180610 1300
      [6.875]request spi gpio  ok!
      [6.878]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [6.885]request general tx dma channel ok!
      [6.889]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [6.896]request general rx dma channel ok!
      [6.900]SPI nand ID: 21aaef 0
      [6.903][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [6.909]nand : get id number_ctl from script:0x55aaaa55
      [6.914]_UpdateExtAccessFreqPara: no para.
      [6.918]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [6.924]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [6.929]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [6.935]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [6.940]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [6.946]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [6.952]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [6.957]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [6.963]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [6.969]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [6.977]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [6.983]physic_info_read start!!
      [6.986]physic_info_read already!!
      [6.989]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [6.996]_GetOldPhysicArch: find a good block, but no physic arch info.
      [7.002]NAND_ReadPhyArch: blank page!
      [7.006]
      
      [7.007][SCAN_DBG] ==============Nand Architecture Parameter==============
      [7.013][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [7.019][SCAN_DBG]    Nand Chip Count:      0x1
      [7.023][SCAN_DBG]    Nand Chip Connect:    0x1
      [7.028][SCAN_DBG]    Sector Count Of Page: 0x4
      [7.032][SCAN_DBG]    Page Count Of Block:  0x40
      [7.036][SCAN_DBG]    Block Count Of Die:   0x400
      [7.041][SCAN_DBG]    Plane Count Of Die:   0x2
      [7.045][SCAN_DBG]    Die Count Of Chip:    0x1
      [7.049][SCAN_DBG]    Bank Count Of Chip:   0x1
      [7.053][SCAN_DBG]    Optional Operation:   0x6d
      [7.058][SCAN_DBG]    Access Frequence:     0x32
      [7.062][SCAN_DBG] =======================================================
      
      [7.077]nand secure storage fail: 0,0
      [7.080]NB1 : nand phy init ok
      [7.082]uboot_start_block 8 uboot_next_block 58.
      [7.087]check nand version start.
      [7.090]Current nand driver version is ff 0 3 1
      [7.094]Media version is valid in block 8, version info is ff ff ff ff
      [7.100]nand driver version match fail in block 8.
      [7.105]nand version = 1
      [7.107]has cleared the boot blocks.
      [7.114]nand version fail,please select erase nand
      [7.119]NAND_Uboot_Erase
      [7.121]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.136]NAND_UbootInit start
      [7.139]NB1: enter NAND_LogicInit
      [7.142]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [7.149]uboot: nand version: 3 6008 20180610 1300
      [7.166]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [7.173]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      _get_spic_clk_v1: sclk0=0x64
      [7.185]NAND_ReadPhyArch: blank page!
      [7.196]nand secure storage fail: 0,0
      [7.199]not burn nand partition table!
      [7.305][NE]boot but not data!
      [7.311][NE]boot not find mbr table!!!!
      [7.315]NB1: nand_info_init fail
      [7.317]NAND_UbootInit end: 0xfffffffb
      NAND_UbootExit
      [7.322]NB1: NAND_LogicExit
      nand release dma:81db8c9c
      nand release dma:0
      [7.329]erase_flag = 0
      [7.331]NB1 : enter phy init
      [7.333]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [7.341]uboot: nand version: 3 6008 20180610 1300
      [7.357]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [7.365]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      _get_spic_clk_v1: sclk0=0x64
      [7.377]NAND_ReadPhyArch: blank page!
      [7.393]NB1 : nand phy init ok
      [7.396]Media version is valid in block 8, version info is ff ff ff ff
      [7.402]nand driver version match fail in block 8.
      [7.406]nand version = 1
      [7.408]has cleared the boot blocks.
      [7.416]nand version fail,please select erase nand
      [7.420]NAND_Uboot_Erase
      [7.423]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      NAND_UbootInit
      [7.434]NAND_UbootInit start
      [7.437]NB1: enter NAND_LogicInit
      [7.440]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [7.447]uboot: nand version: 3 6008 20180610 1300
      [7.464]request spi gpio  ok!
      [7.466]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [7.474]request general tx dma channel ok!
      [7.477]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [7.485]request general rx dma channel ok!
      [7.489]SPI nand ID: 21aaef 0
      [7.491][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [7.498]nand : get id number_ctl from script:0x55aaaa55
      [7.503]_UpdateExtAccessFreqPara: no para.
      [7.507]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [7.512]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [7.518]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [7.523]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [7.529]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [7.535]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [7.540]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [7.546]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [7.552]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [7.557]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [7.566]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [7.572]physic_info_read start!!
      [7.575]physic_info_read already!!
      [7.578]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [7.585]_GetOldPhysicArch: find a good block, but no physic arch info.
      [7.591]NAND_ReadPhyArch: blank page!
      [7.594]
      
      [7.595][SCAN_DBG] ==============Nand Architecture Parameter==============
      [7.602][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [7.608][SCAN_DBG]    Nand Chip Count:      0x1
      [7.612][SCAN_DBG]    Nand Chip Connect:    0x1
      [7.616][SCAN_DBG]    Sector Count Of Page: 0x4
      [7.621][SCAN_DBG]    Page Count Of Block:  0x40
      [7.625][SCAN_DBG]    Block Count Of Die:   0x400
      [7.629][SCAN_DBG]    Plane Count Of Die:   0x2
      [7.633][SCAN_DBG]    Die Count Of Chip:    0x1
      [7.638][SCAN_DBG]    Bank Count Of Chip:   0x1
      [7.642][SCAN_DBG]    Optional Operation:   0x6d
      [7.646][SCAN_DBG]    Access Frequence:     0x32
      [7.651][SCAN_DBG] =======================================================
      
      [7.670]secure storage updata ok!
      [7.673]nand secure storage ok: 58,59
      [7.676]nand: get CapacityLevel from script, 55aaaa55
      [7.681]burn nand partition table! mbr tbl: 0x81debdc4, part_count:9
      [7.687]start block:60
      [7.689][ND]factory FirstBuild 33
      [7.718][ND]erase factory FirstBuild
      [7.722][ND]nand_info->SectorNumsPerPage :0x8
      [7.726][ND]nand_info->PageNumsPerBlk :0x40
      [7.729][ND]nand_info->BlkPerChip :0x200
      [7.733][ND]nand_info->ChipNum :0x1
      [7.736][NE]print partition 0 !
      [7.739][ND]partition->size :-1
      [7.742][ND]partition->cross_talk :0
      [7.745][ND]partition->attribute :0
      [7.748][ND]partition->start.Chip_NO :65535
      [7.752][ND]partition->start.Block_NO :65535
      [7.756][ND]partition->end.Chip_NO :65535
      [7.760][ND]partition->end.Block_NO :65535
      [7.764][ND]partition->nand_disk[0].size :8192
      [7.768][ND]partition->nand_disk[0].type :0
      [7.772][ND]partition->nand_disk[1].size :2048
      [7.776][ND]partition->nand_disk[1].type :0
      [7.780][ND]partition->nand_disk[2].size :512
      [7.784][ND]partition->nand_disk[2].type :0
      [7.788][ND]partition->nand_disk[3].size :12288
      [7.792][ND]partition->nand_disk[3].type :0
      [7.796][ND]partition->nand_disk[4].size :89200
      [7.800][ND]partition->nand_disk[4].type :0
      [7.804][ND]partition->nand_disk[5].size :51200
      [7.808][ND]partition->nand_disk[5].type :0
      [7.812][ND]partition->nand_disk[6].size :512
      [7.816][ND]partition->nand_disk[6].type :0
      [7.820][ND]partition->nand_disk[7].size :512
      [7.824][ND]partition->nand_disk[7].type :0
      [7.828][ND]partition->nand_disk[8].size :0
      [7.832][ND]partition->nand_disk[8].type :0
      [7.835][ND]partition->nand_disk[9].size :-1
      [7.839][ND]partition->nand_disk[9].type :-1
      [7.843][ND]partition->nand_disk[10].size :-1
      [7.847][ND]partition->nand_disk[10].type :-1
      [7.851][ND]partition->nand_disk[11].size :-1
      [7.855][ND]partition->nand_disk[11].type :-1
      [7.860][ND]partition->nand_disk[12].size :-1
      [7.864][ND]partition->nand_disk[12].type :-1
      [7.868][ND]partition->nand_disk[13].size :-1
      [7.872][ND]partition->nand_disk[13].type :-1
      [7.876][ND]partition->nand_disk[14].size :-1
      [7.880][ND]partition->nand_disk[14].type :-1
      [7.884][ND]partition->nand_disk[15].size :-1
      [7.888][ND]partition->nand_disk[15].type :-1
      [7.892][ND]partition->nand_disk[16].size :-1
      [7.896][ND]partition->nand_disk[16].type :-1
      [7.900][ND]partition->nand_disk[17].size :-1
      [7.904][ND]partition->nand_disk[17].type :-1
      [7.908][ND]partition->nand_disk[18].size :-1
      [7.912][ND]partition->nand_disk[18].type :-1
      [7.916][ND]partition->nand_disk[19].size :-1
      [7.920][ND]partition->nand_disk[19].type :-1
      [7.924][ND]partition->nand_disk[20].size :-1
      [7.928][ND]partition->nand_disk[20].type :-1
      [7.932][ND]partition->nand_disk[21].size :-1
      [7.936][ND]partition->nand_disk[21].type :-1
      [7.940][ND]partition->nand_disk[22].size :-1
      [7.945][ND]partition->nand_disk[22].type :-1
      [7.949][ND]partition->nand_disk[23].size :-1
      [7.953][ND]partition->nand_disk[23].type :-1
      [7.957][NE]partition_num: 0,size :0xffffffff,cross_talk 0
      [7.962][NE]part mbr size: 0x2000 type: 0
      [7.966][NE]part bootlogo size: 0x800 type: 0
      [7.970][NE]part env size: 0x200 type: 0
      [7.973][NE]part boot size: 0x3000 type: 0
      [7.977][NE]part rootfs size: 0x15c70 type: 0
      [7.981][NE]part rootfs_data size: 0xc800 type: 0
      [7.985][NE]part misc size: 0x200 type: 0
      [7.989][NE]part private size: 0x200 type: 0
      [7.993][NE]part UDISK size: 0x0 type: 0
      [8.072][ND]partition->size :224768
      [8.075][ND]partition->cross_talk :0
      [8.079][ND]partition->attribute :0
      [8.082][ND]partition->start.Chip_NO :0
      [8.085][ND]partition->start.Block_NO :33
      [8.089][ND]partition->end.Chip_NO :0
      [8.092][ND]partition->end.Block_NO :511
      [8.096][ND]partition->nand_disk[0].size :8192
      [8.100][ND]partition->nand_disk[0].type :0
      [8.104][ND]partition->nand_disk[1].size :2048
      [8.108][ND]partition->nand_disk[1].type :0
      [8.112][ND]partition->nand_disk[2].size :512
      [8.116][ND]partition->nand_disk[2].type :0
      [8.120][ND]partition->nand_disk[3].size :12288
      [8.124][ND]partition->nand_disk[3].type :0
      [8.128][ND]partition->nand_disk[4].size :89200
      [8.132][ND]partition->nand_disk[4].type :0
      [8.136][ND]partition->nand_disk[5].size :51200
      [8.140][ND]partition->nand_disk[5].type :0
      [8.144][ND]partition->nand_disk[6].size :512
      [8.148][ND]partition->nand_disk[6].type :0
      [8.152][ND]partition->nand_disk[7].size :512
      [8.156][ND]partition->nand_disk[7].type :0
      [8.160][ND]partition->nand_disk[8].size :60304
      [8.164][ND]partition->nand_disk[8].type :0
      [8.168][ND]partition->nand_disk[9].size :-1
      [8.172][ND]partition->nand_disk[9].type :-1
      [8.176][ND]partition->nand_disk[10].size :-1
      [8.180][ND]partition->nand_disk[10].type :-1
      [8.184][ND]partition->nand_disk[11].size :-1
      [8.188][ND]partition->nand_disk[11].type :-1
      [8.192][ND]partition->nand_disk[12].size :-1
      [8.196][ND]partition->nand_disk[12].type :-1
      [8.200][ND]partition->nand_disk[13].size :-1
      [8.204][ND]partition->nand_disk[13].type :-1
      [8.208][ND]partition->nand_disk[14].size :-1
      [8.212][ND]partition->nand_disk[14].type :-1
      [8.217][ND]partition->nand_disk[15].size :-1
      [8.221][ND]partition->nand_disk[15].type :-1
      [8.225][ND]partition->nand_disk[16].size :-1
      [8.229][ND]partition->nand_disk[16].type :-1
      [8.233][ND]partition->nand_disk[17].size :-1
      [8.237][ND]partition->nand_disk[17].type :-1
      [8.241][ND]partition->nand_disk[18].size :-1
      [8.245][ND]partition->nand_disk[18].type :-1
      [8.249][ND]partition->nand_disk[19].size :-1
      [8.253][ND]partition->nand_disk[19].type :-1
      [8.257][ND]partition->nand_disk[20].size :-1
      [8.261][ND]partition->nand_disk[20].type :-1
      [8.265][ND]partition->nand_disk[21].size :-1
      [8.269][ND]partition->nand_disk[21].type :-1
      [8.273][ND]partition->nand_disk[22].size :-1
      [8.277][ND]partition->nand_disk[22].type :-1
      [8.281][ND]partition->nand_disk[23].size :-1
      [8.285][ND]partition->nand_disk[23].type :-1
      [8.289][ND]phy_partition->PartitionNO :0
      [8.293][ND]phy_partition->SectorNumsPerPage :8
      [8.297][ND]phy_partition->PageNumsPerBlk :64
      [8.301][ND]phy_partition->TotalBlkNum :479
      [8.305][ND]phy_partition->FullBitmapPerPage :8
      [8.309][ND]phy_partition->FreeBlock :0
      [8.313][ND]phy_partition->TotalSectors :224768
      [8.317][ND]phy_partition->StartBlock.Chip_NO :0
      [8.322][ND]phy_partition->StartBlock.Block_NO :33
      [8.326][ND]phy_partition->EndBlock.Chip_NO :0
      [8.330][ND]phy_partition->EndBlock.Block_NO :511
      [8.335][ND]phy_partition->next_phy_partition :0
      [8.339][ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
      [8.344][ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
      [8.349][ND]build 1 phy_partition !
      [8.352][ND]nand_info->type :0
      [8.355][ND]nand_info->SectorNumsPerPage :8
      [8.359][ND]nand_info->BytesUserData :16
      [8.363][ND]nand_info->PageNumsPerBlk :64
      [8.366][ND]nand_info->BlkPerChip :512
      [8.370][ND]nand_info->FirstBuild :1
      [8.373][ND]nand_info->FullBitmap :10
      [8.376][ND]nand_info->bad_block_addr.Chip_NO :0
      [8.381][ND]nand_info->bad_block_addr.Block_NO :0
      [8.385][ND]nand_info->mbr_block_addr.Chip_NO :0
      [8.389][ND]nand_info->mbr_block_addr.Block_NO :0
      [8.394][ND]nand_info->no_used_block_addr.Chip_NO :0
      [8.398][ND]nand_info->no_used_block_addr.Block_NO :33
      [8.403][ND]nand_info->new_bad_block_addr.Chip_NO :0
      [8.408][ND]nand_info->new_bad_block_addr.Block_NO :0
      [8.413][ND]nand_info->new_bad_page_addr :65535
      [8.417][ND]nand_info->partition_nums :1
      [8.421][ND]sizeof partition:2384
      [8.424][ND]nand_info->partition:0:
      [8.427][ND]size:0x36e00
      [8.429][ND]cross_talk:0x0
      [8.431][ND]attribute:0x0
      [8.434][ND]start: chip:0 block:33
      [8.437][ND]end  : chip:0 block:511
      [8.440][ND]boot :0x80d265c0
      [8.442][ND]boot->magic :0xaa55a5a5
      [8.446][ND]boot->len :0x8000
      [8.448][ND]boot->no_use_block :0x21
      [8.451][ND]boot->uboot_start_block :0x8
      [8.455][ND]boot->uboot_next_block :0x3a
      [8.459][ND]boot->logic_start_block :0x21
      [8.462][ND]mbr len :4096
      [8.465][ND]_PARTITION len :2560
      [8.468][ND]_NAND_STORAGE_INFO len :512
      [8.471][ND]_FACTORY_BLOCK len :2048
      [8.474][ND]nand_partition0
      [8.477][ND]nftl start:479,40
      [8.480][ND]first
      [8.558][ND]before second 479 439.
      [8.561][ND]all block full!!
      [8.564][ND]get a new free block
      [8.567][ND]free block nums is 478 !
      [8.570][NE]not power on gc 478!
      [8.573][ND]nftl ok!
      [8.575][ND]max_erase_times = 65000
      [8.578][ND]nftl_add ok
      [8.580]NB1: NAND_LogicInit ok, result = 0x0
      [8.584]NAND_UbootInit end: 0x0
      nand not need closed
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      nand already init
      FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x2ee76
      FEX_CMD_fes_verify_value 0x13032461
      FEX_CMD_fes_verify_value, start 0x2800, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0xea9912bf
      FEX_CMD_fes_verify_value, start 0x2a00, size high 0x0:low 0x2f1df8
      FEX_CMD_fes_verify_value 0xd6a225c0
      FEX_CMD_fes_verify_value, start 0x5a00, size high 0x0:low 0x3c0000
      FEX_CMD_fes_verify_value 0x316922c9
      NAND_UbootExit
      [14.674]NAND_UbootExit
      [14.676]NB1: NAND_LogicExit
      nand release dma:81db8c9c
      nand release dma:0
      bootfile_mode=4
      SUNXI_EFEX_BOOT1_TAG
      boot1 size = 0xb8000
      uboot_pkg magic 0x89119800
      uboot size = 0xb8000
      storage type = 0
      [15.026]NB1 : enter phy init
      [15.028]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [15.036]uboot: nand version: 3 6008 20180610 1300
      [15.053]request spi gpio  ok!
      [15.055]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [15.063]request general tx dma channel ok!
      [15.066]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [15.074]request general rx dma channel ok!
      [15.078]SPI nand ID: 21aaef 0
      [15.081][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [15.087]nand : get id number_ctl from script:0x55aaaa55
      [15.092]_UpdateExtAccessFreqPara: no para.
      [15.096]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [15.102]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [15.108]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [15.113]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [15.119]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [15.125]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [15.131]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [15.136]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [15.142]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [15.148]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [15.156]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [15.162]physic_info_read start!!
      [15.165]physic_info_read already!!
      [15.169]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [15.176]_GetOldPhysicArch: find a good block, but no physic arch info.
      [15.182]NAND_ReadPhyArch: blank page!
      [15.186]
      
      [15.187][SCAN_DBG] ==============Nand Architecture Parameter==============
      [15.193][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [15.199][SCAN_DBG]    Nand Chip Count:      0x1
      [15.203][SCAN_DBG]    Nand Chip Connect:    0x1
      [15.208][SCAN_DBG]    Sector Count Of Page: 0x4
      [15.212][SCAN_DBG]    Page Count Of Block:  0x40
      [15.217][SCAN_DBG]    Block Count Of Die:   0x400
      [15.221][SCAN_DBG]    Plane Count Of Die:   0x2
      [15.225][SCAN_DBG]    Die Count Of Chip:    0x1
      [15.230][SCAN_DBG]    Bank Count Of Chip:   0x1
      [15.234][SCAN_DBG]    Optional Operation:   0x6d
      [15.238][SCAN_DBG]    Access Frequence:     0x32
      [15.243][SCAN_DBG] =======================================================
      
      [15.262]secure storage updata ok!
      [15.265]nand secure storage ok: 58,59
      [15.269]NB1 : nand phy init ok
      [15.272]burn uboot one!
      [15.274]spinand burn uboot one!
      [15.277]spinand burn uboot in many block 0!
      [15.282]write uboot many block 8!
      [15.323]write uboot many block 9!
      [15.364]write uboot many block 10!
      [15.406]write uboot many block 11!
      [15.447]write uboot many block 12!
      [15.488]write uboot many block 13!
      [15.520]uboot info: page 48 in block 13.
      [15.524]uboot info: page 49 in block 13.
      [15.528]uboot info: page 50 in block 13.
      [15.532]uboot info: page 51 in block 13.
      [15.536]uboot info: page 52 in block 13.
      [15.540]uboot info: page 53 in block 13.
      [15.544]uboot info: page 54 in block 13.
      [15.549]uboot info: page 55 in block 13.
      [15.553]uboot info: page 56 in block 13.
      [15.557]uboot info: page 57 in block 13.
      [15.561]uboot info: page 58 in block 13.
      [15.565]uboot info: page 59 in block 13.
      [15.569]uboot info: page 60 in block 13.
      [15.573]uboot info: page 61 in block 13.
      [15.577]uboot info: page 62 in block 13.
      [15.581]uboot info: page 63 in block 13.
      [15.585]burn uboot one!
      [15.588]spinand burn uboot one!
      [15.590]spinand burn uboot in many block 1!
      [15.597]write uboot many block 14!
      [15.639]write uboot many block 15!
      [15.680]write uboot many block 16!
      [15.722]write uboot many block 17!
      [15.763]write uboot many block 18!
      [15.804]write uboot many block 19!
      [15.836]uboot info: page 48 in block 19.
      [15.840]uboot info: page 49 in block 19.
      [15.844]uboot info: page 50 in block 19.
      [15.848]uboot info: page 51 in block 19.
      [15.852]uboot info: page 52 in block 19.
      [15.856]uboot info: page 53 in block 19.
      [15.860]uboot info: page 54 in block 19.
      [15.865]uboot info: page 55 in block 19.
      [15.869]uboot info: page 56 in block 19.
      [15.873]uboot info: page 57 in block 19.
      [15.877]uboot info: page 58 in block 19.
      [15.881]uboot info: page 59 in block 19.
      [15.885]uboot info: page 60 in block 19.
      [15.889]uboot info: page 61 in block 19.
      [15.893]uboot info: page 62 in block 19.
      [15.897]uboot info: page 63 in block 19.
      [15.901]burn uboot one!
      [15.904]spinand burn uboot one!
      [15.906]spinand burn uboot in many block 2!
      [15.916]write uboot many block 20!
      [15.957]write uboot many block 21!
      [15.998]write uboot many block 22!
      [16.040]write uboot many block 23!
      [16.081]write uboot many block 24!
      [16.122]write uboot many block 25!
      [16.154]uboot info: page 48 in block 25.
      [16.158]uboot info: page 49 in block 25.
      [16.162]uboot info: page 50 in block 25.
      [16.166]uboot info: page 51 in block 25.
      [16.170]uboot info: page 52 in block 25.
      [16.174]uboot info: page 53 in block 25.
      [16.178]uboot info: page 54 in block 25.
      [16.182]uboot info: page 55 in block 25.
      [16.186]uboot info: page 56 in block 25.
      [16.191]uboot info: page 57 in block 25.
      [16.195]uboot info: page 58 in block 25.
      [16.199]uboot info: page 59 in block 25.
      [16.203]uboot info: page 60 in block 25.
      [16.207]uboot info: page 61 in block 25.
      [16.211]uboot info: page 62 in block 25.
      [16.215]uboot info: page 63 in block 25.
      [16.219]burn uboot one!
      [16.221]spinand burn uboot one!
      [16.224]spinand burn uboot in many block 3!
      [16.236]write uboot many block 26!
      [16.277]write uboot many block 27!
      [16.318]write uboot many block 28!
      [16.360]write uboot many block 29!
      [16.401]write uboot many block 30!
      [16.442]write uboot many block 31!
      [16.473]uboot info: page 48 in block 31.
      [16.478]uboot info: page 49 in block 31.
      [16.482]uboot info: page 50 in block 31.
      [16.486]uboot info: page 51 in block 31.
      [16.490]uboot info: page 52 in block 31.
      [16.494]uboot info: page 53 in block 31.
      [16.498]uboot info: page 54 in block 31.
      [16.502]uboot info: page 55 in block 31.
      [16.506]uboot info: page 56 in block 31.
      [16.510]uboot info: page 57 in block 31.
      [16.514]uboot info: page 58 in block 31.
      [16.519]uboot info: page 59 in block 31.
      [16.523]uboot info: page 60 in block 31.
      [16.527]uboot info: page 61 in block 31.
      [16.531]uboot info: page 62 in block 31.
      [16.535]uboot info: page 63 in block 31.
      [16.539]burn uboot one!
      [16.541]spinand burn uboot one!
      [16.544]spinand burn uboot in many block 4!
      [16.558]write uboot many block 32!
      [16.599]write uboot many block 33!
      [16.640]write uboot many block 34!
      [16.682]write uboot many block 35!
      [16.723]write uboot many block 36!
      [16.764]write uboot many block 37!
      [16.795]uboot info: page 48 in block 37.
      [16.799]uboot info: page 49 in block 37.
      [16.804]uboot info: page 50 in block 37.
      [16.808]uboot info: page 51 in block 37.
      [16.812]uboot info: page 52 in block 37.
      [16.816]uboot info: page 53 in block 37.
      [16.820]uboot info: page 54 in block 37.
      [16.824]uboot info: page 55 in block 37.
      [16.828]uboot info: page 56 in block 37.
      [16.832]uboot info: page 57 in block 37.
      [16.836]uboot info: page 58 in block 37.
      [16.840]uboot info: page 59 in block 37.
      [16.845]uboot info: page 60 in block 37.
      [16.849]uboot info: page 61 in block 37.
      [16.853]uboot info: page 62 in block 37.
      [16.857]uboot info: page 63 in block 37.
      [16.861]burn uboot one!
      [16.863]spinand burn uboot one!
      [16.866]spinand burn uboot in many block 5!
      [16.882]write uboot many block 38!
      [16.923]write uboot many block 39!
      [16.964]write uboot many block 40!
      [17.005]write uboot many block 41!
      [17.047]write uboot many block 42!
      [17.088]write uboot many block 43!
      [17.119]uboot info: page 48 in block 43.
      [17.123]uboot info: page 49 in block 43.
      [17.127]uboot info: page 50 in block 43.
      [17.131]uboot info: page 51 in block 43.
      [17.135]uboot info: page 52 in block 43.
      [17.140]uboot info: page 53 in block 43.
      [17.144]uboot info: page 54 in block 43.
      [17.148]uboot info: page 55 in block 43.
      [17.152]uboot info: page 56 in block 43.
      [17.156]uboot info: page 57 in block 43.
      [17.160]uboot info: page 58 in block 43.
      [17.164]uboot info: page 59 in block 43.
      [17.168]uboot info: page 60 in block 43.
      [17.172]uboot info: page 61 in block 43.
      [17.176]uboot info: page 62 in block 43.
      [17.180]uboot info: page 63 in block 43.
      [17.185]burn uboot one!
      [17.187]spinand burn uboot one!
      [17.190]spinand burn uboot in many block 6!
      [17.208]write uboot many block 44!
      [17.249]write uboot many block 45!
      [17.290]write uboot many block 46!
      [17.331]write uboot many block 47!
      [17.373]write uboot many block 48!
      [17.414]write uboot many block 49!
      [17.445]uboot info: page 48 in block 49.
      [17.449]uboot info: page 49 in block 49.
      [17.453]uboot info: page 50 in block 49.
      [17.457]uboot info: page 51 in block 49.
      [17.461]uboot info: page 52 in block 49.
      [17.465]uboot info: page 53 in block 49.
      [17.470]uboot info: page 54 in block 49.
      [17.474]uboot info: page 55 in block 49.
      [17.478]uboot info: page 56 in block 49.
      [17.482]uboot info: page 57 in block 49.
      [17.486]uboot info: page 58 in block 49.
      [17.490]uboot info: page 59 in block 49.
      [17.494]uboot info: page 60 in block 49.
      [17.498]uboot info: page 61 in block 49.
      [17.502]uboot info: page 62 in block 49.
      [17.506]uboot info: page 63 in block 49.
      [17.510]burn uboot one!
      [17.513]spinand burn uboot one!
      [17.515]spinand burn uboot in many block 7!
      [17.536]write uboot many block 50!
      [17.578]write uboot many block 51!
      [17.619]write uboot many block 52!
      [17.660]write uboot many block 53!
      [17.701]write uboot many block 54!
      [17.742]write uboot many block 55!
      [17.774]uboot info: page 48 in block 55.
      [17.778]uboot info: page 49 in block 55.
      [17.782]uboot info: page 50 in block 55.
      [17.786]uboot info: page 51 in block 55.
      [17.790]uboot info: page 52 in block 55.
      [17.794]uboot info: page 53 in block 55.
      [17.798]uboot info: page 54 in block 55.
      [17.803]uboot info: page 55 in block 55.
      [17.807]uboot info: page 56 in block 55.
      [17.811]uboot info: page 57 in block 55.
      [17.815]uboot info: page 58 in block 55.
      [17.819]uboot info: page 59 in block 55.
      [17.823]uboot info: page 60 in block 55.
      [17.827]uboot info: page 61 in block 55.
      [17.831]uboot info: page 62 in block 55.
      [17.835]uboot info: page 63 in block 55.
      [17.839]burn uboot one!
      [17.842]spinand burn uboot one!
      [17.844]spinand burn uboot in many block 8!
      [17.866]burn uboot one!
      [17.869]spinand burn uboot one!
      [17.871]spinand burn uboot in many block 9!
      [17.894]burn uboot one!
      [17.896]spinand burn uboot one!
      [17.899]spinand burn uboot in many block 10!
      [17.922]burn uboot one!
      [17.924]spinand burn uboot one!
      [17.927]spinand burn uboot in many block 11!
      [17.950]burn uboot one!
      [17.952]spinand burn uboot one!
      [17.955]spinand burn uboot in many block 12!
      [17.978]burn uboot one!
      [17.980]spinand burn uboot one!
      [17.983]spinand burn uboot in many block 13!
      [18.006]burn uboot one!
      [18.008]spinand burn uboot one!
      [18.011]spinand burn uboot in many block 14!
      [18.034]burn uboot one!
      [18.036]spinand burn uboot one!
      [18.039]spinand burn uboot in many block 15!
      [18.062]burn uboot one!
      [18.064]spinand burn uboot one!
      [18.067]spinand burn uboot in many block 16!
      [18.090]burn uboot one!
      [18.092]spinand burn uboot one!
      [18.095]spinand burn uboot in many block 17!
      [18.118]burn uboot one!
      [18.120]spinand burn uboot one!
      [18.123]spinand burn uboot in many block 18!
      [18.145]burn uboot one!
      [18.148]spinand burn uboot one!
      [18.150]spinand burn uboot in many block 19!
      [18.173]burn uboot one!
      [18.176]spinand burn uboot one!
      [18.178]spinand burn uboot in many block 20!
      [18.201]burn uboot one!
      [18.204]spinand burn uboot one!
      [18.206]spinand burn uboot in many block 21!
      [18.229]burn uboot one!
      [18.232]spinand burn uboot one!
      [18.234]spinand burn uboot in many block 22!
      [18.257]burn uboot one!
      [18.259]spinand burn uboot one!
      [18.262]spinand burn uboot in many block 23!
      [18.285]burn uboot one!
      [18.287]spinand burn uboot one!
      [18.290]spinand burn uboot in many block 24!
      [18.313]burn uboot one!
      [18.315]spinand burn uboot one!
      [18.318]spinand burn uboot in many block 25!
      [18.341]burn uboot one!
      [18.343]spinand burn uboot one!
      [18.346]spinand burn uboot in many block 26!
      [18.369]burn uboot one!
      [18.371]spinand burn uboot one!
      [18.374]spinand burn uboot in many block 27!
      [18.397]burn uboot one!
      [18.399]spinand burn uboot one!
      [18.402]spinand burn uboot in many block 28!
      [18.425]burn uboot one!
      [18.427]spinand burn uboot one!
      [18.430]spinand burn uboot in many block 29!
      [18.453]burn uboot one!
      [18.455]spinand burn uboot one!
      [18.458]spinand burn uboot in many block 30!
      [18.481]burn uboot one!
      [18.483]spinand burn uboot one!
      [18.486]spinand burn uboot in many block 31!
      [18.509]burn uboot one!
      [18.511]spinand burn uboot one!
      [18.514]spinand burn uboot in many block 32!
      [18.536]burn uboot one!
      [18.539]spinand burn uboot one!
      [18.541]spinand burn uboot in many block 33!
      [18.564]burn uboot one!
      [18.567]spinand burn uboot one!
      [18.569]spinand burn uboot in many block 34!
      [18.592]burn uboot one!
      [18.595]spinand burn uboot one!
      [18.597]spinand burn uboot in many block 35!
      [18.620]burn uboot one!
      [18.622]spinand burn uboot one!
      [18.625]spinand burn uboot in many block 36!
      [18.648]burn uboot one!
      [18.650]spinand burn uboot one!
      [18.653]spinand burn uboot in many block 37!
      [18.676]burn uboot one!
      [18.678]spinand burn uboot one!
      [18.681]spinand burn uboot in many block 38!
      [18.704]burn uboot one!
      [18.706]spinand burn uboot one!
      [18.709]spinand burn uboot in many block 39!
      [18.732]burn uboot one!
      [18.734]spinand burn uboot one!
      [18.737]spinand burn uboot in many block 40!
      [18.760]burn uboot one!
      [18.762]spinand burn uboot one!
      [18.765]spinand burn uboot in many block 41!
      [18.788]burn uboot one!
      [18.790]spinand burn uboot one!
      [18.793]spinand burn uboot in many block 42!
      [18.816]burn uboot one!
      [18.818]spinand burn uboot one!
      [18.821]spinand burn uboot in many block 43!
      [18.844]burn uboot one!
      [18.846]spinand burn uboot one!
      [18.849]spinand burn uboot in many block 44!
      [18.871]burn uboot one!
      [18.874]spinand burn uboot one!
      [18.876]spinand burn uboot in many block 45!
      [18.899]burn uboot one!
      [18.902]spinand burn uboot one!
      [18.904]spinand burn uboot in many block 46!
      [18.927]burn uboot one!
      [18.930]spinand burn uboot one!
      [18.932]spinand burn uboot in many block 47!
      [18.955]burn uboot one!
      [18.957]spinand burn uboot one!
      [18.960]spinand burn uboot in many block 48!
      [18.983]burn uboot one!
      [18.985]spinand burn uboot one!
      [18.988]spinand burn uboot in many block 49!
      [19.011]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      bootfile_mode=4
      SUNXI_EFEX_BOOT0_TAG
      boot0 size = 0x4000
      [19.128]uboot_start_block:    8
      [19.131]uboot_next_block:   3a
      [19.133]logic_start_block:21
      [19.136]nand_specialinfo_page:0
      [19.139]nand_specialinfo_offset:    0
      [19.142]physic_block_reserved:    6
      dram para[0] = ea00018e
      dram para[1] = 6f6f6275
      dram para[2] = 74
      dram para[3] = 17012fe9
      dram para[4] = 4000
      dram para[5] = a0000
      dram para[6] = a0000
      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 = 0
      [19.205]NB1 : enter phy init
      [19.208]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [19.215]uboot: nand version: 3 6008 20180610 1300
      [19.232]request spi gpio  ok!
      [19.235]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [19.242]request general tx dma channel ok!
      [19.246]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [19.254]request general rx dma channel ok!
      [19.258]SPI nand ID: 21aaef 0
      [19.260][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [19.267]nand : get id number_ctl from script:0x55aaaa55
      [19.272]_UpdateExtAccessFreqPara: no para.
      [19.276]PHY_Scan_DelayMode: right delay mode 0x0
      [19.280]PHY_Scan_DelayMode: right delay mode 0x800
      _get_spic_clk_v1: sclk0=0x64
      [19.288]PHY_Scan_DelayMode: right delay mode,clk 50 MHz, SPI_TCR = 0x00000984, bit[13]=0,bit[11]=1
      [19.296]physic_info_read start!!
      [19.299]physic_info_read already!!
      [19.302]
      
      [19.304][SCAN_DBG] ==============Nand Architecture Parameter==============
      [19.310][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [19.316][SCAN_DBG]    Nand Chip Count:      0x1
      [19.320][SCAN_DBG]    Nand Chip Connect:    0x1
      [19.325][SCAN_DBG]    Sector Count Of Page: 0x4
      [19.329][SCAN_DBG]    Page Count Of Block:  0x40
      [19.333][SCAN_DBG]    Block Count Of Die:   0x400
      [19.338][SCAN_DBG]    Plane Count Of Die:   0x1
      [19.342][SCAN_DBG]    Die Count Of Chip:    0x1
      [19.347][SCAN_DBG]    Bank Count Of Chip:   0x1
      [19.351][SCAN_DBG]    Optional Operation:   0x60
      [19.355][SCAN_DBG]    Access Frequence:     0x0
      [19.360][SCAN_DBG] =======================================================
      
      [19.387]secure storage updata ok!
      [19.390]nand secure storage ok: 58,59
      [19.394]NB1 : nand phy init ok
      [19.397]burn boot0 normal mode!
      [19.399]SPINAND burn boot0!
      [19.402]boot0 count 0!
      [19.441]SPINAND burn boot0!
      [19.443]boot0 count 1!
      [19.482]SPINAND burn boot0!
      [19.484]boot0 count 2!
      [19.523]SPINAND burn boot0!
      [19.525]boot0 count 3!
      [19.564]SPINAND burn boot0!
      [19.566]boot0 count 4!
      [19.605]SPINAND burn boot0!
      [19.607]boot0 count 5!
      [19.646]SPINAND burn boot0!
      [19.649]boot0 count 6!
      [19.687]SPINAND burn boot0!
      [19.690]boot0 count 7!
      [19.728]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      sunxi_efex_next_action=2
      exit usb
      sunxi dma exit
      next work 2
      SUNXI_UPDATE_NEXT_ACTION_REBOOT
      set next mode 14
      nand not opened
      sunxi dma exit
      [0]HELLO! BOOT0 is starting!
      [2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959
      
      [60]dram size =64
      [62](GPIO_BASE_ADDR + 0x48): 0x00002222
      [65](GPIO_BASE_ADDR + 0x5c): 0x00000055
      [69](GPIO_BASE_ADDR + 0x64): 0x00000004
      [72]CCMU_BASE_ADDR + 0x2c0 0x00104040
      [76]CCMU_BASE_ADDR + 0x60 0x00104040
      [79]SPIC0_BASE_ADDR+0x24: 0x00001004
      [82]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 58
      [87]block from 8 to 58
      [567]Check is correct.
      [578]Ready to disable icache.
      [581]Jump to secend Boot.
      
      
      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
      [0.629]pmbus:   ready
      axp: get node[/soc/pmu0] error
      axp_probe error
      [0.636]PMU: cpux 408 Mhz,AXI=408 Mhz
      PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
      key value = 4294967295, fel_key = [256,426]
      DRAM:  64 MiB
      Relocation Offset is: 03524000
      axp: get node[/soc/pmu0] error
      int sunxi_dma_init---
      irq enable
      workmode = 0,storage type = 0
      [0.719]NAND: NAND_UbootInit
      [0.721]NAND_UbootInit start
      [0.724]NB1: enter NAND_LogicInit
      [0.729]nand0: get node offset error
      [0.732]init nctri NAND PIORequest error!
      [0.735]nand_physic_init, init nctri error
      [0.739]nand_physic_init init_parameter error
      [0.743]nand_physic_init error -1
      [0.746]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [0.754]uboot: nand version: 3 6008 20180610 1300
      int sunxi_dma_init---
      irq enable
      [0.773]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db8c7c
      [0.781]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db8c9c
      _get_spic_clk_v1: sclk0=0x64
      [0.818]not burn nand partition table!
      [0.821][ND]not enough block:479,878!!
      [0.825][NE]build phy partition 0 error!
      [0.828][NE]build all phy partition fail!
      [0.949][NE]not find mbr table!!!!
      [0.952]NB1: nand_info_init fail
      [0.955]NAND_UbootInit end: 0xfffffffb
      [0.958]nand init fail
      initcall sequence 83dacb6c failed at call 80809fec
      ### ERROR ### Please RESET the board ###
      Error reading from serial device
      

      第二次 末尾的日志

      562][PHY_DBG] Find a bad block (NO. 0x3f0) in the Die 0x0
      [18.568]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f1  page 0x0
      [18.574][PHY_DBG] Find a bad block (NO. 0x3f1) in the Die 0x0
      [18.579]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f2  page 0x0
      [18.585][PHY_DBG] Find a bad block (NO. 0x3f2) in the Die 0x0
      [18.591]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f3  page 0x0
      [18.597][PHY_DBG] Find a bad block (NO. 0x3f3) in the Die 0x0
      [18.603]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f4  page 0x0
      [18.609][PHY_DBG] Find a bad block (NO. 0x3f4) in the Die 0x0
      [18.614]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f5  page 0x0
      [18.620][PHY_DBG] Find a bad block (NO. 0x3f5) in the Die 0x0
      [18.626]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f6  page 0x0
      [18.632][PHY_DBG] Find a bad block (NO. 0x3f6) in the Die 0x0
      [18.638]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f7  page 0x0
      [18.644][PHY_DBG] Find a bad block (NO. 0x3f7) in the Die 0x0
      [18.649]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f8  page 0x0
      [18.656][PHY_DBG] Find a bad block (NO. 0x3f8) in the Die 0x0
      [18.661]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f9  page 0x0
      [18.667][PHY_DBG] Find a bad block (NO. 0x3f9) in the Die 0x0
      [18.673]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fa  page 0x0
      [18.679][PHY_DBG] Find a bad block (NO. 0x3fa) in the Die 0x0
      [18.685]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fb  page 0x0
      [18.691][PHY_DBG] Find a bad block (NO. 0x3fb) in the Die 0x0
      [18.696]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fc  page 0x0
      [18.702][PHY_DBG] Find a bad block (NO. 0x3fc) in the Die 0x0
      [18.708]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fd  page 0x0
      [18.714][PHY_DBG] Find a bad block (NO. 0x3fd) in the Die 0x0
      [18.720]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fe  page 0x0
      [18.726][PHY_DBG] Find a bad block (NO. 0x3fe) in the Die 0x0
      [18.731]PHY_PageReadSpare bad flag: bank 0x0  block 0x3ff  page 0x0
      [18.737][PHY_DBG] Find a bad block (NO. 0x3ff) in the Die 0x0
      [18.743][NE]not find mbr table!!!!
      [18.746]NB1: nand_info_init fail
      [18.749]NAND_UbootInit end: 0xfffffffb
      sunxi sprite init fail when downlaod mbr
      
      1 条回复 最后回复 回复 引用 分享 0
      • DAIZEBIN
        DAIZEBIN LV 7 最后由 编辑

        1、第一次烧录成功了,证明你的flash驱动应该是支持这颗nand的,所以可以烧进去
        2、但烧录进去不代表你flash驱动中的ID配置一定是正确的,有可能你拿到的flash驱动中对这颗物料的参数配置(坏块标记位、oob区域划分、ecc校验能力等)配置不正确,导致你第一次烧录的时候,在这颗flash上误标记了bad block,故后续烧录或者启动会提示很多的“bad block......”
        3、建议找一个常用型号的flash,先替换上去,看下是否能正常启动,可以试一下这款(MX35LF1GE4AB),这款在很早之前的驱动已经是支持的了

        1 条回复 最后回复 回复 引用 分享 1
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策