Intel Atom® and Intel® Core™ Processor Build Environment Setup for Yocto Project*-based BSP

Getting Started Guide

1.0 Introduction

This Getting Started Guide provides guideline to prepare the Yocto Project*- based board support package (BSP) build environment. This guide targets users who need to build, customize, and configure their build environment specifically for Yocto Project*-based BSP.

1.1 Terminology

Term Description
APL-IApollo Lake IoT
BSPBoard Support Package
CFL-RCoffee Lake Refresh
CML-SComet Lake S
OSOperating System
RAMRandom Access Memory
SoCSystem-on-a-Chip
WHL-UWhiskey Lake U

1.2 Reference Documents

Document Document No./Location
Intel Atom® Processor E3900 SoC Family/Intel® Celeron® Processor N3350/Intel® Pentium® Processor N4200/ Intel® Celeron® Processor J3355 & J3455 Board Support Package for Yocto Project* - MR3.1 – Release Notes 333732
Intel Atom® Processor E3900 SoC Family/Intel® Celeron® Processor N3350/Intel® Pentium® Processor N4200/ Intel® Celeron® Processor J3355 & J3455 Board Support Package for Yocto Project* - MR4 – Release Notes 595926
8th Generation Intel® Core™ Processors (Code Name: Whiskey Lake) & 9th Generation Intel® Core™ Processors (Code Name: Coffee Lake Refresh) BSP for Yocto Project* 611886
How-to Video: Setting Up Build Environment in the Host System for Yocto* Project 608732
Comet Lake S Yocto Project* Release Notes for PV-2 Release 616835
Intel Atom® Processor E3900 series/ Intel® Celeron® Processor N3350/ Intel® Pentium®Processor N4200, Intel Celeron Processor J3355 & J3455, Board Support Package for Yocto Project (Linux Kernel 4.19.130) 617070
Introducing the Yocto Project* Development Environment https://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html

1.3 Known Issues

Reference No. Issue Workaround
1504693541 Desktop manager crashes and restarts during image build. If Yocto Project* 2.3 or later is used, please access build system and build image using an SSH, instead of the GUI on the build system. This issue is tracked on Bugzilla*.

2.0 Pre-requisites

This section lists out pre-requisites for preparing the build system for some of the Intel platforms. For the platform not listed here, refer to respective BSP release note or getting started guide for more information.

2.1 Apollo Lake-I Yocto Project*-based BSP

Prepare a build system (computer) with the recommended minimum hardware requirement:

2.2 Whiskey Lake-U / Coffee Lake-R/ Comet Lake-S Yocto Project*-based BSP

Prepare a build system (computer) with the recommended minimum hardware requirement:

3.0 Setting Up the Build System

This section describes the steps required to setup proxy (if your build system is behind a corporate firewall), necessary toolchain and SSH configuration, so that the system can have Git operate and access world wide web through a firewall.

The steps are based on a newly installed Ubuntu* system. If you are using an existing system that has default configuration (include proxy), that may potentially create a conflict. Please work with your IT department to resolve the issues.

You may download step-by-step guided video ("How-to Video: Setting Up Build Environment in the Host System for Yocto* Project" RDC Doc#608732) along with this document.

NOTE: It is required to reboot your system once at the end of this section so that all configurations will take effect.

Step 1: Corporate Firewall Proxy Setup

Perform this step ONLY if your build system is behind a corporate firewall.

1.a Add proxy settings to /etc/environment
$ sudo gedit /etc/environment
export SOCKS_SERVER=socks://<proxy server IP or DNS>:<socks port number>
export HTTP_PROXY=http://<proxy server IP or DNS>:<http port number>
export HTTPS_PROXY=https://<proxy server IP or DNS>:<https port number>
export FTP_PROXY=http://<proxy server IP or DNS>:<ftp port number>
1.b Edit the .bashrc file

Append to the proxy settings using the following:

$gedit ~/.bashrc
# Insert the below lines in ~/.bashrc
export SOCKS_SERVER=socks://<proxy server IP or DNS>:<socks port number>
export HTTP_PROXY=http://<proxy server IP or DNS>:<http port number>
export HTTPS_PROXY=https://<proxy server IP or DNS>:<https port number>
export FTP_PROXY=http://<proxy server IP or DNS>:<ftp port number>
1.c Reload the bash environment
$source ~/.bashrc
1.d Set up proxy for apt-get

Edit apt.conf using the following:

$ sudo gedit /etc/apt/apt.conf
Acquire::http::proxy "http://<proxy server IP or DNS>:<http port>/";
Acquire::https::proxy "https://<proxy server IP or DNS>:<https port>/";
Acquire::ftp::proxy "ftp://<proxy server IP or DNS>:<ftp port>/";
Acquire::socks::proxy "socks://<proxy server IP or DNS>:<socks proxy>/";

Step 2: Install Necessary Tools

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat
$ sudo apt-get install libsdl1.2-dev xterm
$ sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto
$ sudo apt-get install autoconf automake libtool libglib2.0-dev
$ sudo apt-get install xutils-dev nfs-common

Step 3: Git Configuration

Create and add the following configuration under /home/<username>/.gitconfig:

[user]
    email = <your.name>@<your_domain>.com
    name = <Your Name>
[sendemail]
    smtpserver = <Your organization's SMTP server address>
    signedoffcc = false
    suppresscc = all
    chainreplyto = false
    assume8bitEncoding = utf-8
    from = <Your Name> <your.name@your_domain.com>
    confirm = always
[color "grep"]
    match = red
[color]
    diff = auto
    ui = auto
    interactive = auto
    grep = always
[alias]
    co = checkout
    br = branch
    ci = commit
    st = status
    ol = log -oneline
[core]
    editor = gedit OR vi
#uncomment the gitproxy variable
#if behind corporate firewall
#gitproxy = /home/<username>/bin/gitproxy

Step 4: Gitproxy File for Corporate Firewall

If your build machine is behind a corporate firewall, create the /home/<username>/bin/gitproxy file and insert the SOCKS proxy configuration using the following:

$ gedit /home/<username>/bin/gitproxy
#!/bin/bash
exec socat stdio SOCKS:<proxy server IP or DNS>:$1:$2
#Make gitproxy executable
$ chmod +x /home/<username>/bin/gitproxy

Step 5: Generate SSH Key for GitHub

Generate an SSH key and add the key to your GitHub* account. Go to this link and follow the instructions on each subsection on the webpage:

Step 6: SSH Configuration

Create and add the following lines in ~/.ssh/config:

host github.com
    user git
    hostname ssh.github.com
    identityfile ~/.ssh/id_rsa
    port 443
    proxycommand /bin/nc -X connect -x <proxy server IP or DNS>:<http port number> %h %p
    tcpkeepalive yes
    compression yes
    connectionattempts 3

Step 7: Reboot System

Reboot the build system so that all configurations will take effect.

Step 8: Ready to Build

Once the system is rebooted, you are now ready to build Yocto Project*-based Image. Refer to the respective platform's release note for the respective software release information and getting started guide for the steps to build the image.

PDF preview unavailable. Download the PDF instead.

334828-005US Intel Atom and Intel Core Build Setup for Yocto Project Getting Started Guide Adobe PDF Library 21.1.182

Related Documents

Preview Yocto Project*-based BSP for 11th Gen Intel® Core™ Processors on IoT Platforms - Release Notes MR8
This document provides the official release notes for the Yocto Project*-based Board Support Package (BSP) for 11th Gen Intel® Core™ Processors (Tiger Lake UP3) on IoT Platforms, featuring Kernel 5.10 and Maintenance Release 8 (MR8). It details hardware and software configurations, component release notes, known issues, and fixes relevant to developers working with Intel's IoT solutions.
Preview 8th and 9th Generation Intel® Core™ and Xeon® E Processor Families Datasheet
Comprehensive datasheet detailing the architecture, features, technologies, power management, and specifications for Intel's 8th and 9th Generation Core™ and Xeon® E processor families. Covers performance, interfaces, and system integration aspects.
Preview Intel Q2 2025 Earnings Call: CEO and CFO Commentary
Prepared remarks from Intel's CEO Lip-Bu Tan and CFO Dave Zinsner discussing Q2 2025 financial results, foundry strategy, AI initiatives, and future outlook.
Preview Intel Xeon CPU Support List for C621-WD12 Motherboard
Find detailed specifications for Intel Xeon Platinum, Gold, Silver, and Bronze processors compatible with the C621-WD12 motherboard, including SKYLAKE-S and Cascade Lake series.
Preview Intel Core Ultra Desktop Processors: How to Sell Guide
A comprehensive guide for sales professionals on effectively selling Intel Core Ultra Desktop Processors (Series 2), codenamed Arrow Lake-S. It details key features, benefits, and selling points for gamers, creators, and professionals, emphasizing performance, connectivity, and AI capabilities.
Preview Intel® Iris® Xe and UHD Graphics Open Source Programmer's Reference Manual - Volume 12: Display Engine
This programmer's reference manual provides in-depth technical documentation for the Display Engine component of Intel® Iris® Xe and UHD Graphics. It is specifically tailored for developers and engineers working with the 11th Generation Intel® processors, including Intel® Xeon®, Core™, Celeron®, and Pentium® Gold, based on the "Tiger Lake" platform. This volume details the architecture, registers, and programming interfaces necessary to leverage the advanced display capabilities of these Intel® processors.
Preview Intel Pentium Gold G7400TE Processor Technical Specifications
Comprehensive technical specifications for the Intel Pentium Gold G7400TE Processor. Details include core specifications, memory support, integrated graphics capabilities, expansion options, package details, advanced technologies, and security features for this embedded commercial processor.
Preview Intel Product Change Notification 853587-00: Boxed Processor Updates
Notification regarding updates to Intel Boxed Processor manuals, Single Point of Contact (SPoC) details, and China RoHS compliance tables, affecting various Intel Core and Xeon processors.