Kernel 2.6.10 running on mpc8272ads

Tom Rini trini at kernel.crashing.org
Thu Jan 13 01:19:02 EST 2005


On Wed, Jan 05, 2005 at 02:03:11PM -0500, Dan Malek wrote:
> 
> On Jan 5, 2005, at 12:48 PM, Tom Rini wrote:
> 
> >Indeed.  While I had a PQ2FADS for a bit, I had to do that as well.
> >Kumar, what/why is that needed exactly?  Did I screw up in re-working
> >the 82xx init stuff and it needs to happen a bit later in boot?
> 
> I don't understand the what/why question, but that has never stopped
> me from providing answers in the past :-)

Ha!

> So, In 2.6, and I think in some of the 2.4 cpm2 stuff, we no longer
> automatically map any of the hardware IO resources for common
> access like I used to do in the past.  If you want to access the
> BCSR, you need to make sure it is ioremap()'ed in your driver before
> you make the access.  Was that the question, or was it that
> the BCSR should have been set someplace outside of the
> driver for the serial port to work?

Actually, I did break it.  When I re-worked the hooks around
platform_init/ppc_md.setup_arch, I added a call-out from platform_init()
but not from m82xx_setup_arch(), when I really needed one.  I'll follow
up with a patch momentarily.

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-embedded mailing list