]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: android: Add U-Boot version to cmdline
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 12 Sep 2024 14:00:01 +0000 (16:00 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 1 Oct 2024 08:57:05 +0000 (10:57 +0200)
commit3af5b851b4c66c63ad0036d4a10ea5b67e7827a1
tree3c26badf7b99d539cd87a74cc953afdd380e478f
parent4b17845529f5f0c94fe68c2daba1948d0ee41bb2
bootstd: android: Add U-Boot version to cmdline

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@baylibre.com>
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20240912-bootmeth-bootloader-version-v2-1-76d4c0b45024@baylibre.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/bootmeth_android.c