]> code.ossystems Code Review - bsp/u-boot.git/commit
mx7dsabresd: Fix the boot of a NXP kernel
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 10 Jun 2016 12:46:13 +0000 (09:46 -0300)
committerStefano Babic <sbabic@denx.de>
Sat, 18 Jun 2016 13:48:39 +0000 (15:48 +0200)
commit6a5fe0fbd14a4c138ad98837d350cda54583cd64
tree5cd89f0cbf4774c9a97f006a7e09b82102f8f9bb
parenta7e938f3cd19195cd94ed0a815c9de44a7e0204a
mx7dsabresd: 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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
configs/mx7dsabresd_secure_defconfig [new file with mode: 0644]