You can either clone with Git or download the tarball.
git://git.yoctoproject.org/cgit/cgit.cgi/meta-intel -b sumo
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 ©2018, Intel Corporation. All rights reserved.
The Harcuvar Platform is supported by Intel Common Core BSP. (meta-intel)
For DPDK and QAT Support, additional meta layers will be required.
Building Common Core BSP layer for Harcuvar Platform with DPDK and QAT Support
==============================================================================
Please download the Poky build system to your development machine.
$ git clone -b sumo git://git.yoctoproject.org/poky.git
Get the BSP layer either by cloning with Git or downloading the BSP tarball.
Option 1(PREFERRED): git clone -b sumo git://git.yoctoproject.org/meta-intel
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-9.0-sumo-2.5 meta-intel
For additional DPDK and QAT support, please clone the following meta layers.
$ git clone git://git.yoctoproject.org/meta-dpdk
$ git clone git://git.yoctoproject.org/meta-intel-qat
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 8th Generation Intel® Core™ Reference 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-dpdk \
/path/meta-intel-quat \
”
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%”
To enable QAT, DPDK and corresponding IXGBE in conf/local.conf:
# Additional Kernel Features to enable QAT, DPDK and QEMU-KVM
KERNEL_FEATURES_append = ” features/qat/qat.scc”
KERNEL_FEATURES_append = ” features/x2apic/x2apic.scc”
KERNEL_FEATURES_append = ” features/vfio/vfio.scc”
KERNEL_FEATURES_append = ” features/numa/numa.scc”
KERNEL_FEATURES_append = ” features/mtd/mtd.scc”
KERNEL_FEATURES_append = ” features/iommu/iommu.scc”
KERNEL_FEATURES_append = ” features/intel-txt/intel-txt.scc”
KERNEL_FEATURES_append = ” features/kvm/qemu-kvm-enable.scc”
# Enable QAT 1.7 for this MACHINE
COMPATIBLE_MACHINE_pn-qat17 = “intel-corei7-64”
PREFERRED_PROVIDER_virtual/qat ?= “qat17″
IMAGE_INSTALL_append = ” qat17″
IMAGE_INSTALL_append = ” qat17-app”
IMAGE_INSTALL_append = ” qat17-src”
RDEPENDS_linux-firmware_remove = ” linux-firmware-qat”
# Enable DPDK v18.x
PREFERRED_VERSION_dpdk ?= “18.%”
IMAGE_INSTALL_append = ” dpdk”
IMAGE_INSTALL_append = ” dpdk-examples”
# OOT IXGBE & IXGBEVF kernel
IMAGE_INSTALL_append = ” ixgbe”
IMAGE_INSTALL_append = ” ixgbevf”
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-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: Harcuvar
CPU: Intel® Atom® Processor C3000
BIOS/Firmware Version: HVLRCRB.86B.WR.64.2017.11.5.01.0116.HCV14D76
Features supported in this release:
===================================
Kernel feature list:
– Linux kernel version v4.14.52
– Support I/O devices – SATA, USB Host v2.0
– Support Intel Legacy Block (APIC, RTC, HPET, UART, LPC, WDT, SMBus I801, SMbus iSMT, IGB, IXGBE)
– Support Matrox Graphics Card
– Support for Intel DPDK version 18.05
– Support for Intel QAT version 1.7 L.4.2.0-00012
Miscellaneous
=============
This BSP was built with the following commit-id
– poky/sumo: 96fbd39ba32362416c18d90bb7a81eb6a76912e0
– meta-intel/sumo: 2430f73ee06f3315ebebe69899f1977f9a09e29f
– meta-intel-qat/master: d237777cb5015c08cf1cb5bdf32d96b5364dcbab
– meta-dpdk/master: b7c4b921d5914ec090971655127a7295eebcdb17
For additional layers to enable KVM, QEMU and other features
– meta-virtualization/sumo: 2e8e06363369675c8cc15de418967392543a18a5
– meta-openembedded/sumo: b0950aeff5b630256bb5e25ca15f4d59c115e7c1