
On Thu, 12 Sept 2024 at 16:00, Mattijs Korpershoek mkorpershoek@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/mai...
Reviewed-by: Julien Masson jmasson@baylibre.com Reviewed-by: Guillaume La Roque glaroque@baylibre.com Signed-off-by: Mattijs Korpershoek mkorpershoek@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-9979a842...
boot/bootmeth_android.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org