VAB-820 Linux BSP v3.2.0 Quick Start Guide
10
4.
Image Build
4.1. Extracting the VAB-820 BSP
Use the following command to extract the contents of the BSP.
$ tar xvf VIA_iMX_Yocto1.7_SRC_v3.2.0.tar.bz2
4.2. Machine Configuration
The
via-setup-release.sh
script creates the build directory with the Yocto configuration
files for your target machine.
This script has the following optional parameter:
•
-b: set the name of the build directory. For example “-b build-vab820” in the
command below.
$ cd via-release-bsp
$ MACHINE=imx6qvab820 source via-setup-release.sh -b build-vab820
4.3. Building an SD Card Image
This BSP provides the “via-image-gui” Yocto image as default. Use the “bitbake”
command to create an SD Card compatible image.
$ via-release-bsp/build-vab820$ bitbake via-image-gui
After the compilation, the
via-release-bsp/build-vab820/tmp/deploy/images/imx6qvab820
directory will contain the resulting binaries, as shown in the table below.
Binary Description
u-boot.imx U-Boot boot loader
zImage Kernel
zImage-imx6q-vab820.dtb Device tree
via-image-gui-
imx6qvab820.sdcard
SD card image
Binary files generated by bitbake