Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iot:labs:09 [2017/10/03 00:53]
jan.vaduva [Exercises]
iot:labs:09 [2020/01/07 12:03] (current)
jan.vaduva [Implement a project from scratch]
Line 1: Line 1:
-======Lab 9: Yocto Project`s first steps======+======Lab 9: Yocto Project first steps======
 =====Implement a project from scratch===== =====Implement a project from scratch=====
  
Line 6: Line 6:
 Set up your Linux system with the right packages (instruction are provided for Ubuntu, Fedora, CentOS and openSUSE) Set up your Linux system with the right packages (instruction are provided for Ubuntu, Fedora, CentOS and openSUSE)
  
-  - Download the latest stable release: <​code>​$ git clone -b pyro git://​git.yoctoproject.org/​poky.git</​code>​ //or// <​code>​$ wget downloads.yoctoproject.org/​releases/​yocto/​yocto-2.3.2/poky-pyro-17.0.2.tar.bz2</​code>​+  ​- Install prerequisites:​ <​code>​sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ 
 +     ​build-essential chrpath socat libsdl1.2-dev xterm</​code>​ 
 +  ​- Download the latest stable release: <​code>​$ git clone -b zeus git://​git.yoctoproject.org/​poky.git</​code>​ //or// <​code>​$ wget downloads.yoctoproject.org/​releases/​yocto/​yocto-3.0/poky-zeus-22.0.0.tar.bz2</​code>​
   - Source //​oe-init-build-env//​ script, to create the build directory: <​code>​$ source poky/​oe-init-build-env my_dir</​code>​   - Source //​oe-init-build-env//​ script, to create the build directory: <​code>​$ source poky/​oe-init-build-env my_dir</​code>​
-  - Edit //​conf/​local.conf//​ and set //​MACHINE// ​ and any extra required variables ​+  - Edit //​conf/​local.conf//​ and set //​MACHINE// ​as //​qemux86// ​and any extra required variables.
   - Build the OS image: <​code>​$ bitbake core-image-minimal</​code>​   - Build the OS image: <​code>​$ bitbake core-image-minimal</​code>​
   - Boot the OS image of your choice: <​code>​$ runqemu qemux86</​code>​ Where: <​code>​MACHINE=qemux86</​code>​   - Boot the OS image of your choice: <​code>​$ runqemu qemux86</​code>​ Where: <​code>​MACHINE=qemux86</​code>​
Line 20: Line 22:
   - Create a **htop** recipe and build it for your OS.   - Create a **htop** recipe and build it for your OS.
   - Create a custom layer which should contain the **htop** recipes and **busybox** bbappend.   - Create a custom layer which should contain the **htop** recipes and **busybox** bbappend.
-  - Add support for **htop** inside //​core-image-minimal//​ image. The enhanced //​core-image-minimal//​ should be available inside the new created layer.+  - Add support for **htop** inside //​core-image-minimal//​ image. The enhanced //​core-image-minimal//​ should be available inside the newly created layer.
  
  
  
  
iot/labs/09.1506981222.txt.gz · Last modified: 2017/10/03 00:53 by jan.vaduva
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0