Robert, On Jun 13, 2024 at 16:51:24 -0500, Robert Nelson wrote: > On Thu, Jun 13, 2024 at 4:47 PM Robert Nelson <robertcnel...@gmail.com> wrote: > > > > On Thu, Jun 13, 2024 at 3:06 AM Dhruva Gole <d-g...@ti.com> wrote: > > > > > > The Kernel Image and DTB files are supposed to be picked from the rootfs > > > of the SD Card, this fails in legacy boot flow because bootpart is set > > > to 1:1. Fix it. > > > > and where is that rule defined? > > > > Production boards ship with Kernel Image and DTB's in the 1st fat > > partition.. > > Besides, u-boot should scan for extlinux.conf on "any" partition.
I can see where you come from, and I agree on the above points when it comes to stdboot. However when a user wishes to use legacy boot, and in the case there isn't extlinux.conf in such a case u-boot will rely on information in the env file (please correct me if my understanding is wrong). The env file says: bootdir=/boot Thus u-boot ends up looking for Image and dtb in /boot/Image under BOOT partition, and ultimately fails, because the /boot/Image path is generally found inside the root partition ie. 1:2 The idea of this patch is to keep support for such legacy boot alive, if you feel there's another way to do this feel free to suggest. -- Dhruva