Boots into initramfs then switch_root

This commit is contained in:
2026-03-26 09:00:28 +08:00
parent 8acf025a9d
commit 215eb0dc75
11 changed files with 173 additions and 32 deletions

View File

@@ -3,10 +3,9 @@ Booting release image with bootusb
```
setenv bootusb '
usb start;
setenv bootargs "console=ttyS0,115200 root=/dev/sda2 rw rootwait";
ext4load usb 0:2 ${kernel_addr_r} /boot/Image.gz;
ext4load usb 0:2 ${fdt_addr_r} /boot/mono-gateway-dk-sdk.dtb;
booti ${kernel_addr_r} - ${fdt_addr_r}
setenv kernel_addr_r 0xa0000000;
ext4load usb 0:2 ${kernel_addr_r} /boot/kernel.itb;
bootm ${kernel_addr_r};
'
run bootusb