hang w/ppc6xx_defconfig related to 'simple-bus' compatible

9 messages, 5 authors, 2008-08-07 · open the first message on its own page

hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Kumar Gala <hidden>
Date: 2008-08-05 13:21:36

I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600) system.  If I remove the 'simple-bus' compatible from the soc node in the .dts it works.  Otherwise it hangs at but and looks to be crashed in the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the mpc8641_hpcn_defconfig and things work.

Any one got any ideas?

- k

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Grant Likely <hidden>
Date: 2008-08-06 13:41:33

On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)  
system.  If I remove the 'simple-bus' compatible from the soc node in  
the .dts it works.  Otherwise it hangs at but and looks to be crashed in 
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the  
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.  ns16550 nodes get matched if
the parent claims simple-bus.  If extra stuff needs to be done to use
that port, then bad things happen.

g.

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Kumar Gala <hidden>
Date: 2008-08-06 13:47:35

On Aug 6, 2008, at 8:41 AM, Grant Likely wrote:
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)
system.  If I remove the 'simple-bus' compatible from the soc node in
the .dts it works.  Otherwise it hangs at but and looks to be crashed in
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.
did they have a fix?
 ns16550 nodes get matched if
the parent claims simple-bus.  If extra stuff needs to be done to use
that port, then bad things happen.
"extra stuff".. not sure what you mean.  I'm guessing you me other config for the port to work.  In my case that isn't the situation.

- k

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Grant Likely <hidden>
Date: 2008-08-06 13:50:00

On Wed, Aug 06, 2008 at 08:47:29AM -0500, Kumar Gala wrote:
On Aug 6, 2008, at 8:41 AM, Grant Likely wrote:
quoted
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/ 
e600)
system.  If I remove the 'simple-bus' compatible from the soc node in
the .dts it works.  Otherwise it hangs at but and looks to be  
crashed in
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.
did they have a fix?
Yes, they added code to check another property.  If the reg-shift or
reg-offset properties were present, then it didn't try to use the port

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Scott Wood <hidden>
Date: 2008-08-06 17:35:53

On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)  
system.  If I remove the 'simple-bus' compatible from the soc node in  
the .dts it works.  Otherwise it hangs at but and looks to be crashed in 
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the  
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.  ns16550 nodes get matched if
the parent claims simple-bus.  If extra stuff needs to be done to use
that port, then bad things happen.
If extra stuff needs to be done, it shouldn't claim to be a simple-bus.

-Scott

RE: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Stephen Neuendorffer <hidden>
Date: 2008-08-06 18:02:11

The problem (in my case) is that the legacy-serial driver doesn't accept
all of the 16550 configurations accepted by the regular ns16550 driver.
The problem is not related to simple-bus, but only became visible when
simple-bus bindings are used because the legacy-serial driver
specifically looks for an ns16550 node contained by a simple-bus.

Most likely the hpcn_defconfig disables the legacy-serial driver
altogether.

Steve
-----Original Message-----
From: <redacted>
[mailto:linuxppc-dev-
bounces+stephen.neuendorffer=3Dxilinx.com@ozlabs.org] On Behalf Of Scott
Wood
Sent: Wednesday, August 06, 2008 10:36 AM
To: <redacted>
Cc: ppc-dev list
Subject: Re: hang w/ppc6xx_defconfig related to 'simple-bus'
compatible
=
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
quoted
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641
(74xx/e600)
quoted
quoted
system.  If I remove the 'simple-bus' compatible from the soc node
in
quoted
quoted
the .dts it works.  Otherwise it hangs at but and looks to be
crashed in
quoted
quoted
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.  ns16550 nodes get matched
if
quoted
the parent claims simple-bus.  If extra stuff needs to be done to
use
quoted
that port, then bad things happen.
=
If extra stuff needs to be done, it shouldn't claim to be a
simple-bus.
=
-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

This email and any attachments are intended for the sole use of the named r=
ecipient(s) and contain(s) confidential information that may be proprietary=
, privileged or copyrighted under applicable law. If you are not the intend=
ed recipient, do not read, copy, or forward this email message or any attac=
hments. Delete this email message and any attachments immediately.

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Kumar Gala <hidden>
Date: 2008-08-06 18:39:36

Do you know what the CONFIG_ option is called for the legacy driver.

- k

On Aug 6, 2008, at 1:02 PM, Stephen Neuendorffer wrote:
The problem (in my case) is that the legacy-serial driver doesn't accept
all of the 16550 configurations accepted by the regular ns16550 driver.
The problem is not related to simple-bus, but only became visible when
simple-bus bindings are used because the legacy-serial driver
specifically looks for an ns16550 node contained by a simple-bus.

Most likely the hpcn_defconfig disables the legacy-serial driver
altogether.

Steve
quoted
-----Original Message-----
From: <redacted>
[mailto:linuxppc-dev-
quoted
bounces+stephen.neuendorffer=xilinx.com@ozlabs.org] On Behalf Of Scott
Wood
quoted
Sent: Wednesday, August 06, 2008 10:36 AM
To: <redacted>
Cc: ppc-dev list
Subject: Re: hang w/ppc6xx_defconfig related to 'simple-bus'
compatible
quoted
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
quoted
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641
(74xx/e600)
quoted
quoted
quoted
system.  If I remove the 'simple-bus' compatible from the soc node
in
quoted
quoted
quoted
the .dts it works.  Otherwise it hangs at but and looks to be
crashed in
quoted
quoted
quoted
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.  ns16550 nodes get matched
if
quoted
quoted
the parent claims simple-bus.  If extra stuff needs to be done to
use

19 more quoted lines

RE: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: John Linn <hidden>
Date: 2008-08-06 19:03:52

I was thinking it's CONFIG_PPC_UDBG_16550.

-- John
-----Original Message-----
From: <redacted>
[mailto:linuxppc-dev-
bounces+john.linn=3Dxilinx.com@ozlabs.org] On Behalf Of Kumar Gala
Sent: Wednesday, August 06, 2008 12:39 PM
To: Stephen Neuendorffer
Cc: Scott Wood; ppc-dev list
Subject: Re: hang w/ppc6xx_defconfig related to 'simple-bus'
compatible
=
Do you know what the CONFIG_ option is called for the legacy driver.
=
- k
=
On Aug 6, 2008, at 1:02 PM, Stephen Neuendorffer wrote:
=
quoted
The problem (in my case) is that the legacy-serial driver doesn't
accept
all of the 16550 configurations accepted by the regular ns16550
driver.
The problem is not related to simple-bus, but only became visible
when
quoted
simple-bus bindings are used because the legacy-serial driver
specifically looks for an ns16550 node contained by a simple-bus.

Most likely the hpcn_defconfig disables the legacy-serial driver
altogether.

Steve
quoted
-----Original Message-----
From:
linuxppc-dev-bounces+stephen.neuendorffer=3Dxilinx.com@ozlabs.org
quoted
[mailto:linuxppc-dev-
quoted
bounces+stephen.neuendorffer=3Dxilinx.com@ozlabs.org] On Behalf Of
Scott
Wood
quoted
Sent: Wednesday, August 06, 2008 10:36 AM
To: <redacted>
Cc: ppc-dev list
Subject: Re: hang w/ppc6xx_defconfig related to 'simple-bus'
compatible
quoted
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
quoted
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641
(74xx/e600)
quoted
quoted
quoted
system.  If I remove the 'simple-bus' compatible from the soc
node
quoted
in
quoted
quoted
quoted
the .dts it works.  Otherwise it hangs at but and looks to be
crashed in
quoted
quoted
quoted
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.  ns16550 nodes get matched
if
quoted
quoted
the parent claims simple-bus.  If extra stuff needs to be done to
use
quoted
quoted
that port, then bad things happen.
If extra stuff needs to be done, it shouldn't claim to be a
simple-bus.
quoted
-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

This email and any attachments are intended for the sole use of the
named recipient(s) and contain(s) confidential information that may
be proprietary, privileged or copyrighted under applicable law. If
you are not the intended recipient, do not read, copy, or forward
this email message or any attachments. Delete this email message and
any attachments immediately.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
=
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

This email and any attachments are intended for the sole use of the named r=
ecipient(s) and contain(s) confidential information that may be proprietary=
, privileged or copyrighted under applicable law. If you are not the intend=
ed recipient, do not read, copy, or forward this email message or any attac=
hments. Delete this email message and any attachments immediately.

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

From: Grant Likely <hidden>
Date: 2008-08-07 01:10:53

On Wed, Aug 6, 2008 at 11:35 AM, Scott Wood [off-list ref] wrote:
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
quoted
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
quoted
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)
system.  If I remove the 'simple-bus' compatible from the soc node in
the .dts it works.  Otherwise it hangs at but and looks to be crashed in
the serial driver due to accessing memory at 0.

I've tried the same .dts (w/'simple-bus') using the
mpc8641_hpcn_defconfig and things work.
The Xilinx folks hit something similar.  ns16550 nodes get matched if
the parent claims simple-bus.  If extra stuff needs to be done to use
that port, then bad things happen.
If extra stuff needs to be done, it shouldn't claim to be a simple-bus.
Heh, no, not the bus.  :-)  Extra stuff to use the serial device.

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help