Real-time-edge v2.4 build for imx8mpevk support for rpmsg missing

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

Real-time-edge v2.4 build for imx8mpevk support for rpmsg missing

Jump to solution
886 Views
Z2025121
Contributor II

Hi,

I have two isses with real-time-edge image from yocto build:

$ DISTRO=nxp-real-time-edge MACHINE=imx8mp-lpddr4-evk source real-time-edge-setup-env.sh -b build-imx-real-time-edge

$ bitbake nxp-image-real-time-edge

The RT-Edge images are built successfully according to steps described in the Real-time Edge Software User Guide (Rev.2.4, 16 Dec 2022).

Issues:

(1) $3.3.2.1 Execute "run  jh_mmcboot" at U-boot prompt. but "jh_mmcboot" is not defined.

what is the correct setenv string for "jh_mmcboot"

(2) in the /samples folder rpmsg related samples are missing.It is not build automatically. But by default it should build (If I understand correctly).

Does this sample work for imx8mpevk ?

---------------------

If I use "bitbake rpmsg-lite-str-echo-rtos" to build this component manually. do_complie will fail because of directory path mismatch:

"can't cd to /home/dezhangj/NXP/Yocto_RT-Edge24/build-imx-real-time-edge/tmp/work/armv8a-poky-linux/rpmsg-lite-str-echo-rtos/2.12.0-r0/git/examples/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos/core_ca53/armgcc_aarch64"

The actual makefile directory should be ".....tmp/work/armv8a-poky-linux/rpmsg-lite-str-echo-rtos/2.12.0-r0/git/examples/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos/armgcc"

Any suggestion to fix the issue? Is this a configuration issue?

Thanks for your help

Junshu

0 Kudos
1 Solution
801 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Z2025121,

Thanks for the update. Good to know that.

Since the issue has been resolved, can I mark this case as close?

Thanks & Regards,
Sanket Parekh

View solution in original post

0 Kudos
7 Replies
811 Views
Z2025121
Contributor II

Hi Sanket,

Many thanks for the hint.

The cortex-M images for rpmsg are built now after I cleared everything and rebuild from setting up the repo.

Best regards,

Junshu

0 Kudos
802 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Z2025121,

Thanks for the update. Good to know that.

Since the issue has been resolved, can I mark this case as close?

Thanks & Regards,
Sanket Parekh

0 Kudos
792 Views
Z2025121
Contributor II

Hi Sanket,

yes, please. Thanks for your help.

BR,

Junshu

0 Kudos
872 Views
Z2025121
Contributor II

Correction:

Issue 1 does not fit to the subject. It is move to a different thread.

Issue 2 remains.

0 Kudos
853 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Z2025121 

From the above error, it seems that either this directory doesn't exist or permission for the directory access is not given.
It seems to be building this application for the cortex-A53 core.
 
To run RTOS on M7 core, one needs to integrate meta-rtos-industrial
 
Please refer to Figure 19. Unified Yocto Structure for Heterogeneous AMP and 3.5.3 Yocto layer for Cortex-M core in Real-time Edge Software User Guide.
 
Thanks & Regards,
Sanket Parekh
0 Kudos
849 Views
Z2025121
Contributor II

Hi Sanket_Parekh,

Thanks for the answer.

The problem is: the files exist, but in a different directory (see my original question 2).The question is why the script looks for the files in a wrong place? This happens only when I try to build this specific components.

BR

Junshu

 

0 Kudos
840 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Z2025121 

I hope you are doing well.
 
Please try using evkmimx8mp as MACHINE to build specific components for cortex-M7 core.
 
Thanks & Regards,
Sanket Parekh
0 Kudos