Commit Graph

297 Commits

Author SHA1 Message Date
Andrei Gherzan
48bd943382 rpi-default-providers: Move PREFERRED_VERSIONs to rpi-default-versions.inc
Change-Id: I61c32aa23eef86cb9861776b37c4ecd8f7c8052c
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-25 13:02:13 +02:00
Andrei Gherzan
26fa448b0c rpi-default-providers: Use u-boot-rpi as u-boot provider
Change-Id: Ic537cada66ff09cde592da977a109415e05cb19c
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-25 13:02:13 +02:00
Andrei Gherzan
6864865fd6 rpi-default-providers: Use jpeg as default provider
Change-Id: Ic7f1faa3ed60a3ccd1b0b08ed366cfb71df06536
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-11-29 11:51:49 +02:00
Andrei Gherzan
c96c590d0c rpi-default-providers: Use 3.10.X as default kernel
This is the default/base branch on official github repository:
https://github.com/raspberrypi/linux/branches

Change-Id: I99702ae7548b49a5b4b575b3f02f5a3a48ad347f
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-11-13 18:24:39 +02:00
Dan McGregor
5c8d2c08df raspberrypi.conf: is not a usb gadget
Change-Id: I93ed1832905e4fdfc5f5d387c37933b60a50f4c5
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-11-12 18:41:39 +02:00
Alexandru Niculita
e921fcc54c Make Linux 3.6 the default for Raspberry Pi
From: Philipp Wagner <mail@philipp-wagner.com>

Kernel 3.6 is also the default for Raspbian and thus should be the
most tested version right now.

Change-Id: I03a75fa1be3ab0f8f43fb09a8fff779c6d9100e7
Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
2013-11-12 17:36:50 +02:00
Andrei Gherzan
88f8ddceef rpi-default-providers.inc: Remove preferred provider to linux headers
We do this because the recipe was removed. Check:
commit 808f5e54f8

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-06-23 23:15:46 +03:00
Paul Barker
ac879f9e21 psplash: only set image for MACHINE=raspberrypi
Instead of overriding the default psplash image, the raspberrypi image is added
as an additional image. It is then set as the default in the raspberrypi machine
config file so that other targets do not pick up our splash image.

Tested on raspberrpi and qemuarm: on raspberrypi I see to Raspberry Pi logo, on
qemuarm I see the Yocto Project logo.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-06-10 12:04:59 +03:00
Andrei Gherzan
db2b8af828 layer.conf: Set LICENSE_PATH to layers's custom licenses directory
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-03-13 19:42:39 +02:00
Andrei Gherzan
33d2e1d7bb rpi-default-providers: Use userland as provider for egl and gles2
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-03-13 19:42:19 +02:00
Andrei Gherzan
bff90c7a0d rpi-default-providers: Remove virtual/libgl provider
There are no libgl binary shipped in raspberrypi firmware repo.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-03-13 19:42:09 +02:00
Andreas Müller
d3ec4b1258 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>
2013-01-27 01:01:39 +02:00
Andrei Gherzan
305c5259e2 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>
2012-11-28 02:30:04 +02:00
Andrei Gherzan
76c6b87958 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>
2012-11-28 02:30:04 +02:00
Andrei Gherzan
cfd5c65469 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>
2012-11-27 22:42:40 +02:00
Andrei Gherzan
b3a4e96cf9 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>
2012-11-27 22:42:40 +02:00
Andrei Gherzan
e1e8477a77 rpi-default-providers: Use linux-libc-headers-raspberrypi
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-11-27 22:42:39 +02:00
Andrei Gherzan
a1da838d81 Move fsl-default*.inc from distro to machine
It makes no sense to have distro related configurations in a BSP
layer. So let's have these common parts (provides, version etc)
in machine directory instead.

[GITHUB #73]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:14:04 +03:00
Andrei Gherzan
f0dd423862 raspberrypi.conf: Fix file permissions
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan
30370bb8f1 rpi-default-settings.inc: Add sdcard_image-rpi to IMAGE_CLASSES
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:02 +03:00
Andrei Gherzan
163498e5ad raspberrypi.conf: Drop INHERIT sdcard_image-rpi as we will use IMAGE_CLASSES
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:02 +03:00
Andrei Gherzan
ba1b6ed74f rpi-default-*.inc: Create inc files included in machine configure file
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:02 +03:00
Andrei Gherzan
3c4e20303b raspberrypi.conf: Remove PREFERRED_* and include rpi-default*.inc
All PREFERRED_* variables were moved to an .inc file to have variables
clearer.
Inherit .inc files and remove PREFERRED_* variables.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:02 +03:00
Andrei Gherzan
b1331fce45 README: Move RPI_GPU_FIRMWARE instructions to README
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:01 +03:00
Andrei Gherzan
384ca93373 raspberrypi.conf: Remove TARGET_ARCH variable
TARGET_ARCH by default is TUNE_ARCH which is already arm. So this line
is useless.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:01 +03:00
Andrei Gherzan
241bd86e52 raspberrypi.conf: Remove GUI_MACHINE_CLASS variable
This variable was dropped:

commit 0504d36646f8def4829250a9eee0cf9bac3b756e
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Tue May 10 16:19:02 2011 +0100
bitbake.conf: Drop unused *GUI* and MACHINE_DISPLAY variables
(From OE-Core rev: baf136a9c95a94c5bf89c9a818960d616439682c)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:01 +03:00
Andrei Gherzan
a3bd3dba78 poky-raspberrypi.conf: Remove distro file
We added distro file for having BBMASK and thought this would be a good
place to hold some other distro variables. Obviously the only needed
variable was BBMASK after all, so a cleaner way would be to instruct
users to add BBMASK to local.conf

[GITHUB #57]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-06 00:58:43 +03:00
Andrei Gherzan
495d44ce1d poky-raspberrypi.conf: Weakly assign BBMASK
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-31 12:22:50 +03:00
Andrei Gherzan
ad5ef65066 raspberrypi.conf: Set udev PREFERRED_VERSION to 164
It seems like rpi kernel doesn't work well with newer udev version so
we set 164 as preferred version for it.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 19:27:43 +03:00
Andrei Gherzan
3e0cf999e8 poky-raspberrypi.conf: Remove libav from BBMASK
We will use this package from meta-oe. libav is a dependency for
omxplayer.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
6f55f7f9f0 raspberrypi.conf: Set PREFERRED_PROVIDER for egl, libgles2 and gl
These variables are weakly assigned to let user overwrite them.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
221619ec83 raspberrypi.conf: Weakly assign IMAGE_FSTYPES to let users overwrite
[GITHUB #39]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:59:28 +03:00
Andrei Gherzan
3dfb945730 raspberrypi.conf: Weakly assign PREFERRED_PROVIDER_virtual/egl
Use vc-graphics-hardfp by default as virtual/egl and let the user
overwrite this.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:28 +03:00
Andrei Gherzan
49e9178df5 raspberrypi.conf: Add "rtc" to MACHINE_FEATURES_BACKFILL_CONSIDERED
RaspberryPi has no hardware clock, this is why hwclock initscript from
busybox fails at boot. So make sure we don't have this init script
to avoid errors at boot.

[GITHUB #21]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:14:47 +03:00
Andrei Gherzan
41afde0961 raspberrypi.conf: Use Image as as kernel fstype
It's a bug in the latest bootloader where rpi doesn't boot
with zImage. Use uncompressed kernel type.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:42:11 +03:00
Andrei Gherzan
6f744980b5 raspberrypi.conf: Remove bcm2835-kernel-image as we can boot from Image directly
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
2fa4f41e20 Merge pull request #3 from agherzan/devel_yocto
Add yocto build details and distro file
2012-07-02 10:34:55 -07:00
Andrei Gherzan
a95712d8e7 sdcard_image-rpi.bbclass: Change to be usable with any image
Instead of being inherited by a specific image recipe, this class can
now be inherited globally in the machine configuration, allowing it to
be used with any image. This means we can remove "inherit image", and
we can also remove the IMAGE_FSTYPES modification since the machine
config does this already.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:28 +03:00
Andrei Gherzan
f0d4934ed8 raspberrypi.conf: Add variable to set GPU firmware image to be used
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:24 +03:00
Andrei Gherzan
53eecaf2e9 raspberrypi.conf: Add ext3 to FSTYPE as needed by sd creation tool
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:20 +03:00
Andrei Gherzan
2b84f802a8 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 <andrei@gherzan.ro>
2012-07-02 01:58:37 +03:00
Andrei Gherzan
5756b300b9 raspberrypi.conf: Fix serial console name
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-01 14:29:01 +03:00
David-John Willis
ed934b7c44 linux-raspberrypi: Bump SRCREV and Kernel PR. 2012-04-23 15:16:49 +01:00
David-John Willis
6a5ca4a744 raspberrypi.conf: Bump MACHINE_KERNEL_PR.
* Also reset to a zImage ;).
2012-04-11 16:15:15 +01:00
David-John Willis
bfa2cb6d57 raspberrypi.conf: Update machine name.
* No prizes for working out what layer I used as a basis for this ;).
2012-04-04 09:44:31 +01:00
David-John Willis
a962507532 RASPBERRYPI.CONF/TUNE-ARM1176JZF-S: Add tune file for the BCM2835 SoC. 2012-04-03 22:21:56 +01:00
David-John Willis
cc91d815b9 CONF: Add layer and machine configs. 2012-04-03 20:43:31 +01:00