Memory size of HiFi4 Core on i.MX 8M Plus

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Memory size of HiFi4 Core on i.MX 8M Plus

ソリューションへジャンプ
800件の閲覧回数
StXue
Contributor I

Hello,
I have some doubts about the memory size of HiFi4 Core.

In memory map of Context-A53 and Context-M7, I found a same region "Audio DSP" memory bus address form 3B00_0000 to 3BFF_FFFF 16MB. Is this the shared memory between multiple cores?

But in memory map of HiFi4, most of them are reserved, like 3B77_0000 3BFF_FFFF. 

Does it mean on HiFi4, we only have 256KB OCRAM_A and 64KB DTCM memory can be used?

Because on MX RT685, I can assign more memory to DSP Core, from ARM side.

Look forward to your favourable reply, thanks!

0 件の賞賛
返信
1 解決策
789件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

the Linux OS kernel reserves the memory for the DSP in the SDRAM separately. The range of the reserved
memory is 0x92400000 ~ 0x943fffff (32 MB). You may set this reserved memory by changing the imx8mp.dtsi file in the

"https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp.dtsi?..."

reserved-memory {
…………….
dsp_reserved: dsp@92400000 {
reg = <0 0x92400000 0 0x1000000>;
no-map;
};
dsp_reserved_heap: dsp_reserved_heap {
reg = <0 0x93400000 0 0xef0000>;
no-map;
};
dsp_vdev0vring0: vdev0vring0@942f0000 {
reg = <0 0x942f0000 0 0x8000>;
no-map;
};
dsp_vdev0vring1: vdev0vring1@942f8000 {
reg = <0 0x942f8000 0 0x8000>;
no-map;
};
dsp_vdev0buffer: vdev0buffer@94300000 {
compatible = "shared-dma-pool";
reg = <0 0x94300000 0 0x100000>;
no-map;
};

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
786件の閲覧回数
StXue
Contributor I

Thank you for your support.

0 件の賞賛
返信
790件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

the Linux OS kernel reserves the memory for the DSP in the SDRAM separately. The range of the reserved
memory is 0x92400000 ~ 0x943fffff (32 MB). You may set this reserved memory by changing the imx8mp.dtsi file in the

"https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp.dtsi?..."

reserved-memory {
…………….
dsp_reserved: dsp@92400000 {
reg = <0 0x92400000 0 0x1000000>;
no-map;
};
dsp_reserved_heap: dsp_reserved_heap {
reg = <0 0x93400000 0 0xef0000>;
no-map;
};
dsp_vdev0vring0: vdev0vring0@942f0000 {
reg = <0 0x942f0000 0 0x8000>;
no-map;
};
dsp_vdev0vring1: vdev0vring1@942f8000 {
reg = <0 0x942f8000 0 0x8000>;
no-map;
};
dsp_vdev0buffer: vdev0buffer@94300000 {
compatible = "shared-dma-pool";
reg = <0 0x94300000 0 0x100000>;
no-map;
};

 

0 件の賞賛
返信