Create a Custom Embedded Linux Distribu3on for Any Embedded Device Using the Yocto Project
|
|
- Ophelia Fleming
- 8 years ago
- Views:
Transcription
1 Yocto Project Developer Day 2014 Intro to Yocto Project It's not an embedded Linux distribu2on It creates a custom one for you Create a Custom Embedded Linux Distribu3on for Any Embedded Device Using the Yocto Project Chris Hallinan Mentor Graphics October 16,
2 Agenda!! Introduc3on to the Yocto Project! Key Concepts " Build System Overview & Workflow " Exercise 1: Exploring the Host System! Recipes In- Depth " Standard Recipe Build Steps " Exercise 2: Examining Recipes! Building and Boo3ng an Image " Exercise 3: Building Your First Linux Image " Exercise 4: BooNng Your Linux Image Using QEMU! Layers and BSPs " Exercise 5: CreaNng a Custom Layer " Exercise 6-7: Adding a graphical boot logo and SSH server " Exercise 8-9: BooNng an embedded hardware board 2
3 Yocto Project Overview!! Collec3on of tools and methods enabling " Rapid evaluanon of embedded Linux on many popular off- the- shelf boards " Easy customizanon of distribunon characterisncs! Supports x86, ARM, MIPS, Power! Based on technology from OpenEmbedded other layers Project meta- yocto! Layer architecture allows for easy re- use of code meta- yocto- bsp oe- core (meta) 3
4 Yocto Project Overview!! Supports use of popular package formats including: " rpm, deb, ipk! Releases on a 6- month cadence! Latest (stable) kernel, toolchain and packages, documenta3on! App Development Tools including Eclipse plugin, ADT, hob 4
5 Yocto Project Overview!! Governance " Organized under the Linux FoundaNon " Split governance model " Technical Leadership Team " Advisory Board made up of parncipanng organizanons 5
6 Yocto Project Release Versions!! Major Version Releases Name Revision Poky Release Date Bernard Apr 5, 2011 Edison Oct 17, 2011 Denzil Apr 30, 2012 Danny Oct 24, 2012 Dylan Apr 26, 2013 Dora Oct 19, 2013 Daisy Apr 24, 2014 (unnamed) Oct 31, 2014 (planned) 6
7 Intro to OpenEmbedded!! Bitbake " Powerful and flexible build engine " Determines dependencies and schedules tasks Metadata a structured collecnon of "recipes" which tell BitBake what to build 7
8 Yocto is based on openembedded-core! Metadata describing approximately 900 popular "core" recipes used for building boot images. Includes support for graphics, Qt, networking, kernel recipes, tools, much more. 8
9 OK, so what is Poky?!! Poky is both a reference distribu3on and a build system! Poky has its own git repo " git clone git://git.yoctoproject.org/poky! Primary poky layers " oe- core (poky/meta) " meta- yocto- bsp " meta- yocto! Poky is the basis of YP Other layers meta- yocto meta- yocto- bsp oe- core (meta) 9
10 What is Metadata? Metadata exists in four general categories: Recipes (*.bb) Usually describe build instrucnons for a single package PackageGroups (special *.bb) Oeen used to group packages together for a FS image Classes (*.bbclass) Inheritance mechanism for common funcnonality Configura3on(*.conf) Drives the overall behavior of the build process 10
11 OE-CORE Breakdown" *.bb: 892 *.conf 73 *.bbclass 161 packagegroup* 40 11
12 Recipe Basics Most common form of metadata The Recipe Provides the list of ingredients and cooking instruc3ons to build a package(s) Has a common set of tasks busybox Metadata glibc sysvinit BitBake inetutils mtdutils 12
13 Recipe Basics!! A recipe is a set of instruc3ons for building packages, including: " Where to obtain the upstream sources and which patches to apply o SRC_URI! " Dependencies (on libraries or other recipes) o DEPENDS, RDEPENDS! " ConfiguraNon/compilaNon opnons o EXTRA_OECONF, EXTRA_OEMAKE! " Define which files go into what output packages o FILES_*! 13
14 Example Recipe ethtool_3.15.bb" 14
15 Example Recipe ethtool_3.15.bb" 15
16 Example Recipe ethtool_3.15.bb" 16
17 Example Recipe ethtool_3.15.bb" 17
18 Recipe Basics Default Tasks* do_setscene! do_fetch! do_unpack! do_patch! do_configure! do_compile! do_install! do_package! If a cache object exists and is valid, use it Locate and download source code Unpack source into working directory Apply any patches Perform any necessary pre- build configura3on Compile the source code Installa3on of resul3ng build ar3facts Create binary package(s) Note: to see the list of all possible tasks for a recipe, do this: $ bitbake -c listtasks <recipe_name>! 18 *Simplified for illustration
19 Quick Start Guide in a Slide!! Download Yocto Project sources: " $ wget yocto-1.6.1/poky-daisy tar.bz2! " $ tar xf poky-daisy tar.bz2! " $ cd poky-daisy ! " Can also use git and checkout a known branch i.e. Daisy o $ git clone git://git.yoctoproject.org/poky.git! o $ git checkout -b daisy!! Build one of the reference Linux distribu3ons: " $ source oe- init- build- env " Check/Edit local.conf for sanity o Modify MACHINE=qemux86! " $ bitbake core-image-base!! Run the image under emula3on: " $ runqemu qemux86 19
20 Lab 1: Exploring the Host System!! Objec3ves " Familiarize yourself with how the YP metadata sources are organized " Learn where you can find conf files, BitBake class files, and recipe files Log into your lab cloud-based host:! Instructor will supply URL/credentials! 20
21 Host System Layout! /scratch! ---sandbox! Storage for your software and mods! ---working!! Project build directory! ---yocto! Yocto sources and caches. Do Not Modify! Note: This is your instructor's preferred setup others may have their own favorite working layout 21
22 Host System Layout! /scratch/yocto! ---binary-images! Pre-built binary boot images for convenience! ---downloads (DL_DIR)!! Source cache (downloaded for each recipe)! ---sources! Yocto source code. Do Not Modifiy! ---sstate-cache (SSTATE_DIR)!! Common binary cache! Note: This is your instructor's preferred setup others may have their own favorite working layout 22
23 Host System Layout!!/scratch/yocto/sources! " ---meta-fsl-arm! " ---meta-fsl-arm-extra! " ---meta-fsl-demos! " ---meta-intel! " ---poky! Note: This is your instructor's preferred setup others may have their own favorite working layout 23
24 Poky Layout!! /scratch/yocto/sources/poky! " ---bitbake!!!!(the BitBake applica3on)! " ---documentation! " ---meta!!!!! (OE- CORE) " ---meta-yocto!!! (Yocto distro policy) " ---meta-yocto-bsp! (Yocto reference BSPs)! " ---oe-init-build-env (project setup u3lity)! " ---README! " ---README.hardware! " ---scripts!!!! (Various helper scripts)! Note: some items omiked for simplicity 24
25 Exercise 2: Examining Recipes!! meta/recipes- extended/bc/bc_1.06.bb " Uses LIC_FILES_CHKSUM and SRC_URI checksums " Note the DEPENDS build dependency declaranon indicanng that this package depends on flex to build 25
26 Exercise 2: Examining Recipes!! meta/recipes- mul3media/flac/flac_1.3.0.bb " Includes custom source patches to apply to the sources " Customizes autoconf configure opnons (EXTRA_OECONF) based on TUNE features " Breaks up output into mulnple binary packages 26
27 Exercise 2: Examining Recipes!! meta/recipes- connec3vity/ofono/ " Splits recipe into common.inc file to share metadata between mulnple recipes " Sets a condinonal build DEPENDS based on a distro feature (in the.inc file) " Sets up an init service via do_install_append()! " Has a _git version of the recipe 27
28 EXERCISE 3 Building a Linux Image 28
29 What board are you building?!! You must follow the correct procedure based on the board you are using! This Lab supports " Beaglebone Black " Minnowboard Max " WandBoard " QEMU x86! Make sure you follow the correct set of steps for your board 29
30 Beaglebone Black Build - Overview!! Checkout sources " Daisy branch! Create project directory " Edit local.conf o MACHINE = "beagleboard" o Change DL_DIR and SSTATE_DIR! Bitbake image " Bitbake core- image- base! Format SD card (details in Ex. 4) " 2 parnnons, boot (FAT 32 LBA 'c') and root (ext3) " Copy MLO, u- boot to 'boot'boot " Copy roops to 'root' 30
31 Beaglebone Black Build - Detailed!! Sources are already downloaded for you! Create project directory, edit local.conf and bblayers.conf $ cd /scratch/working! $. /scratch/yocto/sources/poky/oe-initbuild-env build-beaglebone! $ vi conf/local.conf! o Modify MACHINE = "beaglebone"! o Modify DL_DIR = "/scratch/yocto/downloads"! o Modify SSTATE_DIR = "/scratch/yocto/sstate-cache"! " Nothing to change in bblayers.conf, beaglebone is supported in meta- yocto- bsp! Bitbake your system image recipe $ bitbake core-image-base! 31
32 WandBoard Build - Overview!! Checkout sources " Daisy branch! Create project directory " Edit local.conf, bblayers.conf o MACHINE = "wandboard- quad" in local.conf o Modify DL_DIR and SSTATE_DIR o ACCEPT_FSL_EULA = "1"! Bitbake image " core- image- base! Copy sdcard image and boot (details in Ex. 4) " Use SD slot on cpu module on bokom of board 32
33 WandBoard Build - Detailed!! Sources are already downloaded for you! Create project directory, edit local.conf and bblayers.conf $ cd /scratch/working! $. /scratch/yocto/sources/poky/oe-init-build-env build-wbquad! $ vi conf/local.conf! o Modify MACHINE = "wandboard-quad"! o Modify DL_DIR = "/scratch/yocto/downloads"! o Modify SSTATE_DIR = "/scratch/yocto/sstate-cache"! o ACCEPT_FSL_EULA = "1" (bokom of file is good locanon for this) $ vi conf/bblayers.conf! o Add layers to BBLAYERS BBLAYERS?= " \! /scratch/yocto/sources/meta-fsl-arm \! /scratch/yocto/sources/meta-fsl-arm-extra \! /scratch/yocto/sources/meta-fsl-demos \!!! Bitbake your system image recipe $ bitbake core-image-base! 33
34 Minnowboard Max Build - Overview!! Checkout sources " Daisy branch! Create project directory " Edit local.conf o Change DL_DIR and SSTATE_DIR! Bitbake image " Bitbake core- image- base! Format SD card (details in Ex. 4) " 2 parnnons, boot (FAT 32 LBA 'c') and root (ext3) " Copy MLO, u- boot.img to boot parnnon " Copy roops to root parnnon 34
35 Minnowboard Max Build - Detailed!! Sources are already downloaded for you! Create project directory, edit local.conf and bblayers.conf $ cd /scratch/working! $. /scratch/yocto/sources/poky/oe-init-build-env build-minnowmx! $ vi conf/local.conf! o Modify MACHINE = "intel-corei7-64"! o Modify DL_DIR = "/scratch/yocto/downloads"! o Modify SSTATE_DIR = "/scratch/yocto/sstate-cache"! $ vi conf/bblayers.conf! o Add layers to BBLAYERS BBLAYERS?= " \! /scratch/yocto/sources/meta-intel \!!! Bitbake your system image recipe $ bitbake core-image-base! 35
36 QEMUx86 Build - Overview!! Checkout sources " Daisy branch! Create project directory " Edit local.conf, bblayers.conf o MACHINE = "qemux86" in local.conf (Note: this is the default) o Modify DL_DIR and SSTATE_DIR! Bitbake image " core- image- minimal! Boot using Yocto's helper script "runqemu" " Use -nographic if using SSH to your host 36
37 QEMUx86 Build - Detailed!! Sources are already downloaded for you! Create project directory, edit local.conf and bblayers.conf! $ cd /scratch/working! $. /scratch/yocto/sources/poky/oe-init-build-env build-qemux86! $ vi conf/local.conf! o Modify DL_DIR = "/scratch/yocto/downloads"! o Modify SSTATE_DIR = "/scratch/yocto/sstate-cache"! " Bblayers.conf: OK with the defaults, no addinonal layers necessary! Build your image using BitBake!$ bitbake core-image-minimal! 37
38 EXERCISE 4 Boo3ng your board 38
39 What board are you booting?!! You must follow the correct procedure based on the board you are using! This Lab supports " Beaglebone Black " Minnowboard Max " WandBoard " QEMU x86! Make sure you follow the correct set of steps for your board 39
40 Beaglebone Black Boot - Detailed!! Format blank SD Card for Beaglebone Black $ export DISK=/dev/sdc $ umount ${DISK}1 <<<Note the addition of the '1' $ sudo dd if=/dev/zero of=${disk} bs=512 count=20 $ sudo sfdisk --in-order --Linux --unit M ${DISK} <<- EOF 1,12,0xE,*,,,- EOF $ sudo mkfs.vfat -F 16 ${DISK}1 -n boot $ sudo mkfs.ext4 ${DISK}2 -L rootfs! Now unplug and replug your SD Card for automount $ cd <path-to-your-binary-images> $ sudo cp -v MLO-beaglebone /media/boot/mlo $ sudo cp -v u-boot.img /media/boot/ $ sudo tar xf core-image-base-beaglebone.tar.bz2 -C /media/rootfs $ sync (flush to device, not neccesary, but illustrative) $ umount /media/rootfs /media/boot 40
41 Beaglebone Black Boot - Detailed!! Copy sdcard image and boot " Use SD slot on cpu module on bokom of board! For convenience, we will only replace the root file system! On your laptop Linux, insert your microsd: " $ scp - P <port> ilab01@devdayn:/scratch/working/build- beaglebone/tmp/deploy/images/beaglebone/core- image- base- beagleboard.tar.bz2. " $ sudo rm - rf /media/roops/* " $ sudo tar xf core- image- base- beaglebone.tar.bz2 - C /media/roops " $ umount /media/roops 41
42 Minnowboard Max Boot Detailed (1)!! Note: Due to the size of the HDD Image, we offer two op3ons for upda3ng the image on your board. Chose only one of the following: " Copy the ennre image (.hddimg) to the microsd or USB flash drive, creanng a brand new image " Update only the roops image (much smaller download from cloud) 42
43 Minnowboard Max Boot Detailed (2)!! To build a brand new microsd or USB Flash drive image: " Download the.hddimg from your cloud- based host: o $ scp -P <port> ilab01@devdayn.yoctoproject.org:/ scratch/working/build-minnowmx/tmp/deploy/images/ intel-corei7-64/core-image-base-intelcorei7-64.hddimg. " On your laptop Linux, insert your microsd or USB flash drive: $ umount /media/boot!!$ dd if=core-image-base-intel-corei7-64.hddimg of=/ dev/sd(n) <<<replace with proper dev 43
44 Minnowboard Max Boot Detailed (3)!! To replace only the root file system image, do the following:! On your laptop Linux, insert your usb flash drive or microsd: $ scp -P <port> ilab01@devdayn.yoctoproject.org:/ scratch/working/build-minnowmx/tmp/deploy/images/intelcorei7-64/core-image-base-intel-corei7-64.ext3.! $ cp core-image-base-intelcorei7-64.ext3 /media/boot/rootfs.img! $ umount /media/boot! 44
45 Minnowboard Max Boot Detailed (4)!! Boo3ng the board " Insert the new MicroSD card Shell> connect -r! Shell> map -r! Shell> fs0:! Shell> bootx64!! That should get you to a Linux login prompt 45
46 WandBoard Boot - Detailed!! Prepare new SD Card for Wandboard " Insert SD card in Card Reader $ sudo dd if=core-image-basewandboard-quad.sdcard of=/dev/sdc Obviously, you'll need to verify your SD card device node 46
47 WandBoard Boot - Detailed!! For convenience, we will only replace the root file system on a pre- populated SD Card! On your laptop Linux, insert your microsd! It should auto- mount. If it doesn't this won't work $ scp -P <port> ilab01@devdayn.yoctoproject.org:/ scratch/working/build-wbquad/tmp/deploy/images/ wandboard-quad/core-image-base-wandboardquad.tar.bz2. $ sudo rm -rf /media/rootfs/* $ sudo tar xf core-image-base.tar.bz2 -C /media/ rootfs $ umount /media/rootfs 47
48 A Detailed Look at Layers!! Introduc3on to Layers! Stacking Customiza3ons! Adding Layers! Board Support Packages Patch Layers Developer Layers Commercial Layers UI layers meta- yocto meta- yocto- bsp oe- core (poky/meta) 48
49 Layers!! The Yocto Project build system is composed of layers " A layer is a logical collecnon of recipes represennng the core, a BSP, an applicanon stack, patches, or other funcnonality.! All layers have a priority and can override policy and config semngs of the layers of lower priority 49
50 Layer Hierarchy" Patch Layers Developer Layers Commercial Layers UI layers meta- yocto meta- yocto- bsp oe- core (poky/meta) 50
51 Using Layers!! Layers are added to your build by inser3ng them into the global BBLAYERS variable within your /conf/bblayers.conf file: BBLAYERS =!!!!! \! /<install-path>/poky/meta!!! \! /<install-path>/poky/meta-yocto! \! /<my-meta-dir>/meta-my-custom-layer \!! 51
52 Board Support Packages!! BSPs are layers to enable support for specific hardware planorms! Defines machine configura3on for the board! Adds machine- specific recipes and customiza3ons " Kernel config " Graphics drivers (e.g, Xorg) " AddiNonal recipes to support hardware features 52
53 Exercise 5: Create a Custom Layer!! When doing development with Yocto, never edit files within the Yocto/Poky source tree " Use a custom layer for modularity and maintainability! Create custom layers to hold a custom image recipe! Let's call this layer meta- ypdd! This layer must include: " Meta-ypdd/conf/layer.conf " Recipes directory (meta-ypdd/recipes-core/) " A meta- ypdd/readme file (basic documentanon for the layer, including maintainer info) 53
54 Exercise 5: Create a Custom Layer!! Yocto includes a helper script to create a new layer! It can also supply an example recipe or bbappends file " $ yocto-layer <new-layer>!! For this exercise, a layer is already provided " /scratch/sandbox/meta-ypdd! 54
55 meta-ypdd/conf/layer.conf! Must match layer name in three places 55
56 Exercise 5: Custom Layer!! Add this new layer to your project's bblayer.conf file " Note that this layer is already provided on your VM $ vi /conf/bblayers.conf! $ BBLAYERS?= " \!!!! /scratch/sandbox/meta-ypdd \!! Rebuild core- image- minimal: $ bitbake core-image-minimal! " NoNce the new login banner line!! 56
57 Exercise 6: Creating a Custom Image Recipe!! Derive from core- image- minimal " Add support for a graphical boot logo (via psplash) " Add support for SSH server (dropbear)! Use the layer we created in Exercise 5: meta- ypdd! We'll name our custom image ypdd-image! " The recipe will be named: meta-ypdd/recipes-core/images/ypdd-image.bb!! Simplest way to add packages to a predefined image " Append them to IMAGE_INSTALL within the image recipe 57
58 Exercise 6: Creating a Custom Image Recipe" 58
59 Exercise 7: Build and Boot Your Custom Image!! We added the new layer in Exercise 5 " /scratch/sandbox/meta-ypdd!! Now build your custom image: " $ bitbake ypdd-image! Boot the image using instruc3ons specific to your target board " Replace the roops contents on the SD/USB! If using QEMU target, simply do this: " $ runqemu qemux86 -nographic tmp/ deploy/images/ypdd-imageqemux86.ext3! 59
60 Common Gotchas When Getting Started!! Do not try to re- use the same shell environment when moving between copies of the build system! oe-init-build-env script appends to your $PATH, so repeated use in same shell is not recommended and may lead to unpredictable results! Do not try to share sstate- cache between hosts running different Linux distros even if they say it works ;) 60
61 Project Resources!! The Yocto Project is an open source project, and aims to deliver an open standard for the embedded Linux community and industry! Development is done in the open through public mailing lists: " openembedded- " " And public code repositories: " hkp://git.yoctoproject.org and " hkp://git.openembedded.net! Bug reports and feature requests " hkp://bugzilla.yoctoproject.org 61
62 Tip: ack-grep!! Much faster than grep for the relevant use cases! Designed for code search! Searches only relevant files " Knows about many types: C, asm, perl " By default, skips.git,.svn, etc. " Can be taught arbitrary types! Perfect for searching metadata " $ bback 62
63 Tip: ack-grep" alias bback='ack-grep --type bitbake'! 63
64 TIP: VIM Syntax Highlighting!! hrps://github.com/openembedded/bitbake/tree/master/contrib/vim " Install files from the above repo in ~/.vim/ " Add "syntax on" in ~/.vimrc $ tree ~/.vim/! /home/ilab01/.vim/! ftdetect! bitbake.vim! ftplugin! bitbake.vim! plugin! newbb.vim! syntax! bitbake.vim!! You do use VI, right? ;- ) 64
65 TIP: VIM Syntax Highlighting" 65
66 It s not an embedded Linux distribu2on It creates a custom one for you 66
Create a Custom Embedded Linux Distribu3on for Any Embedded Device Using the Yocto Project
Yocto Project Developer Day 2015 Intro to Yocto Project It's not an embedded Linux distribu2on It creates a custom one for you Create a Custom Embedded Linux Distribu3on for Any Embedded Device Using the
More informationDeveloping Embedded Linux Devices Using the Yocto Project
It s not an embedded Linux distribution It creates a custom one for you. Developing Embedded Linux Devices Using the Yocto Project David Stewart Intel Corporation October, 2011 Agenda What is the Yocto
More informationDeveloping Embedded Linux Devices Using the Yocto Project
It s not an embedded Linux distribu2on It creates a custom one for you. Developing Embedded Linux Devices Using the Yocto Project Mark Hatle mark.hatle@windriver.com Wind River Systems September, 2012
More informationYocto Project Eclipse plug-in and Developer Tools Hands-on Lab
Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab Yocto Project Developer Day San Francisco, 2013 Jessica Zhang Introduction Welcome to the Yocto Project Eclipse plug-in
More informationCreating a Custom Embedded Linux* OS for Any Embedded Device using the Yocto Project*
It s not an embedded Linux distribution It creates a custom one for you. Creating a Custom Embedded Linux* OS for Any Embedded Device using the Yocto Project* victor.h.rosales@intel.com Meet the Yocto
More informationAdvanced Customizations
Advanced Customizations Khem Raj Embedded Linux Conference 2013 Yocto Project Developer Day San Francisco 19 FEB 2013 Starting Point Poky The Reference Distro Poky Policies in meta-yocto/conf/distro poky.conf
More informationOpenEmbedded for medical devices
OpenEmbedded for medical devices Silvio Laurenti Stefano Cotta Ramusino 2013.07.08 Norms for medical devices Medical Devices Directive 93/42/EEC any
More informationYocto Project ADT, Eclipse plug-in and Developer Tools
Yocto Project ADT, Eclipse plug-in and Developer Tools Jessica Zhang LinuxCon - Japan Tokyo 2013 Agenda The Application Development Toolkit Usage Flow And Roles Yocto Project Eclipse Plug-in Interacts
More informationBuilding Embedded Systems
All Rights Reserved. The contents of this document cannot be reproduced without prior permission of the authors. Building Embedded Systems Chapter 2: Building Operating Systems Andreas Knirsch andreas.knirsch@h-da.de
More informationIOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center
IOTIVITY AND EMBEDDED LINUX SUPPORT Kishen Maloor Intel Open Source Technology Center Outline Brief introduction to IoTivity Software development challenges in embedded Yocto Project and how it addresses
More informationDeveloping applications on Yocto. Lianhao Lu Intel Corporation Feb. 29th, 2012
Developing applications on Yocto Lianhao Lu Intel Corporation Feb. 29th, 2012 Agenda Embedded Linux Development The Yocto Project Offerings For Embedded Linux Development The Yocto Project Eclipse Plug-in
More informationSoftware Tools Bootcamp
Software Tools Bootcamp RISC-V ISA Tutorial HPCA-21 08 February 2015 Albert Ou UC Berkeley aou@eecs.berkeley.edu 2 Preliminaries To follow along, download these slides at http://riscv.org/tutorial-hpca2015.html
More informationThe Yocto Project Eclipse plug-in: An Effective IDE Environment for Embedded Application and System Developers
It s not an embedded Linux distribution It creates a custom one for you. The Yocto Project Eclipse plug-in: An Effective IDE Environment for Embedded Application and System Developers Jessica Zhang Intel
More informationMontaVista Linux 6. Streamlining the Embedded Linux Development Process
MontaVista Linux 6 WHITE PAPER Streamlining the Embedded Linux Development Process Using MontaVista Linux 6 to get the most out of open source software and improve development efficiencies ABSTRACT: The
More informationTechnical Note TN_146. Creating Android Images for Application Development
TN_146 Creating Android Images for Application Development Issue Date: 2013-01-28 This document shows how to build and install the Android Operating System on the BeagleBoard xm Use of FTDI devices in
More informationEmbedded Linux development training 4 days session
Embedded Linux development training 4 days session Title Overview Duration Trainer Language Audience Prerequisites Embedded Linux development training Understanding the Linux kernel Building the Linux
More informationUsing Toaster in a Production Environment
Using Toaster in a Production Environment Alexandru Damian, David Reyna, Belén Barros Pena Yocto Project Developer Day ELCE 17 Oct 2014 Introduction Agenda: What is Toaster Toaster out of the box Toaster
More informationBuildroot for Vortex86EX (2016/04/20)
Buildroot for Vortex86EX (2016/04/20) Table of Contents Introduction...1 Prepare...1 Install Virtual Machine (optional)...1 Install Buildroot...3 Config Buildroot for VEX-SOM (optional)...4 Generate Linux
More informationEmbedded Linux development with Buildroot training 3-day session
Embedded Linux development with training 3-day session Title Overview Duration Trainer Language Audience Embedded Linux development with training Introduction to Managing and building the configuration
More informationLinux Foundation Automotive Summit - Yokohama, Japan
It s not an embedded Linux distribution It creates a custom one for you. The Yocto Project Linux Foundation Automotive Summit - Yokohama, Japan Tracey M. Erway The Yocto Project Advocacy and Communications
More informationFive standard procedures for building the android system. Figure1. Procedures for building android embedded systems
Standard Operating Procedures for Android Embedded Systems Anupama M. Kulkarni, Shang-Yang Chang, Ying-Dar Lin National Chiao Tung University, Hsinchu, Taiwan November 2012 Android is considered to be
More informationBackup of ESXi Virtual Machines using Affa
Backup of ESXi Virtual Machines using Affa From SME Server Skill level: Advanced The instructions on this page may require deviations from procedure, a good understanding of linux and SME is recommended.
More informationWindows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.
Windows Template Creation Guide How to build your own Windows VM templates for deployment in Cloudturk. TABLE OF CONTENTS 1. Preparing the Server... 2 2. Installing Windows... 3 3. Creating a Template...
More informationWIND RIVER LINUX 6 TABLE OF CONTENTS INNOVATORS START HERE.
WIND RIVER LINUX 6 Commercial embedded Linux continues to gain traction across the board as industries such as aerospace and defense, industrial, networking, and automotive see how open source encourages
More informationIntel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet
Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Prerequisites and objectives
More informationEmbedded Linux Platform Developer
Embedded Linux Platform Developer Course description Advanced training program on Embedded Linux platform development with comprehensive coverage on target board bring up, Embedded Linux porting, Linux
More informationARMSDK-VM Virtual Appliance A preconfigured Linux system
ARMSDK-VM Virtual Appliance A preconfigured Linux system Ka-Ro electronics GmbH - Pascalstr. 22, D-52076 Aachen, Germany - Tel.: +49 2408 1402-0 (FAX -10) www.karo-electronics.de Disclaimer The information
More informationAutomated Flashing and Testing for Continuous Integration
Automated Flashing and Testing for Continuous Integration Igor Stoppa Embedded Linux Conference North America 2015 1 Automated Flasher Tester AFT Tool for deploying and verifying a SW image on an appropriate
More informationIntroduction to Git. Markus Kötter koetter@rrzn.uni-hannover.de. Notes. Leinelab Workshop July 28, 2015
Introduction to Git Markus Kötter koetter@rrzn.uni-hannover.de Leinelab Workshop July 28, 2015 Motivation - Why use version control? Versions in file names: does this look familiar? $ ls file file.2 file.
More informationChapter 1 Hardware and Software Introductions of pcduino
Chapter 1 Hardware and Software Introductions of pcduino pcduino is a high performance, cost effective mini PC platform that runs PC like OS such as Ubuntu Linux. It outputs its screen to HDMI enabled
More informationEXPLORING LINUX KERNEL: THE EASY WAY!
EXPLORING LINUX KERNEL: THE EASY WAY! By: Ahmed Bilal Numan 1 PROBLEM Explore linux kernel TCP/IP stack Solution Try to understand relative kernel code Available text Run kernel in virtualized environment
More informationRaspberry Pi Kernel-o-Matic
Raspberry Pi Kernel-o-Matic Created by Todd Treece Last updated on 2015-05-08 08:00:14 AM EDT Guide Contents Guide Contents Overview Installing Dependencies Starting the VM Build the Kernel Custom PiTFT
More informationSystem administration basics
Embedded Linux Training System administration basics Michael Opdenacker Thomas Petazzoni Free Electrons Copyright 2009, Free Electrons. Creative Commons BY SA 3.0 license Latest update: Dec 20, 2010, Document
More informationBeagleBone Black: Installing Operating Systems
BeagleBone Black: Installing Operating Systems Created by Justin Cooper Last updated on 2015-01-16 11:00:15 AM EST Guide Contents Guide Contents Overview Choosing an Operating System Angstrom Download
More informationAndreas Burghart 6 October 2014 v1.0
Yocto Qt Application Development Andreas Burghart 6 October 2014 Contents 1.0 Introduction... 3 1.1 Qt for Embedded Linux... 3 1.2 Outline... 4 1.3 Assumptions... 5 1.4 Corrections... 5 1.5 Version...
More informationHW (Fat001) TPM. Figure 1. Computing Node
1. Overview Two major components exist in our current prototype systems: the management node, including the Cloud Controller, Cluster Controller, Walrus and EBS, and the computing node, i.e. the Node Controller
More informationThe embedded Linux quick start guide lab notes
The embedded Linux quick start guide lab notes Embedded Linux Conference Europe 2010 Date: Tuesday 26th October Location: DeVere University of Arms Hotel, Cambridge Room: Churchill Suite Presenter: Chris
More informationHow to Run the MQX RTOS on Various RAM Memories for i.mx 6SoloX
Freescale Semiconductor, Inc. Document Number: AN5127 Application Note Rev. 1, 05/2015 How to Run the MQX RTOS on Various RAM Memories for i.mx 6SoloX 1 Introduction This document describes how to customize
More informationBuildroot Workshop. Libre Software Meeting 2012. Thomas Petazzoni Free Electrons thomas.petazzoni@free-electrons.com
Libre Software Meeting 2012 Buildroot Workshop Thomas Petazzoni Free Electrons thomas.petazzoni@free-electrons.com Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and
More informationIntel IoT Gateway Software Development Kit SK100
Intel IoT Gateway Software Development Kit SK100 Order No.: 331568-001 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
More informationALERT installation setup
ALERT installation setup In order to automate the installation process of the ALERT system, the ALERT installation setup is developed. It represents the main starting point in installing the ALERT system.
More informationCactoScale Guide User Guide. Athanasios Tsitsipas (UULM), Papazachos Zafeirios (QUB), Sakil Barbhuiya (QUB)
CactoScale Guide User Guide Athanasios Tsitsipas (UULM), Papazachos Zafeirios (QUB), Sakil Barbhuiya (QUB) Version History Version Date Change Author 0.1 12/10/2014 Initial version Athanasios Tsitsipas(UULM)
More informationPetaLinux SDK User Guide. Application Development Guide
PetaLinux SDK User Guide Application Development Guide Notice of Disclaimer The information disclosed to you hereunder (the "Materials") is provided solely for the selection and use of Xilinx products.
More informationSUSE LINUX Enterprise Server for SGI Altix Systems
SUSE LINUX Enterprise Server for SGI Altix Systems 007 4651 002 COPYRIGHT 2004, Silicon Graphics, Inc. All rights reserved; provided portions may be copyright in third parties, as indicated elsewhere herein.
More informationML310 Creating a VxWorks BSP and System Image for the Base XPS Design
ML310 Creating a VxWorks BSP and System Image for the Base XPS Design Note: Screen shots in this acrobat file appear best when Acrobat Magnification is set to 133.3% Outline Software Requirements Software
More informationSetting Up a CLucene and PostgreSQL Federation
Federated Desktop and File Server Search with libferris Ben Martin Abstract How to federate CLucene personal document indexes with PostgreSQL/TSearch2. The libferris project has two major goals: mounting
More informationINF-110. GPFS Installation
INF-110 GPFS Installation Overview Plan the installation Before installing any software, it is important to plan the GPFS installation by choosing the hardware, deciding which kind of disk connectivity
More informationBackup Methods for your BBB or RPi2 Node
Backup Methods for your BBB or RPi2 Node PLEASE NOTE THESE INSTRUCTIONS APPLY STARTING WITH BBB 1.2 AND RPi2 Images It is very important to do periodic backups of your node especially if you make lots
More informationHow to Build an RPM OVERVIEW UNDERSTANDING THE PROCESS OF BUILDING RPMS. Author: Chris Negus Editor: Allison Pranger 09/16/2011
How to Build an RPM Author: Chris Negus Editor: Allison Pranger 09/16/2011 OVERVIEW You have created some software that you want to install on Red Hat Enterprise Linux systems. Now that it is done, the
More informationCloud-init. Marc Skinner - Principal Solutions Architect Michael Heldebrant - Solutions Architect Red Hat
Cloud-init Marc Skinner - Principal Solutions Architect Michael Heldebrant - Solutions Architect Red Hat 1 Agenda What is cloud-init? What can you do with cloud-init? How does it work? Using cloud-init
More informationInstalling Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012
Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012 1 The person installing the VC is knowledgeable of the Linux file system
More informationAdafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi
Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi Created by Simon Monk Last updated on 2015-11-25 11:50:13 PM EST Guide Contents Guide Contents Overview You Will Need Downloading
More informationContinuous Integration and Delivery. manage development build deploy / release
Continuous Integration and Delivery manage development build deploy / release test About the new CI Tool Chain One of the biggest changes on the next releases of XDK, will be the adoption of the New CI
More informationBuilding a Continuous Integration Pipeline with Docker
Building a Continuous Integration Pipeline with Docker August 2015 Table of Contents Overview 3 Architectural Overview and Required Components 3 Architectural Components 3 Workflow 4 Environment Prerequisites
More informationHOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY
HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY INTRODUCTION Virtual machines are becoming more prevalent. A virtual machine is just a container that describes various resources such as memory, disk space,
More informationInstallation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L
Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L Introduction: This guide is written to help any person with little knowledge in AIX V5.3L to prepare the P Server
More informationUsing Buildroot for real projects
Embedded Linux Conference Europe 2011 Using Buildroot for real projects Thomas Petazzoni Free Electrons thomas.petazzoni@freeelectrons.com Free Electrons. Embedded Linux development, consulting, training
More informationSite Configuration SETUP GUIDE. Windows Hosts Single Workstation Installation. May08. May 08
Site Configuration SETUP GUIDE Windows Hosts Single Workstation Installation May08 May 08 Copyright 2008 Wind River Systems, Inc. All rights reserved. No part of this publication may be reproduced or transmitted
More informationGit - Working with Remote Repositories
Git - Working with Remote Repositories Handout New Concepts Working with remote Git repositories including setting up remote repositories, cloning remote repositories, and keeping local repositories in-sync
More informationDeveloping tests for the KVM autotest framework
Lucas Meneghel Rodrigues lmr@redhat.com KVM Forum 2010 August 9, 2010 1 Automated testing Autotest The wonders of virtualization testing 2 How KVM autotest solves the original problem? Features Test structure
More informationDeploying a Virtual Machine (Instance) using a Template via CloudStack UI in v4.5.x (procedure valid until Oct 2015)
Deploying a Virtual Machine (Instance) using a Template via CloudStack UI in v4.5.x (procedure valid until Oct 2015) Access CloudStack web interface via: Internal access links: http://cloudstack.doc.ic.ac.uk
More informationThe "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.
Installing the SDK This page describes how to install the Android SDK and set up your development environment for the first time. If you encounter any problems during installation, see the Troubleshooting
More informationLinux Embedded devices with PicoDebian Martin Noha 28.9.2006
Embedded systems Linux Embedded devices with PicoDebian Martin Noha 28.9.2006 24.03.2005 1 Agenda Why did I look in this stuff? What is an embedded device? Characteristic hardware global requirements for
More informationStudent installation of TinyOS
Jan.12, 2014 Author: Rahav Dor Student installation of TinyOS TinyOs install Automatic installation... 1 Get Linux... 2 Install Ubuntu on a Virtual Machine... 2 Install Ubuntu on VMware... 2 Installing
More informationSurvey of Filesystems for Embedded Linux. Presented by Gene Sally CELF
Survey of Filesystems for Embedded Linux Presented by Gene Sally CELF Presentation Filesystems In Summary What is a filesystem Kernel and User space filesystems Picking a root filesystem Filesystem Round-up
More informationLinux System Administration on Red Hat
Linux System Administration on Red Hat Kenneth Ingham September 29, 2009 1 Course overview This class is for people who are familiar with Linux or Unix systems as a user (i.e., they know file manipulation,
More informationHOWTO: Set up a Vyatta device with ThreatSTOP in router mode
HOWTO: Set up a Vyatta device with ThreatSTOP in router mode Overview This document explains how to set up a minimal Vyatta device in a routed configuration and then how to apply ThreatSTOP to it. It is
More informationExample of Standard API
16 Example of Standard API System Call Implementation Typically, a number associated with each system call System call interface maintains a table indexed according to these numbers The system call interface
More informationNI Real-Time Hypervisor for Windows
QUICK START GUIDE NI Real-Time Hypervisor Version 2.1 The NI Real-Time Hypervisor provides a platform you can use to develop and run LabVIEW and LabVIEW Real-Time applications simultaneously on a single
More informationCDH installation & Application Test Report
CDH installation & Application Test Report He Shouchun (SCUID: 00001008350, Email: she@scu.edu) Chapter 1. Prepare the virtual machine... 2 1.1 Download virtual machine software... 2 1.2 Plan the guest
More informationCloud.com CloudStack Community Edition 2.1 Beta Installation Guide
Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide July 2010 1 Specifications are subject to change without notice. The Cloud.com logo, Cloud.com, Hypervisor Attached Storage, HAS, Hypervisor
More informationIntroduc)on to Version Control with Git. Pradeep Sivakumar, PhD Sr. Computa5onal Specialist Research Compu5ng, NUIT
Introduc)on to Version Control with Git Pradeep Sivakumar, PhD Sr. Computa5onal Specialist Research Compu5ng, NUIT Contents 1. What is Version Control? 2. Why use Version control? 3. What is Git? 4. Create
More informationUsing VMware Player. VMware Player. What Is VMware Player?
VMWARE APPLICATION NOTE VMware Player Using VMware Player This document contains the following sections: Work and Play in a Virtual World on page 1 Options and Features in VMware Player on page 4 Installing
More informationDevShop. Drupal Infrastructure in a Box. Jon Pugh CEO, Founder ThinkDrop Consulting Brooklyn NY
DevShop Drupal Infrastructure in a Box Jon Pugh CEO, Founder ThinkDrop Consulting Brooklyn NY Who? Jon Pugh ThinkDrop Consulting Building the web since 1997. Founded in 2009 in Brooklyn NY. Building web
More informationEmbedded Software Development
Linköpings Tekniska Högskola Institutionen för Datavetanskap (IDA), Software and Systems (SaS) TDDI11, Embedded Software 2010-04-22 Embedded Software Development Host and Target Machine Typical embedded
More informationInstalling VMware Tools on Clearswift v4 Gateways
Technical Guide Version 2.0 January 2016 Contents 1 Introduction... 3 2 Scope... 3 3 Installation and Setup... 4 3.1 Overview... 4 3.2 Installation... 4 4 Performance Impact... 8 4.1 Overview... 8 4.2
More informationVMTurbo Operations Manager 4.5 Installing and Updating Operations Manager
VMTurbo Operations Manager 4.5 Installing and Updating Operations Manager VMTurbo, Inc. One Burlington Woods Drive Burlington, MA 01803 USA Phone: (781) 373---3540 www.vmturbo.com Table of Contents Introduction
More informationApache 2.0 Installation Guide
Apache 2.0 Installation Guide Ryan Spangler spanglerrp22@uww.edu http://ceut.uww.edu May 2002 Department of Business Education/ Computer and Network Administration Copyright Ryan Spangler 2002 Table of
More informationMATLAB & Git Versioning: The Very Basics
1 MATLAB & Git Versioning: The Very Basics basic guide for using git (command line) in the development of MATLAB code (windows) The information for this small guide was taken from the following websites:
More informationHOWTO: Set up a Vyatta device with ThreatSTOP in bridge mode
HOWTO: Set up a Vyatta device with ThreatSTOP in bridge mode Overview This document explains how to set up a minimal Vyatta device in a transparent bridge configuration and then how to apply ThreatSTOP
More informationOpen Source Datacenter Conference 2011 System Management with RHN Satellite. Dirk Herrmann, Solution Architect, Red Hat
Open Source Datacenter Conference 2011 System Management with RHN Satellite Bringing the Community, Vendors and Users Together Enterprise Users Hardware vendors Software vendors Open Source Community A
More informationAPPLICATION NOTE. How to build pylon applications for ARM
APPLICATION NOTE Version: 01 Language: 000 (English) Release Date: 31 January 2014 Application Note Table of Contents 1 Introduction... 2 2 Steps... 2 1 Introduction This document explains how pylon applications
More informationVersion 1.0. File System. Network Settings
Factory Default Settings LAN 1 IP Address: 192.168.2.127 Login: root or guest ( telnet guest only) Password: root or guest ( telnet guest only) Serial Console Port: Baud rate: 115200 Data format: 8 Bits,
More informationDeploying SecureCloud SaaS in a vcloud Environment
Deploying SecureCloud SaaS in a vcloud Environment Securing Your Journey to the Cloud Trend Micro SecureCloud A Trend Micro & VMware White Paper August 2011 I. EXECUTIVE SUMMARY This is the second paper
More informationFuture Technology Devices International Ltd. Mac OS X Installation Guide
Future Technology Devices International Ltd. Mac OS X Installation Guide I Mac OS X Installation Guide Table of Contents Part I Welcome to the Mac OS X Installation Guide 2 Part II VCP Drivers 3 1 Installing
More informationSource Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE
Source Code Management for Continuous Integration and Deployment Version 1.0 Copyright 2013, 2014 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed,
More informationSistemi ad agenti Principi di programmazione di sistema
Sistemi ad agenti Principi di programmazione di sistema Modulo 6 Why would anyone want to hack or write opensource project for embedded system, when you already have a very powerful and relatively cheap
More informationAutomated Deployment of Oracle RAC Using Enterprise Manager Provisioning Pack
Automated Deployment of Oracle RAC Using Enterprise Manager Provisioning Pack By Kai Yu As a part of the Oracle Enterprise Manager s lifecycle management solutions, the Oracle Enterprise Manager Provisioning
More informationLinux Overview. The Senator Patrick Leahy Center for Digital Investigation. Champlain College. Written by: Josh Lowery
Linux Overview Written by: Josh Lowery The Senator Patrick Leahy Center for Digital Investigation Champlain College October 29, 2012 Disclaimer: This document contains information based on research that
More informationFEEG6002 - Applied Programming 3 - Version Control and Git II
FEEG6002 - Applied Programming 3 - Version Control and Git II Sam Sinayoko 2015-10-16 1 / 26 Outline Learning outcomes Working with a single repository (review) Working with multiple versions of a repository
More informationInstallation Guide for AmiRNA and WMD3 Release 3.1
Installation Guide for AmiRNA and WMD3 Release 3.1 by Joffrey Fitz and Stephan Ossowski 1 Introduction This document describes the installation process for WMD3/AmiRNA. WMD3 (Web Micro RNA Designer version
More informationModule I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM
Bern University of Applied Sciences Engineering and Information Technology Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM By Franz Meyer Version 1.0 February 2011 Virtualization Architecture
More informationVersion control. HEAD is the name of the latest revision in the repository. It can be used in subversion rather than the latest revision number.
Version control Version control is a powerful tool for many kinds of work done over a period of time, including writing papers and theses as well as writing code. This session gives a introduction to a
More informationLSN 10 Linux Overview
LSN 10 Linux Overview ECT362 Operating Systems Department of Engineering Technology LSN 10 Linux Overview Linux Contemporary open source implementation of UNIX available for free on the Internet Introduced
More informationInstallation of PHP, MariaDB, and Apache
Installation of PHP, MariaDB, and Apache A few years ago, one would have had to walk over to the closest pizza store to order a pizza, go over to the bank to transfer money from one account to another
More informationBazaarvoice for Magento Extension Implementation Guide v6.3.4
Bazaarvoice Bazaarvoice for Magento Extension Implementation Guide v6.3.4 Version 6.3.4 Bazaarvoice Inc. 03/25/2016 Introduction Bazaarvoice maintains a pre-built integration into the Magento platform.
More informationXFree86 on Darwin and Mac OS X
XFree86 on Darwin and Mac OS X Torrey T. Lyons 15 December 2003 1. Introduction XFree86, a freely redistributable open-source implementation of the X Window System, has been ported to Darwin and Mac OS
More informationMake a Bootable USB Flash Drive from the Restored Edition of Hiren s Boot CD
Make a Bootable USB Flash Drive from the Restored Edition of Hiren s Boot CD proteuss@sdf.lonestar.org Contents 1 Linux Method 2 2 Windows Method 3 3 Alternative Windows Method (RMPrepUSB) 4 4 HBCD on
More informationCSE/ISE 311: Systems Administra5on Logging
Logging Por$ons courtesy Ellen Liu Outline Introduc$on Finding log files Syslog: the system event logger Linux logrotate tool Condensing log files to useful informa$on Logging policies 13-2 Who and Why
More informationTrack One Building a connected home automation device with the Digi ConnectCore Wi-i.MX51 using LinuxLink
Track One Building a connected home automation device with the Digi ConnectCore Wi-i.MX51 using LinuxLink Session 1 Assembling and booting a small footprint Linux platform To join the teleconference -------------------------------------------------------
More information