Imx8 toolchain

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

Imx8 toolchain

Jump to solution
2,246 Views
zfreeman2321
Contributor I

Hi, 

I want to build so and binary files which will run on the IMx8 board.

where I can download the cross-compile toolchain for Linux Host

Thanks.

0 Kudos
1 Solution
2,243 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Follow this guide build imx-image-full,

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

Then use "bitbake imx-image-full -c populate_sdk".

install sdk:

tmp/deploy/sdk/xxx.sh

use sdk:

source /opt/fsl-imx-xwayland/xxx/environment-setup-aarch64-xxxx

View solution in original post

0 Kudos
3 Replies
2,244 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Follow this guide build imx-image-full,

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

Then use "bitbake imx-image-full -c populate_sdk".

install sdk:

tmp/deploy/sdk/xxx.sh

use sdk:

source /opt/fsl-imx-xwayland/xxx/environment-setup-aarch64-xxxx

0 Kudos
2,154 Views
lebeer
Contributor II

如果工具链中的lib静态库不全,是不是需要使用下面的步骤来:

 

 

Toolchian 中静态库的添加
没有静态库,是无法静态编译应用程序的,因此,为了方便,还需要在 SDK 中添加
静态库,例如 libc。
这个特性在只需要开启即可,在 local.conf 中添加一行:


SDKIMAGE_FEATURES_append = "staticdev-pkgs

0 Kudos
2,148 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

应该是用TOOLCHAIN_TARGET_TASK_append += XXX

0 Kudos