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>
This commit is contained in:
parent
991eb0cd10
commit
42b116e4ac
@ -0,0 +1,5 @@
|
||||
CONFIG_LOG_PRINTK=n
|
||||
CONFIG_IPM_IMX_MAX_DATA_SIZE_16=n
|
||||
CONFIG_IPM_IMX_MAX_DATA_SIZE_4=y
|
||||
CONFIG_OPENAMP_WITH_DCACHE=y
|
||||
CONFIG_IPM_IMX_FW_READY_REPLY=y
|
||||
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright 2024 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
/*
|
||||
* shared memory reserved for the inter-processor communication
|
||||
*/
|
||||
zephyr,ipc_shm = &dspsram3;
|
||||
zephyr,ipc = &mailbox0;
|
||||
};
|
||||
|
||||
dspsram3: memory@942f0000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x942f0000 0x110000>;
|
||||
};
|
||||
};
|
||||
|
||||
&mailbox0 {
|
||||
status = "okay";
|
||||
};
|
||||
@ -0,0 +1,6 @@
|
||||
name: nxp-openamp-imx8-adsp
|
||||
boards:
|
||||
/imx8qxp_mek\/mimx8qx6\/adsp|imx8qm_mek\/mimx8qm6\/adsp/:
|
||||
append:
|
||||
EXTRA_DTC_OVERLAY_FILE: nxp-openamp-imx8-adsp.overlay
|
||||
EXTRA_CONF_FILE: nxp-openamp-imx8-adsp.conf
|
||||
Loading…
Reference in New Issue
Block a user