Re: New driver crashes with "unable to handle paging request"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rolf,

On Wed, Apr 23, 2014 at 06:09:40PM +0200, Rolf Evers-Fischer wrote:
> I'm just trying to port the USB driver "musb" (for the AM335x platform) from
> linux kernel to barebox.
> But whenever I want to read any address in the range 0x47401400-0x474017ff, the
> barebox crashes with "unable to handle paging request".
> I have already tried to invoke a "map_io_sections(0x0, 0x47400000, 0x2000)", but
> it didn't help.

barebox creates a flat 1:1 mapping when the MMU is enabled. You won't
need any calls to map_io_sections or some ioremap correspondent
function.

It may be that you have to enable some bus clocks in order to access the
musb.

To make sure you don't have MMU trouble could you post the output of
'mmuinfo 0x47400000'?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux