This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66AK2G12: CMA and CMEM - Loading DSP firmware

Part Number: 66AK2G12

Good morning,

I ask to you, why in the main trunk of the linux kernel (ti-linux RT and not) there is not a working configuration within the device tree blob (for K2G ICE) regarding CMA and CMEM.
I need to load the DSP using the mpmcl utility, which uses mpmsrv, which uses CMEM driver,  which uses CMA.
I don't see any complete and working configuration.

Can you help me please?

Thanks

  • The first strange thing seems to be the reserved memory configuration:


            dsp_common_mpm_memory: dsp-common-mpm-memory@81d000000 {
    			compatible = "ti,keystone-dsp-mem-pool";
    			reg = <0x00000008 0x1d000000 0x00000000 0x2800000>;
    			no-map;
    			status = "okay";
    		};
    
    		dsp_common_memory: dsp-common-memory@81f800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00000008 0x1f800000 0x00000000 0x800000>;
    			reusable;
    			status = "okay";
    		};



    In fact if i leave this configuration, the kernel at boot time shows kernel panic on cma_init_reserved_areas. 
    It seems that the CMA cannot access the addresses 0x81f800000 while it does not give the error if i use the address 0x81f80000.
  • Dear mr. Navarra,

    I have a similar problem.

    Waiting for a feedback by the experts...

    Regards