]> code.ossystems Code Review - meta-freescale.git/commit
imx7dsabresd: Fix the boot of a NXP kernel
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 4 Jul 2016 19:13:22 +0000 (16:13 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 15 Jul 2016 10:48:55 +0000 (07:48 -0300)
commitbe55dc3d6194c67812b0f965a67958a4a8c55552
treea46b66db95cb9a6e0eec3878561609853a441785
parent6a0cbb1a732d9a1d5efe5de795d87ffbad5dc1c0
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>
conf/machine/imx7dsabresd.conf