mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* ARM, MMU and IO space mapping
@ 2011-11-24 11:24 Robert Jarzmik
  2011-11-24 12:04 ` Sascha Hauer
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Jarzmik @ 2011-11-24 11:24 UTC (permalink / raw)
  To: barebox

Hi,

I was wandering in the MMU arm implementation and I'm wondering if anybody is
using it and accessing some IO mapped space.

My trouble is that mmu_init() only maps the RAM space (and with cacheable memory
type). For the PXA, I would need a non-cacheable non-bufferable memory type,
which could be allocated either :
 - through dev_request_mem_region(), which would be amended for the MMU case
 - or through a dedicated ioremap() function, which will be empty in no MMU case

The current issue I'm facing is that when I launch barebox with MMU enabled, the
UDC device doesn't work (I presume because the IO space is not mapped into the
MMU). This prevents me from using barebox in MMU context (and therefore I have
no D-Cache).

Would the evolution of dev_request_mem_region() be acceptable, or should I
consider another way ?

Cheers.

-- 
Robert

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-12-11 13:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 11:24 ARM, MMU and IO space mapping Robert Jarzmik
2011-11-24 12:04 ` Sascha Hauer
2011-11-24 14:23   ` Marc Kleine-Budde
2011-11-24 20:09   ` Robert Jarzmik
2011-11-24 20:25     ` Marc Kleine-Budde
2011-11-25  0:01     ` Sascha Hauer
2011-11-27 22:30       ` Robert Jarzmik
2011-11-28  7:43         ` Sascha Hauer
2011-11-28 17:43           ` Robert Jarzmik
2011-11-29  8:15             ` Sascha Hauer
2011-11-30 22:06               ` Robert Jarzmik
2011-12-01 14:26                 ` Sascha Hauer
2011-12-01 14:34                   ` Marc Kleine-Budde
2011-12-11 13:01                   ` Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox