VAR-SOM-MX6 Toolchain installation for out of Yocto Morty builds: Difference between revisions

From Variscite Wiki
(Created page with "{{PageHeader|VAR-SOM-MX6 - Yocto Krogoth toolchain installation for out of Yocto builds}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ As an example of X11 buil...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{PageHeader|VAR-SOM-MX6 - Yocto Krogoth toolchain installation for out of Yocto builds}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
{{PageHeader|VAR-SOM-MX6 - Yocto Morty toolchain installation for out of Yocto builds}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__


As an example of X11 build, Build the toolchain by:
As an example of X11 build, Build the toolchain by:
Line 12: Line 12:
Install the tools by running it:
Install the tools by running it:
<pre>
<pre>
$ tmp/deploy/sdk/fsl-imx-x11-glibc-x86_64-meta-toolchain-cortexa9hf-neon-toolchain-4.1.15-2.0.1.sh  
$ tmp/deploy/sdk/fslc-x11-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.2.1.sh
</pre>
</pre>


Line 20: Line 20:
Each time you wish to use the toolchain in a new shell session, you need to source the environment setup script:
Each time you wish to use the toolchain in a new shell session, you need to source the environment setup script:
<pre>
<pre>
$ source /opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
$ source /opt/fslc-x11/2.2.1/environment-setup-armv7at2hf-neon-fslc-linux-gnueabi
</pre>
</pre>

Latest revision as of 13:44, 9 April 2017

VAR-SOM-MX6 - Yocto Morty toolchain installation for out of Yocto builds

As an example of X11 build, Build the toolchain by:

$ cd ~/var-fslc-yocto
$ MACHINE=var-som-mx6 DISTRO=fslc-x11 . setup-environment build_x11
$ bitbake meta-ide-support
$ bitbake meta-toolchain

The output will be located at tmp/deploy/sdk/. On a 64 bit Ubuntu you will get the following script.

Install the tools by running it:

$ tmp/deploy/sdk/fslc-x11-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.2.1.sh

Reply to all defaults 'y'
The toolchain name depend on your build machine and may change.

Each time you wish to use the toolchain in a new shell session, you need to source the environment setup script:

$ source /opt/fslc-x11/2.2.1/environment-setup-armv7at2hf-neon-fslc-linux-gnueabi