diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-07-04 16:13:22 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-07-15 07:48:55 -0300 |
commit | be55dc3d6194c67812b0f965a67958a4a8c55552 (patch) | |
tree | a46b66db95cb9a6e0eec3878561609853a441785 /conf | |
parent | 6a0cbb1a732d9a1d5efe5de795d87ffbad5dc1c0 (diff) | |
download | meta-freescale-be55dc3d6194c67812b0f965a67958a4a8c55552.tar.gz |
imx7dsabresd: Fix the boot of a NXP kernel
Booting a NXP kernel with mainline U-boot leads to the following
kernel crash:
,----
| caam: probe of 30900000.caam failed with error -11
| Unable to handle kernel NULL pointer dereference at virtual address 00000004
| pgd = 80004000
| [00000004] *pgd=00000000
| Internal error: Oops: 805 [#1] PREEMPT SMP ARM
`----
This happens because NXP kernel expects MX7 to boot in secure mode,
so introduce mx7dsabresd_secure_defconfig that selects CONFIG_MX7_SEC
and allows booting a NXP provided kernel successfully.
Change-Id: Ic05912c1328c75e8e25c89e7543b67c8c214e20d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/imx7dsabresd.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/imx7dsabresd.conf b/conf/machine/imx7dsabresd.conf index 1d05d26b..b71bd4ab 100644 --- a/conf/machine/imx7dsabresd.conf +++ b/conf/machine/imx7dsabresd.conf | |||
@@ -18,7 +18,7 @@ KERNEL_DEVICETREE = "imx7d-sdb.dtb imx7d-sdb-epdc.dtb imx7d-sdb-gpmi-weim.dtb \ | |||
18 | imx7d-sdb-reva-touch.dtb imx7d-sdb-reva-wm8960.dtb" | 18 | imx7d-sdb-reva-touch.dtb imx7d-sdb-reva-wm8960.dtb" |
19 | 19 | ||
20 | UBOOT_CONFIG ??= "sd" | 20 | UBOOT_CONFIG ??= "sd" |
21 | UBOOT_CONFIG[sd] = "mx7dsabresd_config,sdcard" | 21 | UBOOT_CONFIG[sd] = "mx7dsabresd_secure_config,sdcard" |
22 | UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config" | 22 | UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config" |
23 | UBOOT_CONFIG[nand] = "mx7dsabresd_nand_config,ubifs" | 23 | UBOOT_CONFIG[nand] = "mx7dsabresd_nand_config,ubifs" |
24 | UBOOT_CONFIG[epdc] = "mx7dsabresd_epdc_config" | 24 | UBOOT_CONFIG[epdc] = "mx7dsabresd_epdc_config" |