[U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

Stephen Warren
2014-08-10T03:11:12Z

On 08/09/2014 04:43 PM, Jeroen Hofstee wrote:
> On 09-08-14 17:02, Hans de Goede wrote:
>> On 08/08/2014 06:00 PM, Stephen Warren wrote:
>>> On 08/07/2014 06:17 PM, Simon Glass wrote:
...
>>>> Acked-by: Simon Glass <sjg@chromium.org>
>>>
>>> For the list archive's record: Simon also replied to patch 2 with the
>>> same ack, but somehow the CC list got dropped to only myself and TomW.
>>
>> I've a bunch of patches relying on this, is there anything stopping this
>> from getting merged ?
>>
>> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>
> Is it not possible to have a uboot.src or something
> checking for extlinux. This seems to scale badly if
> we start to check for Grub, Ubldr, VxWorks etc.

The entire point of this series is to prevent distros from having to
install bootloader-specific boot configuration files. As such, relying
exclusively on boot.scr wouldn't be useful.

If we need to support other OSs, I think it'd be best to extend
extlinux.conf to allow it to support booting OSs besides Linux.

FWIW, if extlinux.conf isn't found on the media, this patch does fall
back to searching for boot.scr (a uImage of a U-Boot script) so it's
certainly possible to make custom things happen if you want.