iMX7d cpu1 issue

Ilya Ledvich ilya at compulab.co.il
Mon Feb 22 02:53:14 PST 2016


Hi Fabio,
To the best of my understanding imx7d SMP support is missing in the 
mainline kernel.
I currently use Freescale git repo 
git://git.freescale.com/imx/linux-2.6-imx.git, branch imx_3.14.52_1.1.0_ga.
Kind regards,
Ilya.

On 02/21/2016 05:22 PM, Fabio Estevam wrote:
> Hi Ilya/Frank,
>
> On Fri, Feb 19, 2016 at 6:11 AM, Ilya Ledvich <ilya at compulab.co.il> wrote:
>> Hi Frank,
>> Thank you for so brilliant suggestion!!!
>>
>>> #define CONFIG_MX7_SEC
>>
>>
>> Seems it works!
>> The  CPU1 is brought up, and kernel can successfully boot!
>
> I changed U-boot as suggested:
>
> --- a/include/configs/mx7_common.h
> +++ b/include/configs/mx7_common.h
> @@ -94,10 +94,7 @@
>   #define CONFIG_CMD_FUSE
>   #define CONFIG_MXC_OCOTP
>
> -/*
> - * Default boot linux kernel in no secure mode.
> - * If want to boot kernel in secure mode, please define CONFIG_MX7_SEC
> - */
> +#define CONFIG_MX7_SEC
>   #ifndef CONFIG_MX7_SEC
>   #define CONFIG_ARMV7_NONSEC
>   #define CONFIG_ARMV7_PSCI
>
>
> but still see only one core brought up in the kernel:
>
> [    0.003051] /cpus/cpu at 0 missing clock-frequency property
> [    0.003076] /cpus/cpu at 1 missing clock-frequency property
> [    0.003092] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> [    0.003157] Setting up static identity map for 0x80008280 - 0x800082f0
> [    0.005152] Brought up 1 CPUs
> [    0.005169] SMP: Total of 1 processors activated (48.00 BogoMIPS).
>
> I am booting 4.5-rc5 on a imx7d-sdb board.
>
> Any ideas on how to bring up the second core?
>



More information about the linux-arm-kernel mailing list