pinebook/boot-script/simple.cmd

19 lines
769 B
Batchfile
Raw Normal View History

# super simple pinebook script
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
2019-01-01 09:50:40 -06:00
setenv bootargs 'root=/dev/mmcblk2p1 console=ttyS0,115200 console=tty1'
# from the armbian group:
# 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 cgroup_enable=memory swapaccount=1 3'
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# Recompile with:
# mkimage -C none -A arm -T script -d simple.cmd simple.scr
# then, at the u-boot prompt run:
2019-01-01 09:50:40 -06:00
# ext4load mmc 1:1 ${scriptaddr} /root/pinebook/boot-script/simple.scr
# source ${scriptaddr}