(03-17-2022, 03:12 AM)wibble Wrote: https://u-boot.readthedocs.io/en/latest/...booti.html
Dear professor
I asked the question after reading the boot and the pages you send me
I only write the last code but this is the
Whole one
if load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} /initramfs-linux.img; then
gpio set 157
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
gpio set 158
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
And what I understand is that if the if statement goes well load the kernel otherwise what?
exit the boot? Remove some code loaded?