使用buildroot-100ask_t113-pro 编译出的sd卡固件启动失败,显示屏可以点亮,无法启动内核。使用压缩包里面的固件,可以启动正常

[68]HELLO! BOOT0 is starting!
[71]BOOT0 commit : 2c94b33
[74]set pll start
[80]periph0 has been enabled
[83]set pll end
[84][pmu]: bus read error
[87]board init ok
[88]enable_jtag
[90]ZQ value = 0x2f***********
[93]get_pmu_exist() = -1
[96]ddr_efuse_type: 0xa
[99][AUTO DEBUG] single rank and full DQ!
[103]ddr_efuse_type: 0xa
[106][AUTO DEBUG] rank 0 row = 13
[109][AUTO DEBUG] rank 0 bank = 8
[113][AUTO DEBUG] rank 0 page size = 2 KB
[117]DRAM BOOT DRIVE INFO: V0.24
[120]DRAM CLK = 792 MHz
[122]DRAM Type = 3 (2:DDR2,3:DDR3)
[126]DRAMC read ODT off.
[128]DRAM ODT value: 0x42.
[131]ddr_efuse_type: 0xa
[134]DRAM SIZE =128 M
[136]PLL_DDR_CTRL_REG:0xf8004100
[139]DRAM_CLK_REG:0xc0000000
[147]DRAM simple test OK.
[149]rtc standby flag is 0x0, super standby flag is 0x0
[155]dram size =128
[158]card no is 0
[159]sdcard 0 line count 4
[162][mmc]: mmc driver ver 2021-03-22 20:20
[171][mmc]: Wrong media type 0x0
[174][mmc]: Try SD card 0
[183][mmc]: HSSDR52/SDR25 4 bit
[186][mmc]: 50000000 Hz
[188][mmc]: 30448 MB
[190][mmc]: SD/MMC 0 init OK!!!
[281]Loading boot-pkg Succeed(index=0).
[284]Entry_name = u-boot
[292]Entry_name = optee
[296]Entry_name = logo
[298]Entry_name = dtb
[301]mmc not para
[303]Jump to second Boot.
M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm

U-Boot 2018.05-g5e4f417-dirty (Oct 30 2022 - 13:31:24 +0000) Allwinner Technology

[00.360]CPU: Allwinner Family
[00.362]Model: sun8iw20
[00.365]DRAM: 128 MiB
[00.368]Relocation Offset is: 04ebb000
[00.396]secure enable bit: 0
[00.398]smc_tee_inform_fdt failed with: -65526[00.402]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.408]gic: sec monitor mode
[00.411]line:703 init_clocks
[00.414]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
[00.429]drv_disp_init finish
[00.431]boot_gui_init:start
[00.434]set disp.dev2_output_type fail. using defval=0
[00.440]boot_gui_init:finish
[00.448]flash init start
[00.450]workmode = 0,storage type = 1
[00.454][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00
[00.459][mmc]: get sdc_type fail and use default host:tm1.
[00.465][mmc]: can’t find node “mmc0”,will add new node
[00.470][mmc]: fdt err returned
[00.474][mmc]: Using default timing para
[00.477][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.497][mmc]: card_caps:0x3000000a
[00.500][mmc]: host_caps:0x3000003f
[00.504]sunxi flash init ok
[00.514]Loading Environment from SUNXI_FLASH… OK
[00.534]Item0 (Map) magic is bad
[00.536]the secure storage item0 copy0 magic is bad
[00.542]Item0 (Map) magic is bad
[00.545]the secure storage item0 copy1 magic is bad
[00.549]Item0 (Map) magic is bad
secure storage read widevine fail
[00.555]secure storage read widevine fail with:-1
secure storage read ec_key fail
[00.563]secure storage read ec_key fail with:-1
secure storage read ec_cert1 fail
[00.570]secure storage read ec_cert1 fail with:-1
secure storage read ec_cert2 fail
[00.577]secure storage read ec_cert2 fail with:-1
secure storage read ec_cert3 fail
[00.585]secure storage read ec_cert3 fail with:-1
secure storage read rsa_key fail
[00.592]secure storage read rsa_key fail with:-1
secure storage read rsa_cert1 fail
[00.600]secure storage read rsa_cert1 fail with:-1
secure storage read rsa_cert2 fail
[00.607]secure storage read rsa_cert2 fail with:-1
secure storage read rsa_cert3 fail
[00.615]secure storage read rsa_cert3 fail with:-1
[00.[00.621]LCD open finish
619]usb burn from boot
delay time 0
weak:otg_phy_config
[00.633]usb prepare ok
[00.844]usb sof ok
[00.845]usb probe ok
[00.847]usb setup ok
set address 0x23
set address 0x23 ok
sunxi usb err: string line 238 is not supported
set address 0x24
set address 0x24 ok
sunxi usb err: string line 238 is not supported
[03.852]do_burn_from_boot usb : have no handshake
partno erro : can’t find partition private
root_partition is rootfs
[03.869]update part info
[03.872]update bootcmd
54472 bytes read in 3 ms (17.3 MiB/s)
[03.882]replace fdt from fat partition(boot) file(kernel.dtb) success
[03.900]update dts
phy_mode=rmii, phy_interface=6
eth0
Error: eth0 address not set.

Hit any key to stop autoboot: 0
card0 has inited
curr_device:0
Device: SUNXI SD/MMC
Manufacturer ID: 3
OEM: 5344
Name: SD32G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

Partition Map for MMC device 0 – Partition Type: EFI

Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00008a00 0x000099ff “boot-resource”
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 566bc89c-163c-46e7-86bd-8536059fa039
2 0x00009a00 0x00009aff “env”
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: f7111218-21d3-4353-8e85-3fcb1b02b4ca
3 0x00009b00 0x00009bff “env-redund”
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 7bfe97d5-efdc-40bf-9180-b1bb2947a094
4 0x00009c00 0x00019bff “boot”
attrs: 0x0000000000000004
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: b539effe-9570-4500-a210-0bfa921c493e
261240 bytes read in 12 ms (20.8 MiB/s)
5062656 bytes read in 211 ms (22.9 MiB/s)
[05.245]no vendor_boot partition is found
Android’s image name: sun8iw20p1
Kernel load addr 0x00000000 size 4903 KiB
data abort
pc : [<47ebb7e0>] lr : []
reloc pc : [<430007e0>] lr : []
sp : 43e55f94 ip : 5575b751 fp : 00000001
r10: 45004000 r9 : 43e9ae70 r8 : 3ced8b37
r7 : b74509e6 r6 : 7adf0fdc r5 : 9688fb0e r4 : e81889ac
r3 : 3204b6bb r2 : 004b9aa0 r1 : 450140a0 r0 : 000100a0
Flags: nzcv IRQs on FIQs on Mode SVC_32

已经解决了,是烧录的分区少了,没有烧录rootfs分区。以为uboot启动内核的时候 不用 管rootfs,看来必须要烧录已整套系统,具体为什么 缺少rootfs分区 会司机 ,原因得看uboot源码分析。

请问是如何解决的?我现在也启动不了