30 lines
1.0 KiB
Batchfile
Executable File
30 lines
1.0 KiB
Batchfile
Executable File
setenv bootmenu_0 coninfo=coninfo
|
|
setenv bootmenu_1 mmcinfo=mmcinfo
|
|
bootmenu 3
|
|
|
|
printenv mmc_boot
|
|
printenv scan_dev_for_boot_part
|
|
printenv scan_dev_for_boot
|
|
printenv scan_dev_for_scripts
|
|
printenv boot_scripts
|
|
boot_scripts=boot.scr.uimg boot.scr
|
|
printenv boot_a_script
|
|
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
|
|
|
|
ext4load mmc 1:1 ${scriptaddr} /boot/sid.scr
|
|
source ${scriptaddr}
|
|
|
|
ext4ls mmc 1:1 /boot
|
|
# ext4load mmc 1:1 0x42000000 /root/hello_world
|
|
|
|
setenv bootargs 'root=/dev/mmcblk2p1 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart=6526ddf3-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u init=3 cgroup_enable=memory swapaccount=1 3'
|
|
|
|
setenv bootargs 'root=/dev/mmcblk2p1 rootwait console=ttyS0,115200 console=tty1'
|
|
|
|
ext4load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd-4.19.2-sunxi64
|
|
ext4load mmc 1:1 ${kernel_addr_r} /boot/vmlinuz-4.19.2-sunxi64
|
|
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|
|
|
|
bootelf
|