Building The Grub Os Loader [Linux* Build Environment Only] - Intel Quark SoC X1000 Software User's Manual

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

Advertisement

5.0
Building the GRUB OS Loader [Linux* Build
Environment Only]
If you will run Yocto, skip this section and use the file output by Yocto in this directory:
yocto_build/tmp/deploy/images/quark/grub.efi
If you are only interested in building a Flash image without Linux* and not in using
Yocto, then proceed through this section.
GRUB is provided in two places: inside the meta-quark Yocto BSP or independently.
Note:
Tip: If you want to build a Flash image without a Yocto Linux system (for example,
because you plan to boot a larger Yocto Linux system from an SD card or USB stick),
you should modify the appropriate layout.conf file and delete the sections for bzImage
and core-image-minimal-initramfs-quark.cpio.gz.
Dependencies:
GCC (tested with version 4.3.4 and 4.6.3, and libc6-dev-i386)
gnu-efi-3.0u library (tested with version >= 3.0)
GNU Make
Autotools (autoconf, automake, and libtool)
Python 2.6 or higher
git
gcc-multilib
texinfo
This GRUB build requires the 32 bit gnu-efi library which is included with many Linux
distributions. Alternatively, you can download the latest version from:
http://sourceforge.net/projects/gnu-efi/files
Unpack and compile the gnu-efi library using the commands:
# tar -xvf gnu-efi*
# cd gnu-efi*/gnuefi
# make ARCH="ia32"
# cd -
To build GRUB, first open a new terminal session, extract the grub package, and run
the gitsetup.py script. The script downloads all the upstream code required for grub
and applies the patch.
May 2017
Document Number: 329687-011US
Intel® Quark™ SoC X1000 Board Support Package (BSP)
Build and Software User Guide
17

Advertisement

Table of Contents
loading

Table of Contents