summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* README: Fix documentation to disable overscanjethroJonathan Liu2015-12-021-1/+1
| | | | | | To disable overscan, DISABLE_OVERSCAN should be set to 1 rather than 0. Signed-off-by: Jonathan Liu <net147@gmail.com>
* patch: Delete useless fileAndrei Gherzan2015-12-021-550/+0
| | | | | | | This file has been wrongly introduced in commit 72ea51f. Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-config: SPI bus supportGary Thomas2015-12-022-0/+11
| | | | | | | | | With the newer kernels that use device tree, the SPI bus is only enabled by a device tree setting. This is now supported by adding ENABLE_SPI_BUS = "1" in local.conf Signed-off-by: Gary Thomas <gary@mlbassoc.com>
* rpi-base.inc: add i2c-rtc overlayJonathan Liu2015-10-251-0/+1
| | | | | | | | The update of the kernel in 10a5bace87c19e50014f838031e8f3db334b45b7 to 3.18.16 missed the separate rtc overlays being replaced by the i2c-rtc overlay. Signed-off-by: Jonathan Liu <net147@gmail.com>
* userland: Adjust include location for pthreads-headersKhem Raj2015-10-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vcos headers include headers like "vcos_platform.h" "vcos_futex_mutex.h" "vcos_platform_types.h" and these headers are different based on platform/OSes. e.g. OS targets that support pthreads these headers should come from pthreads/ folder but not for others. So one would add right -I option for every package that accesses them directly or indirectly. so if a software does #include <EGL/egl.h> then it will break | In file included from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vcos/vcos_assert.h:149:0, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vcos/vcos.h:114, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vmcs_host/vc_dispmanx.h:33, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/EGL/eglplatform.h:110, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/EGL/egl.h:36, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/weston/1.8.0-r0/weston-1.8.0/clients/../shared/platform.h:29, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/weston/1.8.0-r0/weston-1.8.0/clients/window.h:33, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/weston/1.8.0-r0/weston-1.8.0/clients/eventdemo.c:40: | /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: No such file or directory | #include "vcos_platform_types.h" | ^ | compilation terminated. This is wrong, it should not happen since doing simple #include <EGL/egl.h> should not demand manual addition of some internal paths tobe added to -I flags. This patch fixes the headers which refer to headers inside pthreads/ folder to prefix them with pthreads/ so we dont have to specify additional paths This fixes weston on rpi and I believe there are more patches now to recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend recipes-multimedia/omxplayer/omxplayer_git.bb which can be removed as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix install prefix and generate pkgconfigsKhem Raj2015-10-243-12/+152
| | | | | | | | | | | | | | | | | | | | several userspace libraries like libepoxy poke for pkgconfigs ( .pc ) files to detect egl support, and comes out to fail in configure stage, one of the patches now adds support to generate .pc files for some known cases. it could be further extended if needed for other libraries too Secondly, the default CMAKE_INSTALL_PREFIX is /opt/vc but in OE we use proper /usr so lets make this change as well, it simplifies do_install() .so are not versioned so we need to grapple with OE's defaults of expecting versioned .so files. Adjust packages for -dev package such that it can automatically package pkgconfig files and inherit pkgconfig because in cmake code we are not looking for pkgconfig so we need the dependency also put in place for consistent builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README: Add section on audio routingAlex J Lennon2015-10-241-5/+31
| | | | | | See http://redmine.gherzan.com/issues/55 Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* pi-blaster: Bump revisionAndrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Bump revisionAndrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-mkimage: Bump revisionAndrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* omxplayer: Bump revisionAndrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* firmware: Bump revisionAndrei Gherzan2015-10-211-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* bcm2835: Update to v1.46Andrei Gherzan2015-10-211-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-versions: Default kernel on 4.1.%Andrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Remove old 3.12 versionAndrei Gherzan2015-10-211-7/+0
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update 4.1 recipe to 4.1.10Andrei Gherzan2015-10-211-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: support kernel 4.1.3Alex J Lennon2015-10-211-0/+6
| | | | Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* linux-raspberrypi: Update kernel to 3.18.16Alex J Lennon2015-10-212-14/+17
| | | | | | | | This requires some changes to KERNEL_DEVICETREE as the dtb layout has changed to support overlays. This change also makes us ready to support kernel 4.x series Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* gstreamer1.0-plugins-bad: remove unrecognized configure optionJonathan Liu2015-10-131-2/+1
| | | | | | | The --with-egl-window-system=rpi configure option is not recognized in the current version. Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-raspberrypi.inc: use SRCPV instead of SRCREV for PVJonathan Liu2015-10-131-1/+2
| | | | | | SRCPV is intended to be used by PV. Using SRCREV for PV is incorrect. Signed-off-by: Jonathan Liu <net147@gmail.com>
* wiringPi: Bump to 2.29Andrei Gherzan2015-10-133-188/+720
| | | | | | | The patch was rebased to apply on the updated version. Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Fix multiple inline issues while building with gcc 5.xTom Doehring2015-10-025-39/+70
| | | | | | | | | | | | Building userland source with gcc 5.x causes multiple issues such as: vcos_thread.h:186:15: warning: inline function 'vcos_thread_get_affinity' declared but never defined | VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread); The following patches fixes these issues and allows building userland on the current poky master branch. Signed-off-by: Tom Doehring <toolmmy@googlemail.com>
* rpi-config: fix setting decode_WVC1 in config.txtJonathan Liu2015-09-241-1/+1
| | | | Signed-off-by: Jonathan Liu <net147@gmail.com>
* pi-blaster: Bump SRCREVPetter Mabäcker2015-09-243-56/+1
| | | | | | | | | | | | | Update to latest revision in order to get rid of the integration patch '0001-handle-install-data-hook-when-cross-compile.patch' that has been submitted upstream. Changes since cd318cd63031a30249a4c08435b97263fa76d7b7: bce7c1b Merge pull request #45 from Technux/dev/technux 74510ff Display an error message if unable to open mbox 53197ca handle install-data-hook when cross compile Signed-off-by: Petter Mabäcker <petter@technux.se>
* sdcard_image-rpi.bbclass: use existing ROOTFS_SIZE variableJonathan Liu2015-09-231-6/+2
| | | | | | The ROOTFS_SIZE variable is already set to the aligned root filesystem size. Signed-off-by: Jonathan Liu <net147@gmail.com>
* README: Add extra iformation on creating/sending patches using gitKhem Raj2015-08-101-3/+8
| | | | | | | | Current instructions could be improvised to help user in creating properly formatted patches with some command help on git format-patch and git send-email Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-default-providers: Let users overwrite the default providersAndrei Gherzan2015-08-101-4/+4
| | | | | | | [Feature #65] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Pierre FICHEUX <pierre.ficheux@gmail.com>
* packagegroup-rpi-test: Add pi-blasterPetter Mabäcker2015-08-101-0/+1
| | | | | | | Ensure that pi-blaster is built and included by default when building 'rpi-test-image'. Signed-off-by: Petter Mabäcker <petter@technux.se>
* linux-raspberrypi.inc: Make kgdboc kernel param optionalMauro Carvalho Chehab2015-08-102-9/+19
| | | | | | | | | | | | | The kernel debugger over console (kgdboc) parameter is being added unconditionally to the kernel command line but this means that the kernel will stop and wait for gdb to attach in case of a exception or when sending a sysrq-g key. This behaviour may not be what most users wants that are not remotely debugging the kernel over serial console so make it optional by adding a ENABLE_KGDB config option. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> [javier: Extended commit message and made it conditional] Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
* sdcard_image-rpi.bbclass: Allocate more space for boot partitionDerek Foreman2015-08-091-3/+3
| | | | | | | | | | | | | The boot partition currently has a size of 20 MiB but just the start elf binaries account almost 12 MiB, which means that only 8 MiB is left for the kernel image. A recent kernel with many of its options built-in can easily be more than 4 MiB so let's double the boot partition size to 40 MiB to make sure that it has enough room for the kernel image, the DTBs and possible even a backup kernel. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> [javier: Extended the commit message] Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
* sdcard_image: Fix sdcard image generationGary Thomas2015-08-091-0/+1
| | | | | | | | Recent updates to the MSDOS tools (OE-core is now at 3.0.28) have made it an error to overwrite an image using mkfs.vfat. This patch fixes that problem by removing any old/stale images, thus starting from scratch. Signed-off-by: Gary Thomas <gary@mlbassoc.com>
* userland: Fix POSIX compliance expectationKhem Raj2015-08-092-0/+36
| | | | | | | | | | | | | We have errors like below with glibc 2.22+ net_sockets_common.c:139:20: error: storage size of 'hints' isn't known struct addrinfo hints, *info, *p; ^ newer glibc has now fixed the definitions of getaddrinfo and ilk to be enabled with correct posix version. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wiringpi: Bump SRCREVPetter Mabäcker2015-07-193-206/+435
| | | | | | | | | | | | | Update wiringpi to latest revision. Due to a refactoring of the build procedure in wiringpi the integration patch 'makefile-install.patch' didn't apply anymore. While migrating that patch it was simplified and generated using 'git format-patch' instead, to make it easier to maintain the patch in the future. [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* omxplayer: Bump SRCREVPetter Mabäcker2015-07-191-2/+2
| | | | | | | [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: bump SRCREVPetter Mabäcker2015-07-191-2/+2
| | | | | | | | | Update to latest version of userland for rpi. [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-gpio: update version to 0.5.11Petter Mabäcker2015-07-191-2/+2
| | | | | | | [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* pi-blaster: bump to latest versionPetter Mabäcker2015-07-194-80/+57
| | | | | | | | | | Removed 'enable-autotools-support.patch' since it is included in latest upstream. Also fix a cross compiling issue. [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* bcm2835: update version to 1.44Petter Mabäcker2015-07-191-2/+2
| | | | | | | [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-mkimage: Bump SRCREVPetter Mabäcker2015-07-191-1/+1
| | | | | | | | | Update to latest version of rpi-mkimg [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* bcm: Bump SRCREVPetter Mabäcker2015-07-191-2/+2
| | | | | | | | | Update to latest version of firmware.git [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* If SERIAL_CONSOLE is already define by another layer, this value may not be ↵Thomas Perrot2015-06-051-1/+1
| | | | | | good. Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
* bcm2835: update SRC_URITrevor Woerner2015-06-051-1/+1
| | | | | | | It appears as though the location of this tarball has changed. The current SRC_URI works but is redirected to this new location. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* README: fix outdated device tree infoPetter Mabäcker2015-06-051-1/+2
| | | | | | | | After '6392a63 rpi-base.inc: Use KERNEL_DEVICETREE by default' was introduced, the default value for 3.18+ kernels was changed. Ensure this is reflected in the README. Signed-off-by: Petter Mabäcker <petter@technux.se>
* devicetree: auto-disable dts for old kernelsPetter Mabäcker2015-06-053-7/+51
| | | | | | | | | After '6392a63 rpi-base.inc: Use KERNEL_DEVICETREE by default' was introduced, kernel versions < 3.18 might not be buildable. Since full device tree support was introduced in 3.18 this change ensures that all kernel < 3.18 will automatically disable device tree. Signed-off-by: Petter Mabäcker <petter@technux.se>
* linux-raspberrypi: Update 3.12 branch to latestPetter Mabäcker2015-05-182-34/+1
| | | | | | | | | | | | | | Update linux-raspberrypi_3.12 to latest revision. Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite after '558d0bf Fix grabbing lock from atomic context in i2c driver' was merged to 3.12. [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Drop support for old kernel versionsPetter Mabäcker2015-05-184-32/+0
| | | | | | | | | | | meta-raspberrypi currently supports too many versions in order to ensure that all of them are frequently tested and updated. Change to only support latest stable + 2 long term versions. [Support #59] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Add 3.14 supportPetter Mabäcker2015-05-183-0/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add basic support for Linux 3.14, cherry-pick changes from 3.18.y in order to solve some debugfs warnings and get better support for i2s for BCM2708. - 3.14 lacks BCM2709 support and will not by default be able to use for raspberry pi 2. Below warnings still exists they are harmless and exists due to that snd_soc_pcm512x is triggered to be loaded twice. The problem is solved after device tree support for the driver was introduced in 3.18.y and no easy solution exists to solve this problem on older kernel versions (see https://github.com/raspberrypi/linux/issues/662 for more info). pcm512x 1-004c: Failed to reset device: -5 pcm512x: probe of 1-004c failed with error Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite after cherry-picking '558d0bf Fix grabbing lock from atomic context in i2c driver'. [Support #57] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update 3.18 branch to 3.18.11Petter Mabäcker2015-04-301-5/+3
| | | | | | | | | | | | Update linux-raspberrypi_3.18 to latest version. Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite in later kernel versions. [Support #56] Change-Id: I91e57f4e65d9c1c9d12014f5d11b0acd950e2d1d Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* .gitignore: Ignore some stuffAndrei Gherzan2015-03-121-0/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-basic-image: Define rpi SPLASH specific packageAndrei Gherzan2015-03-121-0/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>