Using kernel menuconfig option
Linux Drivers
- Release Date
- 2023-07-22
-
Run kernel menuconfig using below cmds
-
peta-linux : "petalinux-config -c kernel"
-
yocto: " bitbake -f virtual/kernel -c menuconfig"
-
Go to Device Drivers→Generic Driver options→ DMA Contiguous Memory Allocator
-
Set default contiguous memory size as per your preferred value depending upon your usecase
-
Save the configuration, exit the menuconfig and build images