linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Accessing peripheral bus devices on 460GT
@ 2008-08-07  2:52 vb
  0 siblings, 0 replies; only message in thread
From: vb @ 2008-08-07  2:52 UTC (permalink / raw)
  To: linuxppc-embedded

I am trying to bring up a 2.6.25 based system on a 460GT platform. I
am using the OF tree cloned off canyonblands.dts, and I am not sure if
something is missing in the tree, or in the kernel, or I am doing
something stupid.

The problem is that I don't seem to be able to access any peripheral
device activated by cs1, 2, 3 (I have not tried touching the NOR flash
(cs0) just yet). If I don't touch any peripherals the system can
netbboot or diskboot all the way to the linux prompt.

But unfortunately, the damn peripherals have to be touched :-)

I do invoke ioremap_nocache(<phys addr>, <addr range size>), and it
returns a virtual address. The thing is that as soon as I try
accessing the device off this pointer an exception is thrown. From
u-boot  I can access the <phys addr>..+<addr range size> space no
problem.

 I see that the dts file mentions that u-boot is supposed to supply
the "ranges" property in the /plb/opb/ebc section; examining the
u-boot code for different amcc platforms shows that only the NOR flash
size is supplied there.

I guess the real question is how do I gain access to the EBC mapped
hardware configured by u-boot?

can someone please shed any light on this,

thanks a lot in advance,

Vadim

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-07  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07  2:52 Accessing peripheral bus devices on 460GT vb

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