Creating a file system and building the kernel using Yocto [Linux build environment only]
Creating a file system and
building the kernel using Yocto
[Linux build environment only]
Note: git requires proxy configuration. If these commands fail, it may be due to your proxy
settings. Contact your network administrator. You may find answers about proxy
Use Yocto to create a root file system and kernel that boots the system from an SD
card or USB key. Do not run any of the commands in this section as root.
To avoid a known issue unzipping packages with long file paths, extract the
meta-clanton tarball into a directory with a short path, for example /tmp.
First, open a new terminal session, extract the Yocto layer, and run the setup.sh
script to download the external sources required for the Yocto build:
# sudo apt-get install diffstat gawk chrpath
# tar -xvf meta-clanton*.tar.gz
# cd meta-clanton*
Note: The setup.sh script takes no parameters. To build the root file system and kernel for
Next, source the oe-init-build-env command to initialize the Yocto build
environment, and run bitbake <target> to build the root file system and kernel. You
will use SoC-specific <target> commands described below.
Note: If you need to patch the Linux kernel (optional), skip to
patch before running the bitbake command.
Order Number: 329687-007US
to build development tools (gcc) for the Linux* operating system.
Galileo board, see the commands below.
and apply the
Quark™ SoC X1000
BSP Build and Software User Guide