Cross compile and debugging of imx7d application

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

Cross compile and debugging of imx7d application

991 Views
maash
Contributor II

Hi.

We are using IM7D picopi board with yocto. Currently we add libraries in yocto recepie and some we compile on target. However we would like to cross compile the applications in separate workstation and there doesn't seem to be any instructions regarding the workflow on imx7d.

Also is there more convenient way to add libraries than adding them on yocto build?

Labels (2)
0 Kudos
3 Replies

718 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Matti,

You can cross compile for the i.MX7 by extracting the toolchain for this processor.

You can extract the toolchain by running the same command within the yocto environment:

$ bitbake meta-toolchain

It would result on a script that you can run to install the toolchain with the settings for your machine.

I hope this information helps!

Regards,

0 Kudos

718 Views
maash
Contributor II

Hi Gusarambula.

Thanks. This is good starting point!

Is there perhaps related tutorial about environment setup, debugging and such? I would like to get eclipse environment and debugger working.

-Matti

0 Kudos

718 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Matti,

There is a document that may be helpful, although it's not very recent the principles still stand:

https://community.nxp.com/docs/DOC-172840 

I hope this helps!

Regards,

0 Kudos