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...")
 
Line 13: Line 13:
  
 
   $ bitbake systemd-image
 
   $ bitbake systemd-image
 
  
 
== Bonecam ==
 
== Bonecam ==
Line 24: Line 23:
 
   $ 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 ==

Revision as of 18:56, 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)