diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-02 10:34:55 -0700 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-02 10:34:55 -0700 |
| commit | 2fa4f41e209c711b702cab8926b564d7f3720b90 (patch) | |
| tree | 398183771e07fff9d3b289c57094f0ce227df384 | |
| parent | d37ee52f6b16668a7c274c769ddc86c4c7b9f0f8 (diff) | |
| parent | 6f8544ef12c47c0c28022b348321fb7f4eb0ebe4 (diff) | |
| download | meta-raspberrypi-2fa4f41e209c711b702cab8926b564d7f3720b90.tar.gz | |
Merge pull request #3 from agherzan/devel_yocto
Add yocto build details and distro file
| -rw-r--r-- | README | 20 | ||||
| -rw-r--r-- | conf/distro/poky-raspberrypi.conf | 7 | ||||
| -rw-r--r-- | recipes-core/images/rpi-hwup-image.bb | 7 |
3 files changed, 34 insertions, 0 deletions
| @@ -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 | |||
| 50 | This layer depends on: | ||
| 51 | |||
| 52 | URI: git://git.yoctoproject.org/poky | ||
| 53 | branch: master | ||
| 54 | revision: HEAD | ||
| 55 | |||
| 56 | How to use it: | ||
| 57 | |||
| 58 | 1. source poky/oe-init-build-env rpi-build | ||
| 59 | 2. Add meta-raspberrypi in bblayers.conf | ||
| 60 | 3 Set MACHINE to raspberrypi in local.conf | ||
| 61 | 4. Modify distro to DISTRO ?= "poky-raspberrypi" in local.conf | ||
| 62 | 5. bitbake rpi-hwup-image | ||
| 63 | 6. dd to a SD card the generated sdimg file | ||
| 64 | 7. Boot your RPI. | ||
| 65 | |||
| 47 | Layer maintainer: John Willis <John.Willis at distant-earth.com> | 66 | Layer 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 @@ | |||
| 1 | require 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 | ||
| 7 | 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 @@ | |||
| 1 | # Base this image on core-image-minimal | ||
| 2 | include recipes-core/images/core-image-minimal.bb | ||
| 3 | |||
| 4 | # Include modules in rootfs | ||
| 5 | IMAGE_INSTALL += " \ | ||
| 6 | kernel-modules \ | ||
| 7 | " | ||
