writel hangs system
Tobias Knutsson
tobias.knutsson at gmail.com
Fri Feb 13 17:30:48 EST 2009
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 <grant.likely at secretlab.ca> wrote:
> 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.
>
--
Hälsningar/Regards
Tobias Knutsson
More information about the Linuxppc-dev
mailing list