Difference between revisions of "Openembedded Workflow"

From MyLabWiki
Jump to: navigation, search
(Created page with "Category:Beaglebone == Initial setup == $ git clone git://github.com/Angstrom-distribution/setup-scripts.git $ setup-scripts.git $ cd setup-scripts.git $ MACHINE=be...")
 
m
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Beaglebone]]
 
 
 
== Initial setup ==
 
== Initial setup ==
  
Line 13: Line 11:
  
 
   $ bitbake systemd-image
 
   $ bitbake systemd-image
 
  
 
== Bonecam ==
 
== Bonecam ==
Line 24: Line 21:
 
   $ cp ../bonecam.git/angstrom/gst-plugins-bad_0.10.23.bb sources/openembedded-core/meta/recipes-multimedia/gstreamer/
 
   $ cp ../bonecam.git/angstrom/gst-plugins-bad_0.10.23.bb sources/openembedded-core/meta/recipes-multimedia/gstreamer/
 
   $ bitbake bonecam-image
 
   $ bitbake bonecam-image
 
  
 
== Systemd ==
 
== Systemd ==
Line 38: Line 34:
  
 
Boot time can depend a lot on SD card (even for the same class)
 
Boot time can depend a lot on SD card (even for the same class)
 +
 +
[[Category:Beaglebone]]

Revision as of 19:01, 27 January 2013

Initial setup

 $ git clone git://github.com/Angstrom-distribution/setup-scripts.git
 $ setup-scripts.git
 $ cd setup-scripts.git
 $ MACHINE=beaglebone ./oebb.sh config beaglebone
 $ MACHINE=beaglebone ./oebb.sh update
 $ . ~/.oe/environment-angstromv2012.05

Now test the system using:

 $ bitbake systemd-image

Bonecam

Needs update

After the initial setup so the following in the setup-scripts.git directory:

 $ cp ../bonecam.git/angstrom/bonecam-image.bb sources/meta-ti/recipes-misc/images/
 $ cp ../bonecam.git/angstrom/gst-plugins-bad_0.10.23.bb sources/openembedded-core/meta/recipes-multimedia/gstreamer/
 $ bitbake bonecam-image

Systemd

  1. systemd-analyze
  2. systemd-analyze blame

To enable/disable a service:

 $ systemctl disable foo.service

The available service files are located in /lib/systemd/system – see man systemd.unit.

Boot time can depend a lot on SD card (even for the same class)