Guillaume La Roque | 2a4642b | 2024-09-12 09:29:57 +0200 | [diff] [blame] | 1 | # Defconfig fragment for enabling Android boot flow |
| 2 | # to apply on top of am62x_evm_a53_defconfig or am62x_lpsk_a53_defconfig |
| 3 | # Enable fastboot |
| 4 | CONFIG_USB_FUNCTION_FASTBOOT=y |
| 5 | CONFIG_FASTBOOT_BUF_ADDR=0xC0000000 |
| 6 | CONFIG_FASTBOOT_BUF_SIZE=0x2F000000 |
| 7 | CONFIG_FASTBOOT_FLASH=y |
| 8 | CONFIG_FASTBOOT_FLASH_MMC_DEV=0 |
| 9 | CONFIG_CMD_GPT=y # Needed for FASTBOOT_CMD_OEM_FORMAT |
| 10 | CONFIG_RANDOM_UUID=y # Needed for FASTBOOT_CMD_OEM_FORMAT |
| 11 | CONFIG_FASTBOOT_CMD_OEM_FORMAT=y |
| 12 | # Enable Android boot flow |
| 13 | CONFIG_BOOTMETH_ANDROID=y |
| 14 | CONFIG_SYS_BOOTM_LEN=0x4000000 |
| 15 | CONFIG_SYS_MALLOC_LEN=0x08000000 |
| 16 | CONFIG_AVB_VERIFY=y |
| 17 | CONFIG_LIBAVB=y |
| 18 | CONFIG_CMD_ADTIMG=y |
| 19 | CONFIG_CMD_ABOOTIMG=y |
| 20 | CONFIG_CMD_AB_SELECT=y |
| 21 | CONFIG_CMD_AVB=y |