- 1、使用FETA40i-C V1.2(国产化版本)核心板+OKA40i-C V1.2底板 烧写镜像使用sun8iw11p1_linux_OKA40i_C_uart0-1024x600;2019年10月版本和2020年3月版本均试过
USB烧写,下载到69%后卡住,等待10秒后提示“烧写固件失败,请确保固件文件有效并且智能设备可以正常工作”;
SD卡烧写,使用TF卡用大卡套插入SD卡插槽,使用串口查看烧写打印信息,烧写一部分后报错停止;
整体log如下:
HELLO! BOOT0 is starting!
[ 0.35]HELLO! BOOT0 is starting!
[ 0.39]boot0 commit : b58d49ff80aa5ff8865ab68aa2463d4ee0fe1e7d
[ 0.46]boot0 version : 4.0
[ 0.50]set pll start
[ 0.54]set pll end
[ 0.89]rtc[0] value = 0x00000000
[ 0.92]rtc[1] value = 0x00000000
[ 0.95]rtc[2] value = 0x00000000
[ 0.98]rtc[3] value = 0x00000000
[ 0.102]rtc[4] value = 0x00000000
[ 0.105]rtc[5] value = 0x00000000
[ 0.109]DRAMC IS FOUR
[ 0.111]DRAM BOOT DRIVE INFO: V1.1
[ 0.115]Found A40
[ 0.117]Found A40
[ 0.119]Found A40
[ 0.121]Found A40
[ 0.123]Found A40
[ 0.129]PMU: [ 0.130]AXP221
[ 0.132]ddr voltage = 1250 mv
[ 0.139]PMU: [ 0.140]AXP221
[ 0.142]ddr voltage = 1250 mv
[ 0.153]PMU: [ 0.154]AXP221
[ 0.156]ddr voltage = 1500 mv
[ 0.166]DRAM CLK =576 MHZ
[ 0.169]DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
[ 0.174]DRAM zq value: 0x003b3bfb
[ 0.180]DRAM SIZE =1024 M
[ 0.183]DRAM ** test OK.
[ 0.186]dram size =1024
[ 0.188]rtc standby flag is 0x00000000, super standby flag is 0x00000000
[ 0.196]card no is 0
[ 0.198]sdcard 0 line count 4
[ 0.201][mmc]: mmc driver ver 2016-07-01 15:30
[ 0.206][mmc]: sdc0 spd mode error, 2
[ 0.219][mmc]: Wrong media type 0x00000000
[ 0.223][mmc]: ***Try SD card 0***
[ 0.235][mmc]: HSSDR52/SDR25 4 bit
[ 0.238][mmc]: 50000000 Hz
[ 0.241][mmc]: 15364 MB
[ 0.243][mmc]: ***SD/MMC 0 init OK!!!***
[ 0.343]Succeed in loading uboot from sdmmc flash.
[ 0.348]Entry_name = u-boot
[ 0.364]Ready to disable icache.
[ 0.367]Jump to secend Boot.
U-Boot 2014.07 (Jan 19 2020 - 05:27:12) Allwinner Technology
uboot commit : ffae925c54abddcfc8f616c65bb6eb8a3076b947
i2c_init: by cpux
i2c_init ok
[ 0.382]pmbus: ready
[ 0.396]PMU: AXP221
[ 0.396]PMU: AXP22x found
[ 0.397]PMU: dcdc2 1160
[ 0.398]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz MBus=400Mhz
set power on vol to default
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1160, onoff=1
dcdc3_vol = 1200, onoff=1
dcdc4_vol = 1100, onoff=0
aldo1_vol = 3300, onoff=1
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
dc1sw_vol = 3000, onoff=0
dc5ldo_vol = 1100, onoff=0
dldo1_vol = 3300, onoff=1
dldo2_vol = 3300, onoff=0
dldo3_vol = 3300, onoff=0
dldo4_vol = 2500, onoff=1
eldo1_vol = 2800, onoff=0
eldo2_vol = 1200, onoff=1
eldo3_vol = 2800, onoff=1
gpio0_vol = 3300, onoff=1
gpio1_vol = 3300, onoff=1
find power_sply to end
vbus exist
DRAM: 1 GiB
fdt addr: 0x76e8dcd8
Relocation Offset is: 35ee4000
In: serial
Out: serial
Err: serial
gic: normal mode
[ 0.527]start
drv_disp_init
init_clocks: finish init_clocks.
pwm_request: reg = 0x1c23400. pwm = 0.
request pwm success, pwm = 0.
tv_init:
tv_probe:000
tv0 have no type1
tv0 have no type2
tv0 have no type3
no report hpd work,you need support the switch class!
screen 0 don't support TV!
screen 1 don't support TV!
screen 0 do not support VGA TYPE!
screen 1 do not support VGA TYPE!
tv_init:
drv_disp_init finish
fetch script data boot_disp.output_disp fail
fetch script data boot_disp.output_type fail
fetch script data boot_disp.output_mode fail
fetch script data boot_disp.auto_hpd fail
disp0 device type(1) enable
disp 0, clk: pll(306000000),clk(306000000),dclk(51000000) dsi_rate(306000000)
clk real:pll(308571428),clk(308571428),dclk(51428571) dsi_rate(0)
enable power vcc-lcd, ret=0
[ 1.291]end
workmode = 17,storage type = 1
[ 1.291]NAND_UbootProbe start
[ 1.293]NB1 : enter phy init
[ 1.296]nand_physic_init
[ 1.412]Reset NDFC start 0 0
[ 1.412]Reset NDFC end 0 0
[ 1.412]nand not support! channel 0 chip 0: 00 00 00 00 00 00 00 00
[ 1.419]nand not support! channel 0 chip 1: 00 00 00 00 00 00 00 00
[ 1.425]nand not support! channel 0 chip 2: 00 00 00 00 00 00 00 00
[ 1.432]nand not support! channel 0 chip 3: 00 00 00 00 00 00 00 00
[ 1.438] no nand found !
[ 1.441]nand_physic_init nand_build_nsi error
[ 1.445]nand_physic_init error -1
[ 1.488]NB1 : nand phy init fail
[ 1.489]NB1 : enter phy Exit
[ 1.492]nand_physic_exit
[ 1.495]NAND_UbootProbe end: 0xffffffff
try nand fail
try nand fail
try card 2
[mmc]: mmc driver ver 2016-07-01 15:50:00
[mmc]: mmc_update_timing_para: error sdc_no 2
SUNXI SD/MMC: 2
[mmc]: 50 MHz...
[mmc]: sample: 63 - 158(ps)
[mmc]: ds: 63 - 158(ps)
[mmc]: 100 MHz...
[mmc]: sample: 31 - 161(ps)
[mmc]: ds: 32 - 156(ps)
[mmc]: 200 MHz...
[mmc]: sample: 16 - 156(ps)
[mmc]: ds: 16 - 156(ps)
[mmc]: ************Try SD card 2************
[mmc]: mmc 2 cmd 8 timeout, err 100
[mmc]: smc 2 err, cmd 8, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: mmc 2 mmc cmd 8 err 0x00000100
[mmc]: mmc send if cond failed
[mmc]: mmc 2 cmd 55 timeout, err 100
[mmc]: smc 2 err, cmd 55, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: mmc 2 mmc cmd 55 err 0x00000100
[mmc]: send app cmd failed
[mmc]: ************Try MMC card 2************
[mmc]: host caps: 0x6f
[mmc]: MID 0000d6 PSN 7959f0a0
[mmc]: PNM 88A378 -- 0x38-38-41-33-37
[mmc]: PRV 0.2
[mmc]: MDT m-11 y-2019
[mmc]: MMC v5.1
[mmc]: speed mode : HSSDR52/SDR25
[mmc]: clock : 50000000 Hz
[mmc]: bus_width : 8 bit
[mmc]: user capacity : 7456 MB
[mmc]: boot capacity : 4096 KB
[mmc]: rpmb capacity : 4096 KB
[mmc]: ************SD/MMC 2 init OK!!!************
[mmc]: use default speed mode: 1-HSSDR52/SDR25, ifreq: 2
[mmc]: ========best spd md: 1-HSSDR52/SDR25, freq: 2-50000000
[mmc]: already at HSSDR52_SDR25 mode
[mmc]: erase_grp_size : 0x400WrBlk*0x200=0x80000 Byte
[mmc]: secure_feature : 0x55
[mmc]: secure_removal_type : 0x9
[mmc]: EOL Info(Rev blks): Normal
[mmc]: Wear out(type A): 0%-10% life time used
[mmc]: Wear out(type B): Not defined
[mmc]: mmc driver ver 2016-07-01 15:50:00
[mmc]: boot_card_no error 2
SUNXI SD/MMC: 2, SUNXI SD/MMC: 0
[mmc]: 50 MHz...
[mmc]: sample: 63 - 158(ps)
[mmc]: 100 MHz...
[mmc]: sample: 32 - 156(ps)
[mmc]: 200 MHz...
[mmc]: sample: 16 - 156(ps)
[mmc]: ************Try SD card 0************
[mmc]: host caps: 0x27
[mmc]: MID 6f PSN aa0001b0
[mmc]: PNM CBADS -- 0x43-42-41-44-53
[mmc]: PRV 1.0
[mmc]: MDT m-3 y-2018
[mmc]: speed mode : HSSDR52/SDR25
[mmc]: clock : 50000000 Hz
[mmc]: bus_width : 4 bit
[mmc]: user capacity : 15364 MB
[mmc]: ************SD/MMC 0 init OK!!!************
[mmc]: erase_grp_size : 0x1WrBlk*0x200=0x200 Byte
[mmc]: secure_feature : 0x0
[mmc]: secure_removal_type : 0x0
mmc init ok
out of u*** burn from boot: not boot mode
[ 1.966]inter uboot shell
don't support write key!!!
flash secret error!!!
Hit any key to stop autoboot: 0
work mode=0x11
run card sprite
try sprite_led_gpio config
[ 1.976]sunxi sprite begin
fetch script data boot_disp.output_full fail
screen_id =0, screen_width =1024, screen_height =600
frame buffer address 77f2eed0
board_display_show_until_lcd_open
screen_width = 1024
screen_height = 600
bar x1: 256 y1: 260
bar x2: 768 y2: 340
reading font32.sft
FAT: Misaligned buffer address (78186ff8)
357443 bytes read in 164 ms (2.1 MiB/s)
[SFTE_Set_Pixel_Sizes_i] 407 buf_size is 2304
cur_pixel_size 32 pixel_size 32
[ 2.210]firmware probe ok
[ 2.210]fetch download map
*************DOWNLOAD MAP DUMP************
total download part 5
download part[0] name :boot-resource
download part[0] download file :BOOT-RESOURCE_FE
download part[0] verify file :VBOOT-RESOURCE_F
download part[0] lenlo :0x3800
download part[0] addrlo :0x8000
download part[0] encrypt :0x0
download part[0] verify :0x1
download part[1] name :env
download part[1] download file :ENV_FEX000000000
download part[1] verify file :VENV_FEX00000000
download part[1] lenlo :0x2000
download part[1] addrlo :0xb800
download part[1] encrypt :0x0
download part[1] verify :0x1
download part[2] name :boot
download part[2] download file :BOOT_FEX00000000
download part[2] verify file :VBOOT_FEX0000000
download part[2] lenlo :0x8000
download part[2] addrlo :0xd800
download part[2] encrypt :0x0
download part[2] verify :0x1
download part[3] name :rootfs
download part[3] download file :ROOTFS_FEX000000
download part[3] verify file :VROOTFS_FEX00000
download part[3] lenlo :0x200000
download part[3] addrlo :0x15800
download part[3] encrypt :0x0
download part[3] verify :0x1
download part[4] name :usr
download part[4] download file :USR-RESOURCE_FEX
download part[4] verify file :VUSR-RESOURCE_FE
download part[4] lenlo :0xcf5800
download part[4] addrlo :0x21d800
download part[4] encrypt :0x0
download part[4] verify :0x1
[ 2.348]fetch mbr
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 :0x8000
part[0] lenlo :0x3800
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0xb800
part[1] lenlo :0x2000
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :boot
part[2] classname :DISK
part[2] addrlo :0xd800
part[2] lenlo :0x8000
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :rootfs
part[3] classname :DISK
part[3] addrlo :0x15800
part[3] lenlo :0x200000
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :private
part[4] classname :DISK
part[4] addrlo :0x215800
part[4] lenlo :0x8000
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :usr
part[5] classname :DISK
part[5] addrlo :0x21d800
part[5] lenlo :0xcf5800
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0xf13000
part[6] lenlo :0x0
part[6] user_type :0
part[6] keydata :0
part[6] ro :0
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x8000
part[0] lenlo :0x3800
part[0] user_type :0x8000
part[0] keydata :0x0
part[0] ro :0x0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0xb800
part[1] lenlo :0x2000
part[1] user_type :0x8000
part[1] keydata :0x0
part[1] ro :0x0
part[2] name :boot
part[2] classname :DISK
part[2] addrlo :0xd800
part[2] lenlo :0x8000
part[2] user_type :0x8000
part[2] keydata :0x0
part[2] ro :0x0
part[3] name :rootfs
part[3] classname :DISK
part[3] addrlo :0x15800
part[3] lenlo :0x200000
part[3] user_type :0x8000
part[3] keydata :0x0
part[3] ro :0x0
part[4] name :private
part[4] classname :DISK
part[4] addrlo :0x215800
part[4] lenlo :0x8000
part[4] user_type :0x8000
part[4] keydata :0x0
part[4] ro :0x0
part[5] name :usr
part[5] classname :DISK
part[5] addrlo :0x21d800
part[5] lenlo :0xcf5800
part[5] user_type :0x8000
part[5] keydata :0x0
part[5] ro :0x0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0xf13000
part[6] lenlo :0x0
part[6] user_type :0x0
part[6] keydata :0x0
part[6] ro :0x0
[ 2.587]begin to erase flash
total part: 8
mbr 0, 8000, 8000
boot-resource 1, 3800, 8000
env 2, 2000, 8000
boot 3, 8000, 8000
rootfs 4, 200000, 8000
private 5, 8000, 8000
usr 6, cf5800, 8000
UDISK 7, 0, 0
not need erase flash
private part exist
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 :0x8000
part[0] lenlo :0x3800
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0xb800
part[1] lenlo :0x2000
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :boot
part[2] classname :DISK
part[2] addrlo :0xd800
part[2] lenlo :0x8000
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :rootfs
part[3] classname :DISK
part[3] addrlo :0x15800
part[3] lenlo :0x200000
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :private
part[4] classname :DISK
part[4] addrlo :0x215800
part[4] lenlo :0x8000
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :usr
part[5] classname :DISK
part[5] addrlo :0x21d800
part[5] lenlo :0xcf5800
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0xf13000
part[6] lenlo :0x0
part[6] user_type :0
part[6] keydata :0
part[6] ro :0
begin to store data
part name boot-resource
keydata = 0x0
part name env
keydata = 0x0
part name boot
keydata = 0x0
part name rootfs
keydata = 0x0
part name private
keydata = 0x0
find keypart private
keypart read start: 0x215800, sectors 0x8000
keypart part private read end: 0x215800, sectors 0x8000
part name usr
keydata = 0x0
part name UDISK
keydata = 0x0
need_erase_flag = 0
begin to erase
finish erase
rewrite
keypart write start: 0x215800, sectors 0x8000
keypart write end: 0x215800, sectors 0x8000
flash exit
[ 3.531]successed in erasing flash
unable to get ext_phy_part:burn_flag info
[ 3.538]successed in deal extend physical partition
begin to write standard mbr
successed to write standard mbr
[ 3.548]begin to download part
[ 3.548]begin to download part boot-resource
partdata hi 0x0
partdata lo 0x530400
sparse: bad magic
[ 3.928]successed in writting part boot-resource
origin_verify value = baf04d13, active_verify value = baf04d13
[ 4.058]successed in verify part boot-resource
[ 4.062]successed in download part boot-resource
[ 4.067]begin to download part env
partdata hi 0x0
partdata lo 0x20000
sparse: bad magic
[ 4.083]successed in writting part env
origin_verify value = 10e24e3c, active_verify value = 10e24e3c
[ 4.092]successed in verify part env
[ 4.095]successed in download part env
[ 4.099]begin to download part boot
partdata hi 0x0
partdata lo 0xcc1000
sparse: bad magic
[ 5.027]successed in writting part boot
origin_verify value = c161ff98, active_verify value = c161ff98
[ 5.337]successed in verify part boot
[ 5.341]successed in download part boot
[ 5.345]begin to download part rootfs
partdata hi 0x0
partdata lo 0x2170a000
sparse: bad magic
[ 43.950]successed in writting part rootfs
origin_verify value = ae589539, active_verify value = 5df129ec
origin checksum=ae589539, active checksum=5df129ec
sunxi sprite: part ROOTFS_FEX000000VROOTFS_FEX00000 verify error
sunxi sprite err: sunxi_sprite_deal_part, download normal failed
sunxi sprite error : download part error
sprite_test - do a sprite test
0
|
2个回答
|
|
|