cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bobdxcool
Contributor
Contributor
7,459 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
vanmierlo
Mentor
Mentor
7,438 Views
Registered: ‎06-10-2008

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.