[U-Boot] [PATCH v2 2/3] arm: am57xx: Set fastboot variables in environment

Sam Protsenko semen.protsenko at linaro.org
Mon May 22 16:16:41 UTC 2017


One can obtain those variables using next commands:

    $ fastboot getvar cpu
    $ fastboot getvar secure
    $ fastboot getvar board_rev
    $ fastboot getvar userdata_size

Those variables are needed for fastboot.sh script.

Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
---
Changes in v2: None

 board/ti/am57xx/board.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 3be697a6ea..c8ebcdbcc8 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -573,6 +573,7 @@ int board_late_init(void)
 			    val);
 
 	omap_die_id_serial();
+	omap_set_fastboot_vars();
 
 	am57x_idk_lcd_detect();
 
-- 
2.11.0



More information about the U-Boot mailing list