Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/usb_loader/switch.conf b/usb_loader/switch.conf
index f4555c3..39e1474 100644
--- a/usb_loader/switch.conf
+++ b/usb_loader/switch.conf
@@ -1,5 +1,3 @@
switch
hid,1024,0x80000000,0x80000000,2G
-../../linux/arch/arm64/boot/Image.gz:load 0x83000000
-../../linux/arch/arm64/boot/dts/nvidia/tegra210-nintendo-switch.dtb:load 0x8d000000
switch.scr.img:load 0x8e000000,jump_direct 0x8e000000
diff --git a/usb_loader/switch.scr b/usb_loader/switch.scr
index 7d47c23..be4c5d8 100644
--- a/usb_loader/switch.scr
+++ b/usb_loader/switch.scr
@@ -1,4 +1,6 @@
# mkimage -A arm64 -T script -C none -n "boot.scr" -d switch.scr switch.scr.img
+ext4load mmc 1:2 0x83000000 /boot/Image.gz
+ext4load mmc 1:2 0x8d000000 /boot/tegra210-nintendo-switch.dtb
echo "unzipping kernel..."
unzip 0x83000000 0x85000000
setenv bootargs 'root=/dev/mmcblk0p2 rw fbcon=rotate:3 rootwait'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.