From mboxrd@z Thu Jan 1 00:00:00 1970 From: ilya@compulab.co.il (Ilya Ledvich) Date: Mon, 22 Feb 2016 12:53:14 +0200 Subject: iMX7d cpu1 issue In-Reply-To: References: <56C2D63F.1030408@compulab.co.il> <20160218140913.GY6756@tiger> <56C5F4D7.1070704@compulab.co.il> <56C6CE36.6040503@compulab.co.il> Message-ID: <56CAE89A.9070100@compulab.co.il> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 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? >