omap3 usb platform and other

Adam Lackorzynski adam at os.inf.tu-dresden.de
Thu Nov 17 21:41:03 CET 2011


On Thu Nov 17, 2011 at 12:49:31 +0400, Sartakov A. Vasily wrote:
> So..
> usb host via ehci uses dma and i have problem in pool_alloc_page(mm/dmapool.c):
> dma_alloc_coherent (arhc/l4/mm/) returns 0, cos l4x_dma_mem_alloc
> returns 0 too.

I guess you need to put some 'dmamem' onto your vbus:

  DMAMEM => new Device()
  {
    .hid = "dmamem";
    new-res Mmio_ram(<size-in-bytes>, 0);
  }



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list