summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpi-base.inc: Fix KERNEL_IMAGETYPE assignmentpbarker/imagetypePaul Barker2017-11-202-2/+4
| | | | | | | | | | We can't just override KERNEL_IMAGETYPE in machine-specific conf files without breaking the implementation of RPI_USE_U_BOOT. Instead we need to define a new KERNEL_IMAGETYPE_DIRECT variable which will control the value when u-boot is not in use. This new variable may then be overridden as needed without breaking our u-boot support. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* userland: Update to latest revisionKhem Raj2017-11-1516-63/+62
| | | | | | Forward port patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64: set default kernel to ImageLoys Ollivier2017-11-102-1/+3
| | | | | | | | | | | | Fixes: 50fd319205d8 for raspberrypi3-64. Fixes: #153 For raspberrypi3-64 set default kernel image to "Image". "zImage" are not supported by arm64 platforms. And ".gz" images are not handled by bootloader yet. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
* firmware.inc: Update to 20171029Andrei Gherzan2017-11-081-4/+3
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: KERNEL_IMAGETYPE default to zImageAndrei Gherzan2017-11-081-1/+1
| | | | | | | | | | We used to have this as the default but there was a bug at some point in the firmware which didn't work with compressed kernel images. We switched to Image and never changed it back even though that bug is long history. In this way we will stop carrying 15M of a kernel image. 4M looks much better. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* pi-blaster: An .inc file looks too much for this small recipeAndrei Gherzan2017-11-082-22/+21
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Update 4.9 recipe to 4.9.59Andrei Gherzan2017-11-081-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* x264: Disable asm for raspberrypi0-wifiAndrei Gherzan2017-11-081-0/+1
| | | | | | | | | | | | | This used to work in the past because this machine was based on raspberrypi one. Now that they are separate, we need a configuration for it too otherwise: | common/arm/quant-a.S: Assembler messages: | common/arm/quant-a.S:362: Error: selected processor does not support `rbit r1,r1' in ARM mode | common/arm/quant-a.S:363: Error: selected processor does not support `rbit r1,r1' in ARM mode Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* userland: RPROVIDES is missing libeglFrancesco Giancane2017-10-281-1/+1
| | | | | | | | | | | userland package is the Raspberry Pi provider for the openGL stack. If selected, it shall provide the gles2 and egl stacks in conjunction with mesa-gl. libegl was missing in the RPROVIDES variable, thus some run-time dependencies were not met when using userland as provider. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
* bluez5: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-3/+3
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* linux-raspberrypi: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-1/+1
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* linux-firmware: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-4/+4
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* weston: remove rpi-backend configuration switchFrancesco Giancane2017-10-201-2/+0
| | | | | | | | | | | | | | | | | rpi-backend.so was an attempt to create a specialized weston backend to be used on raspberry pi like platforms. At the moment, this backend's support has been dropped in favor of using the standard drm backend, as the vc4 driver is now mainline in mesa and in kernel (for kernel support). As a result, weston on raspberry pi does not require the rpi-backend.so anymore, nor it is buildable (weston's configure complains about unrecognized configuration switch). This patch enables weston to natively run on the DRM backend. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
* docs: Drop comment on broken raspberrypi3-64 HDMI outputPaul Barker2017-10-121-6/+0
| | | | | | Graphical output on raspberrypi3-64 should now be fixed. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Keep framebuffer support when vc4graphics is enabledPaul Barker2017-10-091-1/+0
| | | | | | Framebuffer support may be required for some monitors and applications. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-config: Do not force HDMI mode for raspberrypi3-64Paul Barker2017-10-091-3/+0
| | | | | | | Forcing hdmi_drive=2 prevents the use of a DVI monitor and a HDMI-DVI converter cable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi.inc: Define KBUILD_DEFCONFIG for rpi0 WiFiAndrei Gherzan2017-10-031-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* Revert "qtbase: Enable EGLFS support"Martin Jansa2017-10-021-3/+0
| | | | | | | | * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. * this makes qtbase and everything which depends on some qt* recipe to be effectivelly MACHINE_ARCH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Enable EGLFS supportOtavio Salvador2017-09-271-0/+3
| | | | | Change-Id: Ib96bd995091f6838f7c09cf5daedbf60f18e1a2d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer.conf: Add Dynamic Layer mechanismOtavio Salvador2017-09-271-0/+9
| | | | | | | | This allow for bbappend files to be enabled when specific layers are included. Change-Id: Iecbcf0de85a64aad71605b60ecd3d9a2586fae85 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* omxplayer: Explain inclusion of ffmpegPaul Barker2017-09-241-0/+9
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* omxplayer: Update Upstream-status tag on patchPaul Barker2017-09-241-1/+1
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Set dependencies for creating wic imagesPaul Barker2017-09-241-0/+4
| | | | | | | We need to ensure that the bootloader and firmware files are present in the deploy directory before creating wic images. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* sdcard_image-rpi: Use un-timestamped link to rootfs partition imagePaul Barker2017-09-241-1/+1
| | | | | | | | The timestamp in the rootfs partition image filename may not match the current timestamp if the do_image_rpi_sdimg step is repeated without repeating the previous do_image_ext3 (or similar) step. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* sdcard_image-rpi: Drop unnecessary sync commandsPaul Barker2017-09-241-3/+3
| | | | | | | | These commands are unnecessary and seem to mask failures to find the rootfs.ext3 file when re-running the do_image_rpi_sdimg stage without re-running the preceeding do_image_ext3 stage. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Support using u-boot with Image format for raspberrypi3-64Paul Barker2017-09-247-23/+36
| | | | | | | | For raspberrypi3-64 we need to use the Image or Image.gz format with u-boot instead of the legacy uImage format. We also need to issue the 'booti' command to boot the kernel instead of 'bootm'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Simplify setting of IMAGE_BOOT_FILESPaul Barker2017-09-241-3/+3
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-dev: Bump to 4.13.y seriesPaul Barker2017-09-241-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Move LOADADDR setting to inc filePaul Barker2017-09-243-10/+5
| | | | | | | There is no reason to continue supporting pre-4.8 series kernels so we can move the setting of LOADADDR to the common inc file. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Merge inc filesPaul Barker2017-09-242-133/+124
| | | | | | | There is no need to have 2 separate inc files any more and the existing code has several duplications. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop ineffective codePaul Barker2017-09-241-19/+0
| | | | | | | The code to determine if we need to depend on lzop-native will fail as the local defconfig file no longer exists. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-base.bbclass: DropPaul Barker2017-09-243-14/+11
| | | | | | | | The only remaining function in linux-raspberrypi-base was split_overlays() which is used in the sdcard_image-rpi class. So we can move this function over and drop the now-empty linux-raspberrypi-base class. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop unnecessary codePaul Barker2017-09-243-27/+2
| | | | | | | | | * The kerneltype variable is not used anywhere after being set. * The manipulation of KERNEL_DEVICETREE is effectively a no-op, we read the current value in get_dts() and store this back into the same variable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* omxplayer: Fix build issuesPaul Barker2017-09-243-2/+102
| | | | | | | | | | | * Update the recipe and patch the Makefile to not require internet access during do_compile. Unfortunately, the upstream Makefile wants to access a web service hosted on Heroku and to "git clone" ffmpeg with no fixed commit hash. * Patch Makefile.ffmpeg to avoid a potential race condition between the configure & compile stages. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-firmware: Update brcmfmac43430 to 7.45.41.46Andrei Gherzan2017-09-213-20/+27
| | | | | | | | | | | | | | | | | | | | | The version of this firmware provided by linux-firmware is 7.45.41.26. This version seems to have connectivity issues when bonding interfaces. Raspbian included an updated version (7.45.41.46) which tested, proved to fix this problem (see https://github.com/resin-os/meta-resin/issues/812). The version Raspbian is providing is not yet in linux-firmware as they have it directly from Cypress (see https://github.com/RPi-Distro/repo/issues/88). Besides the issue described above, it fixes various other issues including a broadpwn fix. Hopefully this version, or a newer one, will end up in upstream soon. In order to catch when that happens and stop overwriting this firmware, a check is added in the racipe based on the md5sum of the current shipped firmware. In terms of ditribution license, we got an informal one in the github thread mentioned above. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* xserver-xf86-config: Disable glamor for the modesetting driver on pi64Khem Raj2017-09-202-2/+13
| | | | | | | Fixes a xorg server crash with musl see details https://github.com/voidlinux/void-packages/issues/6091 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Build dtbs with dtbs make target for rpi64Khem Raj2017-09-201-0/+5
| | | | | | | | | | | OE currently builds dtb files with its own custom targets by specifying each dtb file as makefile target, this creates bad dtb for rpi64 bit. This patch calles 'make dtbs' at the end which regenerates the correct dtb files This makes the vc4 initialize properly on rpi64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64Khem Raj2017-09-202-2/+13
| | | | | | | | | Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI Disable overscan to avoid graphics glitches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.9.bb: Upgrade to 4.9.50Khem Raj2017-09-201-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: drop now upstreamed patchesAndrea Galbusera2017-09-183-145/+0
| | | | | | | | oe-core now provides v2017.09 of u-boot which already merged both patches introduced by commit 94e2929f746f7e49a7870f7ea889dcbed05296c7 so we can drop them from meta-raspberrypi. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* bluez5: enable bluetooth on raspberrypi0-wifiYusuke Mitsuki2017-09-111-0/+12
| | | | | | Add functions/variable to enabling bluetooth on raspberrypi0-wifi. Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
* bluez5: add functions/variables to enabling bluetooth on another raspberrypiYusuke Mitsuki2017-09-111-4/+14
| | | | | | | | | | | | | | | functions/variables in this bbappend implemented for only raspberrypi3. But these must be able to used to enabling bluetooth on another raspberrypi that has bluetooth feature such as raspberrypi0-wifi. The simple solution is a duplicating these but it is not good ideas for maintainance. Add functions/variables follows to simplify to enabling bluetooth on another raspberrypi that has bluetooth. - BCM_BT_SOURCES - enable_bcm_bluetooth() - BCM_BT_FIRMWARE - BCM_BT_SERVICE Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
* userland: Update to current master HEADAndrei Gherzan2017-09-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* omxplayer: Update to current master HEADAndrei Gherzan2017-09-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* pi-blaster: Update to current master HEADAndrei Gherzan2017-09-082-2/+2
| | | | | | License in the README was moved a couple of lines below. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* python-sense-hat: Update to 2.2.0Andrei Gherzan2017-09-081-8/+4
| | | | | | As well integrate with meta-oe bbclass pypi. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-gpio: Update to 0.6.3Andrei Gherzan2017-09-082-21/+14
| | | | | | As well integrate with meta-oe bbclass pypi. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* extra-apps.md: Document limitations of raspberrypi3-64Khem Raj2017-09-081-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Disable DRBD lkmKhem Raj2017-09-081-0/+2
| | | | | | This comes from drbd-utils in meta-oe Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wiringpi: Fix linking problemAurelian Zanoschi2017-09-011-28/+29
| | | | | | | | | | | | [github issue #105: wiringpi library is not linked correctly] Incorrect order of compiler flags causing the libwiringpi.so library to not have the required linking dependencies. The cross-compilation patch needed to be reworked in order to fix this problem. Fixes #105 Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>