mx7dsabresd: Boot in non secure by default
PATCH 1/1 mx7dsabresd: Boot in non secure by default
Booting a mainline kernel in secure mode on i.MX7D causes only one CPU to be brought up.
Change it to booting in non secure mode by default, which allows the two CPUs to be brought up.
It does have a side effect of not probing the CAAM driver. If CAAM driver is needed then a secure world OS such as OPTEE needs to be used.
--- configs/mx7dsabresd_defconfig | 1 - configs/mx7dsabresd_qspi_defconfig | 1 - 2 files changed, 2 deletions(-)
configs/mx7dsabresd_defconfig +0 -1
@@ -5,7 +5,6 @@ CONFIG_TARGET_MX7DSABRESD=y CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0xC0000 CONFIG_NR_DRAM_BANKS=1 -CONFIG_ARMV7_BOOT_SEC_DEFAULT=y # CONFIG_ARMV7_VIRT is not set CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y
configs/mx7dsabresd_qspi_defconfig +0 -1
@@ -4,7 +4,6 @@ CONFIG_SYS_TEXT_BASE=0x87800000 CONFIG_TARGET_MX7DSABRESD=y CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0xC0000 -CONFIG_ARMV7_BOOT_SEC_DEFAULT=y # CONFIG_ARMV7_VIRT is not set CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y
Signature · 1 line
2.17.1
PATCH 1/1 mx7dsabresd: Boot in non secure by default
Quoted 8 lines
Booting a mainline kernel in secure mode on i.MX7D causes only one CPU to be brought up.
Change it to booting in non secure mode by default, which allows the two CPUs to be brought up.
It does have a side effect of not probing the CAAM driver. If CAAM driver is needed then a secure world OS such as OPTEE needs to be used.Signed-off-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================