# hang w/ppc6xx\_defconfig related to 'simple-bus' compatible

- List: linuxppc-dev
- 9 messages, 5 authors
- Page: https://ratatoskr.run/linuxppc-dev/2008/08/9444153/t

## hang w/ppc6xx\_defconfig related to 'simple-bus' compatible

- From: Kumar Gala \<hidden\>
- Date: 2008-08-05 13:21:36 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444153.md

```text
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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444229.md

```text
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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444230.md

```text

On Aug 6, 2008, at 8:41 AM, Grant Likely wrote:

> 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.

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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444231.md

```text
On Wed, Aug 06, 2008 at 08:47:29AM -0500, Kumar Gala wrote:
>
> On Aug 6, 2008, at 8:41 AM, Grant Likely wrote:
>
>> 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.
>
> 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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444249.md

```text
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:
> > 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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444250.md

```text

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:
> > 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.
> =

> 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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444253.md

```text
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
>
>> -----Original Message-----
>> From: <redacted>
> [mailto:linuxppc-dev-
>> bounces+stephen.neuendorffer=xilinx.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:
>>> 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.
>>
>> 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 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
```

## RE: hang w/ppc6xx\_defconfig related to 'simple-bus' compatible

- From: John Linn \<hidden\>
- Date: 2008-08-06 19:03:52 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444254.md

```text
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:
> =

> >
> > 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:
linuxppc-dev-bounces+stephen.neuendorffer=3Dxilinx.com@ozlabs.org
> > [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:
> >>> 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.
> >>
> >> 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 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 
- Message: https://ratatoskr.run/linuxppc-dev/2008/08/9444272.md

```text
On Wed, Aug 6, 2008 at 11:35 AM, Scott Wood [ref] wrote:
> 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:
>> > 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.
```
