Hello,
I am trying to allocate contiguous DMA memory in device tree as I need to store 5MP camera frames and the dma_alloc_coherent would complain otherwise. Unfortunately after the DMA appol is allocated the kernel hangs
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.6.0-xilinx (mivascu@ubuntu) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Mon Aug 13 03:51:10 PDT 2018
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Hurricane Telescope main board (7z035)
[ 0.000000] Ignoring memory range 0x0 - 0x10000000
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Reserved memory: created CMA memory pool at 0x10000000, size 64 MiB
[ 0.000000] Reserved memory: initialized node buffer@0, compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writealloc
I would appreciate any suggestion related to what could be the problem or how to debug it
Thanks,
Mihaita
Hi Mihaita
as Linux version 4.6.0 is not officially supported nxp kernel, one can try with
mxp releases described on
also may be useful to check memory
https://community.nxp.com/docs/DOC-105652
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------