Guide AN13970 Incorrect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Guide AN13970 Incorrect

Jump to solution
941 Views
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.

Labels (1)
0 Kudos
Reply
1 Solution
902 Views
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

View solution in original post

2 Replies
903 Views
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

925 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

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

Best Regards,
Zhiming