shofel2/usb_loader/switch.scr
2018-04-24 02:43:36 +09:00

9 lines
282 B
Plaintext

# mkimage -A arm64 -T script -C none -n "boot.scr" -d switch.scr switch.scr.img
echo "unzipping kernel..."
unzip 0x83000000 0x85000000
setenv bootargs 'root=/dev/mmcblk0p2 rw fbcon=rotate:3 rootwait'
echo "resetting usb..."
usb reset
echo "booting..."
booti 0x85000000 - 0x8d000000