Page 1 of 1

CMA installation help or previous version workaround

Posted: Sat Nov 18, 2023 12:41 pm
by nyagaka
Hi,

Installed the latest image on my SD card 2 or so weeks ago and in doing so I think I lost the CMA module on the Linux.

I tried using this makefile code (attached below) that Pavel wrote on his github forum a year ago but was unsucessful in that regard.

Code: Select all

obj-m += cma.o
KDIR = /lib/modules/$(shell uname -r)/build
all:
	make -C $(KDIR) M=$(shell pwd) modules
clean:
	make -C $(KDIR) M=$(shell pwd) clean
Is it possible for any assistance with installing CMA or pointing me in the direction of the last OS that had the CMA preinstalled as I wanted to try out the adc_recorder project and related ones that Pavel had made available and I need the CMA as he uses the ACP instead of the HP port?

Re: CMA installation help or previous version workaround

Posted: Sat Nov 18, 2023 1:14 pm
by nyagaka
never mind. Just noticed that Pavel stated in a previous post that the CMA driver is available only on his image.

Should've searched here before posting. Sorry about that

Re: CMA installation help or previous version workaround

Posted: Wed Nov 22, 2023 12:07 pm
by redpitaya
Hello nyagaka,

No worries, I am glad that you found a solution.