
On 30/03/18 15:53, Fabio Estevam wrote:
Hi Bryan,
On Fri, Mar 30, 2018 at 7:55 AM, Bryan O'Donoghue bryan.odonoghue@linaro.org wrote:
Booting the following image with tip-of-tree we get a CAAM DECO error (and subsequent crash due to a kernel bug in 4.1).
For booting NXP based kernel you should use warp7_secure_defconfig instead, which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT=y.
Please see commit 375d199114c1 ("warp7: Add a secure mode target").
Also if using CONFIG_ARMV7_BOOT_SEC_DEFAULT=y is safe for booting both mainline and NXP kernels then I think you are patch is OK and we can get rid of warp7_secure_defconfig.
I don't have access to my warp7 board at the moment to give it a try.
Please confirm that this patch can successfully boot both mainline and NXP kernels.
Thanks
Hi Fabio,
I can confirm I can boot the NXP 4.1, Linaro and a mainline 4.16-rcx kernels with CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
I'll reconfirm to be sure and redo this patch CONFIG_ARMV7_BOOT_SEC_DEFAULT=y and subtract warp7_secure_defconfig