You can either clone with Git or download the tarball.
git://git.yoctoproject.org/meta-intel -b 8.1-rocko-2.4.2
Intel® Xeon® Scalable Processor is supported by Intel Common Core BSP.
Building Common Core BSP layer for Intel® Xeon® Scalable Processor:
==================================================================
Please download the Poky build system to your development machine.
$ git clone -b rocko git://git.yoctoproject.org/poky.git
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 8.1-rocko-2.4.2
Option 2: Download the corresponding BSP tarball from this ‘Board Support Package (BSP) Downloads’ page of the Yocto Project website.
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-8.1-rocko-2.4.2 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 Intel® Xeon® Scalable Processor 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 \
”
To build 64-bit image, add “intel-corei7-64” MACHINE to 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.14%”
For those who required to execute a 64-bit standalone application on Yocto,
the multilib environment need to be turned on in yocto_build/conf/local.conf as the configuration below:
require conf/multilib.conf
DEFAULTTUNE = “corei7-64”
MULTILIBS = “multilib:lib32”
DEFAULTTUNE_virtclass-multilib-lib32 = “corei7-32″
Once the configurations are added, build an image as such:
$ 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
At the end of a successful build, you should have a live image that can be used to directly
boot Yocto 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: Intel® Xeon® Scalable Platform
CPU: Intel® Xeon® Processor Scalable Family
BIOS/Firmware Version: BIOS PLYDCRB1.86B.0153.R01.1802060159
Features supported in this release:
==================================
• Linux kernel version 4.14.18
• Support I/O devices – SATA, USB Host v2.0&3.0, HD Audio, RTC, SMBus
• Support Intel® Xeon® Scalable Processor on-board Ethernet driver: e1000e