[PATCH v2] bootstd: android: Add U-Boot version to cmdline
Simon Glass
sjg at chromium.org
Thu Sep 19 16:13:05 CEST 2024
On Thu, 12 Sept 2024 at 16:00, Mattijs Korpershoek
<mkorpershoek at baylibre.com> wrote:
>
> When booting into Android fastbootd (a subset of recovery), the default
> UI shows the bootloader version in the screen [1].
> This is done via the ro.bootloader property which should come from the
> bootloader.
>
> Provide the U-Boot version via a kernel commandline argument so that
> fastbootd can show it properly on the screen.
>
> [1] https://android.googlesource.com/platform/bootable/recovery/+/refs/heads/main/fastboot/fastboot.cpp#42
>
> Reviewed-by: Julien Masson <jmasson at baylibre.com>
> Reviewed-by: Guillaume La Roque <glaroque at baylibre.com>
> Signed-off-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
> ---
> Changes in v2:
> - Clarify by a comment that we intentionally ignore return (Simon)
> - Link to v1: https://lore.kernel.org/r/20240904-bootmeth-bootloader-version-v1-1-9979a8428566@baylibre.com
> ---
> boot/bootmeth_android.c | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list