Go to file
Andrei Gherzan 1ad98cf651 README: Modify dependencies for danny branch
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-10-29 20:18:20 +02:00
classes sdcard_image-rpi: Use the partition table as described in comments 2012-10-18 00:40:50 +03:00
conf Move fsl-default*.inc from distro to machine 2012-09-18 19:14:04 +03:00
recipes-bcm rpi-config: Add variables for overclocking options. 2012-10-17 16:43:34 +03:00
recipes-bsp/formfactor formfactor: Add RaspberryPi formfactor. 2012-04-03 23:05:40 +01:00
recipes-core rpi-zram-service: Remove recipe as it was moved to meta-oe 2012-09-27 17:06:54 +03:00
recipes-devtools/python RPI.GPIO: Integrate v0.2.0 2012-08-29 00:04:19 +03:00
recipes-extra/startup rpi-first-run-wizard: Clean extra spaces 2012-09-16 20:55:03 +03:00
recipes-graphics/xorg-xserver xserver-xf86-config: Remove xorg.conf.d/* from CONFFILES_${PN}. 2012-04-23 15:17:34 +01:00
recipes-kernel/linux linux-raspberrypi: Use sstate DEPLOYDIR 2012-09-27 17:06:57 +03:00
recipes-multimedia/omxplayer libav: Remove patch and recipe as new version of libav works ok 2012-10-18 00:40:50 +03:00
COPYING.MIT COPYING.MIT: Add license file for the metadata. 2012-04-03 20:44:03 +01:00
README README: Modify dependencies for danny branch 2012-10-29 20:18:20 +02:00
recipes.txt recipes.txt: Fix file permission 2012-09-16 20:55:03 +03:00

            .8MMMMMMMM       MMMMMMMM8.
          MMM77$$$$$$7MM   MM$$$$$$$$$MMM
          MM$$$$$$$$$$$$M M$$$$$$$$$$$$MM
          MO7$$$$$8$$$$$MMM$$$$$N7$$$$7DM
           M7$$$$$$$M7$$MMM$$7M$$$$$$$7M.
            M7$$$$$$$$MMMMMMM$$$$$$$$7M.
             MM$$$$$$7MMMMMMM$$$$$$$MM
              .MM$7MMMMMMMMMMMMM7$MM.
             .MM8ZZZMMZZZZZZZMZZZ$MM.
            .MOZZZZMMZZZZZZZZZM8ZZZZMM
            MZZMMMZZZZ8MMMMM$ZZZ$MMZZMM
          .MMMMMZZZZZZZZMMMZZZZZZZMMMMM:
          M8ZZMMZZZZZZZZNMZZZZZZZZZMMZZMM
         MZZZZMZZZZZZZZZMMMZZZZZZZZ8MZZZMM
        .MZZZZMZZZZZZZZZMMMZZZZZZZZMMZZZ8M
        .MZZZMMMZZZZZZZMMMMM$ZZZZZ$MMZZZMM
         MMZZMMMMMM8MMNZZZZZ8MMMMMMMMMZZM
          MMMMZMMMMMMZZZZZZZZZMMMM$ZZZMM.
           MMZZZZZMMMZZZZZZZZZMMMZZZZZMM
            MZZZZZZZMNZZZZZZZMMZZZZZZZM.
                MMMMMZZZZZZZZZMMMM.
                  .MMDZZZZZZZMMD
                    .MMMMMMMM,
                       ....

OpenEmbedded BSP Layer - RaspberryPi

This is the general hardware specific BSP overlay for the RaspberryPi device. It should be used with openembedded-core (not old-style org.openembedded.dev).

More information can be found at:

               http://www.raspberrypi.org/ (Official Site)
               http://www.distant-earth.com/ (My Site)

Build scripts patched to support making a firmware image for the RaspberryPi with Angstrom can be found at:

               http://github.com/Angstrom-distribution/setup-scripts

When not depending on meta-openembedded and not using systemd, you may need to mask few recipes requiring systemd or other recipes not included in your distribution of choice.

You can achieve this by adding something like the following to local.conf:

BBMASK = "meta-raspberrypi/recipes-multimedia/libav|meta-raspberrypi/recipes-core/systemd"

You can adjust the BBMASK for any .bbappends that your distribution does not contain recipes for.

The core BSP part of meta-raspberrypi should work with different OpenEmbedded/Yocto distributions and layer stacks, such as:

  • Distro-less (only with OE-Core).
  • Angstrom (main focus of testing).
  • Yocto/Poky.

This layer in its entirety depends on:

URI: git://git.openembedded.org/openembedded-core branch: master revision: HEAD

URI: git://git.openembedded.org/meta-openembedded branch: master revision: HEAD

It is preferred that people raise pull requests using GIThub by forking the appropriate tree:

               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: danny revision: HEAD

URI: git://git.openembedded.org/meta-openembedded branch: master revision: 1571c2c566c51799eceea2aabe13d1c3116f36b3

How to use it:

  1. source poky/oe-init-build-env rpi-build
  2. Add needed layers to bblayers.conf:
    • meta-raspberrypi
    • meta-openembedded/meta-oe 3 Set MACHINE to raspberrypi in local.conf
  3. bitbake rpi-hwup-image
  4. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)
  5. Boot your RPI.

Optional - compressed deployed files:

  1. Overwrite IMAGE_FSTYPES in local.conf IMAGE_FSTYPES = "tar.bz2 ext3.xz rpi-sdimg.xz
  2. Overwrite SDIMG_ROOTFS_TYPE in local.conf SDIMG_ROOTFS_TYPE = "ext3.xz" *Accommodate the values above to your own needs (ex: ext3 / ext4).

Optional - GPU firmware:

By default the GPU firmware shipped is arm192. You can overwrite this using the variable RPI_GPU_FIRMWARE with one of the values below.

arm128 : 128M ARM, 128M GPU split

arm192 : 192M ARM, 64M GPU split

arm224 : 224M ARM, 32M GPU split

arm240 : 240M ARM, 16M GPU split

Optional - Add purchased license codecs:

To add you own licenses use variables KEY_DECODE_MPG2 and KEY_DECODE_WVC1 in local.conf. Example: KEY_DECODE_MPG2 = "12345678" KEY_DECODE_WVC1 = "12345678" You can supply more licenses separated by comma. Example: KEY_DECODE_WVC1 = "0x12345678,0xabcdabcd,0x87654321"

Optional - Disable overscan:

By default the GPU adds a black border around the video output to compensate for TVs which cut off part of the image. To disable this set this variable in local.conf: DISALE_OVERSCAN = "0"

Optional - Set overclocking options:

The Raspberry PI can be overclocked. As of now overclocking up to the "Turbo Mode" is officially supported by the raspbery and does not void warranty. Check the config.txt for a detailed description of options and modes. Example:

Turbo mode

ARM_FREQ = "1000" CORE_FREQ = "500" SDRAM_FREQ = "500" OVER_VOLTAGE = "6"

Layer maintainer: John Willis <John.Willis at distant-earth.com> Andrei Gherzan