页次: 1
能发个能启动的烧录镜像我试试吗,看看是不是U-boot的问题
为啥我程序烧在sd卡里可以启动,但烧录在emmc上启动不了,可以加载Uboot,但无法加载内核。用的也是153的emmc转接板
HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : 3e438070fde631e17b3b48bac99fa62eff57123b
fel flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 360 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
card boot number = 0
card no is 0
sdcard 0 line count 4
[mmc]: mmc driver ver 2014-12-10 21:20:39
[mmc]: ***Try SD card 0***
[mmc]: mmc 0 cmd 8 timeout, err 00000100
[mmc]: mmc 0 cmd 8 err 00000100
[mmc]: mmc 0 send if cond failed
[mmc]: mmc 0 cmd 55 timeout, err 00000100
[mmc]: mmc 0 cmd 55 err 00000100
[mmc]: mmc 0 send app cmd failed
[mmc]: ***Try MMC card 0***
[mmc]: MMC ver 4.5
[mmc]: SD/MMC Card: 4bit, capacity: 3728MB
[mmc]: vendor: Man 0090014a Snr 010ce958
[mmc]: product: H4G2a
[mmc]: revision: 1.1
[mmc]: ***SD/MMC 0 init OK!!!***
sdcard 0 init ok
The size of uboot is 000a8000.
sum=04d8aa9b
src_sum=04d8aa9b
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
[ 0.348]
U-Boot 2011.09-rc1-00000-g3e43807-dirty (Nov 20 2021 - 14:22:03) Allwinner Tech
[ 0.357]version: 1.1.0
[ 0.359]uboot commit : 3e438070fde631e17b3b48bac99fa62eff57123b
[ 0.368]pmbus: ready
not set main pmu id
axp_probe error
[ 0.374]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
find power_sply to end
vbus exist
no battery, limit to dc
no key input
dram_para_set start
dram_para_set end
[ 0.505]DRAM: 64 MiB
relocation Offset is: 0309c000
save config for small mem_size
workmode = 0
storage type = 1
MMC: 0
[ 0.604][mmc]: mmc driver ver 2015-04-13 14:50:00
[ 0.609][mmc]: get sdc_phy_wipe fail.
[ 0.612][mmc]: get sdc0 sdc_erase fail.
[ 0.616][mmc]: get sdc_f_max fail,use default 50000000Hz
[ 0.622][mmc]: get sdc_ex_dly_used fail,use default dly
[ 0.627][mmc]: SUNXI SD/MMC: 0
[ 0.639][mmc]: *Try SD card 0*
[ 0.643][mmc]: mmc 0 cmd 8 err 100
[ 0.648][mmc]: mmc send if cond failed
[ 0.652][mmc]: mmc 0 cmd 55 err 100
[ 0.657][mmc]: send app cmd failed
[ 0.660][mmc]: *Try MMC card 0*
[ 0.716][mmc]: CID 0x90014a48 0x34473261 0x11010ce9 0x5817435b
[ 0.721][mmc]: MMC ver 4.5
[ 0.724][mmc]: mmc clk 50000000
[ 0.727][mmc]: SD/MMC Card: 8bit, capacity: 3728MB
[ 0.732][mmc]: boot0 capacity: 4000KB,boot1 capacity: 4000KB
[ 0.738][mmc]: ***SD/MMC 0 init OK!!!***
[ 0.744][mmc]: mmc 0 data err 2000
[ 0.747][mmc]: Read remain data
[ 0.753][mmc]: read block failed
[ 0.756][mmc]: block read failed
[ 0.759][mmc]: erase_grp_size:0x400WrBlk * 0x200 = 0x80000 Byte
[ 0.765][mmc]: secure_feature 0x55
[ 0.769][mmc]: secure_removal_type 0x0
[ 0.773]sunxi flash init ok
[ 0.777][mmc]: mmc 0 data err 2000
[ 0.783][mmc]: read block failed
[ 0.786][mmc]: block read failed
read flash error
fail to find part named env
Using default environment
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
mbr not exist
base bootcmd=run setargs_mmc boot_mmc
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_mmc boot_mmc
Net: eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is e2:e1:e1:e1:e1:e1
Address in environment is 02:ac:bd:3f:29:e0
WORK_MODE_BOOT
board_status_probe
adver not need show
sunxi_bmp_logo_display
sunxi flash error: cant get part 0 offset
** Can't read from device 0 **
** Unable to use sunxi_flash 0:1 for fatload **
sunxi bmp info error : unable to open logo file bootlogo.bmp
[ 0.856][mmc]: blkcnt should not be 0
read bootlogo partition fail,start_block=0x0,rblock=0x0 ,ret=0
Not a JPG file ?
parse_header failed
Use decode 2x1 sampling
sunxi_read_bootlogo: jpg convert argb
[ 0.875]Hit any key to stop autoboot: 0
[ 4.131][mmc]: mmc 0 cmd 16 err 100
[ 6.132][mmc]: mmc 0,update clk failed
[ 6.135][mmc]: Set block len failed
** Can't read from device 0 **
** Unable to use mmc 0:1 for fatload **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
int id = QFontDatabase::addApplicationFont("/root/USER/SourceHanSansCN-Regular.ttf");
QString msyh = QFontDatabase::applicationFontFamilies (id).at(0);
QFont font(msyh,10);
font.setPointSize(15);
a.setFont(font);
裸机60M,跑了数据估计要打多少折了
如果贴片式的sd卡有uboot了,还能用这个办法吗
看着好像挺厉害,不知道复不复杂
页次: 1