Thread (3 messages) flat view 3 messages, 2 authors, 2009-02-13

Re: writel hangs system

From: Tobias Knutsson <hidden>
Date: 2009-02-13 06:30:50

There seems to be some magic force linked to this mailing list.
Whenever I post a question, the matter seems to resolve itself. :)

In order to stay as consistent as possible with the old 2.4 kernel, I
used the same mapping that they had:

0x50000000 - 0x6000000000 for memory
0x60000000 - 0x6100000000 for I/O

When I changed it to the default that was in the lite5200b device tree
I could access the memory regions as well.

Thanks for your help!

On Thu, Feb 12, 2009 at 22:18, Grant Likely [off-list ref] wro=
te:
On Tue, Feb 10, 2009 at 6:07 AM, Tobias Knutsson
[off-list ref] wrote:
quoted
Hello,

I'm in the process of porting a PCI-driver for a dsp-board from 2.4 to
2.6. The probing of the driver goes well, IRQs are setup, resources
are claimed and remapped without any problems. Reading from I/O
regions also works well. However, when i try to read or write to a
memory region using readl/writel, the system instantly hangs. No
stacktrace or anything, it just stops.
Hmmm.  Not good.  Are you able to access the memory regions from the
U-Boot console?

g.

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


--=20

H=E4lsningar/Regards
Tobias Knutsson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help