Build and Install Yocto toolchain for iMX6

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Please refer to the Freescale Semiconductor Yocto Users Guide Document Number: IMXLXYOCTOUG for details. Below is a cheat sheet for building and installing Yocto toolchain for iMX6

Checkout Git repo’s

$ mkdir fsl-release-bsp
$ cd fsl-release-bsp
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git  -b imx-3.14.38-6UL_ga
$ repo sync

Setup Build directory

$ MACHINE=imx6ulevk  source fsl-setup-release.sh -b build-x11 -e x11

$ bitbake -c populate_sdk fsl-image-gui

$ sudo sh tmp/deploy/sdk/poky-glibc-x86_64-fsl-image-gui-cortexa7hf-vfp-neon-toolchain-1.8.sh

To add the toolchain to your path source the following script.

$source /opt/poky/1.8/environment-setup-cortexa7hf-vfp-neon-poky-linux-gnueabi

Notes

  1. If you are building for a different imx eval board, then use a different machine type. Please consult [1] for the different machine type.

References

[1] Freescale Semiconductor Yocto Users Guide Document Number: IMXLXYOCTOUG

0 Likes
0 Replies