Skip to content

Commit 42b116e

Browse files
iuliana-prodanMaureenHelm
authored andcommitted
samples: add support for i.MX8QM and i.MX8QXP DSP core in openamp_rsc_table
Add the dts and config overlay for the two boards in order to have the openamp_rsc_table sample working on HiFi4 DSP from i.MX8QM and i.MX8QXP. Since these two are similar, use a snippet. Therefore, to compile the sample we use: west build -p -b imx8qm_mek/mimx8qm6/adsp -S nxp-openamp-imx8-adsp -s samples/subsys/ipc/openamp_rsc_table/ Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
1 parent 991eb0c commit 42b116e

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CONFIG_LOG_PRINTK=n
2+
CONFIG_IPM_IMX_MAX_DATA_SIZE_16=n
3+
CONFIG_IPM_IMX_MAX_DATA_SIZE_4=y
4+
CONFIG_OPENAMP_WITH_DCACHE=y
5+
CONFIG_IPM_IMX_FW_READY_REPLY=y
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
/*
10+
* shared memory reserved for the inter-processor communication
11+
*/
12+
zephyr,ipc_shm = &dspsram3;
13+
zephyr,ipc = &mailbox0;
14+
};
15+
16+
dspsram3: memory@942f0000 {
17+
compatible = "mmio-sram";
18+
reg = <0x942f0000 0x110000>;
19+
};
20+
};
21+
22+
&mailbox0 {
23+
status = "okay";
24+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: nxp-openamp-imx8-adsp
2+
boards:
3+
/imx8qxp_mek\/mimx8qx6\/adsp|imx8qm_mek\/mimx8qm6\/adsp/:
4+
append:
5+
EXTRA_DTC_OVERLAY_FILE: nxp-openamp-imx8-adsp.overlay
6+
EXTRA_CONF_FILE: nxp-openamp-imx8-adsp.conf

0 commit comments

Comments
 (0)