mkimage -A arm64 -O linux -T ramdisk -C none -n initram -d initr initram
setenv bootargs "console=ttyFIQ0 console=tty1 consoleblank=0 net.ifnames=0 loglevel=1 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u swapaccount=1 earlycon=uart8250,mmio32,0xfeb50000 coherent_pool=1m irqchip.gicv3_pseudo_nmi=0"
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}initram
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}vmlinuz
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/rockchip/rk3588s-nanopi-r6s.dtb
fdt addr ${fdt_addr_r}
fdt resize 65536
kaslrseed
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr