linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ilya@compulab.co.il (Ilya Ledvich)
To: linux-arm-kernel@lists.infradead.org
Subject: iMX7d cpu1 issue
Date: Mon, 22 Feb 2016 12:53:14 +0200	[thread overview]
Message-ID: <56CAE89A.9070100@compulab.co.il> (raw)
In-Reply-To: <CAOMZO5Aa+veHWQCrKGz4rsvmjKWiitd81D8ncGnX8Fdk0aYe7Q@mail.gmail.com>

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@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?
>

  reply	other threads:[~2016-02-22 10:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16  7:56 iMX7d cpu1 issue Ilya Ledvich
2016-02-18 14:09 ` Shawn Guo
2016-02-18 15:15   ` Yongcai Huang
2016-02-18 16:33     ` Ilya Ledvich
2016-02-18 15:24   ` Frank Li
2016-02-18 16:44     ` Ilya Ledvich
2016-02-18 16:56       ` Frank Li
2016-02-19  8:11         ` Ilya Ledvich
2016-02-21 15:22           ` Fabio Estevam
2016-02-22 10:53             ` Ilya Ledvich [this message]
2016-02-22 20:48             ` Frank Li
2016-02-22 20:59               ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56CAE89A.9070100@compulab.co.il \
    --to=ilya@compulab.co.il \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).