Guide AN13970 Incorrect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Guide AN13970 Incorrect

跳至解决方案
775 次查看
gfrung
Contributor II

This guide is incorrect and does not work for the i.MX 8ULP:

AN13970: Running Zephyr RTOS on Cadence Tensilica HiFi 4 DSP | NXP Semiconductors

Specifically, this line:

For i.MX 8ULP (imx8ulp_evk/mimx8ud7/adsp board), the above command can be used.

In fact, the command does not work for the i.MX 8ULP.  This command results in an error:

> west build -p always -b imx8ulp_evk/mimx8ud7/adsp samples/subsys/ipc/openamp_rsc_table

zephyrproject/zephyr/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c:31:2: error: #error "Sample requires definition of shared memory for rpmsg"
31 | #error "Sample requires definition of shared memory for rpmsg"
| ^~~~~

I'm not asking how to fix this error; I'm letting you know that the guide is incorrect.  Please correct the guide with any additional steps required for a successful build on the i.MX 8ULP, so it can aid future readers.

Note that the steps in the guide work fine for the other three processors: i.MX 8M Plus, i.MX 8QuadMax and i.MX 8QuadXPlus.  So, it is just the i.MX 8ULP portion that needs correcting.

标签 (1)
0 项奖励
回复
1 解答
736 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

According to the author, the following pull requests has not been fully merged at the moment:

https://github.com/zephyrproject-rtos/zephyr/pull/83049

https://github.com/zephyrproject-rtos/zephyr/pull/84170

You may try these code themselves, or wait until they get merged.

Note that for the sample to work on i.MX 8ULP, there's also a pending patch for Linux Kernel:

https://patchwork.kernel.org/project/linux-remoteproc/patch/20250305123923.514386-1-iuliana.prodan@o...


Best Regards,
Zhiming

在原帖中查看解决方案

2 回复数
737 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

According to the author, the following pull requests has not been fully merged at the moment:

https://github.com/zephyrproject-rtos/zephyr/pull/83049

https://github.com/zephyrproject-rtos/zephyr/pull/84170

You may try these code themselves, or wait until they get merged.

Note that for the sample to work on i.MX 8ULP, there's also a pending patch for Linux Kernel:

https://patchwork.kernel.org/project/linux-remoteproc/patch/20250305123923.514386-1-iuliana.prodan@o...


Best Regards,
Zhiming

759 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Have reported this issue and i will update here once get the solution.

Best Regards,
Zhiming