09:26:26 Re: dma_alloc_coherent returns null 17:05:06 Re: dma_alloc_coherent returns nullĪlso - my understanding of things is that the uncached dma region is still used by the kernel's memory pool - so it could become fragemented - and not a single 16Meg page could be avalible. What does the kernel print out during boot? 17:03:16 Re: dma_alloc_coherent returns null older versions probably use those defines in more places which means grep the tree for usage. You didnt say what version of software you're using. 17:01:28 Re: dma_alloc_coherent returns null What else could be causing the problem please? # define DMA_UNCACHED_REGION (16* 1024 * 1024)Īnd we are using the make menuconfig option of 1M ! Sorry I was not clear enough before, in bfin_global.h we changed the original: 16:57:33 Re: dma_alloc_coherent returns null you need to change the DMA_UNCACHED_REGION define. 16:39:26 Re: dma_alloc_coherent returns nullĬhanging the value of CONFIG_DMA_UNCACHED_1M will make no difference at all. Should we use the bootargs mem=32M max_mem=64M$# When we try calling dma_alloc_coherent(), any size above 3.99MB fails by returning null. We have changed the #define DMA_UNCACHED_1M to (16*1024*1024) for the testing We are trying to allocate 16M uncached memory.
0 Comments
Leave a Reply. |