Commit Graph

1140 Commits

Author SHA1 Message Date
Julian Scheel 77d077cdcc rpi-config: Add variables for overclocking options.
config.txt allows several overclocking parameters to be tweakes. This makes
the most important ones overridable through local.conf.

Signed-off-by: Julian Scheel <julian@jusst.de>
2012-10-17 16:43:34 +03:00
Julian Scheel 0a181df8c5 rpi-config: Add variable for overscan configuration.
Add a DISABLE_OVERSCAN variable that can be used in local.conf to overwrite
the overscan default setting.

Signed-off-by: Julian Scheel <julian@jusst.de>
2012-10-17 16:43:34 +03:00
Julian Scheel aaeb90959f rpi-config: update git revision.
Several options have been added in the meantime to config.txt.

Signed-off-by: Julian Scheel <julian@jusst.de>
2012-10-17 16:43:34 +03:00
Tyler Hall 4ff3a7835a linux-raspberrypi: Use sstate DEPLOYDIR
Using DEPLOY_DIR_IMAGE bypasses the sstate cache. This causes a build
failure when the kernel is pulled from sstate.

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
2012-09-27 17:06:57 +03:00
Andrei Gherzan 09e966ec4e README: Remove BBMASK = "rpi-zram-service" step
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-27 17:06:54 +03:00
Andrei Gherzan 60e6d7474d rpi-zram-service: Remove recipe as it was moved to meta-oe
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-27 17:06:54 +03:00
Andrei Gherzan 5d5cebd8a9 RPi-config: Rename recipe to rpi-config
This was done to avoid errors like:
| *** Error: Package name  contains illegal characters, (other than [a-z0-9.+-])
while using ipk.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-19 18:23:55 +03:00
Andrei Gherzan 90d7b92d6d rpi-basic-image: Add splash image feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:47 +03:00
Andrei Gherzan 63c9977a40 psplash: Add bbappend to use a RPi logo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:46 +03:00
Andrei Gherzan ab3abe1ff7 README: Add nice RPi ASCI logo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:46 +03:00
Andrei Gherzan c26cc3e1c3 README: Add information about license codecs
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:04 +03:00
Andrei Gherzan e0f7145000 sdcard_image-rpi: Ship config.txt from RPi-config recipe
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:04 +03:00
Andrei Gherzan 522b731699 bcm2835-bootfiles: Add rdepends to RPi-config
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:04 +03:00
Andrei Gherzan ed571d7296 RPi-config: Create recipe for config.txt file
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:04 +03:00
Sander van Grieken dbeae85ad0 linux-raspberrypi: Update SRCREV to current@2012-09-13
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
2012-09-18 19:15:48 +03:00
Sander van Grieken ebc611fbb0 vc-graphics.inc: Fix QA issue; Install libGLESv1_CM.so symlink in source as copy
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
2012-09-18 19:15:48 +03:00
Sander van Grieken 0d4ab1591e firmware.inc: Update firmware SRCREV to current@2012-09-13
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
2012-09-18 19:15:27 +03: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 ce41133438 sdcard_image-rpi: Fix xzcat command while writing rootfs partition
[GITHUB #74]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:13:55 +03:00
Andrei Gherzan 29f4242ad0 sdcard_image-rpi: Ship cmdline.txt file
Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 21:36:53 +03:00
Andrei Gherzan 890dca99f9 linux-raspberrypi: Use cmdline.txt to supply kernel command line
The build-time kernel command line (as defined by the CONFIG_CMDLINE config
parameter) is not respected by the RPI bootloader, and instead any custom
command line must be suplied via the cmdline.txt file in the boot partition.

This patch modifies the linux-raspberrypi recipe to generate a cmdline.txt
file that corresponds to the build-time configured command line, and it
also modifies the sdcard_image-rpi.bbclass to include this file in the
generated SD card images.

[GITHUB #62]

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 21:35:21 +03:00
Andrei Gherzan c5e8185710 vchiq: Fix file permission
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan 875571368b recipes.txt: Fix file permission
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan 17bad78bbe linux-raspberrypi_3.2.27.bb: Fix file permission
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan 9b79519990 linux.inc: Fix file permission
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +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 8ef27a0bff bcm2835-bootfiles.bb: Fix file permissions
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan b67e4610f3 firmware.inc: Remove extra newlines
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan 05d8b58bc8 rpi-first-run-wizard: Clean extra spaces
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:03 +03:00
Andrei Gherzan 770f679ef4 recipes.txt: Add info about devtools and multimedia recipes groups
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:02 +03:00
Andrei Gherzan d1b44165da bcm2835: Add COMPATIBLE_MACHINE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 20:55:02 +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 b5d53c70f0 sdcard_image-rpi.bbclass: Inherit image_types as this class will be in 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 209cb3db62 linux-raspberrypi: Remove PR from PV
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 280c217470 sdcard_image-rpi: Fix SDIMG_SIZE
The final SDIMG_SIZE was missing a IMAGE_ROOTFS_ALIGNMENT padding.

[GITHUB #65]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-16 03:17:34 +03:00
Andrei Gherzan b059c59f71 sdcard_image-rpi: Align SD partition and optimize final SD image
SD image file was 4G in size but actually the rootfs partition was only
60MB (ex.: rpi-basic-image).
The image file size is not fixed anymore but calculated inside this
class. In this way we will setup the partition for rootfs to fit the
ext file used as SDIMG_ROOTFS. By default the free space is calculated
with IMAGE_OVERHEAD_FACTOR which is by default 1.3. If more free space
is needed this can be overwritten.
IMAGE_ROOTFS_ALIGNMENT set at 4096. This should be the best value for a
SD card.

[GITHUB #20]
[GITHUB #59]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-12 23:21:28 +03:00
Sander van Grieken ce246f83d6 sdcard_image-rpi.bbclass: Add sysctl.d config to set vm.min_free_kbytes to 8192
[GITHUB #49]

Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-06 19:19:31 +03:00
Aurelian Zanoschi f76ad1e006 bcm2835: Integrate version 1.8
The first integration of bcm2835 package was done. The package version
is 1.8. BCM2835 package provides access to GPIO and other IO functions
on the Broadcom BCM 2835 chip, allowing access to the GPIO pins on the
26 pin IDE plug on the RPi board.

[GITHUB #35]

Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-06 01:15:54 +03:00
Andrei Gherzan 7b57199e0e README: Instruct users to add BBMASK as distro file was removed
[GITHUB #57]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-06 00:58:43 +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
Jack Mitchell 9a84696178 rpi-basic-image: Add new basic image with SSH server
Add a new basic image with ssh-server-dropbear IMAGE_FEATURE

This is to allow people without physical hardware attached to
the Pi such as monitor and keyboard to connect over the network.

[GITHUB #52]

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-03 02:20:01 +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 6647bb651f omxplayer: Integrate git revision 231c08b42005e3de565013bc1cee18bd5a349c1f
Add four patches:
1. don-t-strip-while-installing.patch
   Don't strip binaries because buildsystem will strip them after all.
2. libraries-are-installed-in-usr-lib.patch
   Libraries are installed in /usr/lib not in /usr/local/lib
3, remove-hardcoded-directory-omxplayer-dist.patch
   We want files to be installed in ${D}. Add a variable in Makefile to
   let users install omxplayer in a specific location.
4. remove-makefile-include.patch
   Remove Makefile.include as it includes hardcoded paths. Rely on
   variables provided by build system.

[GITHUB #34]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:21 +03:00