Building Intel Atom E3800 Processor Development Kit Yocto Project* Board Support Package (BSP)

Similar documents
Intel Cache Acceleration Software for Windows* Workstation

How to Create a.cibd File from Mentor Xpedition for HLDRC

Intel Atom Processor E3800 Product Family Development Kit Based on Intel Intelligent System Extended (ISX) Form Factor Reference Design

How to Create a.cibd/.cce File from Mentor Xpedition for HLDRC

Intel Integrated Native Developer Experience 2015 (OS X* host)

Reference Boot Loader from Intel

Theory and Practice of the Low-Power SATA Spec DevSleep

Intel Galileo Firmware Updater Tool

OpenCL* and Microsoft DirectX* Video Acceleration Surface Sharing

Intel Manycore Platform Software Stack (Intel MPSS)

Intel Core TM i7-4702ec Processor for Communications Infrastructure

Drive Recovery Panel

Intel RealSense Depth Module D400 Series Software Calibration Tool

Intel Atom Processor D2000 Series and N2000 Series Embedded Application Power Guideline Addendum January 2012

Intel Embedded Media and Graphics Driver v1.12 for Intel Atom Processor N2000 and D2000 Series

Intel USB 3.0 extensible Host Controller Driver

Intel Core TM Processor i C Embedded Application Power Guideline Addendum

Intel Atom Processor E6xx Series Embedded Application Power Guideline Addendum January 2012

Intel Open Source HD Graphics Programmers' Reference Manual (PRM)

Intel Ethernet Controller I350 Frequently Asked Questions (FAQs)

Intel RealSense D400 Series Calibration Tools and API Release Notes

Bitonic Sorting. Intel SDK for OpenCL* Applications Sample Documentation. Copyright Intel Corporation. All Rights Reserved

Intel Dynamic Platform and Thermal Framework (Intel DPTF), Client Version 8.X

The Intel SSD Pro 2500 Series Guide for Microsoft edrive* Activation

Intel Manageability Commander User Guide

Desktop 4th Generation Intel Core, Intel Pentium, and Intel Celeron Processor Families and Intel Xeon Processor E3-1268L v3

Intel Cache Acceleration Software - Workstation

Intel Desktop Board DZ68DB

Data Center Efficiency Workshop Commentary-Intel

LED Manager for Intel NUC

Ernesto Su, Hideki Saito, Xinmin Tian Intel Corporation. OpenMPCon 2017 September 18, 2017

Intel Open Source HD Graphics, Intel Iris Graphics, and Intel Iris Pro Graphics

2013 Intel Corporation

Customizing an Android* OS with Intel Build Tool Suite for Android* v1.1 Process Guide

Intel Galileo Board. Getting Started Guide. 02 October Order Number: US

Introduction to Intel Boot Loader Development Kit (Intel BLDK) Intel SSG/SSD/UEFI

Clear CMOS after Hardware Configuration Changes

Intel Desktop Board D945GCLF2

Intel Cache Acceleration Software (Intel CAS) for Linux* v2.9 (GA)

True Scale Fabric Switches Series

Specification Update. January 2014

INTEL PERCEPTUAL COMPUTING SDK. How To Use the Privacy Notification Tool

Product Change Notification

Krzysztof Laskowski, Intel Pavan K Lanka, Intel

Sample for OpenCL* and DirectX* Video Acceleration Surface Sharing

Intel Desktop Board D945GCLF

Using the Intel VTune Amplifier 2013 on Embedded Platforms

Data Plane Development Kit

Product Change Notification

Product Change Notification

Intel Open Source HD Graphics. Programmer's Reference Manual

Product Change Notification

Product Change Notification

Intel SDK for OpenCL* - Sample for OpenCL* and Intel Media SDK Interoperability

Product Change Notification

Intel Desktop Board DH61SA

MICHAL MROZEK ZBIGNIEW ZDANOWICZ

Atom for Intelligent Systems

Intel Unite Plugin Guide for VDO360 Clearwater

Intel Desktop Board D946GZAB

Intel Desktop Board D945GCCR

Product Change Notification

Intel Desktop Board DG41RQ

Intel Integrator Toolkit

Product Change Notification

Intel Desktop Board D975XBX2

Intel Integrated Native Developer Experience 2015 Build Edition for OS X* Installation Guide and Release Notes

Product Change Notification

Intel Desktop Board D915GUX Specification Update

Intel Desktop Board D915GEV Specification Update

Intel Desktop Board DP67DE

Product Change Notification

Product Change Notification

Product Change Notification

Intel vpro Technology Virtual Seminar 2010

Product Change Notification

Product Change Notification

Intel Stereo 3D SDK Developer s Guide. Alpha Release

Intel Graphics Virtualization Technology. Kevin Tian Graphics Virtualization Architect

IEEE1588 Frequently Asked Questions (FAQs)

How to Configure Intel X520 Ethernet Server Adapter Based Virtual Functions on SuSE*Enterprise Linux Server* using Xen*

Intel Desktop Board DG41CN

Product Change Notification

Intel Desktop Board DH61CR

Intel vpro Technology Virtual Seminar 2010

Intel X48 Express Chipset Memory Controller Hub (MCH)

Intel QuickAssist for Windows*

Evolving Small Cells. Udayan Mukherjee Senior Principal Engineer and Director (Wireless Infrastructure)

Product Change Notification

Product Change Notification

Intel 945(GM/GME)/915(GM/GME)/ 855(GM/GME)/852(GM/GME) Chipsets VGA Port Always Enabled Hardware Workaround

Intel Unite Plugin for Logitech GROUP* and Logitech CONNECT* Devices INSTALLATION AND USER GUIDE

Bring Intelligence to the Edge with Intel Movidius Neural Compute Stick

Intel & Lustre: LUG Micah Bhakti

Intel Desktop Board DG31PR

Intel Desktop Board DP55SB

Product Change Notification

NOVPEK NetLeap User Guide

Intel IoT Gateways: Pulling Data from a Temperature Sensor Using a Python Script

Product Change Notification

Transcription:

Building Intel Atom E3800 Processor Development Kit Yocto Project* Board Support Package (BSP) User Guide June 2014 Document Number: 330693-001US

By using this document, in addition to any agreements you have with Intel, you accept the terms set forth below. 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. INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document 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. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm Intel, Intel Atom, and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others. Copyright 2014, Intel Corporation. All rights reserved. User Guide June 2014 2 Document Number: 330693-001US

Contents 1 Introduction... 5 1.1 Terminology... 5 1.2 Reference Documents... 6 2 Supported Platforms... 7 3 Building the Image for Valley Island... 8 3.1 Prerequisites... 8 3.2 Steps for Building the Image... 8 3.2.1 Step 1: Set Up the Build Environment for the Target BSP... 8 3.2.2 Step 2: Setup the Build Configuration Files bblayers.conf... 9 3.2.3 Step 3: Set Up the Build Configuration Files local.conf... 10 3.2.4 Step 4: Build an Image... 11 3.2.5 Step 5: Prepare the Bootable HDDIMG Image on a USB Mass Storage Device... 12 4 BIOS and Board Configuration... 14 5 Product features... 16 6 Known Issues for LPSS I/O Devices... 17 Figures Figure 1. Modifications to bblayers.conf... 9 Figure 2. Modification to Local Build Configuration File for Machine Type... 10 Tables Table 1. Table 2. Terminology... 5 Reference Documents... 6 Table 3. BIOS and Board Configuration... 14 June 2014 User Guide Document Number: 330693-001US 3

Revision History Date Revision Description June 2014 001 Initial release User Guide June 2014 4 Document Number: 330693-001US

Introduction 1 Introduction This document provides instructions for building the Yocto Project* Reference OS for the Intel Atom E3800 Processor Development Kit (formerly known as Valley Island) and contains the following information: Section 1: Introduction Section 2: Supported Platforms Section 3: Building the Image for Valley Island Yocto Project* Board Support Package (BSP) Section 4: BIOS and Board Configuration Section 5: Product features Section 6: Known Issues for LPSS I/O Devices For more information about Baytrail product info, refer to the EDC webpage at: http://www.intel.com/content/www/us/en/intelligent-systems/bay-trail/atomprocessor-e3800-family-overview.html 1.1 Terminology Table 1. Terminology Term Description ACPI APIC BSP EDC FPGA KSC LPSS PCI PWM RTC SCC SUT Advanced Configuration and Power Interface Advanced Programmable Interrupt Controller Board Support Package Embedded Design Center Field Programmable Gate Array Keyboard System Controller Low Power Sub-System Peripheral Component Interconnect Pulse Width modulation Real Time Clock Storage Connecting Circuit System Under Test June 2014 User Guide Document Number: 330693-001US 5

Introduction 1.2 Reference Documents Table 2. Reference Documents Document Document No./Location Yocto Project* Setup Getting Started Guide 330696 User Guide June 2014 6 Document Number: 330693-001US

Supported Platforms 2 Supported Platforms The Yocto Project* Reference OS for Valley Island supports the following platforms: Bayley Bay Fab C (Green) Bakersport Fab A (Red) Valley Island Development Kit* Note: * Minimal test coverage (Boot test). June 2014 User Guide Document Number: 330693-001US 7

Building the Image for Valley Island 3 Building the Image for Valley Island Yocto Project* Board Support Package (BSP) 3.1 Prerequisites Prior to building the image for Valley Island Yocto Project* Intel BSP, make sure that the environment setup is complete based on the steps in the Yocto Project* Setup Getting Started Guide (Document Number: 330696). 3.2 Steps for Building the Image Now that the Yocto Project* poky repo and meta-intel repo are ready in your build machine, follow the steps in this section closely. Intel recommends that you place your build folder at the same level as the poky directory. This shortens the grep and find command execution time when you explore the Yocto Project* recipe files. 3.2.1 Step 1: Set Up the Build Environment for the Target BSP Enter the following commands: $ cd ~/development/ $ mkdir build $ cd build $ source ~/development/poky/oe-init-build-env <bsp_name> The environment is set up and your shell prompt is moved to ~/development/build/<bsp-name>. Example: $ source ~/development/poky/oe-init-build-env valleyisland User Guide June 2014 8 Document Number: 330693-001US

Building the Image for Valley Island 3.2.2 Step 2: Setup the Build Configuration Files bblayers.conf Now you must link your build environment to the correct recipe folder. To do this, perform the following steps: 1. Modify the ~/development/build/<bsp-name>/conf/bblayers.conf file. $ vim ~/development/build/valleyisland/conf/bblayers.conf 2. Modify the bblayers.conf as shown Figure 1. Figure 1. Modifications to bblayers.conf Note: The path to meta-tlk ensures that the OS image you are building carries the timelimited-kernel feature. This means that the OS image will reboot itself every 10 days. The intention is to encourage customers to build their own production OS. If you do not want this feature, simply remove line-14 (see the following note). Note: /home/ilab/poky-daisy should be replaced with your build machine user s home directory, e.g. /home/<user>/development/poky. June 2014 User Guide Document Number: 330693-001US 9

Building the Image for Valley Island 3.2.3 Step 3: Set Up the Build Configuration Files local.conf Next, configure your local build configuration file (local.conf) so that it matches your target platform machine type. $ vim ~/development/build/valleyisland/conf/local.conf Specify the machine type to match your target platform. You can search for the offered machine type in the following meta-intel BSP directory structure: The machine type configuration file is at the following local within a BSP recipe: metaintel/meta-<bsp>/conf/machine/<machine-type>.conf. For example: meta-intel/meta-isg/meta-valleyisland/machine/ has the following machine type: valleyisland-32.conf valleyisland-64.conf Thus, to set the machine type for your local build configuration file, simply make the following change: Figure 2. Modification to Local Build Configuration File for Machine Type There are two types of MACHINE options for Valley Island BSP. For 32-bit system: valleyisland-32 For 64-bit system: valleyisland-64 User Guide June 2014 10 Document Number: 330693-001US

Building the Image for Valley Island The meta-valleyisland contains support Intel High Definition Audio (Intel HD Audio). However, Intel HD Audio support is not turned on by default. The Intel HD Audio driver is dependent on gstreamer plugins and ffmpeg plugins to work properly. These gstreamer plugins require additional license flag settings to be included in the build. For Intel HD Audio support, add the following line in local.conf. LICENSE_FLAGS_WHITELIST = commercial Warning: By performing this step, you acknowledge that you are including a software package with a commercial license requirement. Yocto Project* does not grant any commercial licenses and it is the responsibility of the user to obtain the proper license. 3.2.4 Step 4: Build an Image There are a few images that you can build with an Intel BSP recipe and poky layers. These image types are located under the poky/meta/recipes-*/images/ folder. Additionally, some BSP recipes may have a specific image type defined under metaintel/meta-<bsp>/images/. The most frequently used image types are the following: core-image-sato = Image contains Sato mobile-style desktop core-image-sato-sdk = core-image-sato + SDK + development tool chain core-image-minimal = basic Linux* kernel with shell terminal only To build your choice of image, do the following: $ cd ~/development/build/valleyisland # Command: bitbake <image-type> $ bitbake core-image-sato OR OR $ bitbake core-image-sato-sdk $ bitbake core-image-minimal The above command initiates the image-build processes; where you see bitbake, the build system spawns multiple threads to fetch, configure, compile, install, and package each software ingredients. June 2014 User Guide Document Number: 330693-001US 11

Building the Image for Valley Island At the end of the build, the bootable image with the file name <image-type>- <machine-type>.hddimg will be located at the following location for Yocto Project* version 1.5 and later: ~/development/build/<bsp-name>/tmp/deploy/images/<machinetype>/<image-type>-<machine-type>.hddimg Example: ~/development/build/crystalforest/tmp/deploy/images/valleyisla nd-32/core-image-sato-valleyisland-32.hddimg 3.2.5 Step 5: Prepare the Bootable HDDIMG Image on a USB Mass Storage Device Note: The following steps are performed on the development machine used to build the Yocto Project* Intel BSP recipe as described in Section 3.2.4. This BSP recipe contains (or builds) live images that must be converted to a partitioned image format to boot them on the supported platforms. To deploy the hddimg image on a USB or SATA device (boot-medium), you must know the device name on your host machine and the device name that is intended on the target platform. Warning: Be careful with this step as using the wrong host device path can result in overwriting data on your host machine. In Linux* distros, USB and SATA devices typically appear as /dev/sdb, /dev/sdc, etc. Watch your system messages as you connect the device to determine exactly which device name is assigned to the device. You can also use df to detect which is the device that is associated with the USB or SATA boot-medium. On the Valley Island platform, when the prepared boot-medium is attached, assuming only one storage device, typically your USB or SATA boot medium is /dev/sda. User Guide June 2014 12 Document Number: 330693-001US

Building the Image for Valley Island There is a script under poky/scripts/contrib that can help install the HDDIMG into the USB stick. 1. Enter the following command lines: # Identify the device file for your USB thumb drive. $ df # To write the bootable image to USB thumb drive, we assume it is at /dev/sdc. # Unmount the the USB thumb drive first. $ umount /dev/sdc # Go to the scripts directory in poky. $ cd ~/development/poky/scripts/contrib/ # Command:./mkefidisk.sh <USB> <path/to/image> <target/rootfs> Example: $ sudo./mkefidisk.sh /dev/sdc core-image-sato-valleyisland- 32.hddimg /dev/sda 2. Finally, insert the USB thumb drive in your target platform USB slot and boot up the system. The BIOS or boot-loader should boot the image to the Sato desktop. Note: If your BIOS indicates that it cannot understand the bootable USB, it may mean that your USB thumb drive is corrupt. In this case, you must reformat the USB thumb drive as follow and redo the commands in this section: # This assumes the USB thumb drive is at /dev/sdc $ sudo dd if=/dev/zero of=/dev/sdc bs=1m count=512 June 2014 User Guide Document Number: 330693-001US 13

BIOS and Board Configuration 4 BIOS and Board Configuration Table 3. BIOS and Board Configuration BIOS/FPGA/KSC Configuration Bayley Bay Fab C Bakersport Fab A PU Stepping BIOS version KSC Version General Settings LPSS and SCC configuration Intel HD Audio Configuration USB Configuration SATA Configuration Turn off Secure Boot B0 BYTICRB_IA32_R_SPI_0080_21_SeC_Enable.bin BYTICRB_X64_R_SPI_0080_21_SeC_Enable.bin ksc_v3_12.bin Device Manager > System Setup > Boot > Security Boot > Disable **IMPORTANT** The LPSS & SCC mode is PCI Mode by default in the BIOS setting. To enable PCI/ACPI mode: Device Manager > System Setup > South Cluster Configuration > LPSS & SCC Configuration > LPSS & SCC Devices Mode (select ACPI Mode or PCI Mode) The emmc controller v4.5 is enabled by default. To switch to emmc controller v4.41: Device Manager > System Setup > South Cluster Configuration > LPSS & SCC Configuration > SCC emmc Boot Controller > emmc4.41 Set Device Manager > System Setup > South Cluster Configuration > Audio Configuration > LPE Audio Support>Disable Set Device Manager > System Setup > South Cluster Configuration > Audio Configuration > Audio Controller >Enable To enable XHCI controller: Device Manager > System Setup > South Cluster Configuration > USB Configuration > EHCI Controller > Disable Device Manager > System Setup > South Cluster Configuration > USB Configuration > XHCI Controller > Enable Device Manager > System Setup > South Cluster Configuration > USB Configuration > XHCI Mode > Enable To enable USB Device (Bakersport ONLY): Device Manager > System Setup > South Cluster Configuration > USB Configuration >USB OTG Support > PCI Mode Device Manager > System Setup > South Cluster Configuration > USB Configuration >USB VBUS > OFF To enable AHCI mode: Device Manager > System Setup > South Cluster Configuration > SATA Drives > Chipset SATA Mode > AHCI User Guide June 2014 14 Document Number: 330693-001US

BIOS and Board Configuration LPSS I/O Device Note: The I2C controller driver supports fast mode by default. To enable standard mode, append the arguments to the kernel command line. When the image is booted into a GRUB menu, press e to enable kernel command-line editing. Append the line at the end of linux/vmlinuz. "i2c-designware-pci.force_std_mode=1" (PCI mode) "i2c-designware-platform.force_std_mode=1" (ACPI mode) June 2014 User Guide Document Number: 330693-001US 15

Product features 5 Product features This implementation supports the following features: Linux* Kernel version 3.10.40 Intel s Open Source Integrated Graphics Driver for Linux* (i915) SATA (IDE, AHCI), USB Host Controller 2.0 and 3.0 USB device mode (Bakersport ONLY) emmc and SD Host Controller Intel HD Audio, GbE (Ethernet), APIC, RTC LPSS I/O devices - I2C Designware, SPI-PXA2XX, HSUART, SMBus i801, PWM (ACPI mode only) LPSS device enumeration in PCI mode and ACPI mode User Guide June 2014 16 Document Number: 330693-001US

Known Issues for LPSS I/O Devices 6 Known Issues for LPSS I/O Devices Issue: HSUART When running PCI mode HSUART at baud rate 2M and above, you may receive a kernel message "serial8250: too much work for irq...". Generally, it will not disrupt the transfer and the data transfer will complete without data corruption. However, occasionally data transfer may halt when this kernel message appears. In this case: 1. Reopen the HSUART port. To do this, stop the current data transfer and close the terminal. 2. Then, open a new terminal and execute the data transfer again. Issue: SD Cards that supports DDR50 mode Due to the limitations in BIOS, not all SD cards that support DDR50 mode are supported by this BSP. June 2014 User Guide Document Number: 330693-001US 17

Known Issues for LPSS I/O Devices User Guide June 2014 18 Document Number: 330693-001US