按照提示需改,发现uboot 无法启动,请问如何配置: uboot打印如下 :
U-Boot 2018.07 (Jun 02 2024 - 21:21:38 +0800) Allwinner Technology
[00.503]CPU: Allwinner Family
[00.506]Model: sun8iw21
[00.508]DRAM: 64 MiB
[00.512]Relocation Offset is: 00ece000
[00.545]secure enable bit: 0
E/TC:0 fdt_getprop_u32:343 prop trace_level not found
[00.561]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
[00.567]gic: sec monitor mode
sunxi flash map init
SPI ALL: ready
[00.574]line:724 init_clocks
[00.577]flash init start
[00.579]workmode = 0,storage type = 0
[00.587]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:1a
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 0x07b00000 0x00500000 0
active 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)
[00.704]ubi0: attaching mtd4
[00.933]ubi0: scanning is finished
[00.943]ubi0: attached mtd4 (name "sys", size 123 MiB)
[00.948]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.954]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.960]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.966]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[00.972]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
[00.978]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[00.986]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[00.994]sunxi flash init ok
[00.997]drv_disp_init
[01.004]handle_num : 4
partno erro : can't find partition bootloader
partno erro : can't find partition boot-resource
Get bootloader and boot-resource partition number fail!
request pwm success, pwm6:pwm6:0x2000c00.
[01.356]drv_disp_init finish
[01.521]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment
*** Warning - no device, using default environment
Failed (-5)
[01.551]boot_gui_init:start
[01.554]set disp.dev2_output_type fail. using defval=0
[01.559][T050K589 LCD INFO] LINE:0142-->lcd_open_flow:
[01.565][T050K589 LCD INFO] LINE:0163-->lcd_power_on:
[01.583]set disp.fb0_rot_used fail. using defval=0
[01.587]set disp.fb0_rot_degree fail. using defval=0
[01.593]boot_gui_init:finish
[01.598][T050K589 LCD INFO] LINE:0441-->lcd_panel_init:
[01.615][T050K589 LCD INFO] LINE:0456-->lcd_panel_init:initialization:jd9365
partno erro : can't find partition bootloader
partno erro : can't find partition boot-resource
[01.732]Get bootloader and boot-resource partition number fail!
[01.761]update bootcmd
[01.786]change working_fdt 0x42a8de70 to 0x42a6de70
[01.798]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
[01.807][T050K589 LCD INFO] LINE:0199-->lcd_bl_open:
[01.819]LCD open finish
partno erro : can't find partition bootloader
partno erro : can't find partition boot-resource
Get bootloader and boot-resource partition number fail!
partno erro : can't find partition bootloader
partno erro : can't find partition boot-resource
Get bootloader and boot-resource partition number fail!
partno erro : can't find partition bootloader
partno erro : can't find partition boot-resource
Get bootloader and boot-resource partition number fail!
[02.004]update dts
Hit any key to stop autoboot: 0
Error: "distro_bootcmd" not defined
=> print
aw-ubi-spinand.ubootblks=24
baudrate=115200
bootcmd=run distro_bootcmd
bootdelay=2
fdtcontroladdr=42a8de70
filesize=10000
force_normal_boot=1
mtdids=nand0=nand
mtdparts=mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
partition=nand0,0
partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6:
rotpk_status=0
ubi_attach_mtdnum=3
Environment size: 450/131068 bytes
=>