
Intel® Quark™ SoC X1000 Board Support Package (BSP)
May 2017 Build and Software User Guide
Document Number: 329687-011US 3
Contents
1.0 About this Document.......................................................................................................................................6
Part 1 of 2 –Building the BSP Software.............................................................................................................7
2.0 Before You Begin ...............................................................................................................................................8
3.0 Downloading Software....................................................................................................................................9
4.0 Building the EDKII Software....................................................................................................................... 10
4.1 Dependencies................................................................................................................................ 10
4.2 Pre-build Setup ............................................................................................................................ 11
4.3 Building all the EDKII Firmware Validated Build Configurations [Linux build
environment only]....................................................................................................................... 12
4.4 Building a Single EDKII Firmware Build Configuration ................................................ 13
4.5 EDKII Firmware Build Standalone Output Files.............................................................. 15
5.0 Building the GRUB OS Loader [Linux* Build Environment Only] .............................................. 17
6.0 Creating a File System and Building the Kernel Using Yocto Project* .................................... 19
6.1 Build a Full-featured Linux for SD card, USB stick or eMMC .................................... 20
6.2 Build a Small Linux for SPI Flash........................................................................................... 21
6.3 Build a fast boot Linux for SD card or eMMC................................................................... 23
6.4 Applying a Custom Patch to the Linux kernel Using Yocto Project (optional).. 26
7.0 Building the Linux* Cross Compile Toolchain Using Yocto Project* [Linux Build
Environment Only]......................................................................................................................................... 28
7.1 Creating a cross toolchain in the current build directory .......................................... 28
7.2 Creating a cross toolchain installer...................................................................................... 28
8.0 Creating a Flash Image for the Board [Linux* build environment only]................................. 31
8.1 Using the SPI Flash Tools......................................................................................................... 31
9.0 Platform Data Tool......................................................................................................................................... 33
10.0 Programming Flash on the Board Using Serial Interface.............................................................. 36
10.1 Programming Flash to Release 1.2.1................................................................................... 36
10.2 Programming flash using UEFI shell ................................................................................... 38
10.3 Programming Flash Using Linux* Run-time System .................................................... 41
11.0 Programming Flash on the Board Using DediProg.......................................................................... 42
12.0 Booting the Board From SD Card ............................................................................................................ 43
Part 2 of 2 –Using the BSP Software................................................................................................................45
13.0 Capsule Update............................................................................................................................................... 46
14.0 Capsule Recovery ........................................................................................................................................... 47
15.0 Signing Files (Secure SKU only) [Linux* build environment only] ............................................ 48
15.1 To Program Secure SPI Flash ................................................................................................. 48
15.2 To Create a Secure Boot SD/eMMC..................................................................................... 49
16.0 Enabling the OpenOCD Debugger .......................................................................................................... 51
Appendix A ......................................................................................................................................Related
Documents.................................................................................................................................................52