UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
7,184 Views
Registered: ‎09-24-2015

DMA pool too small

 

ERROR: 256 KiB atomic DMA coherent pool is too small!
[ 3.648517] Please increase it with coherent_pool= kernel parameter!

I get this error after I installed this driver for RT5370 chipset

I tried to create a uEnv.txt file (based on this link, http://architechboards-microzed.readthe ... c/uEnv.txt)
with the following content:

 

bootcmd=fatload mmc 0 0x3000000 uImage; fatload mmc 0 0x2ff0000 devicetree.dtb; bootm 0x3000000 - 0x2fF0000
uenvcmd=boot
coherent_pool= 4M



I added this uenv to the SD card along with uboot, device tree, etc

Still gives the same error 

Can anyone help me on this ? Is this the right way of solving this DMA coherent issue ?
 
0 Kudos
1 Reply
Scholar vanmierlo
Scholar
7,163 Views
Registered: ‎06-10-2008

Re: DMA pool too small

Are you building your own kernel either with the petalinux tools or from scratch? If so, I suggest to modify the CMA size. Search for CMA in the kernel configuration menu or config file.