Skip to content

omap: Provide fastboot variables for fastboot.sh

Sam Protsenko u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- use get_device_type() instead of omap_get_cpu_type()
- guard omap_set_fastboot_vars() with CONFIG_FASTBOOT_FLASH
- use correct board names

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3omap: Add routine for setting fastboot variablesarch/arm/include/asm/omap_common.h arch/arm/mach-omap2/utils.c+121 -02 replies
2/3arm: am57xx: Set fastboot variables in environmentboard/ti/am57xx/board.c+1 -02 replies
3/3arm: dra7: Set fastboot variables in environmentboard/ti/dra7xx/evm.c+1 -02 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/3] omap: Provide fastboot variables for fastboot.sh

fastboot.sh is a script used for flashing Android images for TI boards (and can be found in corresponding AOSP sources). This script relies on some fastboot variables, which can be accessed with "fastboot getvar" command.

This patch series exports those variables, which fastboot.sh script relies on. The list of added variables:
- "cpu": CPU type (string, like "DRA752")
- "secure": CPU security index (string, like "GP")
- "board_rev": board revision (string, like "A.30")
- "userdata_size": size of userdata partition (number, in KiB)

Variables are enabled for AM57x EVM and DRA7 EVM boards, which are mainly supported TI boards, capable of Android running.

Changes in v2:
- use get_device_type() instead of omap_get_cpu_type()
- guard omap_set_fastboot_vars() with CONFIG_FASTBOOT_FLASH
- use correct board names

Sam Protsenko (3):
omap: Add routine for setting fastboot variables
arm: am57xx: Set fastboot variables in environment
arm: dra7: Set fastboot variables in environment

 arch/arm/include/asm/omap_common.h |   6 ++
 arch/arm/mach-omap2/utils.c        | 115 +++++++++++++++++++++++++++++++++++++
 board/ti/am57xx/board.c            |   1 +
 board/ti/dra7xx/evm.c              |   1 +
 4 files changed, 123 insertions(+)
Signature · 1 line
2.11.0