* hang w/ppc6xx_defconfig related to 'simple-bus' compatible @ 2008-08-05 13:21 Kumar Gala 2008-08-06 13:41 ` Grant Likely 0 siblings, 1 reply; 9+ messages in thread From: Kumar Gala @ 2008-08-05 13:21 UTC (permalink / raw) To: ppc-dev list 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-05 13:21 hang w/ppc6xx_defconfig related to 'simple-bus' compatible Kumar Gala @ 2008-08-06 13:41 ` Grant Likely 2008-08-06 13:47 ` Kumar Gala 2008-08-06 17:35 ` Scott Wood 0 siblings, 2 replies; 9+ messages in thread From: Grant Likely @ 2008-08-06 13:41 UTC (permalink / raw) To: Kumar Gala; +Cc: ppc-dev list 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. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 13:41 ` Grant Likely @ 2008-08-06 13:47 ` Kumar Gala 2008-08-06 13:49 ` Grant Likely 2008-08-06 17:35 ` Scott Wood 1 sibling, 1 reply; 9+ messages in thread From: Kumar Gala @ 2008-08-06 13:47 UTC (permalink / raw) To: Grant Likely; +Cc: ppc-dev list 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 13:47 ` Kumar Gala @ 2008-08-06 13:49 ` Grant Likely 0 siblings, 0 replies; 9+ messages in thread From: Grant Likely @ 2008-08-06 13:49 UTC (permalink / raw) To: Kumar Gala; +Cc: ppc-dev list 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 13:41 ` Grant Likely 2008-08-06 13:47 ` Kumar Gala @ 2008-08-06 17:35 ` Scott Wood 2008-08-06 18:02 ` Stephen Neuendorffer 2008-08-07 1:10 ` Grant Likely 1 sibling, 2 replies; 9+ messages in thread From: Scott Wood @ 2008-08-06 17:35 UTC (permalink / raw) To: Grant Likely; +Cc: ppc-dev list 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 17:35 ` Scott Wood @ 2008-08-06 18:02 ` Stephen Neuendorffer 2008-08-06 18:39 ` Kumar Gala 2008-08-07 1:10 ` Grant Likely 1 sibling, 1 reply; 9+ messages in thread From: Stephen Neuendorffer @ 2008-08-06 18:02 UTC (permalink / raw) To: Scott Wood, grant.likely; +Cc: ppc-dev list 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: grant.likely@secretlab.ca > 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. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 18:02 ` Stephen Neuendorffer @ 2008-08-06 18:39 ` Kumar Gala 2008-08-06 19:03 ` John Linn 0 siblings, 1 reply; 9+ messages in thread From: Kumar Gala @ 2008-08-06 18:39 UTC (permalink / raw) To: Stephen Neuendorffer; +Cc: Scott Wood, ppc-dev list 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=xilinx.com@ozlabs.org > [mailto:linuxppc-dev- >> bounces+stephen.neuendorffer=xilinx.com@ozlabs.org] On Behalf Of >> Scott > Wood >> Sent: Wednesday, August 06, 2008 10:36 AM >> To: grant.likely@secretlab.ca >> 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 18:39 ` Kumar Gala @ 2008-08-06 19:03 ` John Linn 0 siblings, 0 replies; 9+ messages in thread From: John Linn @ 2008-08-06 19:03 UTC (permalink / raw) To: Kumar Gala, Stephen Neuendorffer; +Cc: Scott Wood, ppc-dev list I was thinking it's CONFIG_PPC_UDBG_16550. -- John > -----Original Message----- > From: linuxppc-dev-bounces+john.linn=3Dxilinx.com@ozlabs.org [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: grant.likely@secretlab.ca > >> 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. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible 2008-08-06 17:35 ` Scott Wood 2008-08-06 18:02 ` Stephen Neuendorffer @ 2008-08-07 1:10 ` Grant Likely 1 sibling, 0 replies; 9+ messages in thread From: Grant Likely @ 2008-08-07 1:10 UTC (permalink / raw) To: Scott Wood; +Cc: ppc-dev list On Wed, Aug 6, 2008 at 11:35 AM, Scott Wood <scottwood@freescale.com> 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. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-08-07 1:10 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-08-05 13:21 hang w/ppc6xx_defconfig related to 'simple-bus' compatible Kumar Gala 2008-08-06 13:41 ` Grant Likely 2008-08-06 13:47 ` Kumar Gala 2008-08-06 13:49 ` Grant Likely 2008-08-06 17:35 ` Scott Wood 2008-08-06 18:02 ` Stephen Neuendorffer 2008-08-06 18:39 ` Kumar Gala 2008-08-06 19:03 ` John Linn 2008-08-07 1:10 ` Grant Likely
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).