setenv kernel @KERNEL_IMAGETYPE@
setenv fdt_file @KERNEL_DEVICETREE@
setenv rootfs_mmc0 setenv rootfs /dev/mmcblk0p2
setenv rootfs_mmc1 setenv rootfs /dev/mmcblk1p2
setenv rootfs_nvme0 setenv rootfs /dev/nvme0n1p2
setenv rootfs_scsi0 setenv rootfs /dev/sda2
setenv rootfs_usb0 setenv rootfs /dev/sda2
setenv rootfs_dhcp setenv rootfs /dev/root
run rootfs_${target}
setenv new_bootargs setenv bootargs console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 root=${rootfs} default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf
run new_bootargs
${bootfstype}load ${devtype} ${devnum}:1 ${kernel_addr_r} /${kernel}; ${bootfstype}load ${devtype} ${devnum}:1 ${fdt_addr_r} /${fdt_file}; @KERNEL_BOOTCMD@ ${kernel_addr_r} - ${fdt_addr_r}
