mirror of
https://github.com/fail0verflow/shofel2.git
synced 2024-06-08 10:58:44 +02:00
9 lines
282 B
Plaintext
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
|