D1系列烧录出现问题
-
按FEL后连接USB进行烧录,烧录到一半时,PhoenixSuit提示“烧写固件失败!请确保固件文件有效并且只能设备可以正常工作!”
然后第二次再尝试时,PhoenixSuit就无法检测到设备了;
请大家帮忙看下是什么情况
下面是log[733]fes begin commit:0e43dde-dirty
[737]set pll start
[738]periph0 has been enabled
[741]set pll end
[743][pmu]: bus read error
[745]board init ok
[747]beign to init dram
[749]DRAM only have internal ZQ!!
[752]get_pmu_exist() = -1
[755]ddr_type: 0x0
[757][AUTO DEBUG] two rank and full DQ!
[761]ddr_type: 0x0
[764][AUTO DEBUG] rank 0 row = 15
[767][AUTO DEBUG] rank 0 bank = 8
[770][AUTO DEBUG] rank 0 page size = 2 KB
[774][AUTO DEBUG] rank 1 row = 15
[777][AUTO DEBUG] rank 1 bank = 8
[780][AUTO DEBUG] rank 1 page size = 2 KB
[784]rank1 config same as rank0
[787]DRAM BOOT DRIVE INFO: V0.23
[790]DRAM CLK = 936 MHz
[792]DRAM Type = 3 (2:DDR2,3:DDR3)
[795]DRAMC ZQ value: 0x7b7bfb
[798]DRAM ODT value: 0x42.
[800]ddr_type: 0x0
[803]DRAM SIZE =1024 M
[806]DRAM simple test OK.
[809]init dram okU-Boot 2018.05-00015-ge960255fc6-dirty (Aug 26 2021 - 16:05:15 +0800) Allwinner Technology
[02.815]DRAM: 512 MiB
[02.820]Relocation Offset is: 1df22000
[02.835]secure enable bit: 0
[02.840]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[02.846]flash init start
[02.848]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[02.856][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[02.864][mmc]: get sdc_type fail and use default host:tm4.
[02.887][mmc]: Is not Boot mode!
[02.890][mmc]: SUNXI SDMMC Controller Version:0x50310
[02.901][mmc]: Try SD card 2
[02.906][mmc]: mmc 2 cmd timeout 100 status 100
[02.910][mmc]: smc 2 err, cmd 8, RTO
[02.914][mmc]: mmc 2 close bus gating and reset
[02.919][mmc]: mmc 2 cmd timeout 100 status 100
[02.923][mmc]: smc 2 err, cmd 55, RTO
[02.926][mmc]: mmc 2 close bus gating and reset
[02.930][mmc]: Try MMC card 2
[02.939][mmc]: mmc 2 cmd timeout 100 status 100
[02.943][mmc]: smc 2 err, cmd 1, RTO
[02.947][mmc]: mmc 2 close bus gating and reset
[02.951][mmc]: Card did not respond to voltage select!
[02.956][mmc]: SD/MMC 2 init error!
[02.961][mmc]: mmc init product failed
MMC init failed
try emmc fail
[02.974]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
[02.980]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
[03.023]sunxi-spinand-phy: request spi0 gpio ok
[03.027]sunxi-spinand-phy: request general tx dma channel ok!
[03.033]sunxi-spinand-phy: request general rx dma channel ok!
[03.038]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.043]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
[BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000, [BCC] 0x4025038 = 0x00000000
[DMA] 0x4025088 = 0x000000e5
[03.085]sunxi-spinand-phy: not detect any munufacture from id table
[03.098]sunxi-spinand-phy: get spi-nand Model from fdt fail
[03.103]sunxi-spinand-phy: get phy info from fdt fail
[03.108]sunxi-spinand-phy: not detect munufacture from fdt
[03.113]sunxi-spinand-phy: detect munufacture from id table: Mxic
[03.119]sunxi-spinand-phy: detect spinand id: ff0326c2 ffffffff
[03.125]sunxi-spinand-phy: ========== arch info ==========
[03.130]sunxi-spinand-phy: Model: MX35LF2GE4AD
[03.135]sunxi-spinand-phy: Munufacture: Mxic
[03.140]sunxi-spinand-phy: DieCntPerChip: 1
[03.144]sunxi-spinand-phy: BlkCntPerDie: 2048
[03.149]sunxi-spinand-phy: PageCntPerBlk: 64
[03.154]sunxi-spinand-phy: SectCntPerPage: 4
[03.158]sunxi-spinand-phy: OobSizePerPage: 64
[03.162]sunxi-spinand-phy: BadBlockFlag: 0x1
[03.167]sunxi-spinand-phy: OperationOpt: 0x7
[03.172]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.176]sunxi-spinand-phy: EccFlag: 0x2
[03.181]sunxi-spinand-phy: EccType: 8
[03.185]sunxi-spinand-phy: EccProtectedType: 3
[03.190]sunxi-spinand-phy: ========================================
[03.196]sunxi-spinand-phy:
[03.198]sunxi-spinand-phy: ========== physical info ==========
[03.204]sunxi-spinand-phy: TotalSize: 256 M
[03.208]sunxi-spinand-phy: SectorSize: 512 B
[03.212]sunxi-spinand-phy: PageSize: 2 K
[03.216]sunxi-spinand-phy: BlockSize: 128 K
[03.220]sunxi-spinand-phy: OOBSize: 64 B
[03.224]sunxi-spinand-phy: ========================================
[03.230]sunxi-spinand-phy:
[03.233]sunxi-spinand-phy: ========== logical info ==========
[03.238]sunxi-spinand-phy: TotalSize: 256 M
[03.243]sunxi-spinand-phy: SectorSize: 512 B
[03.247]sunxi-spinand-phy: PageSize: 4 K
[03.251]sunxi-spinand-phy: BlockSize: 256 K
[03.255]sunxi-spinand-phy: OOBSize: 128 B
[03.259]sunxi-spinand-phy: ========================================
[03.272]sunxi-spinand-phy: MX35LF2GE4AD reset rx bit width to 1
[03.277]sunxi-spinand-phy: MX35LF2GE4AD reset tx bit width to 1
[03.283]sunxi-spinand-phy: set spic0 clk to 80 Mhz
[03.287]sunxi-spinand-phy: block lock register: 0x00
[03.292]sunxi-spinand-phy: feature register: 0x11
[03.296]sunxi-spinand-phy: sunxi physic nand init end
[03.305]Loading Environment from SUNXI_FLASH... OK
[03.315]try to burn key
[03.318]out of usb burn from boot: not boot mode
[03.323]Net: [03.324]No ethernet found.
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x6
set address 0x6 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x0
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
SUNXI_EFEX_EXT4_UBIFS_TAG & do nothing
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 8part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x8000
part[0] lenlo :0x7e0
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x87e0
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x89d8
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x8bd0
part[3] lenlo :0x89d0
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x115a0
part[4] lenlo :0x89d0
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0part[5] name :dsp0
part[5] classname :DISK
part[5] addrlo :0x19f70
part[5] lenlo :0x800
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0part[6] name :opensbi
part[6] classname :DISK
part[6] addrlo :0x1a770
part[6] lenlo :0x800
part[6] user_type :32768
part[6] keydata :0
part[6] ro :0part[7] name :UDISK
part[7] classname :DISK
part[7] addrlo :0x1af70
part[7] lenlo :0x0
part[7] user_type :0
part[7] keydata :0
part[7] ro :0total part: 9
mbr 0, 8000, 8000
boot-resource 1, 7e0, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 89d0, 8000
rootfs 5, 89d0, 8000
dsp0 6, 800, 8000
opensbi 7, 800, 8000
UDISK 8, 0, 0
[06.301]erase blk 0 to blk 32
need erase flash: 0
[06.369]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 0x0fb00000 0x00500000 0active 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)
[06.425]MTD info (4)
[06.427]pagesize: 0x1000
[06.430]blksize: 0x40000
[06.432]num offset bytes name
[06.435]0 0x00000000 0x00100000 boot0
[06.439]1 0x00100000 0x00300000 uboot
[06.443]2 0x00400000 0x00100000 secure_storage
[06.447]3 0x00500000 0x0fb00000 sys
[06.451]ubi attach the last part of mtd device: NO.3
[06.855]ubi0: attaching mtd4
[07.473]ubi0: scanning is finished
[07.495]ubi0 warning: init_volumes: static volume 0 misses 21 LEBs - corrupted
[07.517]ubi0: attached mtd4 (name "sys", size 251 MiB)
[07.522]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[07.528]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[07.535]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[07.541]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[07.546]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[07.553]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[07.561]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
no part need to protect user data
[07.572]erase blk 0 to blk 32
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbrdevice 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 0x0fb00000 0x00500000 0active 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.680]MTD info (4)
[07.682]pagesize: 0x1000
[07.684]blksize: 0x40000
[07.687]num offset bytes name
[07.690]0 0x00000000 0x00100000 boot0
[07.694]1 0x00100000 0x00300000 uboot
[07.697]2 0x00400000 0x00100000 secure_storage
[07.702]3 0x00500000 0x0fb00000 sys
[07.705]MBR info (unalign):
[07.708]partno addr sects type name
[07.713]0 0x00000000 0x00008000 0x00000001 mbr
[07.717]1 0x00008000 0x000007e0 0x00008000 boot-resource
[07.723]2 0x000087e0 0x000001f8 0x00008000 env
[07.728]3 0x000089d8 0x000001f8 0x00008000 env-redund
[07.733]4 0x00008bd0 0x000089d0 0x00008000 boot
[07.738]5 0x000115a0 0x000089d0 0x00008000 rootfs
[07.743]6 0x00019f70 0x00000800 0x00008000 dsp0
[07.748]7 0x0001a770 0x00000800 0x00008000 opensbi
[07.753]8 0x0001af70 0x00000000 0x00000000 UDISK
[07.758]ubi attach the last part of mtd device: NO.3
[07.763]MBR info (align):
[07.765]partno addr sects type name
[07.770]0 0x00002800 0x000081f0 0x00000001 mbr
[07.775]1 0x0000a9f0 0x000007e0 0x00008000 boot-resource
[07.780]2 0x0000b1d0 0x000001f8 0x00008000 env
[07.785]3 0x0000b3c8 0x000001f8 0x00008000 env-redund
[07.790]4 0x0000b5c0 0x000089d0 0x00008000 boot
[07.795]5 0x00013f90 0x000089d0 0x00008000 rootfs
[07.800]6 0x0001c960 0x000009d8 0x00008000 dsp0
[07.805]7 0x0001d338 0x000009d8 0x00008000 opensbi
[07.810]8 0x0001dd10 0x00000000 0x00000000 UDISK
[07.815]ubi attach the last part of mtd device: NO.3
[07.820]ubi attatch mtd, name: sys[07.823]ubi0: detaching mtd4
[07.828]ubi0: mtd4 is detached
[07.831]ubi0: attaching mtd4
[08.446]ubi0: scanning is finished
[08.469]ubi0 warning: init_volumes: static volume 0 misses 21 LEBs - corrupted
[08.490]ubi0: attached mtd4 (name "sys", size 251 MiB)
[08.495]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[08.501]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[08.507]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[08.514]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[08.519]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[08.526]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[08.533]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[08.542]volume mbr existed, not create again
[08.546]volume boot-resource existed, not create again
[08.551]volume env existed, not create again
[08.555]volume env-redund existed, not create again
[08.560]volume boot existed, not create again
[08.564]volume rootfs existed, not create again
[08.568]volume dsp0 existed, not create again
[08.572]volume opensbi existed, not create again
[08.576]volume UDISK existed, not create again
[08.803]fill gap start: volume mbr sects 0x7f80
[22.646]fill gap end: volume mbr
[22.649]update partition map
[22.652]logical area info: 960 258048 last_lba: 483839
[22.670]logical area info: 960 258048 last_lba: 483839
[22.688]logical area info: 960 258048 last_lba: 483839
[22.706]logical area info: 960 258048 last_lba: 483839
[22.724]logical area info: 960 258048 last_lba: 483839
[22.742]logical area info: 960 258048 last_lba: 483839
[22.760]logical area info: 960 258048 last_lba: 483839
[22.778]logical area info: 960 258048 last_lba: 483839
[22.796]logical area info: 960 258048 last_lba: 483839
[22.814]logical area info: 960 258048 last_lba: 483839
[22.832]logical area info: 960 258048 last_lba: 483839
[22.850]logical area info: 960 258048 last_lba: 483839
[22.868]logical area info: 960 258048 last_lba: 483839
[22.886]logical area info: 960 258048 last_lba: 483839
[22.904]logical area info: 960 258048 last_lba: 483839
[22.922]logical area info: 960 258048 last_lba: 483839
[22.940]logical area info: 960 258048 last_lba: 483839
[22.958]logical area info: 960 258048 last_lba: 483839
[22.976]logical area info: 960 258048 last_lba: 483839
[22.994]logical area info: 960 258048 last_lba: 483839
[23.012]logical area info: 960 258048 last_lba: 483839
[23.030]logical area info: 960 258048 last_lba: 483839
[23.048]logical area info: 960 258048 last_lba: 483839
[23.066]logical area info: 960 258048 last_lba: 483839
[23.084]logical area info: 960 258048 last_lba: 483839
[23.102]logical area info: 960 258048 last_lba: 483839
[23.120]logical area info: 960 258048 last_lba: 483839
[23.138]logical area info: 960 258048 last_lba: 483839
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
[23.203]fill gap start: volume env sects 0xf8
[23.353]fill gap end: volume env
FEX_CMD_fes_verify_value, start 0x87e0, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0x208e6f46
[23.447]fill gap start: volume env-redund sects 0xf8
[23.597]fill gap end: volume env-redund
FEX_CMD_fes_verify_value, start 0x89d8, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0x208e6f46
[27.632]fill gap start: volume boot sects 0x47ec
[29.120]fill gap end: volume boot
FEX_CMD_fes_verify_value, start 0x8bd0, size high 0x0:low 0x83c800
FEX_CMD_fes_verify_value 0x1beccd2到这一步后出现错误
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号