Allocalting > 4M

Rune Torgersen runet at innovsys.com
Thu Sep 28 06:34:00 EST 2006


We have an embedded board with 1G of memory.

Is there any way, short of using mem= on kernel command line and
reserving memory, to allocate more than 4M of contigous physical memory?
We're trying to allocalte a 8M buffer for use in some DMA transfers for
a bank of DSP's.
We were using get_Free_pages to allocate the meory before we made the
buffer bigger. It seems that get_free_pages cannot allocate more than
2^10 pages (4M on ppc)
I also tried alloc_bootmem, but it fails also.



More information about the Linuxppc-embedded mailing list