From 2b84f802a8ad8062777da262f98c03b80025e2ba Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Thu, 17 May 2012 21:43:50 +0300 Subject: poky-raspberrypi.conf: Add yocto specific distro configure file This distro configure file relies on poky distro conf. We use this distro to include raspberrypi-default-versions and to BBMASK libav and rpi-zram-service and these packages are not included in poky. Signed-off-by: Andrei Gherzan --- conf/distro/poky-raspberrypi.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 conf/distro/poky-raspberrypi.conf 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 @@ +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" -- cgit v1.2.3-54-g00ecf From 73e31e94e4102aa404ab49e8fc4e92c6a43e6db9 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Thu, 17 May 2012 21:40:42 +0300 Subject: README: Add yocto specific infos Signed-off-by: Andrei Gherzan --- README | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README b/README index a667848..ddce089 100644 --- a/README +++ b/README @@ -28,4 +28,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 + Andrei Gherzan -- cgit v1.2.3-54-g00ecf From 6f8544ef12c47c0c28022b348321fb7f4eb0ebe4 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Fri, 18 May 2012 22:52:37 +0300 Subject: rpi-hwup-image: Create image based on core-image-minimal Include kernel modules in rootfs while generating a core-image-minimal. Signed-off-by: Andrei Gherzan --- recipes-core/images/rpi-hwup-image.bb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes-core/images/rpi-hwup-image.bb 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 @@ +# Base this image on core-image-minimal +include recipes-core/images/core-image-minimal.bb + +# Include modules in rootfs +IMAGE_INSTALL += " \ + kernel-modules \ + " -- cgit v1.2.3-54-g00ecf