[U-Boot] [PATCH v2 0/3] Boot from the bootable paritions

Sjoerd Simons sjoerd.simons at collabora.co.uk
Wed Mar 18 08:45:50 CET 2015


The release of -rc4 reminded me that i never got around to pinging about
this set:

On Wed, 2015-02-25 at 23:23 +0100, Sjoerd Simons wrote:
> In the discussion after the submission of the "Let the distro boot command scan
> all partitions" patchset it became clear the general consensus was that
> u-boot should not simply scan all partitions but instead only partitions with
> the bootable flag set, falling back to parition 1 as was previously done.

As Hans de Goede already remarked for the first revision of this set,
this patchset should probably be included in final v2015.04 to prevent
the boot behaviour of the distro boot commands changing again post
release.

For reference, v2015.1 just tried from the first partition on the
various devices, current master tries to boot from all partitions (due
to one of my earlier patchsets) and with this patchset we again change
to just booting from partitions with the boot flag set, falling back to
the first partition (as was the consensus from the mailinglist
discussion).

> This set of patches implements that
> 
> Changes since v1:
>   * Make updated part list command more precise about what arguments ordering
>     it accepts.
> 
> Sjoerd Simons (3):
>   part: Add support for list filtering on bootable partitions
>   config_cmd_default.h: Add 'env exists' command
>   config_distro_bootcmd.h: Prefer booting from bootable paritions
> 
>  common/cmd_part.c               | 53 +++++++++++++++++++++++++++++++----------
>  include/config_cmd_default.h    |  1 +
>  include/config_distro_bootcmd.h |  3 ++-
>  3 files changed, 44 insertions(+), 13 deletions(-)
> 




More information about the U-Boot mailing list