All of lore.kernel.org
 help / color / mirror / Atom feed
* Boot issue with imx6 quad
@ 2014-05-29 16:12 Jerome Smith
  2014-05-29 19:43 ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Jerome Smith @ 2014-05-29 16:12 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Hi all,
I'm facing a strange boot issue with Yocto Dora on a Freescale sabre auto
(quad and solo version).

The configuration is the following:
* kernel 3.0.35
* systemd
* namespace
* linux containers

The boot on imx6 Solo takes around 6 sec, instead on the Quad it takes
around 35 seconds.

After boot both systems are responsive and work well.

If I add nosmp to kernel cmdline the imx6 Quad boots as fast as the Solo.

If I remove the namespace from the kernel the Quad system boots fast as
well. The problem seems to be caused by namespace and the way it interacts
with smp.

Do you have any idea on how to solve the problem?

Thanks in advance,
Jerome

[-- Attachment #2: Type: text/html, Size: 754 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Boot issue with imx6 quad
  2014-05-29 16:12 Boot issue with imx6 quad Jerome Smith
@ 2014-05-29 19:43 ` Otavio Salvador
  2014-05-29 22:02   ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2014-05-29 19:43 UTC (permalink / raw)
  To: Jerome Smith; +Cc: meta-freescale

On Thu, May 29, 2014 at 1:12 PM, Jerome Smith <jerome.emb@gmail.com> wrote:
> Hi all,
> I'm facing a strange boot issue with Yocto Dora on a Freescale sabre auto
> (quad and solo version).
>
> The configuration is the following:
> * kernel 3.0.35
> * systemd
> * namespace
> * linux containers
>
> The boot on imx6 Solo takes around 6 sec, instead on the Quad it takes
> around 35 seconds.
>
> After boot both systems are responsive and work well.
>
> If I add nosmp to kernel cmdline the imx6 Quad boots as fast as the Solo.
>
> If I remove the namespace from the kernel the Quad system boots fast as
> well. The problem seems to be caused by namespace and the way it interacts
> with smp.
>
> Do you have any idea on how to solve the problem?

My simple advise is for you to try  the Daisy branch with 3.10.17 and
see if you reproduce it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Boot issue with imx6 quad
  2014-05-29 19:43 ` Otavio Salvador
@ 2014-05-29 22:02   ` Gary Thomas
  2014-05-30  5:59     ` Maciej Borzecki
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2014-05-29 22:02 UTC (permalink / raw)
  To: meta-freescale

On 2014-05-29 13:43, Otavio Salvador wrote:
> On Thu, May 29, 2014 at 1:12 PM, Jerome Smith <jerome.emb@gmail.com> wrote:
>> Hi all,
>> I'm facing a strange boot issue with Yocto Dora on a Freescale sabre auto
>> (quad and solo version).
>>
>> The configuration is the following:
>> * kernel 3.0.35
>> * systemd
>> * namespace
>> * linux containers
>>
>> The boot on imx6 Solo takes around 6 sec, instead on the Quad it takes
>> around 35 seconds.
>>
>> After boot both systems are responsive and work well.
>>
>> If I add nosmp to kernel cmdline the imx6 Quad boots as fast as the Solo.
>>
>> If I remove the namespace from the kernel the Quad system boots fast as
>> well. The problem seems to be caused by namespace and the way it interacts
>> with smp.
>>
>> Do you have any idea on how to solve the problem?
>
> My simple advise is for you to try  the Daisy branch with 3.10.17 and
> see if you reproduce it.
>

Also try using sysvinit instead of systemd - I've experienced some very
strange/slow startup times when using systemd, at least on i.MX6Q

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Boot issue with imx6 quad
  2014-05-29 22:02   ` Gary Thomas
@ 2014-05-30  5:59     ` Maciej Borzecki
  0 siblings, 0 replies; 4+ messages in thread
From: Maciej Borzecki @ 2014-05-30  5:59 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

On 05/29 16:02, Gary Thomas wrote:
> On 2014-05-29 13:43, Otavio Salvador wrote:
> >On Thu, May 29, 2014 at 1:12 PM, Jerome Smith <jerome.emb@gmail.com> wrote:
> >>Hi all,
> >>I'm facing a strange boot issue with Yocto Dora on a Freescale sabre auto
> >>(quad and solo version).
> >>
> >>The configuration is the following:
> >>* kernel 3.0.35
> >>* systemd
> >>* namespace
> >>* linux containers
> >>
> >>The boot on imx6 Solo takes around 6 sec, instead on the Quad it takes
> >>around 35 seconds.
> >>
> >>After boot both systems are responsive and work well.
> >>
> >>If I add nosmp to kernel cmdline the imx6 Quad boots as fast as the Solo.
> >>
> >>If I remove the namespace from the kernel the Quad system boots fast as
> >>well. The problem seems to be caused by namespace and the way it interacts
> >>with smp.
> >>
> >>Do you have any idea on how to solve the problem?
> >
> >My simple advise is for you to try  the Daisy branch with 3.10.17 and
> >see if you reproduce it.
> >
>
> Also try using sysvinit instead of systemd - I've experienced some very
> strange/slow startup times when using systemd, at least on i.MX6Q
Perhaps it was caused by issue with getty not starting up in the serial
console, thus blocking the boot for quite some time.

Anyways, 3.10.17 + systemd 212 + quied in kernel cmdline gives roughly
~5s boot time from SD card.

--
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079


Niniejsza wiadomość wraz z załącznikami może
zawierać chronione prawem lub poufne informacje i została
wysłana wyłącznie do wiadomości i użytku osób, do których
została zaadresowana. Jeśli wiadomość została otrzymana
przypadkowo zabrania się jej kopiowania lub rozsyłania do osób
trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o
zaistniałej sytuacji za pomocą wiadomości zwrotnej.
Dziękujemy.

This message, including any attachments hereto,
may contain privileged or confidential information and is sent
solely for the attention and use of the intended addressee(s).
If you are not an intended addressee, you may neither use this
message nor copy or deliver it to anyone. In such case, you
should immediately destroy this message and kindly notify the
sender by reply email. Thank you.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-30  5:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-29 16:12 Boot issue with imx6 quad Jerome Smith
2014-05-29 19:43 ` Otavio Salvador
2014-05-29 22:02   ` Gary Thomas
2014-05-30  5:59     ` Maciej Borzecki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.