问题描述:
V853在第一次烧录的时候是正常可以烧录进去的,但是会自动重新开始烧录,然后再第二次烧录的时候会报错,提示检测不到EMMC,然后系统就异常,再也无法重新烧录。硬件部分参照公板,是否可能是软件部分的问题?
下面是启动的全部日志
CCC[2172]fes begin commit:4b419f21ba
[2177]PMU: AXP21
[2179]set pll start
[2181]periph0 has been enabled
[2184]set pll end
[2186]board init ok
[2188]beign to init dram
[2190]DRAM use external ZQ!!
[2193]chip id check OK
[2195]DRAM_VCC set to 1500 mv
[2198]trefi:7.8ms
[2201][AUTO DEBUG] single rank and full DQ!
[2205]trefi:7.8ms
[2208][AUTO DEBUG] rank 0 row = 15
[2211][AUTO DEBUG] rank 0 bank = 8
[2214][AUTO DEBUG] rank 0 page size = 2 KB
[2218]DRAM BOOT DRIVE INFO: V0.16
[2221]DRAM CLK = 936 MHz
[2224]DRAM Type = 3 (2:DDR2,3:DDR3)
[2227]DRAMC ZQ value: 0x7b7bfb
[2230]DRAM ODT value: 0x42.
[2234]DRAM SIZE =512 M
[2236]dram_tpr4:0x0
[2239]DRAM simple test OK.
[2241]rtc standby flag is 0x0, super standby flag is 0x0
[2246]rtc[0] value = 0x80000002
[2250]init dram ok
U-Boot 2018.05-ga697d75-dirty (Dec 13 2022 - 04:40:13 -0500) Allwinner Technology
[03.961]CPU: Allwinner Family
[03.964]Model: sun8iw21
I2C: ready
[03.991]DRAM: 512 MiB
[03.994]Relocation Offset is: 1ced5000
[04.018]secure enable bit: 0
[04.021]PMU: AXP21
[04.023]PMU: pmu_axp2101 found
[04.026]BMU: AXP21
[04.027]BMU: bmu_axp2101 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[04.038]gpio_bias, pc_bias: 1800, pc_supply: not set
[04.043]gpio_bias, pl_bias: -1, pl_supply: not set
[04.048]dcdc1_vol = 3300, onoff=1
[04.052]dcdc2_vol = 900, onoff=1
[04.055]dcdc5_vol = 0, onoff=0
[04.058]aldo1_vol = 1800, onoff=1
[04.062]aldo2_vol = 1800, onoff=1
[04.065]aldo3_vol = 3300, onoff=1
[04.069]aldo4_vol = 3300, onoff=1
[04.072]bldo1_vol = 1800, onoff=1
[04.076]bldo2_vol = 2800, onoff=1
[04.079]dldo1_vol = 3300, onoff=1
[04.083]dldo2_vol = 1200, onoff=1
bias_name:pc_bias bias_vol:1800
bias_name:pi_bias bias_vol:1800
[04.093]bat_vol=45, ratio=0
[04.095]safe_vol=3500, safe_ratio=1
[04.099]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
[04.105]gic: normal mode
sunxi flash map init
[04.109]flash init start
[04.111]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[04.119][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[04.125][mmc]: get sdc_type fail and use default host:tm4.
[04.131][mmc]: Is not Boot mode!
[04.134][mmc]: SUNXI SDMMC Controller Version:0x50400
[04.145][mmc]: ************Try SD card 2************
[04.151][mmc]: mmc 2 cmd timeout 100 status 100
[04.155][mmc]: smc 2 err, cmd 8, RTO
[04.158][mmc]: mmc 2 close bus gating and reset
[04.163][mmc]: mmc 2 cmd timeout 100 status 100
[04.167][mmc]: smc 2 err, cmd 55, RTO
[04.171][mmc]: mmc 2 close bus gating and reset
[04.175][mmc]: ************Try MMC card 2************
[04.197][mmc]: mmc 2 cmd timeout 100 status 100
[04.201][mmc]: smc 2 err, cmd 8, RTO
[04.205][mmc]: mmc 2 close bus gating and reset
[04.210][mmc]: mmc 2 cmd timeout 100 status 100
[04.214][mmc]: smc 2 err, cmd 55, RTO
[04.217][mmc]: mmc 2 close bus gating and reset
[04.232][mmc]: gen_tuning_blk_bus8: total blk 10
[04.237][mmc]: gen_tuning_blk_bus4: total blk 6
[04.241][mmc]: Using 8 bit tuning now
[04.245][mmc]: write_tuning_try_freq: write ok
[04.249][mmc]: Pattern compare ok
[04.252][mmc]: Write tuning pattern ok
[04.255][mmc]: ================== HSSDR52_SDR25...
[04.260][mmc]: skip freq 400000
[04.263][mmc]: skip freq 25000000
[04.266][mmc]: freq: 2-50000000-64-4
[04.474][mmc]: [0-59|60]
[04.476][mmc]: ================== HSDDR52_DDR50...
[04.480][mmc]: skip freq 400000
[04.483][mmc]: freq: 1-25000000-64-4
[05.005][mmc]: freq: 2-50000000-64-4
[05.144][mmc]: [0-41|42] [53-63|11]
[05.147][mmc]: [0-31|32] [33-41|9] [52-63|12]
[05.151][mmc]: DS26/SDR12: 0xffffffff 0xffffffff
[05.155][mmc]: HSSDR52/SDR25: 0xff1effff 0xffffffff
[05.160][mmc]: HSDDR52/DDR50: 0xff1015ff 0xffffffff
[05.164][mmc]: HS200/SDR104: 0xffffffff 0xffffffff
[05.169][mmc]: HS400: 0xffffffff 0xffffffff
[05.173][mmc]: HS400: 0xffffffff 0xffffffff
[05.177][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[05.183]line:724 init_clocks
[05.187]init_clocks:finish
[05.189]Loading Environment from SUNXI_FLASH... OK
[05.194]try to burn key
[05.196]out of usb burn from boot: not need burn key
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 0x1c
set address 0x1c ok
set address 0x3b
set address 0x3b 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 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x2000
part[0] lenlo :0x1780
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x3780
part[1] lenlo :0x3f0
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :boot
part[2] classname :DISK
part[2] addrlo :0x3b70
part[2] lenlo :0x6270
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :rootfs
part[3] classname :DISK
part[3] addrlo :0x9de0
part[3] lenlo :0x8c00
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 :0x129e0
part[4] lenlo :0x2760
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :recovery
part[5] classname :DISK
part[5] addrlo :0x15140
part[5] lenlo :0x4ec0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x1a000
part[6] lenlo :0x0
part[6] user_type :33024
part[6] keydata :0
part[6] ro :0
total part: 8
mbr 0, 2000, 8000
boot-resource 1, 1780, 8000
env 2, 3f0, 8000
boot 3, 6270, 8000
rootfs 4, 8c00, 8000
rootfs_data 5, 2760, 8000
recovery 6, 4ec0, 8000
UDISK 7, 0, 8100
[08.337]erase all part start
need erase flash: 18
[08.341][mmc]: erase from: 0, to: 15269887, cnt: 15269888, erase_group: 1024
[08.424][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x4b ms
[08.430]read item0 copy0
[08.445]Item0 (Map) magic is bad
[08.448]the secure storage item0 copy0 magic is bad
[08.465]Item0 (Map) magic is bad
[08.467]the secure storage item0 copy1 magic is bad
[08.472]Item0 (Map) magic is bad
[08.475]the secure storage map is empty
[08.503]erase secure storage: 0 ok
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
write primary GPT success
write Backup GPT success
[08.515]update partition map
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
******Has init
FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x14000
FEX_CMD_fes_verify_value 0xe6f75b5c
FEX_CMD_fes_verify_value, start 0x3780, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xb41f4781
FEX_CMD_fes_verify_value, start 0x3b70, size high 0x0:low 0x408800
FEX_CMD_fes_verify_value 0x871f49da
FEX_CMD_fes_verify_value, start 0x9de0, size high 0x0:low 0x10e0000
FEX_CMD_fes_verify_value 0x4f9dd2fd
bootfile_mode=4
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0x108000, max size = 0x200000
uboot size = 0x108000
storage type = 2
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
bootfile_mode=4
SUNXI_EFEX_BOOT0_TAG
boot0 size = 0xa000
[09.805][mmc]: write mmc 2 info ok
dram para[0] = 3a8
dram para[1] = 3
dram para[2] = 7b7bfb
dram para[3] = 1
dram para[4] = 10f2
dram para[5] = 2000000
dram para[6] = 1e14
dram para[7] = 42
dram para[8] = 20
dram para[9] = 0
dram para[10] = 4899d7
dram para[11] = 1c241d0
dram para[12] = a4073
dram para[13] = b4787896
dram para[14] = 0
dram para[15] = 48484848
dram para[16] = 48
dram para[17] = 1621121e
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 420000
dram para[22] = 48
dram para[23] = b4016103
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 = 2
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
sunxi_efex_next_action=2
exit usb
next work 2
SUNXI_UPDATE_NEXT_ACTION_REBOOT▒CCC[3453]fes begin commit:4b419f21ba
[3458]PMU: AXP21
[3460]set pll start
[3462]periph0 has been enabled
[3465]set pll end
[3467]board init ok
[3469]beign to init dram
[3471]DRAM use external ZQ!!
[3474]chip id check OK
[3476]DRAM_VCC set to 1500 mv
[3479]trefi:7.8ms
[3482][AUTO DEBUG] single rank and full DQ!
[3486]trefi:7.8ms
[3489][AUTO DEBUG] rank 0 row = 15
[3492][AUTO DEBUG] rank 0 bank = 8
[3495][AUTO DEBUG] rank 0 page size = 2 KB
[3499]DRAM BOOT DRIVE INFO: V0.16
[3502]DRAM CLK = 936 MHz
[3505]DRAM Type = 3 (2:DDR2,3:DDR3)
[3508]DRAMC ZQ value: 0x7b7bfb
[3511]DRAM ODT value: 0x42.
[3514]DRAM SIZE =512 M
[3516]dram_tpr4:0x0
[3520]DRAM simple test OK.
[3522]rtc standby flag is 0x0, super standby flag is 0x0
[3527]rtc[0] value = 0x80000002
[3530]init dram ok
U-Boot 2018.05-ga697d75-dirty (Dec 13 2022 - 04:40:13 -0500) Allwinner Technology
[05.258]CPU: Allwinner Family
[05.261]Model: sun8iw21
I2C: ready
[05.288]DRAM: 512 MiB
[05.291]Relocation Offset is: 1ced5000
[05.315]secure enable bit: 0
[05.318]PMU: AXP21
[05.320]PMU: pmu_axp2101 found
[05.323]BMU: AXP21
[05.324]BMU: bmu_axp2101 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[05.335]gpio_bias, pc_bias: 1800, pc_supply: not set
[05.340]gpio_bias, pl_bias: -1, pl_supply: not set
[05.345]dcdc1_vol = 3300, onoff=1
[05.349]dcdc2_vol = 900, onoff=1
[05.352]dcdc5_vol = 0, onoff=0
[05.355]aldo1_vol = 1800, onoff=1
[05.359]aldo2_vol = 1800, onoff=1
[05.362]aldo3_vol = 3300, onoff=1
[05.366]aldo4_vol = 3300, onoff=1
[05.369]bldo1_vol = 1800, onoff=1
[05.373]bldo2_vol = 2800, onoff=1
[05.376]dldo1_vol = 3300, onoff=1
[05.380]dldo2_vol = 1200, onoff=1
bias_name:pc_bias bias_vol:1800
bias_name:pi_bias bias_vol:1800
[05.390]bat_vol=984, ratio=0
[05.392]safe_vol=3500, safe_ratio=1
[05.396]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
[05.402]gic: normal mode
sunxi flash map init
[05.406]flash init start
[05.408]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[05.416][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[05.422][mmc]: get sdc_type fail and use default host:tm4.
[05.429][mmc]: Is not Boot mode!
[05.431][mmc]: SUNXI SDMMC Controller Version:0x50400
[05.442][mmc]: ************Try SD card 2************
[05.448][mmc]: mmc 2 cmd timeout 100 status 100
[05.452][mmc]: smc 2 err, cmd 8, RTO
[05.455][mmc]: mmc 2 close bus gating and reset
[05.460][mmc]: mmc 2 cmd timeout 100 status 100
[05.464][mmc]: smc 2 err, cmd 55, RTO
[05.468][mmc]: mmc 2 close bus gating and reset
[05.472][mmc]: ************Try MMC card 2************
[06.485][mmc]: Card did not respond to voltage select!
[06.489][mmc]: ************SD/MMC 2 init error!************
[06.495][mmc]: mmc init product failed
MMC init failed
try emmc fail
[06.501]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
[06.507]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
[06.515]sunxi-spinand-phy: request spi0 gpio ok
[06.519]sunxi-spinand-phy: request general tx dma channel ok!
[06.525]sunxi-spinand-phy: request general rx dma channel ok!
[06.530]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[06.535]sunxi-spinand-phy: init spic0 clk ok
[07.539]sunxi-spinand-phy: read id failed : -110
try nand fail
[07.546]unrecognized JEDEC id bytes: ff, ff, ff
data abort
pc : [<5ff1053a>] lr : [<5ff10521>]
reloc pc : [<4303b53a>] lr : [<4303b521>]
sp : 5de72c38 ip : 00000002 fp : 43000508
r10: 43031bd9 r9 : 5deb4e70 r8 : 5def5678
r7 : 5ff83f48 r6 : ffffffed r5 : 5ff54a20 r4 : 5def56c0
r3 : 00002000 r2 : 00000001 r1 : 0000000a r0 : 00000030
Flags: nZCv IRQs on FIQs off Mode SVC_32
请问各位大佬,这是在电路板上哪里出了问题?