All of lore.kernel.org
 help / color / mirror / Atom feed
* 8641D with linux 2.6.29 did'n show second cpu
@ 2009-03-31 10:15 Eduard Fuchs
  2009-03-31 13:20 ` Kumar Gala
  0 siblings, 1 reply; 8+ messages in thread
From: Eduard Fuchs @ 2009-03-31 10:15 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

I'm testing the evaluation board from freescale (MPC8641DHPCN) with the latest  
linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM is 
enabled but the /proc/cpuinfo shows only one cpu. With original 2.6.27 kernel 
both cpu cores appears in /proc/cpuinfo.

Has anyone an idea how can i enable the second core?

Best regards.

Eduard Fuchs

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-03-31 10:15 8641D with linux 2.6.29 did'n show second cpu Eduard Fuchs
@ 2009-03-31 13:20 ` Kumar Gala
  2009-03-31 15:06   ` Eduard Fuchs
  0 siblings, 1 reply; 8+ messages in thread
From: Kumar Gala @ 2009-03-31 13:20 UTC (permalink / raw)
  To: Eduard Fuchs; +Cc: linuxppc-dev


On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:

> Hi,
>
> I'm testing the evaluation board from freescale (MPC8641DHPCN) with  
> the latest
> linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM  
> is
> enabled but the /proc/cpuinfo shows only one cpu. With original  
> 2.6.27 kernel
> both cpu cores appears in /proc/cpuinfo.
>
> Has anyone an idea how can i enable the second core?

Are you using u-boot?  I can't remember if you need a newer u-boot to  
deal with changes in how we bring up the second core.

- k

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-03-31 13:20 ` Kumar Gala
@ 2009-03-31 15:06   ` Eduard Fuchs
  2009-03-31 20:04     ` Becky Bruce
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Eduard Fuchs @ 2009-03-31 15:06 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

Am Dienstag 31 M=E4rz 2009 15:20:21 schrieb Kumar Gala:
> On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:
> > Hi,
> >
> > I'm testing the evaluation board from freescale (MPC8641DHPCN) with
> > the latest
> > linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM
> > is
> > enabled but the /proc/cpuinfo shows only one cpu. With original
> > 2.6.27 kernel
> > both cpu cores appears in /proc/cpuinfo.
> >
> > Has anyone an idea how can i enable the second core?
>
> Are you using u-boot?  I can't remember if you need a newer u-boot to
> deal with changes in how we bring up the second core.

Yes. My u-boot version is 2009.03. Are there some additional config keys fo=
r=20
SMP support in u-boot?

Best regard

Eduard

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-03-31 15:06   ` Eduard Fuchs
@ 2009-03-31 20:04     ` Becky Bruce
  2009-03-31 23:27     ` Kumar Gala
  2009-04-01  4:10     ` Kumar Gala
  2 siblings, 0 replies; 8+ messages in thread
From: Becky Bruce @ 2009-03-31 20:04 UTC (permalink / raw)
  To: Eduard Fuchs; +Cc: linuxppc-dev

On Mar 31, 2009, at 10:06 AM, Eduard Fuchs wrote:

> Hi,
>
> Am Dienstag 31 M=E4rz 2009 15:20:21 schrieb Kumar Gala:
>> On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:
>>> Hi,
>>>
>>> I'm testing the evaluation board from freescale (MPC8641DHPCN) with
>>> the latest
>>> linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM
>>> is
>>> enabled but the /proc/cpuinfo shows only one cpu. With original
>>> 2.6.27 kernel
>>> both cpu cores appears in /proc/cpuinfo.
>>>
>>> Has anyone an idea how can i enable the second core?
>>
>> Are you using u-boot?  I can't remember if you need a newer u-boot to
>> deal with changes in how we bring up the second core.
>
> Yes. My u-boot version is 2009.03. Are there some additional config =20=

> keys for
> SMP support in u-boot?

Hrm, I am able to reproduce this here - the second processor is =20
reported as stuck and once we're booted, I only see one CPU online.  =20
Let me poke around and see if I can figure out what's going on here.

Cheers,
Becky

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-03-31 15:06   ` Eduard Fuchs
  2009-03-31 20:04     ` Becky Bruce
@ 2009-03-31 23:27     ` Kumar Gala
  2009-04-01  4:10     ` Kumar Gala
  2 siblings, 0 replies; 8+ messages in thread
From: Kumar Gala @ 2009-03-31 23:27 UTC (permalink / raw)
  To: Eduard Fuchs; +Cc: linuxppc-dev


On Mar 31, 2009, at 10:06 AM, Eduard Fuchs wrote:

> Hi,
>
> Am Dienstag 31 M=E4rz 2009 15:20:21 schrieb Kumar Gala:
>> On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:
>>> Hi,
>>>
>>> I'm testing the evaluation board from freescale (MPC8641DHPCN) with
>>> the latest
>>> linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM
>>> is
>>> enabled but the /proc/cpuinfo shows only one cpu. With original
>>> 2.6.27 kernel
>>> both cpu cores appears in /proc/cpuinfo.
>>>
>>> Has anyone an idea how can i enable the second core?
>>
>> Are you using u-boot?  I can't remember if you need a newer u-boot to
>> deal with changes in how we bring up the second core.
>
> Yes. My u-boot version is 2009.03. Are there some additional config =20=

> keys for
> SMP support in u-boot?

It appears we introduced a bug in v2009.03 of u-boot.

- k=

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-03-31 15:06   ` Eduard Fuchs
  2009-03-31 20:04     ` Becky Bruce
  2009-03-31 23:27     ` Kumar Gala
@ 2009-04-01  4:10     ` Kumar Gala
  2009-04-01 13:36       ` Eduard Fuchs
  2 siblings, 1 reply; 8+ messages in thread
From: Kumar Gala @ 2009-04-01  4:10 UTC (permalink / raw)
  To: Eduard Fuchs; +Cc: linuxppc-dev


On Mar 31, 2009, at 10:06 AM, Eduard Fuchs wrote:

> Hi,
>
> Am Dienstag 31 M=E4rz 2009 15:20:21 schrieb Kumar Gala:
>> On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:
>>> Hi,
>>>
>>> I'm testing the evaluation board from freescale (MPC8641DHPCN) with
>>> the latest
>>> linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM
>>> is
>>> enabled but the /proc/cpuinfo shows only one cpu. With original
>>> 2.6.27 kernel
>>> both cpu cores appears in /proc/cpuinfo.
>>>
>>> Has anyone an idea how can i enable the second core?
>>
>> Are you using u-boot?  I can't remember if you need a newer u-boot to
>> deal with changes in how we bring up the second core.
>
> Yes. My u-boot version is 2009.03. Are there some additional config =20=

> keys for
> SMP support in u-boot?

It appears we introduced a bug in v2009.03 of u-boot.

- k=

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-04-01  4:10     ` Kumar Gala
@ 2009-04-01 13:36       ` Eduard Fuchs
  2009-04-01 13:48         ` Kumar Gala
  0 siblings, 1 reply; 8+ messages in thread
From: Eduard Fuchs @ 2009-04-01 13:36 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

Am Mittwoch 01 April 2009 06:10:36 schrieb Kumar Gala:
> On Mar 31, 2009, at 10:06 AM, Eduard Fuchs wrote:
> > Hi,
> >
> > Am Dienstag 31 M=E4rz 2009 15:20:21 schrieb Kumar Gala:
> >> On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:
> >>> Hi,
> >>>
> >>> I'm testing the evaluation board from freescale (MPC8641DHPCN) with
> >>> the latest
> >>> linux kernel (2.6.29) and the second core seems disabled. CONFIG_SPM
> >>> is
> >>> enabled but the /proc/cpuinfo shows only one cpu. With original
> >>> 2.6.27 kernel
> >>> both cpu cores appears in /proc/cpuinfo.
> >>>
> >>> Has anyone an idea how can i enable the second core?
> >>
> >> Are you using u-boot?  I can't remember if you need a newer u-boot to
> >> deal with changes in how we bring up the second core.
> >
> > Yes. My u-boot version is 2009.03. Are there some additional config
> > keys for
> > SMP support in u-boot?
>
> It appears we introduced a bug in v2009.03 of u-boot.

I never thought that the problem could be in u-boot. I tested the board wit=
h=20
u-boot v2009.01 and it works well.

Best regard

Eduard Fuchs

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

* Re: 8641D with linux 2.6.29 did'n show second cpu
  2009-04-01 13:36       ` Eduard Fuchs
@ 2009-04-01 13:48         ` Kumar Gala
  0 siblings, 0 replies; 8+ messages in thread
From: Kumar Gala @ 2009-04-01 13:48 UTC (permalink / raw)
  To: Eduard Fuchs; +Cc: linuxppc-dev list, u-boot-dev U-Boot-UBOOTDEV


On Apr 1, 2009, at 8:36 AM, Eduard Fuchs wrote:

> Hi,
>
> Am Mittwoch 01 April 2009 06:10:36 schrieb Kumar Gala:
>> On Mar 31, 2009, at 10:06 AM, Eduard Fuchs wrote:
>>> Hi,
>>>
>>> Am Dienstag 31 M=E4rz 2009 15:20:21 schrieb Kumar Gala:
>>>> On Mar 31, 2009, at 5:15 AM, Eduard Fuchs wrote:
>>>>> Hi,
>>>>>
>>>>> I'm testing the evaluation board from freescale (MPC8641DHPCN) =20
>>>>> with
>>>>> the latest
>>>>> linux kernel (2.6.29) and the second core seems disabled. =20
>>>>> CONFIG_SPM
>>>>> is
>>>>> enabled but the /proc/cpuinfo shows only one cpu. With original
>>>>> 2.6.27 kernel
>>>>> both cpu cores appears in /proc/cpuinfo.
>>>>>
>>>>> Has anyone an idea how can i enable the second core?
>>>>
>>>> Are you using u-boot?  I can't remember if you need a newer u-=20
>>>> boot to
>>>> deal with changes in how we bring up the second core.
>>>
>>> Yes. My u-boot version is 2009.03. Are there some additional config
>>> keys for
>>> SMP support in u-boot?
>>
>> It appears we introduced a bug in v2009.03 of u-boot.
>
> I never thought that the problem could be in u-boot. I tested the =20
> board with
> u-boot v2009.01 and it works well.

the u-boot bug is that we are over-writting the page of code we need =20
to bring up the second core.  Thus when the kernel releases the 2nd =20
core it goes off in the weeds.

I've sent some patches to the u-boot list that should fix the problem =20=

by making sure that u-boot avoids using the page of memory we need for =20=

the 2nd core.

- k=

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

end of thread, other threads:[~2009-04-01 13:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 10:15 8641D with linux 2.6.29 did'n show second cpu Eduard Fuchs
2009-03-31 13:20 ` Kumar Gala
2009-03-31 15:06   ` Eduard Fuchs
2009-03-31 20:04     ` Becky Bruce
2009-03-31 23:27     ` Kumar Gala
2009-04-01  4:10     ` Kumar Gala
2009-04-01 13:36       ` Eduard Fuchs
2009-04-01 13:48         ` Kumar Gala

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.