Build A Full-Featured Linux For Sd Card, Usb Stick Or Emmc - Intel Quark SoC X1000 Software User's Manual

Board support package (bsp)
Hide thumbs Also See for Quark SoC X1000:
Table of Contents

Advertisement

Next, source the oe-init-build-env command to initialize the Yocto Project build
environment. This command takes the build directory name as its parameter:
# source ./oe-init-build-env yocto_build
After this command runs, the current directory will now be the directory specified in the
parameter (yocto_build in this case). From this directory, run bitbake <target> to
build the root file system and kernel.
The SoC-specific <target> commands described below will determine whether the
resulting components are built for SPI flash or for SD/USB/eMMC (memory media). The
output is different for each target.
Starting from Intel® Quark™ v1.1 release, it is possible to perform both (memory media
Note:
and SPI) build methods from the same directory. However, the user should take note of
the DISTRO setting in conf/local.conf file. For the memory media image, please make
sure DISTRO ?="iot-devkit-multilibc" is uncommented only. For SPI image, please make
sure DISTRO ?= "iot-devkit-spi" is uncommented only. The output of the memory
media image is under yocto_build/tmp and the output of SPI image is under
yocto_build/tmp-spi.
6.1

Build a Full-featured Linux for SD card, USB stick or eMMC

A Yocto Project build can take several hours to complete, depending on your internet
Note:
connection speed and your machine's specifications.
To build an image suitable for running on memory media, set the bitbake target to
image-full:
# bitbake image-full
When the image build completes, the following output files are found in the
./tmp/deploy/images/quark/ directory. Copy these files to the media device.
Rename the files according to the following instructions (resulting paths are relative to
the media's root path):
image-full-quark-YYYYMMDDhhmmss.rootfs.ext3
(Rename this file to image-full-quark.ext3 because the initramfs will look for the file
in that name, unless the configuration is updated).
core-image-minimal-initramfs-quark-
YYYYMMDDhhmmss.rootfs.cpio.gz
(Optional: rename this file to core-image-minimal-initramfs- quark.cpio.gz)
bzImage--3.14-r0-quark-YYYYMMDDhhmmss.bin
(Optional: rename this file to bzImage.bin)
grub.efi
Intel® Quark™ SoC X1000 Board Support Package (BSP)
Build and Software User Guide
20
Document Number: 329687-011US
May 2017

Advertisement

Table of Contents
loading

Table of Contents