-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
of_reserved_mem_device_init failed. return=-22 #60
Comments
Thank you for the issue Check the boot log.
Please also refer to #45. |
Hi thank you for the quick response. Unfortunately I've tried the examples in your referenced thread. Without success, I've tried to use instead the dynamic variant of cma by supplying the size parameter but the only output in the log is: So I don't pass the cma stuff to get the u-dma-buf running. Regards, Sombohan |
I've found thr reason for the -22. The CONFIG_DMA_CMA has to be set too. Now after trying around. I can allocate 256MiB by CMA but if I try to use the complete chunk for one buffer its getting error -12 is there any extra space needed in u-dma-buf?
Regards, Sombohan |
Hi,
I'm trying to include the module to my Kernel 5.4.54 the cma module is enabled in the menuconfig my device tree is configured as following.
The output of insmod:
How to resolve the error? Am I missing some extra configuration step in the kernel menuconfig?
What I want to accomplish: Reserving 2x 128MB of space for DMA Transfers.
Regards,
Sombohan
The text was updated successfully, but these errors were encountered: