Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-23 Thread Tobias Junghans
Hi Igor, thanks for your comments! Is there any solution, patch or workaround I can try to power on the 2nd CPU core in secure mode with mainline kernel? Thanks and best regards Tobias > I'm afraid you're right. > Just after a bit of time researching and discussing with Stefan, seems > that we

Re: [U-Boot] imx7d: CPU core issue in secure mode

2019-07-12 Thread Tobias Junghans
Hi Peng, Am Freitag, 12. Juli 2019, 05:38:21 CEST schrieb Peng Fan: > Try "setenv bootm_boot_mode nonsec" in U-Boot stage. Unfortunately this does not help. I tried the following setups: CONFIG_SECURE_BOOT=y CONFIG_CPU_V7_HAS_NONSEC=y CONFIG_CPU_V7_HAS_VIRT=y CONFIG_ARCH_SUPPORT_PSCI=y CONFIG_AR

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-10 Thread Tobias Junghans
> > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought upstream > > kernel > > uses PSCI for this). > > > > As we're using NXP kernel in our BSPs, lets enable this by default. > > > > Signed-off-by: Igor Opaniuk How doe

[U-Boot] imx7d: CPU core issue in secure mode

2019-07-04 Thread Tobias Junghans
Hi, I'm trying to get an imx7d-based Colibris board running in secure mode in order to be able to use the CAAM, especially the HWRNG. However it seems like it's currently not possible to boot a mainline kernel (4.19) in secure mode with both CPU cores powered up, likely due to the missing PSCI