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 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 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" 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 \ + "