Guide AN13970 Incorrect

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

Guide AN13970 Incorrect

跳至解决方案
1,587 次查看
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 解答
1,548 次查看
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 回复数
1,549 次查看
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

1,571 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

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

Best Regards,
Zhiming

%3CLINGO-SUB%20id%3D%22lingo-sub-2056603%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%8C%87%E5%8D%97%20AN13970%20%E4%B8%8D%E6%AD%A3%E7%A1%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056603%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%9C%AC%E6%8C%87%E5%8D%97%E4%B8%8D%E6%AD%A3%E7%A1%AE%EF%BC%8C%E4%B8%8D%E9%80%82%E7%94%A8%E4%BA%8E%20i.MX%208ULP%EF%BC%9A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FAN13970%2Fpage%2Ftopics%2Fopenamp_rsc_table_application.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAN13970%EF%BC%9A%E5%9C%A8%20Cadence%20Tensilica%20HiFi%204%20DSP%20%E4%B8%8A%E8%BF%90%E8%A1%8C%20Zephyr%20RTOS%20%7C%20NXP%20%E5%8D%8A%E5%AF%BC%E4%BD%93%3C%2FA%3E%3C%2FP%3E%3CP%3E%E5%85%B7%E4%BD%93%E6%9D%A5%E8%AF%B4%EF%BC%8C%E8%BF%99%E4%B8%80%E8%A1%8C%EF%BC%9A%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%E5%AF%B9%E4%BA%8E%20i.MX%208ULP%EF%BC%88imx8ulp_evk%2Fmimx8ud7%2Fadsp%20%E6%9D%BF%EF%BC%89%EF%BC%8C%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E4%B8%8A%E8%BF%B0%E5%91%BD%E4%BB%A4%E3%80%82%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%E4%BA%8B%E5%AE%9E%E4%B8%8A%EF%BC%8C%E8%AF%A5%E5%91%BD%E4%BB%A4%E5%AF%B9%20i.MX%208ULP%20%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%E3%80%82%E6%AD%A4%E5%91%BD%E4%BB%A4%E4%BC%9A%E5%AF%BC%E8%87%B4%E9%94%99%E8%AF%AF%EF%BC%9A%3C%2FP%3E%3CPRE%20translate%3D%22no%22%3E%26gt%3B%20west%20build%20-p%20always%20-b%20imx8ulp_evk%2Fmimx8ud7%2Fadsp%20samples%2Fsubsys%2Fipc%2Fopenamp_rsc_table%3CBR%20%2F%3E%3CBR%20%2F%3Ezephyrproject%2Fzephyr%2Fsamples%2Fsubsys%2Fipc%2Fopenamp_rsc_table%2Fsrc%2Fmain_remote.c%3A31%3A2%3A%20error%3A%20%23error%20%22Sample%20requires%20definition%20of%20shared%20memory%20for%20rpmsg%22%3CBR%20%2F%3E31%20%7C%20%23error%20%22Sample%20requires%20definition%20of%20shared%20memory%20for%20rpmsg%22%3CBR%20%2F%3E%20%20%20%7C%20%20%5E~~~~%3C%2FPRE%3E%3CP%20class%3D%22%22%3E%E6%88%91%E5%B9%B6%E4%B8%8D%E6%98%AF%E5%9C%A8%E9%97%AE%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E8%BF%99%E4%B8%AA%E9%94%99%E8%AF%AF%EF%BC%9B%E6%88%91%E5%8F%AA%E6%98%AF%E8%AE%A9%E4%BD%A0%E7%9F%A5%E9%81%93%E8%AF%A5%E6%8C%87%E5%8D%97%E6%98%AF%E9%94%99%E8%AF%AF%E7%9A%84%E3%80%82%E8%AF%B7%E4%BD%BF%E7%94%A8%E5%9C%A8%20i.MX%208ULP%20%E4%B8%8A%E6%88%90%E5%8A%9F%E6%9E%84%E5%BB%BA%E6%89%80%E9%9C%80%E7%9A%84%E4%BB%BB%E4%BD%95%E5%85%B6%E4%BB%96%E6%AD%A5%E9%AA%A4%E6%9D%A5%E6%9B%B4%E6%AD%A3%E6%8C%87%E5%8D%97%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%AE%83%E5%8F%AF%E4%BB%A5%E5%B8%AE%E5%8A%A9%E6%9C%AA%E6%9D%A5%E7%9A%84%E8%AF%BB%E8%80%85%E3%80%82%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CEM%3E%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E6%8C%87%E5%8D%97%E4%B8%AD%E7%9A%84%E6%AD%A5%E9%AA%A4%E9%80%82%E7%94%A8%E4%BA%8E%E5%85%B6%E4%BB%96%E4%B8%89%E7%A7%8D%E5%A4%84%E7%90%86%E5%99%A8%EF%BC%9Ai.MX%208M%20Plus%E3%80%81i.MX%208QuadMax%20%E5%92%8C%20i.MX%208QuadXPlus%E3%80%82%E5%9B%A0%E6%AD%A4%EF%BC%8C%E5%8F%AA%E6%9C%89%20i.MX%208ULP%20%E9%83%A8%E5%88%86%E9%9C%80%E8%A6%81%E7%BA%A0%E6%AD%A3%E3%80%82%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2056603%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX8ULP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2056819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%8C%87%E5%8D%97%20AN13970%20%E4%B8%8D%E6%AD%A3%E7%A1%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E6%8D%AE%E4%BD%9C%E8%80%85%E7%A7%B0%EF%BC%8C%E4%BB%A5%E4%B8%8B%E6%8B%89%E5%8F%96%E8%AF%B7%E6%B1%82%E7%9B%AE%E5%89%8D%E5%B0%9A%E6%9C%AA%E5%AE%8C%E5%85%A8%E5%90%88%E5%B9%B6%EF%BC%9A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F83049%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F83049%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F84170%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F84170%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E8%87%AA%E5%B7%B1%E5%B0%9D%E8%AF%95%E8%BF%99%E4%BA%9B%E4%BB%A3%E7%A0%81%EF%BC%8C%E6%88%96%E8%80%85%E7%AD%89%E5%88%B0%E5%AE%83%E4%BB%AC%E5%90%88%E5%B9%B6%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E4%B8%BA%E4%BA%86%E4%BD%BF%E7%A4%BA%E4%BE%8B%E8%83%BD%E5%A4%9F%E5%9C%A8%20i.MX%208ULP%20%E4%B8%8A%E8%BF%90%E8%A1%8C%EF%BC%8C%E8%BF%98%E6%9C%89%E4%B8%80%E4%B8%AA%E9%92%88%E5%AF%B9%20Linux%20%E5%86%85%E6%A0%B8%E7%9A%84%E5%BE%85%E5%A4%84%E7%90%86%E8%A1%A5%E4%B8%81%EF%BC%9A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Fpatchwork.kernel.org%2Fproject%2Flinux-remoteproc%2Fpatch%2F20250305123923.514386-1-iuliana.prodan%40oss.nxp.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpatchwork.kernel.org%2Fproject%2Flinux-remoteproc%2Fpatch%2F20250305123923.514386-1-iuliana.prodan%40o...%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%E5%BF%97%E6%98%8E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2056663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%8C%87%E5%8D%97%20AN13970%20%E4%B8%8D%E6%AD%A3%E7%A1%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%B7%B2%E6%8A%A5%E5%91%8A%E6%AD%A4%E9%97%AE%E9%A2%98%EF%BC%8C%E4%B8%80%E6%97%A6%E6%89%BE%E5%88%B0%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%EF%BC%8C%E6%88%91%E5%B0%86%E5%9C%A8%E6%AD%A4%E6%9B%B4%E6%96%B0%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%E5%BF%97%E6%98%8E%3C%2FP%3E%3C%2FLINGO-BODY%3E