mbox series

[0/3] omap: Provide fastboot variables for fastboot.sh

Message ID 20170518130102.6820-1-semen.protsenko@linaro.org
Headers show
Series omap: Provide fastboot variables for fastboot.sh | expand

Message

Sam Protsenko May 18, 2017, 1 p.m. UTC
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 "J6")
 - "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.

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 |   2 +
 arch/arm/mach-omap2/utils.c        | 134 +++++++++++++++++++++++++++++++++++++
 board/ti/am57xx/board.c            |   1 +
 board/ti/dra7xx/evm.c              |   1 +
 4 files changed, 138 insertions(+)