2nd Generation Intel® Xeon® Scalable Processor (Code Name: Cascade Lake)

Board Info

Purley Refresh Platform
Processor: Intelx86-64
Organization: Intel Corporation

BSP INFO

You can either clone with Git or download the tarball.

Clone with Git (preferred)

git://git.yoctoproject.org/meta-intel -b 10.1-thud-2.6.1

Download

Compatible / Built with: Yocto Project 2.6.1 – Thud
Release Date: June 2019
MD5 sum: 829cc702e03b72bec6b0cb1db1989505

RELEASE NOTES

Disclaimer:
——————————
You may not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel products described herein.
You agree to grant Intel a non-exclusive, royalty-free license to any patent claim thereafter drafted which includes subject matter disclosed herein.
No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document.
All information provided here is subject to change without notice. Contact your Intel representative to obtain the latest Intel product specifications and roadmaps.
The products described may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.
Copies of documents which have an order number and are referenced in this document may be obtained by calling 1-800-548-4725 or by
visiting: http://www.intel.com/design/literature.htm
Intel technologies’ features and benefits depend on system configuration and may require enabled hardware, software or service activation. Learn more at http://www.intel.com/ or from the OEM or retailer.
No computer system can be absolutely secure.
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
*Other names and brands may be claimed as the property of others.
Copyright ©2019, Intel Corporation. All rights reserved.

Purley Refresh Platform is supported by Intel Common Core BSP.

Building Common Core BSP layer for Purley Refresh Platform:
========================================================
Please download the Poky build system to your development machine.

Option 1: git clone git://git.yoctoproject.org/poky.git -b thud-20.0.1

Option 2: Download Poky build tarball from http://downloads.yoctoproject.org/releases/yocto/yocto-2.6.1/poky-thud-20.0.1.tar.bz2

Extract the downloaded Poky build system & rename it to poky.
$ tar -xvjf poky-thud-20.0.1.tar.bz2

Note: Ignore this step if there is already a folder with the same name.
$ mv poky-thud-20.0.1 poky

Get the BSP layer either by cloning with Git or downloading the BSP tarball.

Option 1: git clone git://git.yoctoproject.org/meta-intel -b 10.1-thud-2.6.1

Option 2: Download the corresponding BSP tarball from this ‘Board Support Package (BSP) Downloads’ page of the Yocto Project website.

Extract the downloaded BSP tarball into meta-intel folder $ tar -xvjf meta-intel-10.1-thud-2.6.1.tar.bz2

Rename the folder of the extracted BSP tarball to meta-intel.
Note: Ignore this step if there is already a folder with the same name.
$ mv meta-intel-10.1-thud 2.6.1 meta-intel

Create a build folder at the same level of “poky” directory.
$ mkdir yocto_build
$ cd yocto_build

Assuming that you have downloaded the BSP tarball and extracted the content at top level of your development build tree, you need to prepare the build environment using “source” command.
$ source ../poky/oe-init-build-env .

Build an image for Purley Refresh Platform by adding the location of meta-intel layer to conf/bblayers.conf, e.g.:
BBLAYERS ?= ” \
/path/poky/meta \
/path/poky/meta-poky \
/path/poky/meta-yocto-bsp \
/path/meta-intel \
/path/meta-intel-sgx \
/path/meta-openembedded/meta-oe \

To build 64-bit image, add “intel-corei7-64” MACHINE to yocto_build/conf/local.conf:
MACHINE = “intel-corei7-64”

To build image with specified kernel version of linux-intel (Eg. linux-intel 4.14), add these parameters to local.conf:
PREFERRED_PROVIDER_virtual/kernel = “linux-intel”
PREFERRED_VERSION_linux-intel = “4.19%”

For those who required to execute a 32-bit standalone application on Yocto Project, the multilib environment need to be turned on in local.conf as the configuration below:

require conf/multilib.conf
DEFAULTTUNE = “corei7-64”
MULTILIBS = “multilib:lib32”
DEFAULTTUNE_virtclass-multilib-lib32 = “corei7-32″

To enable Systemd init system, add below configuration to local.conf:
DISTRO_FEATURES_append = ” systemd”
VIRTUAL-RUNTIME_init_manager = “systemd”
DISTRO_FEATURES_BACKFILL_CONSIDERED_append = “sysvinit”

To enable Intel(R) SGX technology on Yocto Project, add these parameters to local.conf:
IMAGE_INSTALL_append = ” sgx”
IMAGE_INSTALL_append = ” sgx-dev”

Once the configurations are added, kick start the image building process by using bitbake command.
To build an image with sato graphical interface:
$ bitbake core-image-sato

For building an image with the development tools, type the following command:
$ bitbake core-image-sato-sdk

A bootable image will be generated in yocto_build/tmp/deploy/images/intel-corei7-64/ once the compilation successful.
File name that will be generated:
core-image-sato-intel-corei7-64.hddimg
OR
core-image-sato-sdk-intel-corei7-64.hddimg

Booting Image:
===============

At the end of a successful build, you should have a live image that can be used to directly boot image off of a USB flash drive.

Under Linux host machine, insert a USB flash drive. Assuming the USB flash drive takes device /dev/sdf, use dd to copy the live image to it. For
example:

# dd if=core-image-sato-intel-corei7-64.hddimg of=/dev/sdf bs=4M
# sync
# eject /dev/sdf

This should give you a bootable USB flash device. Insert the device into a bootable USB socket on the platform, and power on. This should result in a system booted to the Sato graphical desktop. The root password is empty on the Poky reference distribution images.

================================================================================

Best Known Configuration:
========================

Supported platform: Purley Refresh Platform
CPU: 2nd Generation Intel® Xeon® Scalable Processor
PCH: Lewisburg SD S0 Stepping
BIOS/Firmware Version: PLYXCRB1.86B.0581.D01.1903181750

Features supported in this release:
===================================

-Linux kernel version v4.19.13
-Support I/O devices – SATA, USB Host v2.0&3.0, HD Audio, UART, SMBus, DMA, I2C, PCIE
-Support 2nd Generation Intel® Xeon® Scalable Processor in-chip Ethernet driver: e1000e
-Support Intel(R) SGX technology

Important Notes:
================

Intel encourages using latest poky and meta-intel layer to build BSP layers with below command:

git clone git://git.yoctoproject.org/poky.git -b thud
git clone git://git.yoctoproject.org/meta-intel -b thud

It provides the latest source, which will contain fixes or new feature.