Commit 1594150dba4bef6f3277854b9b005a37c6967e4c

Authored by Ji Luo
1 parent 71562aae3b

MA-13940 [Auto] imx8q: Enable dual bootloader

Open configs to enable dual bootloader feature for
imx8q Android Auto.

Test: Build and boot on imx8q.

Change-Id: I99da2ee6b87efd201e16df1046188ae86cab1466
Signed-off-by: Ji Luo <ji.luo@nxp.com>

Showing 5 changed files with 21 additions and 0 deletions Side-by-side Diff

configs/imx8qm_mek_androidauto_trusty_defconfig
... ... @@ -117,4 +117,7 @@
117 117 CONFIG_SPL_LIBDISK_SUPPORT=y
118 118  
119 119 CONFIG_NOT_UUU_BUILD=y
  120 +CONFIG_SHA256=y
  121 +CONFIG_SPL_MMC_WRITE=y
  122 +CONFIG_DUAL_BOOTLOADER=y
configs/imx8qxp_mek_androidauto_trusty_defconfig
... ... @@ -118,4 +118,7 @@
118 118 CONFIG_SPL_LIBDISK_SUPPORT=y
119 119  
120 120 CONFIG_NOT_UUU_BUILD=y
  121 +CONFIG_SHA256=y
  122 +CONFIG_SPL_MMC_WRITE=y
  123 +CONFIG_DUAL_BOOTLOADER=y
include/configs/imx8qm_mek_android_auto.h
... ... @@ -106,6 +106,13 @@
106 106  
107 107 #ifdef CONFIG_IMX_TRUSTY_OS
108 108 #define AVB_RPMB
  109 +#ifdef CONFIG_DUAL_BOOTLOADER
  110 +#define BOOTLOADER_RBIDX_OFFSET 0x3FE000
  111 +#define BOOTLOADER_RBIDX_START 0x3FF000
  112 +#define BOOTLOADER_RBIDX_LEN 0x08
  113 +#define BOOTLOADER_RBIDX_INITVAL 0
  114 +#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000
  115 +#endif
109 116 #endif
110 117  
111 118 #ifdef CONFIG_SPL_BUILD
include/configs/imx8qxp_mek_android_auto.h
... ... @@ -98,6 +98,13 @@
98 98  
99 99 #ifdef CONFIG_IMX_TRUSTY_OS
100 100 #define AVB_RPMB
  101 +#ifdef CONFIG_DUAL_BOOTLOADER
  102 +#define BOOTLOADER_RBIDX_OFFSET 0x3FE000
  103 +#define BOOTLOADER_RBIDX_START 0x3FF000
  104 +#define BOOTLOADER_RBIDX_LEN 0x08
  105 +#define BOOTLOADER_RBIDX_INITVAL 0
  106 +#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000
  107 +#endif
101 108 #endif
102 109  
103 110 #ifdef CONFIG_SPL_BUILD
scripts/config_whitelist.txt
... ... @@ -4379,6 +4379,7 @@
4379 4379 CONFIG_SYS_SPL_LEN
4380 4380 CONFIG_SYS_SPL_MALLOC_SIZE
4381 4381 CONFIG_SYS_SPL_MALLOC_START
  4382 +CONFIG_SYS_SPL_PTE_RAM_BASE
4382 4383 CONFIG_SYS_SPR
4383 4384 CONFIG_SYS_SRAM_BASE
4384 4385 CONFIG_SYS_SRAM_SIZE