[U-Boot] [RFC] Kbuild support for ARM FIT images
Stephen Warren
swarren at wwwdotorg.org
Thu Feb 21 15:05:30 EST 2013
On 02/21/2013 12:57 PM, Wolfgang Denk wrote:
> Dear Stephen,
>
> In message <5126778A.4040705 at wwwdotorg.org> you wrote:
>>
>> If U-Boot always searched a disk for e.g. /boot/boot.scr or similar and
>> just executed that, and there was a standard boot.scr that worked on all
>> boards by use of e.g. bootz, ${soc}, ${board}, then that could be
>> distro-agnostic too. And life would be simple, without the need for any
>> extra build tools at all.
>
> If the world was so simple, we could eventually do that. But it ain't
> so. Just consider the typical "diskless" system that boots over the
> network, using DHCP + TFTP, where the server will provide a single
> file only.
I use TFTP routinely to boot my boards, and load separate zImage and DTB
files from the server without issue, using the exact same filenames as
when I load them from a /boot directory on eMMC or SD.
> Or systems that require sub-second boot times, where you
> don't want to spend time in running boot scripts. etc.
Admittedly this is conjecture, but surely the actual IO time to load a
zImage vastly vastly dwarfs the time take to parse an "ext2load" or
"fsload" command to do so, so running scripts to do this isn't relevant.
And besides, there's always some script, whether it's a boot.scr file or
built into the U-Boot environment.
More information about the linux-arm-kernel
mailing list