[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: u-boot search order (Re: flash-kernel and dtb)



On Fri, 2014-06-20 at 22:07 -0700, Vagrant Cascadian wrote:
> > So the unambiguously preferable search order is "/boot /"; in some cases
> > this will give an extra directory lookup, 
> 
> Well, four extra directory lookups (boot.scr, uEnv.txt, zImage, uImage)...
> though it could probably be written to be more intelligent when checking /boot,
> first checking if /boot is present at all before attempting to load files from
> it.

Does u-boot have an equivalent of test -d/-e?

> > but it should never cause the bootloader to get confused by stray files in
> > /boot vs. / on the root filesystem.
> 
> That's a good point I hadn't considered. Ok, you've convinced me. :)

FWIW, me too.

Ian.


Reply to: