summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-07-02 10:34:55 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2012-07-02 10:34:55 -0700
commit2fa4f41e209c711b702cab8926b564d7f3720b90 (patch)
tree398183771e07fff9d3b289c57094f0ce227df384
parentd37ee52f6b16668a7c274c769ddc86c4c7b9f0f8 (diff)
parent6f8544ef12c47c0c28022b348321fb7f4eb0ebe4 (diff)
downloadmeta-raspberrypi-2fa4f41e209c711b702cab8926b564d7f3720b90.tar.gz
Merge pull request #3 from agherzan/devel_yocto
Add yocto build details and distro file
-rw-r--r--README20
-rw-r--r--conf/distro/poky-raspberrypi.conf7
-rw-r--r--recipes-core/images/rpi-hwup-image.bb7
3 files changed, 34 insertions, 0 deletions
diff --git a/README b/README
index be6cdf5..0007c0f 100644
--- a/README
+++ b/README
@@ -44,4 +44,24 @@ It is preferred that people raise pull requests using GIThub by forking the appr
44 https://github.com/djwillis/ 44 https://github.com/djwillis/
45 (More info on achieving this can be found at http://help.github.com/send-pull-requests/) 45 (More info on achieving this can be found at http://help.github.com/send-pull-requests/)
46 46
47 Yocto BSP Layer - RaspberryPi
48-------------------------------
49
50This layer depends on:
51
52URI: git://git.yoctoproject.org/poky
53branch: master
54revision: HEAD
55
56How to use it:
57
581. source poky/oe-init-build-env rpi-build
592. Add meta-raspberrypi in bblayers.conf
603 Set MACHINE to raspberrypi in local.conf
614. Modify distro to DISTRO ?= "poky-raspberrypi" in local.conf
625. bitbake rpi-hwup-image
636. dd to a SD card the generated sdimg file
647. Boot your RPI.
65
47Layer maintainer: John Willis <John.Willis at distant-earth.com> 66Layer maintainer: John Willis <John.Willis at distant-earth.com>
67 Andrei Gherzan <andrei at gherzan.ro>
diff --git a/conf/distro/poky-raspberrypi.conf b/conf/distro/poky-raspberrypi.conf
new file mode 100644
index 0000000..5eaf0ce
--- /dev/null
+++ b/conf/distro/poky-raspberrypi.conf
@@ -0,0 +1,7 @@
1require conf/distro/poky.conf
2
3# There is no libav in poky
4# Systemd is not yet in poky
5# rpi-zram-service is a systemd service
6# and it needs systemd
7BBMASK = "libav|rpi-zram-service"
diff --git a/recipes-core/images/rpi-hwup-image.bb b/recipes-core/images/rpi-hwup-image.bb
new file mode 100644
index 0000000..486ea59
--- /dev/null
+++ b/recipes-core/images/rpi-hwup-image.bb
@@ -0,0 +1,7 @@
1# Base this image on core-image-minimal
2include recipes-core/images/core-image-minimal.bb
3
4# Include modules in rootfs
5IMAGE_INSTALL += " \
6 kernel-modules \
7 "