forked from OERV-BSP/u-boot
Add Android bootflow support for AM62X SK EVM board with new android boot method. To build for AM62x for Android, we use the am62x_a53_android.config fragment when building A53 bootloaders: $ make am62x_evm_a53_defconfig $ make am62x_a53_android.config $ make Co-developed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Reviewed-by: Bryan Brattlof <bb@ti.com>
22 lines
682 B
Plaintext
22 lines
682 B
Plaintext
# Defconfig fragment for enabling Android boot flow
|
|
# to apply on top of am62x_evm_a53_defconfig or am62x_lpsk_a53_defconfig
|
|
# Enable fastboot
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x2F000000
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_CMD_GPT=y # Needed for FASTBOOT_CMD_OEM_FORMAT
|
|
CONFIG_RANDOM_UUID=y # Needed for FASTBOOT_CMD_OEM_FORMAT
|
|
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
|
|
# Enable Android boot flow
|
|
CONFIG_BOOTMETH_ANDROID=y
|
|
CONFIG_SYS_BOOTM_LEN=0x4000000
|
|
CONFIG_SYS_MALLOC_LEN=0x08000000
|
|
CONFIG_AVB_VERIFY=y
|
|
CONFIG_LIBAVB=y
|
|
CONFIG_CMD_ADTIMG=y
|
|
CONFIG_CMD_ABOOTIMG=y
|
|
CONFIG_CMD_AB_SELECT=y
|
|
CONFIG_CMD_AVB=y
|