uboot怎么恢复
不小心把uboot搞乱了,请问怎么恢复。Hit any key to stop autoboot:0
## Error: "sdhi_sw" not defined
## Error: "bootcmd_check" not defined
## Error: "bootimage" not defined
=>
=> printenv
fdt_file=mys-rzg2l-sdcard.dtb
sdhi_sw=if test MYS-RZG2L = MYS-RZG2L ; then switch_sdhi1 sdcard; fi
baudrate=115200
board_name=MYS-RZG2L
bootargs=rw rootwait earlycon loglevel=3 root=/dev/mmcblk0p2
bootcmd=run sdhi_sw;run bootcmd_check;run bootimage
bootdelay=1
bootm_size=0x10000000
emmcload=ext4load mmc 0:1 0x4A080000 boot/Image.gz;ext4load mmc 0:1 0x48000000 boot/r9a07g044l-smarc-rzg2l.dtb;run prodemmcbootargs
fdtaddr=0x48000000
fdtcontroladdr=7bf34e90
fileaddr=48000000
filesize=9bba
image=Image
loadaddr=0x48080000
mmcload=fatloadmmc 0:1 ${loadaddr} ${image};fatloadmmc 0:1 ${fdtaddr} ${fdt_file};run prodemmcbootargs
platform=cpu
prodemmcbootargs=setenv bootargs rw rootwait earlycon loglevel=3 root=/dev/mmcblk0p2
prodsdbootargs=setenv bootargs rw rootwait earlycon root=/dev/mmcblk1p2
script=boot.scr
stderr=serial@1004b800
stdin=serial@1004b800
stdout=serial@1004b800
ver=U-Boot 2021.10-g75dee8f1 (Feb 20 2024 - 11:40:15 +0800)
Environment size: 976/131068 bytes
env default -a
页:
[1]