Commit Graph

350 Commits

Author SHA1 Message Date
Petter Mabäcker
7146e12374 layer.conf: set high layer priority
Set a high layer prio to ensure that meta-raspberrypi addons
are always prioritized above the depended layers.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-03-01 01:13:43 +01:00
Andrei Gherzan
1350ba8acf raspberrypi.conf: Use arm1176jzfshf as default tune
Reformat the tune-arm1176jzf-s.inc file.
There is not 'PACKAGE_EXTRA_ARCHS_tune-armv6hf-vfp'. Replace it by
'PACKAGE_EXTRA_ARCHS_tune-armv6hf'.

Change-Id: I0dd63b1dd3e1ebc7fe0600e93fb9d27a6a833cd9
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:51 +01:00
Andrei Gherzan
6392a63985 rpi-base.inc: Use KERNEL_DEVICETREE by default
We already switched to kernel v3.18 by default so we can activate
KERNEL_DEVICETREE by default too.

Change-Id: I69612be72f8254d462421112cf851e17a1ef24f8
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:50 +01:00
Andrei Gherzan
1949a0d5ba userland: Fix build for armv7
[Bug #49]

Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:48 +01:00
Andrei Gherzan
ba383ecd35 linux-raspberrypi: Refactor kernel recipes
We use this to simplify the update process. Updating a kernel version will not
require renaming the recipe but only tweaking LINUX_VERSION.

Update kernel version:
        - bump SRCREV
        - bump LINUX_VERSION if needed

[Support #26]

Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:48:34 +01:00
Andrei Gherzan
4147bd7214 userland: Bump SRCREV
Change-Id: If1d2608322749db4baa445ba94bc471a0ac86a5c
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:33 +01:00
Andrei Gherzan
fde4b34aa2 bcm2835: Update to v1.38
Change-Id: Iebac94415602454dd4e2808c8e02d0083f804029
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:31 +01:00
Andrei Gherzan
72c43866c1 rpi-gpio: Update to v0.5.9
Change-Id: Ifc455b9106f07583ccaf3fe82723baaeb5e04d2e
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:29 +01:00
Andrei Gherzan
b7c3a935cc omxplayer: Bump SRCREV
Add a patch to fix the pkg-config mechanism in ffmpeg.

Change-Id: Ib506bb4e26a8a0c5c294ed55da0a0da8dc67a2d7
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:26 +01:00
Andrei Gherzan
d8bf60ce6c README: Github repo changed
Change-Id: If16b5a782d7154c05f6502554a03d215774e4c07
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-14 02:00:57 +01:00
Andrei Gherzan
463d0e2d7d README: As users asked - bitbucket mirror
Change-Id: I240e5686d4740a84c35e5063ba08bff363b1b91e
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-11 21:19:40 +01:00
Andrei Gherzan
54c5451a04 Add support for Raspberry PI 2
Add machine configuration file.
Change the kernel image name on SD card.
Use the defconfig for this machine (bcm2709_defconfig).

Change-Id: I6549d5f49b1ed32ef4d44aca6f7af4234618c1a8
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 14:46:42 +02:00
Andrei Gherzan
dedd45f4f8 Use variable for kernel image deployed name on SD card
Change-Id: I4a55b53d337930aae3351629a902dbac832ac958
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:30:40 +02:00
Andrei Gherzan
8c8a5cd64c linux-raspberrypi.inc: Make KERNEL_DEFCONFIG machine specific
Change-Id: I241a8adead67717f31d1b2e66a71bd5c3edfa9fd
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:28:37 +02:00
Andrei Gherzan
318f1b3994 firmware: Update to HEAD
Change-Id: I682365b514f233616ac7eb07667edc4ca6afcdfa
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:19:54 +02:00
Andrei Gherzan
7089e6a891 linux-raspberrypi.inc: Remove machine specific CMDLINE definition
This is already a raspberrypi specific recipe. So this is useless and would
break other machines.

Change-Id: Ie1d627384255660d7e213833fd4433f47c0edc1d
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:14:05 +02:00
Andrei Gherzan
18e5856a25 rpi-default-versions.inc: Use kernel v3.18 by default
Change-Id: If3ff46ae10b7bee2decead6dfa408833713d16f8
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:09:41 +02:00
Andrei Gherzan
e1d4448ce8 xserver-xf86-config: Use SOC specific assignements
In this way the modifications will be used on all RPI boards.

Change-Id: Ife10db876db85c1c4944028a0b49ccae4d8c0d41
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:06:36 +02:00
Andrei Gherzan
b89a2743fb raspberrypi.conf: Split in specific and common conf. files
*.conf files should hold board specific stuff while rpi-base.inc should
include configuration that is common for all Raspberry Pi boards.

Remove MACHINE_KERNEL_PR as we don't use it anymore.

Minor tweaks.

Change-Id: I5e1b12c1d224ac003d2890544beb036f1d5d8643
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:01:36 +02:00
Andrei Gherzan
b99a09b257 Merge "devicetree: Add support for DT overlays with RPi bootloader" 2015-02-07 22:14:22 +01:00
Francois Muller
2dbc974596 devicetree: Add support for DT overlays with RPi bootloader
Compile overlay device trees and put them in 'overlays/' folder
on sdcard RPi boot partition.

Change-Id: I3da0032b3c2618165008eec1fc94e97824d09099
Signed-off-by: Francois Muller <francois@concept-embarque.fr>
2015-02-07 20:54:37 +01:00
Petter Mabäcker
4905c7cc2b README: add info about device tree support
Add basic info about device tree support for RPi and how to use
KERNEL_DEVICETREE.

Also fix minor typo in the section about redmine.

Change-Id: Ibfee31e319c421c09d6e9cbfbe83364e8d055b95
Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-02-06 23:33:52 +01:00
Francois Muller
4dc75cedf7 devicetree: Add minimal support with RPi bootloader
[RPi DT info] https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md#part-3-using-device-trees-on-raspberry-pi

RPi bootloader detects a DT-ready kernel by checking for a specific trailer in kernel.img.
Using latest raspberrypi/firmware (firmware.inc) enables this check ability.
Using latest raspberrypi/tools (rpi-mkimage.bb) gives access to mkknlimg for adding the
required trailer to kernel image.


If KERNEL_DEVICETREE is filled in, the trailer is added to the kernel image before
kernel install task. While creating the SDCard image, this modified kernel is
put on boot partition (as kernel.img) as well as DeviceTree blobs (.dtb files).
If KERNEL_DEVICETREE is empty, this new process isn't operated, legacy one does.

KERNEL_DEVICETREE for RPi is really supported only starting from linux-rapsberry 3.18+
kernels, so as for now it defaults to empty (in machine config file).

Change-Id: Ifea71bbda729b8f3c47be7ba0ba03be5ad2ceeaa
Signed-off-by: Francois Muller <francois@concept-embarque.fr>
2015-02-05 14:07:00 +01:00
Andrei Gherzan
327c0c12b5 README: Fix redmine tag
Change-Id: I90d520c66f03503b225f42ac772b3b22cf461626
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-05 12:07:52 +02:00
Petter Mabäcker
dc6327683e linux-raspberrypi: Update 3.12 branch to 3.12.36
Update linux-raspberrypi_3.12 to latest version.

[ISSUE #10]

Change-Id: Ifd7e86587b3239a3b1240d2b8461560b16e08d08
Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-02-05 09:59:52 +01:00
Petter Mabäcker
2adea22b46 Revert "linux-raspberrypi: Change to Linux Yocto style kernel recipes"
This reverts commit 67a1c4eaaf.

[ISSUE #39]

Conflicts:
	recipes-kernel/linux/linux-raspberrypi_3.2.27.bb

Change-Id: I03ae6b9c96894509a4fecd24eef8740889238730
Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-02-05 09:59:40 +01:00
Andrei Gherzan
4535ac053f README: Commit log issue tag
Change-Id: I5c981a799abe709cac8e134ffb7b24fb21160de6
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-04 01:28:21 +02:00
Andrei Gherzan
12eeae3bdf Merge "linux-raspberrypi: Remove old v3.2.27" 2015-02-03 19:20:27 +01:00
Andrei Gherzan
b9a3b88ff9 Merge "linux-raspberrypi: Change to Linux Yocto style kernel recipes" 2015-02-03 19:20:15 +01:00
Andrei Gherzan
9ac77c112e README: Introduce redmine
Replace the ASCI graphics by some useful quick links.
Some minor other changes.

Change-Id: I7e1f118f22c60a5218751323c6cbebdc86e8e119
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-03 17:39:27 +02:00
Andrei Gherzan
a335bf5fe6 linux-raspberrypi: Remove old v3.2.27
Change-Id: If5e0a88acdfe67903d1a11133849f35f453904ac
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-01 04:03:12 +02:00
Alex J Lennon
67a1c4eaaf linux-raspberrypi: Change to Linux Yocto style kernel recipes
Yocto style recipes provide support for application of kernel
configuration fragments which is achieved with this change.

For further details see the Yocto Linux Kernel Development Manual

ref: http://www.yoctoproject.org/docs/1.6/kernel-dev/kernel-dev.html

In addition .bb files are simplified to take a SRCBRANCH which is
used by the SRC_URI set in linux-raspberrypi.inc and together with
the existing SRCREV define a checkout from the linux-raspberrypi
git repository.

A default configuration, defconfig, is provided as a baseline.
This is generated from bcmrpi_defconfig, as used in the existing
recipes, and so configuration options should be the same.

To change the kernel configuration a new configuration fragment
may be generated, as explained in the kernel development documentation
above, and this file then added to the SRC_URI via a .bbappend.

Added some minor refactoring and removed some useless code.

Change-Id: Ic72e14ec14ec3f042aeda0c6820f896be9c02e69
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-31 18:07:58 +02:00
Andrei Gherzan
b6d899e4d2 README: Fix typo
Patch pulled from github:
https://github.com/djwillis/meta-raspberrypi/pull/101

Change-Id: I9aaa3687c30d0fde5e981e7cafbabad7dc24ce50
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-31 17:01:57 +02:00
Petter Mabäcker
efd760d0a2 linux-raspberrypi: faulty branch and srcrev for 3.16
linux-raspberrypi_3.16 used wrong branch (rpi-3.14.y instead of
rpi-3.16.y). Use latest SRCREV for 3.16 and bump version to 3.16.5.

Change-Id: Ic81eeddb0c8a4df1f11948f00491f83ab877d040
Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 21:47:45 +02:00
Petter Mabäcker
1eda7e8b74 linux-raspberrypi: fix do_configure failure
When building against newer yocto project releases below failure
occurs.

| DEBUG: Executing shell function do_configure
| NOTE: make oldconfig
| make: *** No rule to make target `oldconfig'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure

Fix this by trying to adapt more of the standard mechanism
that exists in yocto, in order to build "custom kernels".

Change-Id: I0598c0c16d84295a454976f60b56f9d35c36a4ba
Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 21:47:27 +02:00
Maciej Borzecki
1ed383d466 sdimage-raspberrypi.wks: kickstart image definition
Although the sdimage-bootpart.wks kickstrt file in Poky works
fine with Raspberry Pi, this patch adds a kickstart file that
mirrors sdcard_image-rpi.bbclass layout.

Change-Id: I34e60a9c89c9074ea9e114951165cb4fbffcb5c4
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 20:39:58 +02:00
Maciej Borzecki
eb3f087a56 raspberrypi.conf: add IMAGE_BOOT_FILES
Add IMAGE_BOOT_FILES that defines a list of files to be placed in boot
partition. The variable is effectivey used with wic when building a SD
card image.

Change-Id: Ie7b2ea032349bf33ce7a9afc70e2fb4806ff9a04
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 20:39:39 +02:00
Andrei Gherzan
a1f39c598e omxplayer: Minor tweaks
Change-Id: Ic88656f2efba3d976918a4c556931b294bd00ed5
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 20:30:25 +02:00
Andrei Gherzan
2dea23c4fb omxplayer: Add patch to fix lflags and cflags
This patch fixes the following package build break:
| arm-poky-linux-gnueabi-gcc is unable to create an executable file.
| C compiler test failed.

Change-Id: I9f0bf47e4bf969a793718e915fc6c5f4eab012bb
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-01-25 20:30:25 +02:00
Parthiban Nallathambi
6c6f44136f gstreamer1.0-plugins-bad: Making bbappend version independent
Making the bbappend file gstreamer1.0-plugins-bad into version independent

Change-Id: I1ed1fb91e23aa58e9b1a02429ca60a4484eaad93
Signed-off-by: Parthiban N <parthitce@gmail.com>
2014-11-20 12:32:36 +01:00
Andrei Gherzan
6b63f6fcbd omxplayer: Update to remote's HEAD
Cleanup and rebase patches.

Change-Id: I151fa6b067a66ac6de9eed920f7e16a08a157e17
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-24 03:04:54 +02:00
Andrei Gherzan
ec36d853d8 linux-raspberrypi: Replace v3.14.2 by v3.16.1
Latest kernel supported by rPI.

Change-Id: I658d8bb78ff61f856fc82328633ca227325436e4
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-24 03:03:36 +02:00
Andrei Gherzan
0a5b6bb390 linux-raspberrypi: Update 3.12 branch to 3.12.26
Change-Id: Ie6630f53bb2e4dd71825e0453236de30d25bd07b
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-24 03:02:52 +02:00
Andrei Gherzan
d85f800dd9 rpi-gpio: Update to v0.5.6
Change-Id: I93d3239c6f797d4a5ebf4d0ff5a910d20a9042ac
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-24 03:01:49 +02:00
Andrei Gherzan
5abdd93e35 firmware: Update to remote's HEAD
Change-Id: I320ceb1f6c0015d5ce48028b0e3581d2f4d52a3b
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-24 03:01:22 +02:00
Alex J Lennon
6a8c859c2f rpi-config,README: Add option to enable offline image compositing
Set this variable to enable support for dispmanx offline compositing
DISMANX_OFFLINE = "1"

This will enable the firmware to fall back to off-line compositing of
Dispmanx elements. Normally the compositing is done on-line, during scanout,
but cannot handle too many elements. With off-line enabled, an off-screen
buffer is allocated for compositing. When scene complexity (number and sizes
of elements) is high, compositing will happen off-line into the buffer.

Heavily recommended for Wayland/Weston.

See: http://wayland.freedesktop.org/raspberrypi.html

Change-Id: I722b20ff5bdba1bdd0683d30bee07c3934c95a1f
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2014-08-14 19:54:30 +02:00
Andrei Gherzan
e598f63fbb README: Some minor clarifications
Change-Id: I28f7e45b7b323597ed7e542ec117a2556bcecc94
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-14 19:37:22 +02:00
Andrei Gherzan
7ec84dd0a1 omxplayer: Add dependency on openssl
Change-Id: I06527c3814fe3690cdbbd03e4a41c79fe554773f
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-14 15:36:17 +02:00
Andrei Gherzan
9939629b44 gstreamer1.0-plugins-bad: Sync version with yocto master
Change-Id: I7913b849ddfc615de4846dbd653e03d084bb8039
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-08-14 15:36:14 +02:00
Andrei Gherzan
c3410fe342 Merge "gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi" 2014-06-12 14:46:14 +00:00