New driver crashes with "unable to handle paging request"

Rolf Evers-Fischer embedded24 at evers-fischer.de
Wed Apr 23 09:09:40 PDT 2014


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.

Fortunately I can test it on the barebox command line with the command
 md -w 0x4740146c-0x4740146d

In the linux kernel they are calling the "ioremap()" function for this memory
range, but I didn't find an equivalent function in the barebox source.

Do you have any idea, how to avoid the "paging request" failure here?

Best regards,
 Rolf



More information about the barebox mailing list