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

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



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

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/


Reply to: