Linux kernel 5.4 brings up only 1 CPU in secure mode

Hello,

I’m trying to use Linux kernel 5.4 from Toradex git repository (because of the WiFi driver we need) using my custom defconfig and also tried mx6_mx7_defconfig, but in both cases the kernel brings up only 1 CPU in secure mode. If I change the mode to non secure in U-Boot, both CPU are found, but the CAAM driver stops work, which is not critical, but it would be nice to have it.

Is this a known problem or I’m doing something wrong?

Thanks,

Petr

We can use both, the downside of the non secure mode is that CAAM doesn’t work and because of that hardware random generator device is missing.

Regarding the Colibri-iMX7-eMMC_Console-Image_3.0b4.254-20200421, are you sure that it’s based on 5.4? From what I found on you git it’s based on 4.14. Can you confirm that it’s really based on 5.4?

Thanks,
Petr

Yes you are right 3.0b4 based on 4.14. The Torizon core image is based on 5.4.24