env exists fdtfile || setenv fdtfile k3-am6528-iot2050-basic-oldfw.dtb
setenv bootargs root=/dev/mmcblk0p1 rw console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02810000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),64k(pru0-fw),64k(pru1-fw),64k(rtu0-fw),64k(rtu1-fw),-@8m(ospi.rootfs) random.trust_cpu=on consoleblank=0 rootwait
echo Loading /boot/${fdtfile}...
load ${devtype} ${devnum}:1 ${fdt_addr_r} /boot/${fdtfile}
echo Loading /boot/Image...
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} /boot/Image
booti ${kernel_addr_r} - ${fdt_addr_r}
