Hard disk and segmentation violation.
Dan Malek
dan at mvista.com
Sat Oct 6 01:41:00 EST 2001
John_McRoberts at Mitel.COM wrote:
> ioremap: addr=FF000000 to FF000000
> ioremap: addr=30000000 to 30000000
> ioremap: addr=40000000 to 40000000
> ioremap: addr=50000000 to 50000000
This is the whole problem, you can't do this..........
All you did was call ioremap() too early in the kernel initialization
and got 1:1 mapping. The only valid mapping is the first one for
the IMMR space, the other ioremaps have to be done at a later time,
or preferably by the drivers themselves. There are lots of discussions
about this in mailing list archives and FAQs.....
Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list