Merge pull request #3 from agherzan/devel_yocto

Add yocto build details and distro file
This commit is contained in:
Andrei Gherzan 2012-07-02 10:34:55 -07:00
commit 2fa4f41e20
3 changed files with 34 additions and 0 deletions

20
README
View File

@ -44,4 +44,24 @@ It is preferred that people raise pull requests using GIThub by forking the appr
https://github.com/djwillis/
(More info on achieving this can be found at http://help.github.com/send-pull-requests/)
Yocto BSP Layer - RaspberryPi
-------------------------------
This layer depends on:
URI: git://git.yoctoproject.org/poky
branch: master
revision: HEAD
How to use it:
1. source poky/oe-init-build-env rpi-build
2. Add meta-raspberrypi in bblayers.conf
3 Set MACHINE to raspberrypi in local.conf
4. Modify distro to DISTRO ?= "poky-raspberrypi" in local.conf
5. bitbake rpi-hwup-image
6. dd to a SD card the generated sdimg file
7. Boot your RPI.
Layer maintainer: John Willis <John.Willis at distant-earth.com>
Andrei Gherzan <andrei at gherzan.ro>

View File

@ -0,0 +1,7 @@
require conf/distro/poky.conf
# There is no libav in poky
# Systemd is not yet in poky
# rpi-zram-service is a systemd service
# and it needs systemd
BBMASK = "libav|rpi-zram-service"

View File

@ -0,0 +1,7 @@
# Base this image on core-image-minimal
include recipes-core/images/core-image-minimal.bb
# Include modules in rootfs
IMAGE_INSTALL += " \
kernel-modules \
"