导航

    全志在线开发者论坛

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

    T113-S3 烧录 W25N01 失败,请问是什么原因?

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

      [1518]fes begin commit:88480af-dirty
      [1522]set pll start
      [1527]periph0 has been enabled
      [1531]set pll end
      [1532][pmu]: bus read error
      [1535]board init ok
      [1537]beign to init dram
      [1539]ZQ value = 0x2f
      [1541]get_pmu_exist() = -1
      [1544]ddr_efuse_type: 0xa
      [1546]trefi:7.8ms
      [1549][AUTO DEBUG] single rank and full DQ!
      [1553]ddr_efuse_type: 0xa
      [1555]trefi:7.8ms
      [1558][AUTO DEBUG] rank 0 row = 13
      [1561][AUTO DEBUG] rank 0 bank = 8
      [1564][AUTO DEBUG] rank 0 page size = 2 KB
      [1568]DRAM BOOT DRIVE INFO: V0.33
      [1572]DRAM CLK = 936 MHz
      [1574]DRAM Type = 3 (2:DDR2,3:DDR3)
      [1577]DRAMC read ODT  off.
      [1580]DRAM ODT value: 0x42.
      [1583]ddr_efuse_type: 0xa
      [1586]DRAM SIZE =128 M
      [1588]dram_tpr4:0x0
      [1590]PLL_DDR_CTRL_REG:0xf8004d00
      [1593]DRAM_CLK_REG:0xc0000000
      [1596][TIMING DEBUG] MR2= 0x20
      [1600]DRAM simple test OK.
      [1602]rtc standby flag is 0x0, super standby flag is 0x0
      [1608]init dram ok
      
      
      U-Boot 2018.05-g24521d6-dirty (Nov 04 2022 - 20:13:00 +0800) Allwinner Technology
      
      [03.917]CPU:   Allwinner Family
      [03.920]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
      ready
      [03.941]DRAM:  128 MiB
      [03.944]Relocation Offset is: 04ecd000
      [03.968]secure enable bit: 0
      [03.971]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [03.977]gic: normal mode
      [03.979]flash init start
      [03.981]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.989][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
      [03.996][mmc]: Is not Boot mode!
      [03.999][mmc]: SUNXI SDMMC Controller Version:0x50310
      [04.010][mmc]: ************Try SD card 2************
      [04.015][mmc]: mmc 2 cmd timeout 100 status 100
      [04.019][mmc]: smc 2 err, cmd 8,  RTO
      [04.023][mmc]: mmc 2 close bus gating and reset
      [04.028][mmc]: mmc 2 cmd timeout 100 status 100
      [04.032][mmc]: smc 2 err, cmd 55,  RTO
      [04.035][mmc]: mmc 2 close bus gating and reset
      [04.040][mmc]: ************Try MMC card 2************
      [04.048][mmc]: mmc 2 cmd timeout 100 status 100
      [04.053][mmc]: smc 2 err, cmd 1,  RTO
      [04.056][mmc]: mmc 2 close bus gating and reset
      [04.060][mmc]: Card did not respond to voltage select!
      [04.065][mmc]: ************SD/MMC 2 init error!************
      [04.070][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [04.077]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
      [04.083]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
      [04.090]sunxi-spinand-phy: request spi0 gpio ok
      [04.095]sunxi-spinand-phy: request general tx dma channel ok!
      [04.100]sunxi-spinand-phy: request general rx dma channel ok!
      [04.105]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [04.110]sunxi-spinand-phy: init spic0 clk ok
      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
      
      [04.155]sunxi-spinand-phy: not detect any munufacture from id table
      [04.162]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [04.167]sunxi-spinand-phy: get phy info from fdt fail
      [04.172]sunxi-spinand-phy: not detect munufacture from fdt
      [04.177]sunxi-spinand-phy: detect munufacture from id table: Winbond
      [04.183]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [04.189]sunxi-spinand-phy: ========== arch info ==========
      [04.194]sunxi-spinand-phy: Model:               W25N01GVZEIG
      [04.199]sunxi-spinand-phy: Munufacture:         Winbond
      [04.204]sunxi-spinand-phy: DieCntPerChip:       1
      [04.208]sunxi-spinand-phy: BlkCntPerDie:        1024
      [04.213]sunxi-spinand-phy: PageCntPerBlk:       64
      [04.218]sunxi-spinand-phy: SectCntPerPage:      4
      [04.222]sunxi-spinand-phy: OobSizePerPage:      64
      [04.227]sunxi-spinand-phy: BadBlockFlag:        0x0
      [04.231]sunxi-spinand-phy: OperationOpt:        0x7
      [04.236]sunxi-spinand-phy: MaxEraseTimes:       65000
      [04.241]sunxi-spinand-phy: EccFlag:             0x0
      [04.245]sunxi-spinand-phy: EccType:             2
      [04.250]sunxi-spinand-phy: EccProtectedType:    3
      [04.254]sunxi-spinand-phy: ========================================
      [04.260]sunxi-spinand-phy:
      [04.262]sunxi-spinand-phy: ========== physical info ==========
      [04.268]sunxi-spinand-phy: TotalSize:    128 M
      [04.272]sunxi-spinand-phy: SectorSize:   512 B
      [04.276]sunxi-spinand-phy: PageSize:     2 K
      [04.280]sunxi-spinand-phy: BlockSize:    128 K
      [04.284]sunxi-spinand-phy: OOBSize:      64 B
      [04.289]sunxi-spinand-phy: ========================================
      [04.295]sunxi-spinand-phy:
      [04.297]sunxi-spinand-phy: ========== logical info ==========
      [04.302]sunxi-spinand-phy: TotalSize:    128 M
      [04.307]sunxi-spinand-phy: SectorSize:   512 B
      [04.311]sunxi-spinand-phy: PageSize:     4 K
      [04.315]sunxi-spinand-phy: BlockSize:    256 K
      [04.319]sunxi-spinand-phy: OOBSize:      128 B
      [04.323]sunxi-spinand-phy: ========================================
      [04.329]sunxi-spinand-phy: set spic0 clk to 100 Mhz
      [04.334]sunxi-spinand-phy: block lock register: 0x00
      [04.339]sunxi-spinand-phy: feature register: 0x19
      [04.343]sunxi-spinand-phy: sunxi physic nand init end
      [04.348]Loading Environment from SUNXI_FLASH... OK
      [04.352]try to burn key
      [04.355]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      buf queue page size = 16384
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x1e
      set address 0x1e ok
      set address 0x1f
      set address 0x1f ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_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      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x8000
      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    :0x8800
      part[1] lenlo     :0x1f8
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :env-redund
      part[2] classname :DISK
      part[2] addrlo    :0x89f8
      part[2] lenlo     :0x1f8
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :boot
      part[3] classname :DISK
      part[3] addrlo    :0x8bf0
      part[3] lenlo     :0x21e8
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs
      part[4] classname :DISK
      part[4] addrlo    :0xadd8
      part[4] lenlo     :0x11800
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :private
      part[5] classname :DISK
      part[5] addrlo    :0x1c5d8
      part[5] lenlo     :0x2800
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :rootfs_data
      part[6] classname :DISK
      part[6] addrlo    :0x1edd8
      part[6] lenlo     :0x15e00
      part[6] user_type :32768
      part[6] keydata   :0
      part[6] ro        :0
      
      part[7] name      :UDISK
      part[7] classname :DISK
      part[7] addrlo    :0x34bd8
      part[7] lenlo     :0x0
      part[7] user_type :33024
      part[7] keydata   :0
      part[7] ro        :0
      
      total part: 9
      mbr 0, 8000, 8000
      boot-resource 1, 800, 8000
      env 2, 1f8, 8000
      env-redund 3, 1f8, 8000
      boot 4, 21e8, 8000
      rootfs 5, 11800, 8000
      private 6, 2800, 8000
      rootfs_data 7, 15e00, 8000
      UDISK 8, 0, 8100
      [07.635]erase blk 0 to blk 32
      need erase flash: 18
      [07.658]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      
      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x07b00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [07.709]MTD info (4)
      [07.711]pagesize: 0x1000
      [07.713]blksize: 0x40000
      [07.715]num  offset     bytes      name
      [07.719]0    0x00000000 0x00100000 boot0
      [07.722]1    0x00100000 0x00300000 uboot
      [07.726]2    0x00400000 0x00100000 secure_storage
      [07.730]3    0x00500000 0x07b00000 sys
      [07.734]ubi attach the last part of mtd device: NO.3
      [07.806]ubi0: attaching mtd4
      [07.859]ubi0: scanning is finished
      [07.862]ubi0: empty MTD device detected
      [07.869]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [07.874]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [07.880]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [07.886]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [07.892]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [07.898]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [07.904]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [07.912]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
      [07.965]erase blk 0 to blk 32
      [07.976]erase blk 40 to blk 1024
      [08.491]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33
      [08.498]sunxi-spinand: secure storage blks have never used before
      [08.504]sunxi-spinand: secure storage has no valid data on item 0
      [08.509]Item0 (Map) magic is bad
      [08.512]the secure storage map is empty
      [08.533]sunxi-spinand: write secure storage itme 0 ok
      [08.537]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      force mbr
      
      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x07b00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [08.585]MTD info (4)
      [08.587]pagesize: 0x1000
      [08.590]blksize: 0x40000
      [08.592]num  offset     bytes      name
      [08.595]0    0x00000000 0x00100000 boot0
      [08.599]1    0x00100000 0x00300000 uboot
      [08.603]2    0x00400000 0x00100000 secure_storage
      [08.607]3    0x00500000 0x07b00000 sys
      [08.611]MBR info (unalign):
      [08.613]partno   addr       sects      type       name
      [08.618]0        0x00000000 0x00008000 0x00000001 mbr
      [08.623]1        0x00008000 0x00000800 0x00008000 boot-resource
      [08.628]2        0x00008800 0x000001f8 0x00008000 env
      [08.633]3        0x000089f8 0x000001f8 0x00008000 env-redund
      [08.638]4        0x00008bf0 0x000021e8 0x00008000 boot
      [08.643]5        0x0000add8 0x00011800 0x00008000 rootfs
      [08.648]6        0x0001c5d8 0x00002800 0x00008000 private
      [08.653]7        0x0001edd8 0x00015e00 0x00008000 rootfs_data
      [08.659]8        0x00034bd8 0x00000000 0x00008100 UDISK
      [08.664]ubi attach the last part of mtd device: NO.3
      [08.669]MBR info (align):
      [08.671]partno   addr       sects      type       name
      [08.676]0        0x00002800 0x000081f0 0x00000001 mbr
      [08.680]1        0x0000a9f0 0x000009d8 0x00008000 boot-resource
      [08.686]2        0x0000b3c8 0x000001f8 0x00008000 env
      [08.691]3        0x0000b5c0 0x000001f8 0x00008000 env-redund
      [08.696]4        0x0000b7b8 0x00002370 0x00008000 boot
      [08.701]5        0x0000db28 0x00011988 0x00008000 rootfs
      [08.706]6        0x0001f4b0 0x00002958 0x00008000 private
      [08.711]7        0x00021e08 0x00015e70 0x00008000 rootfs_data
      [08.717]8        0x00037c78 0x00000000 0x00008100 UDISK
      [08.722]ubi attach the last part of mtd device: NO.3
      [08.726]ubi attatch mtd, name: sys
      
      [08.730]ubi0: detaching mtd4
      [08.732]ubi0: mtd4 is detached
      [08.735]ubi0: attaching mtd4
      [08.788]ubi0: scanning is finished
      [08.791]ubi0: empty MTD device detected
      [08.798]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [08.803]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [08.809]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [08.815]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [08.821]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [08.827]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [08.833]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [08.841]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
      Creating static volume mbr of size 17031168
      Creating dynamic volume boot-resource of size 1290240
      Creating dynamic volume env of size 258048
      Creating dynamic volume env-redund of size 258048
      Creating dynamic volume boot of size 4644864
      Creating dynamic volume rootfs of size 36900864
      Creating dynamic volume private of size 5419008
      Creating dynamic volume rootfs_data of size 45932544
      No size specified -> Using max size (9031680)
      [08.950]reset last volume size to 0x44e8
      Creating dynamic volume UDISK of size 9031680
      [08.963]fill gap start: volume mbr sects 0x7f80
      [09.688]ubi0 warning: ubi_io_read_vid_hdr: bad magic number at PEB 149: 00000000 instead of 55424921
      [09.697]Volume identifier header dump:
      [09.700]        magic     00000000
      [09.703]        version   0
      [09.704]        vol_type  0
      [09.706]        copy_flag 0
      [09.708]        compat    0
      [09.710]        vol_id    0
      [09.712]        lnum      0
      [09.714]        data_size 0
      [09.716]        used_ebs  0
      [09.718]        data_pad  0
      [09.720]        sqnum     0
      [09.722]        hdr_crc   00000000
      [09.724]Volume identifier header hexdump:
      [09.728]ubi0 warning: ubi_eba_read_leb: corrupted VID header at PEB 149, LEB 0:0
      [09.735]ubi0 warning: ubi_volume_continue_write: volume 0 on UBI device 0 is corrupt
      [09.742]fill gap end: volume mbr
      [09.745]update partition map
      [09.748]logical area info: 468 258048 last_lba: 235871
      read from corrupted volume 0[09.759]mbr magic error: ▒▒▒▒▒▒▒▒ wanted softw411
      *** ERROR: Can't read MBR header ***
      part_get_info_efi: *** ERROR: Invalid GPT ***
      read from corrupted volume 0[09.776]mbr magic error: ▒▒▒▒▒▒▒▒ wanted softw411
      *** ERROR: Can't read MBR header ***
      part_get_info_efi: *** ERROR: Invalid Backup GPT ***
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      [09.835]fill gap start: volume boot-resource sects 0x264
      [09.853]fill gap end: volume boot-resource
      FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0xb3800
      FEX_CMD_fes_verify_value 0xfffd3200
      

      90cee686-6abd-43da-84bc-29aaa3daa8ed-image.png

      1 条回复 最后回复 回复 引用 分享 0
      • K
        kelsey LV 6 最后由 编辑

        你这边是修改了什么配置吗?还是换了flash?没该配置?

        U 1 条回复 最后回复 回复 引用 分享 0
        • U
          ubuntu LV 7 @kelsey 最后由 编辑

          @kelsey
          搞定啦,flash上拉电阻补焊搞定。

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

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

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