REL 1.0
Page 16 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
To apply the Yocto patch file, execute the below commands.
$patch
-Np1
<
<path
to
Yocto
patch
file>/PATCH000-iW-PRDVZ-SC-01-RX.X-RELX.X-
YoctoKrogoth_basic_customization.patch
The Yocto patch file from deliverables is located in the below path.
iW-RainboW-G15M-Q7-RX.X-RELX.X-Linux4.1.15-YoctoKrogoth_Deliverables/Source-
Code/Linux/Yocto/PATCH000-iW-PRDVZ-SC-01-RX.X-RELX.X-
YoctoKrogoth_basic_customization.patch
This sets up the recipes that are used to build the project.
To configure the yocto source for iW-RainboW-G15M-Q7 platform, execute the below command.
$MACHINE=imx6qdl-iwg15-q7 source fsl-setup-release.sh -b build_iwg15
The EULA is required to be accepted for the first time. After that, the acceptance is logged and EULA
acceptance is not required again.
2.2.6
Cross-compiler build
This section provides the detailed information and process for building the cross-compiler and this cross-compiler
can be used for standalone compilation of U-boot and Linux kernel.
Open a terminal window and change the directory to yocto setup path.
$cd ~/<path to iwg15-release-bsp>/iwg15-release-bsp/
To setup environment build path, execute the below command. This is required only once on switching of
every new terminal window.
$MACHINE=imx6qdl-iwg15-q7 source setup-environment build_iwg15
To compile the meta-toolchain, execute the below command.
$bitbake meta-toolchain
After compilation of meta-toolchain, execute the below command to install the cross-compiler.
$sudo sh tmp/deploy/sdk/fsl-imx-x11-glibc-x86_64-meta-toolchain-<version>.sh
During the cross-compiler installation, the target directory will be confirmed as mentioned below.
Enter target directory for SDK (default: /opt/fsl-imx-x11/4.1.15-2.1.0)
Note: Press [Enter] key for default path
You are about to install the SDK to “/opt/fsl-imx-x11/4.1.15-2.1.0”.Proceed[Y/n]?
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.
After successful installation of cross-compiler, the cross compiler will be available in below path.
/opt/ fsl-imx-x11/