Guide AN13970 Incorrect

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

Guide AN13970 Incorrect

ソリューションへジャンプ
1,036件の閲覧回数
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 解決策
997件の閲覧回数
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 返答(返信)
998件の閲覧回数
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,020件の閲覧回数
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%E3%82%AC%E3%82%A4%E3%83%89AN13970%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056603%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%81%AE%E3%82%AC%E3%82%A4%E3%83%89%E3%81%AF%E9%96%93%E9%81%95%E3%81%A3%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81i.MX%208ULP%E3%81%A7%E3%81%AF%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%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%3ACadence%20Tensilica%20HiFi%204%20DSP%E3%81%A7%E3%81%AEZephyr%20RTOS%E3%81%AE%E5%AE%9F%E8%A1%8C%20%7CNXP%E3%82%BB%E3%83%9F%E3%82%B3%E3%83%B3%E3%83%80%E3%82%AF%E3%82%BF%E3%83%BC%E3%82%BA%3C%2FA%3E%3C%2FP%3E%3CP%3E%E5%85%B7%E4%BD%93%E7%9A%84%E3%81%AB%E3%81%AF%E3%80%81%E6%AC%A1%E3%81%AE%E8%A1%8C%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%20class%3D%22%22%3Ei.MX%208ULP%20(imx8ulp_evk%2Fmimx8ud7%2Fadsp%20%E3%83%9C%E3%83%BC%E3%83%89)%20%E3%81%A7%E3%81%AF%E3%80%81%E4%B8%8A%E8%A8%98%E3%81%AE%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%E5%AE%9F%E9%9A%9B%E3%80%81%E3%81%93%E3%81%AE%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%AF%20i.MX%208ULP%20%E3%81%A7%E3%81%AF%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%81%93%E3%81%AE%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%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%E7%A7%81%E3%81%AF%E3%81%93%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%82%92%E4%BF%AE%E6%AD%A3%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%82%92%E5%B0%8B%E3%81%AD%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%82%AC%E3%82%A4%E3%83%89%E3%81%8C%E9%96%93%E9%81%95%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%81%93%E3%81%A8%E3%82%92%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B%E3%81%97%E3%81%BE%E3%81%99%E3%80%82i.MX%208ULP%E3%81%A7%E3%83%93%E3%83%AB%E3%83%89%E3%82%92%E6%88%90%E5%8A%9F%E3%81%95%E3%81%9B%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E5%BF%85%E8%A6%81%E3%81%AA%E8%BF%BD%E5%8A%A0%E3%81%AE%E6%89%8B%E9%A0%86%E3%81%A7%E3%82%AC%E3%82%A4%E3%83%89%E3%82%92%E4%BF%AE%E6%AD%A3%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CEM%3E%E3%81%93%E3%81%AE%E3%82%AC%E3%82%A4%E3%83%89%E3%81%AE%E6%89%8B%E9%A0%86%E3%81%AF%E3%80%81%E4%BB%96%E3%81%AE%203%20%E3%81%A4%E3%81%AE%E3%83%97%E3%83%AD%E3%82%BB%E3%83%83%E3%82%B5%20(i.MX%208M%20Plus%E3%80%81i.MX%208QuadMax%E3%80%81%E3%81%8A%E3%82%88%E3%81%B3%20i.MX%208QuadXPlus)%20%E3%81%A7%E5%95%8F%E9%A1%8C%E3%81%AA%E3%81%8F%E6%A9%9F%E8%83%BD%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AB%E6%B3%A8%E6%84%8F%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%E3%81%97%E3%81%9F%E3%81%8C%E3%81%A3%E3%81%A6%E3%80%81%E4%BF%AE%E6%AD%A3%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%AA%E3%81%AE%E3%81%AF%20i.MX%208ULP%E9%83%A8%E5%88%86%E3%81%A0%E3%81%91%E3%81%A7%E3%81%99%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%3ERe%3A%E3%82%AC%E3%82%A4%E3%83%89AN13970%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%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%E8%91%97%E8%80%85%E3%81%AB%E3%82%88%E3%82%8B%E3%81%A8%E3%80%81%E6%AC%A1%E3%81%AE%E3%83%97%E3%83%AB%E3%83%AA%E3%82%AF%E3%82%A8%E3%82%B9%E3%83%88%E3%81%AF%E7%8F%BE%E6%99%82%E7%82%B9%E3%81%A7%E3%81%AF%E5%AE%8C%E5%85%A8%E3%81%AB%E3%81%AF%E3%83%9E%E3%83%BC%E3%82%B8%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%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%E3%81%93%E3%82%8C%E3%82%89%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E8%87%AA%E5%88%86%E3%81%A7%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B%E3%81%93%E3%81%A8%E3%82%82%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%81%97%E3%80%81%E3%83%9E%E3%83%BC%E3%82%B8%E3%81%95%E3%82%8C%E3%82%8B%E3%81%BE%E3%81%A7%E5%BE%85%E3%81%A4%E3%81%93%E3%81%A8%E3%82%82%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%92%20i.MX%208ULP%20%E3%81%A7%E5%8B%95%E4%BD%9C%E3%81%95%E3%81%9B%E3%82%8B%E3%81%AB%E3%81%AF%E3%80%81Linux%20%E3%82%AB%E3%83%BC%E3%83%8D%E3%83%AB%E3%81%AE%E4%BF%9D%E7%95%99%E4%B8%AD%E3%81%AE%E3%83%91%E3%83%83%E3%83%81%E3%82%82%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%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%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%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%3ERe%3A%E3%82%AC%E3%82%A4%E3%83%89AN13970%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%81%93%E3%81%AE%E5%95%8F%E9%A1%8C%E3%82%92%E5%A0%B1%E5%91%8A%E3%81%97%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81%E8%A7%A3%E6%B1%BA%E7%AD%96%E3%81%8C%E5%BE%97%E3%82%89%E3%82%8C%E3%81%9F%E3%82%89%E3%81%93%E3%81%93%E3%81%A7%E6%9B%B4%E6%96%B0%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%3CBR%20%2F%3E%E5%BF%97%E6%98%8E%3C%2FP%3E%3C%2FLINGO-BODY%3E