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

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



On Mon, 2014-06-30 at 16:09 -0500, Robert Nelson wrote:
> On Mon, Jun 30, 2014 at 3:59 PM, Ian Campbell <ijc@hellion.org.uk> wrote:
> > 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?
> 
> It was added in v2014.03's cycle:
> 
> http://git.denx.de/?p=u-boot.git;a=commit;h=e5e897c01b1cd496187ca56a38ff5559d27f951c

Thanks.

I think that means we can't rely on it in the general case where we
support the factory firmware but we could rely on it in specific cases
where Debian ships/requires a specific u-boot.

Ian.


Reply to: