linux-libc-headers-raspberrypi: Add headers for raspberrypi kernel

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
rpi-default-providers: Use linux-libc-headers-raspberrypi

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
raspberrypi.conf: Remove RPI_GPU_FIRMWARE definition

We don't use this anymore as the memory split is now done from config.txt.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
rpi-default-versions: Remove preferred version of udev

We use now the latest one from meta-openembedded.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
firmware: Update to 537c78b113d06e37e2cca90a0b3d3f39a129ee23

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
bcm2835-bootfiles: Deploy .dat files too

These files are used in the boot process with the updated bootloader.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
linux-raspberrypi: Cleanup recipe

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
linux-raspberrypi: Update to 10182a3bc434b27740f81c2b836a1af943060241

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
linux.inc: Refactor inc file

Clean up the file and add function to setup configs.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
rpi-config: Update to 62bf3e9db62f547eb1a2a352dde957d2f94bd216

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
rpi-config: Add variables to set memory split for 256/512 models

GPU_MEM
gpu_mem - GPU memory in megabyte. Sets the memory split between the ARM and
GPU. ARM gets the remaining memory. Min 16. Default 64

GPU_MEM_256
gpu_mem_256 -GPU memory in megabyte for the 256MB Raspberry Pi. Ignored by
the 512MB RP. Overrides gpu_mem. Max 192.

GPU_MEM_512
gpu_mem_512 -GPU memory in megabyte for the 512MB Raspberry Pi. Ignored by
the 256MB RP. Overrides gpu_mem. Max 448.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
README: Replace old RPI_GPU_FIRMWARE with GPU_MEM variables

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
sdcard_image-rpi: Remove RPI_GPU_FIRMWARE and add/remove files to boot partition

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
userland: Initial integration

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
tune-*: define more generic DEFAULTTUNE to share feed between machines

* this is mostly for backwards compatibility and to share binary feed
  like it was before, but now without missing different -mtune in it
* if you want to build some package with -mtune add something like this
  to your distro config
  DEFAULTTUNE_qemuarm_pn-openssl = "arm926ejs"
  DEFAULTTUNE_qemuarmx_pn-openssl = "xscale"
  be aware that if you do this you should do it also for all packages
  which depends on openssl because if you dont and you build e.g. dhcp,
  then dhcp build for arm926ejs (even with DEFAULTTUNE armv5te) will
  depend on openssl with arm926ejs, so dhcp in armv5te feed will be
  rebuild after each MACHINE switch.
* cortexm3, cortexr4, iwmmx and ep9312 are using own DEFAULTTUNE because
  they define also different -march
* shared feeds are
  armv4t: arm920t, arm9tdmi
  armv5te: arm926ejs, xscale
  armv7a-neon: cortexa8, cortexa9

(From OE-Core rev: a11bdc36a1be18cc5aa14682b2a2c9ee83141f51)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
arch-arm: define different ARMPKGARCH when different CCARGS are used

* without this tune-xscale and tune-arm926ejs were both creating
  packages in armv5te feed, but each with different -mtune, with
  OEBasicHash enabled it was causing each package to rebuild with new
  -mtune after MACHINE switch, but that doesn't make sense with output
  stored in the same armv5te feed

* this makes different feed for each -mtune, but more generic one to be
  selected with DEFAULTTUNE

* tune-iwmmxt and tune-ep9312 were already using this, just move it
  bellow AVAILTUNES and use ARMPKGARCH_tune-foo syntax

* tune-cortexr4 and tune-cortexm3 are using armv7r/armv7m as ARMPKGARCH
  because there isn't another tune to use the same -march

(From OE-Core rev: cffda9a821a3b83a8529d643c567859e091c6846)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
README: Refactor

* Use maximum 80 columns per line
* Add contents
* Add "Contribution" section

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
layer.conf: fix parse

after meta-systemd commit [1] the following error was thrown during parsing:

ERROR: Unable to parse /home/Superandy/data/oe-core/sources/meta-raspberrypi/conf/layer.conf:
Failure expanding variable BBFILES, expression was
...
which triggered exception NameError: name 'base_contains' is not defined

[1] http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
bcm2835-bootfiles: Bump the firmware revision

* Pull in a newer firmware revision (0ac68c 7th Jan 2013) from
  https://github.com/raspberrypi/firmware for various fixes and
  improvements

Signed-off-by: Jan Schmidt <thaytan@noraisin.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
linux: Add a Linux 3.6 kernel recipe

* Add a recipe to build the linux kernel from the rpi-3.6.y branch at
  https://github.com/raspberrypi/linux
* Since this has a higher version, it will be the preferred linux kernel
  by default.

Signed-off-by: Jan Schmidt <thaytan@noraisin.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>