Commit Graph

1706 Commits

Author SHA1 Message Date
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
Andrei Gherzan
cc199637a7 vc-graphics.inc: New provides, compatible machine and init for vchiq
1. Add COMPATIBLE_MACHINE=raspberrypi.
2. This package provides libgl libgles2 and libegl. Add these to
PROVIDES.
3. Add an init script to create vchiq device node while booting. This
device is needed by vc_tvservice_*. Package this init script in ${PN}.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:21 +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
7c82087be9 README: Instruct users to add meta-oe layer to bblayers.conf
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
5de86a6190 bcm2835-bootfiles.bb: Add COMPATIBLE_MACHINE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
d5c1df58e3 vc-graphics.bb: Change bb file mode to 644
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
2176dc0bbf RPI.GPIO: Integrate v0.2.0
Patch was added to use setuptools that we already have integrated in
yocto and not the one provided in package. In his way we can use
setuptools bbclass.

[GITHUB #36]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:04:19 +03:00
Sander van Grieken
32d2d1bcde sdcard_image-rpi.bbclass: Add support for 240M/16M GPU memory split
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
2012-08-29 00:01:23 +03:00
Andrei Gherzan
12b0f2db37 README: Add instructions for compressed deployed files
[GITHUB #39]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:59:28 +03:00
Andrei Gherzan
9317527ce1 sdcard_image-rpi: Use xzcat if SDIMG_ROOTFS_TYPE is a .xz file
When burning the rootfs partition we use dd if rootfs file is not
compressed and xzcat piped with dd if rootfs file is a .xz file.

[GITHUB #39]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:59:28 +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
6d866926d8 linux-raspberrypi: Update to v3.2.27
Switch to rpi-3.2.27 branch and use
SRCREV 091073bcab483b976ee33dfe914c28df87914a3b.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:58:26 +03:00
Andrei Gherzan
2757e583aa firmware.inc: Update to SRCREV c42f21261f1eeae0df7ad02f34773e279e7af8c5
01/07/2012 firmware

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:58:26 +03:00
Andrei Gherzan
b7c2c6f119 bcm2835-bootfiles: Add stamp in deploy directory
In this way we can tell exactly what version is deployed.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:58:26 +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
452b7f5e09 vc-graphics.inc: Skip ldflags insane check
Since these binaries are proprietary and we have no control over them,
skip this innsane check to avoid errors like:
ERROR: QA Issue: No GNU_HASH in the elf binary: '<binary>'

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:27 +03:00
Andrei Gherzan
4ff04c2b78 vc-graphics.inc: Package .so file in ${PN}
${PN}-dev is populated before ${PN}. This is why .so files ended up in
${PN}-dev.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:27 +03:00
Andrei Gherzan
43cc40c698 vc-graphics.inc: Set LICENSE to "Proprietary"
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:27 +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
8ce28d2b73 linux: Activate UDEV_GE_141
Newer versions of udev mandate that sysfs doesn't have deprecated
entries

[GITHUB #24]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:14:47 +03:00
Andrei Gherzan
81c06ffcc7 linux.inc: Activate CONFIG_LEGACY_PTYS needed for bootlogd
Activate this to have /dev/ptmx before init script for bootlogd.

[GITHUB #27]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-17 11:27:13 +03:00
Andrei Gherzan
010fee44f3 linux-raspberrypi_3.1.9: Fix typo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-10 11:57:05 +03:00
Andrei Gherzan
7b8df50613 sdcard_image-rpi: Use ${KERNEL_IMAGETYPE}-${MACHINE} as kernel source from deploy dir
${KERNEL_IMAGETYPE} symlink was introduced after denzil so we use
${KERNEL_IMAGETYPE}-${MACHINE} to be able to satisfy the existence in denzil and master
as well.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-10 11:57:05 +03:00
Andrei Gherzan
b3a0db27f6 Merge pull request #30 from agherzan/devel_netbase
netbase: Rename bbappend and directory to match the updated version of n...
2012-07-09 13:15:06 -07:00
Andrei Gherzan
2ea933eac3 netbase: Rename bbappend and directory to match the updated version of netbase
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-09 23:13:34 +03:00
Andrei Gherzan
fc02bba13d Merge pull request #25 from agherzan/devel_kernel
Fix a couple of kernel issues / update kernel / update bootloader and related files / remove unneeded packages
2012-07-09 13:05:15 -07:00
Andrei Gherzan
94d69f8533 sdcard_image-rpi: Copy the kernel specified with KERNEL_FSTYPE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-06 02:22:28 +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
b9b0c009c8 linux-raspberrypi: Add CMDLINE for raspberrypi
Because CONFIG_EXT4_USE_FOR_EXT23 is built in, use rootfstype=ext4
to mount ext2/3/4.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
44444b0511 bcm2835-mkimage: Remove recipe as bootloader can boot from Image directly
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
275c6b1a2b bcm2835-kernel-image: Remove recipe as bootloader can boot from Image directly
There is no need for a mangled kernel image anymore. Precompiled RPI Bootloader
can boot an uncompressed kernel image.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +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
1f4fad072f firmware.inc: Update to latest upstream
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-03 15:16:01 +03:00
Andrei Gherzan
9d2bde45dd linux-raspberrypi: Update kernel to latest upstream
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-03 15:15:58 +03:00