writel hangs system

Grant Likely grant.likely at secretlab.ca
Fri Feb 13 08:18:41 EST 2009


On Tue, Feb 10, 2009 at 6:07 AM, Tobias Knutsson
<tobias.knutsson at gmail.com> wrote:
> 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.



More information about the Linuxppc-dev mailing list