Commit Graph

1212 Commits

Author SHA1 Message Date
Andrei Gherzan
e472f28af5 rpi-base: Rename the rpi0w dtb
This change is following the rename in the kernel:

    commit 6f91b5dbfdb62a434571a73f2dc15181963e3bea
    Author: Phil Elwell <phil@raspberrypi.org>
    Date:   Tue May 28 16:36:04 2019 +0100

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30 16:14:31 +01:00
Andrei Gherzan
bb366e8b4e linux-raspberrypi: Update 4.19 kernel to 4.19.56
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30 16:14:31 +01:00
Andrei Gherzan
dbe5c91cb2 linux-raspberrypi: Include configuration for RaspberryPi3 defconfig
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30 16:14:31 +01:00
Andrei Gherzan
e3aa98a0ce raspberrypi3.conf: Clarify machine mode
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30 16:14:31 +01:00
Andrei Gherzan
863ed37bb6 rpi-base.inc: Include rpi4 dtb
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30 16:14:31 +01:00
dir
8636b63752 vc-graphics: Don't install sbin directory
Newer versions of the PI firmware don't contain a sbin directory
anymore. This patch removes the then failing attempt at installing.

Signed-off-by: Diez Roggisch <diez.roggisch@ableton.com>
2019-06-24 18:10:14 +01:00
Martin Schuessler
ca11a291ee omxplayer: remove hardcoded tune and arch from Makefile
Fixes: #428

Signed-off-by: Martin Schuessler <tossprobe@gmail.com>
2019-06-20 21:52:46 +01:00
malus-brandywine
40283f583b sdcard_image-rpi : minor bug in use of FATPAYLOAD
Double quotation marks were added around FATPAYLOAD to prevent parsing error when FATPAYLOAD contains list of file names

Signed-off-by: Nataliya Korovkina <malus.brandywine@gmail.com>
2019-06-13 16:43:20 +01:00
Khem Raj
920822c0fb firmware: Update 20190220 -> 20190517
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 12:08:38 +01:00
Khem Raj
041cdd8040 userland: Update to 20190501
Forward port the patches as needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 12:08:38 +01:00
Khem Raj
aaa0d0b708 rpi-default-versions: Switch defaults to 4.19
4.19 is now declared stable, see
https://github.com/raspberrypi/linux/issues/2931#issuecomment-494016355

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 12:08:38 +01:00
Khem Raj
0e079f3097 linux-raspberrypi_4.19.bb: Update to 4.19.44
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 12:08:38 +01:00
Andrei Gherzan
36c3c2e7ca gstreamer1.0-omx: Forward port bbappend and patches to v1.16.x
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-05-28 21:05:58 +01:00
Gianluigi Tiesi
7059c37451 psplash: Raise alternatives priority to 200
Alternatives priority of psplash in poky is now 100,
so we need something higher (fixes #381).

Signed-off-by: Gianluigi Tiesi <sherpya@netfarm.it>
2019-04-24 13:13:37 +01:00
Paul Barker
1de713eec3 linux-raspberrypi 4.9: Drop old version
The rpi-4.9.y branch has not been updated since July 2018.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-04-24 13:13:21 +01:00
Paul Barker
348d572a6b linux-raspberrypi: Switch default back to 4.14.y
The 4.19.y kernel is not yet considered stable upstream as discussed in
the following GitHub issues:

https://github.com/agherzan/meta-raspberrypi/issues/410
https://github.com/raspberrypi/linux/issues/2931

Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-04-24 13:13:21 +01:00
Paul Barker
047808065c linux-raspberrypi: Update 4.14.y kernel
Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-04-24 13:13:21 +01:00
Martin Jansa
8eeb579c55 userland: use default PACKAGE_ARCH
* drop MACHINE_ARCH which was added in:
  592274937b
* the recipe is using MACHINE_FEATURES but if everybody either enables or disables vc4graphics
  for all rpi MACHINEs it isn't causing it to be MACHINE_ARCH any more than all other rpi
  overrides used in this layer.
* raspberrypi3-64 is the only one with vc4graphics by default, but it
  has different TUNE_PKGARCH than other rpi MACHINEs). Unfortunately not
  without its own set of issues:
  http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281328.html
* fixes userland and everything which depends on it (qtbase, qtwebengine..)
  to be effectivelly MACHINE_ARCH

  === Comparing signatures for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 ===
  ERROR: qtbase different signature for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3
  NOTE: Starting bitbake server...
  Hash for dependent task userland/userland_git.bb.do_packagedata changed from dcfe9e7982ce1e231f06293c1e568d77384f167358fe88debe761290483244a0 to baa4d4164b0045f46c966e773cfeeed87f2c491c3dbd368af7cf4cd63ce39177
  Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-raspberrypi/recipes-graphics/userland/userland_git.bb.do_packagedata with hashes dcfe9e7982ce1e231f06293c1e568d77384f167358fe88debe761290483244a0 or baa4d4164b0045f46c966e773cfeeed87f2c491c3dbd368af7cf4cd63ce39177

  ERROR: 1 errors found in /OE/build/luneos-master/webos-ports/tmp-glibc/sstate-diff/1555500556/signatures.raspberrypi3.do_package_write_ipk.sigdata.log

  bitbake-diffsigs tmp-glibc/sstate-diff/1555495762/r*/*/userland/do_fetch
  NOTE: Starting bitbake server...
  basehash changed from d767ab01261472a220e0ec80b01bc33e60764d56b5880ab3153afd42ea734703 to e57e594d7e4219f22778ccc5d8c102deeeaff64586e0f71cd90964fa2ace4e1c
  Variable MACHINE value changed from 'raspberrypi2' to 'raspberrypi3'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-18 10:56:46 +01:00
Martin Jansa
7ef5042001 bluez5: apply the same patches and pi-bluetooth dependency for all rpi MACHINEs
* otherwise e.g. raspberrypi2 and raspberrypi3 have bluez5 and
  everything which depends on it (e.g. libpcap, ppp, connman, ..)
  effectively MACHINE_ARCH.

bitbake-diffsigs tmp-glibc/sstate-diff/1555265356/ra*/*/bluez5/*do_fetch*
NOTE: Starting bitbake server...
Task dependencies changed from:
['ABIEXTENSION', 'ARMPKGARCH', 'ARMPKGARCH_tune-cortexa7thf-neon-vfpv4', 'ARMPKGSFX_DSP', 'ARMPKGSFX_EABI', 'ARMPKGSFX_ENDIAN', 'ARMPKGSFX_FPU', 'ARMPKGSFX_THUMB', 'ARM_INSTRUCTION_SET', 'ARM_M_OPT', 'ARM_THUMB_OPT', 'ARM_THUMB_SUFFIX', 'DEFAULTTUNE', 'EXTENDPE', 'LIBCEXTENSION', 'MULTIMACH_TARGET_SYS', 'PACKAGE_ARCH', 'PE', 'PN', 'PR', 'PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'STAMP', 'TARGET_OS', 'TARGET_VENDOR', 'TUNE_CCARGS_MFLOAT', 'TUNE_CCARGS_MFPU', 'TUNE_FEATURES', 'TUNE_FEATURES_tune-cortexa7', 'TUNE_FEATURES_tune-cortexa7-neon', 'TUNE_FEATURES_tune-cortexa7-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7t-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7thf-neon-vfpv4', 'TUNE_PKGARCH', 'base_do_fetch', 'clean_recipe_sysroot']
to:
['ABIEXTENSION', 'ARMPKGARCH', 'ARMPKGARCH_tune-cortexa7thf-neon-vfpv4', 'ARMPKGSFX_DSP', 'ARMPKGSFX_EABI', 'ARMPKGSFX_ENDIAN', 'ARMPKGSFX_FPU', 'ARMPKGSFX_THUMB', 'ARM_INSTRUCTION_SET', 'ARM_M_OPT', 'ARM_THUMB_OPT', 'ARM_THUMB_SUFFIX', 'BCM_BT_SOURCES', 'DEFAULTTUNE', 'EXTENDPE', 'LIBCEXTENSION', 'MULTIMACH_TARGET_SYS', 'PACKAGE_ARCH', 'PE', 'PN', 'PR', 'PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'STAMP', 'TARGET_OS', 'TARGET_VENDOR', 'TUNE_CCARGS_MFLOAT', 'TUNE_CCARGS_MFPU', 'TUNE_FEATURES', 'TUNE_FEATURES_tune-cortexa7', 'TUNE_FEATURES_tune-cortexa7-neon', 'TUNE_FEATURES_tune-cortexa7-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7t-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7thf-neon-vfpv4', 'TUNE_PKGARCH', 'base_do_fetch', 'clean_recipe_sysroot']
basehash changed from 64b667d84518033856312563af69f9153d8af50dc39c75386ebfbb21fc221a56 to 1b061d52d03831d80866fa7374df99c42db7851e6f259b7a33e3b05f537dd9aa
List of dependencies for variable SRC_URI changed from '{'SRC_URI[sha256sum]', 'SRC_URI[md5sum]', 'PV'}' to '{'SRC_URI[sha256sum]', 'SRC_URI[md5sum]', 'BCM_BT_SOURCES', 'PV'}'
changed items: {'BCM_BT_SOURCES'}
Dependency on variable BCM_BT_SOURCES was added
Variable SRC_URI value changed:
@@ -1,2 +1,2 @@
-    ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz     file://out-of-tree.patch     file://init     file://run-ptest     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)}     file://0001-tests-add-a-target-for-building-tests-without-runnin.patch     file://0001-test-gatt-Fix-hung-issue.patch     file://0001-Makefile.am-Fix-a-race-issue-for-tools.patch     file://CVE-2018-10910.patch      file://0001-Case-insensitive-firmware-name.patch
+    ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz     file://out-of-tree.patch     file://init     file://run-ptest     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)}     file://0001-tests-add-a-target-for-building-tests-without-runnin.patch     file://0001-test-gatt-Fix-hung-issue.patch     file://0001-Makefile.am-Fix-a-race-issue-for-tools.patch     file://CVE-2018-10910.patch  ${BCM_BT_SOURCES}     file://0001-Case-insensitive-firmware-name.patch
 DISTRO_FEATURES{systemd} = Set
Dependency on checksum of file 0002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch was added
Dependency on checksum of file 0001-bcm43xx-Add-bcm43xx-3wire-variant.patch was added
Dependency on checksum of file 0004-Move-the-43xx-firmware-into-lib-firmware.patch was added
Dependency on checksum of file 0003-Increase-firmware-load-timeout-to-30s.patch was added

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-18 10:56:46 +01:00
Francesco Giancane
2e59929402 qtbase_%.bbappend: update PACKAGECONFIG name for xkbcommon
As per [Qt 5.12.2 commit update](28d4bfdf74), xkbcommon-evdev PACKAGECONFIG option has been renamed to xkbcommon.

This commit fixes BitBake QA:
WARNING: qtbase-5.12.2+gitAUTOINC+856fb1ab44-r0 do_configure: QA Issue: qtbase: invalid PACKAGECONFIG: xkbcommon-evdev [invalid-packageconfig]
2019-04-17 10:12:42 +01:00
Martin Jansa
6745beb7b1 linux_raspberrypi_4.19: Update to 4.19.34
* The branch rpi-4.19.y (and rpi-4.18.y) was recently force pushed and
  current d65a0f76d3adcf86a6f5c614c68edb3aeb3b8590 nor previous
  3c468fc8191d276e3e9efd976a0ff71271f3fc51 aren't included in any
  branch, from my local checkout update:

  e24b1f6c0c79..5f4b16e4a8d6 rpi-4.14.y -> up/rpi-4.14.y
  e54efc381a97..22bb67b8e2e8 rpi-4.14.y-rt -> up/rpi-4.14.y-rt
  3a1a31d70660...d58c595b013f rpi-4.18.y -> up/rpi-4.18.y (forced update)
  48dfbb408fdd...ab8652c03fa0 rpi-4.19.y -> up/rpi-4.19.y (forced update)
  [new branch] rpi-4.20.y -> up/rpi-4.20.y
  [new branch] rpi-5.0.y -> up/rpi-5.0.y

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-16 14:49:59 +01:00
Peter A. Bigot
9ceb84ee9e linux_raspberrypi_4.19: Update to 4.19.32
The rpi-4.19.y branch has been rebased and the commit specified for
4.19.30 no longer exists upstream.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-04-07 08:12:53 +09:00
Khem Raj
490a4441ac layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-05 11:21:49 +09:00
Khem Raj
7af614b2ee linux-raspberrypi_4.19: Bump to 4.19.30
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-24 04:24:14 +00:00
Khem Raj
2586881ce6 linux-kernel: Upgrade to 4.9.29
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 17:01:15 +00:00
Khem Raj
1b990fb8e2 linux-raspberrypi_4.19.bb: Upgrade to 4.19.25
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-08 10:36:45 +00:00
Khem Raj
7cfb0e8928 linux-raspberrypi_4.19.bb: Update to 4.19.25
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-05 12:19:25 +00:00
Khem Raj
9a7b5c9ad4 qtbase: Enabel gbm always and add userland to depends
When using userland graphics, we need to install both userland and
mesa-gl to complete the stack needed to build wayland support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-05 12:19:25 +00:00
Khem Raj
7e5fb3fca8 mesa-gl: Delete only KHR/khrplatform.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-05 12:19:25 +00:00
Khem Raj
c7e7f0b762 cairo: Enable egl/gles2 with userland
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-05 12:19:25 +00:00
Khem Raj
60dbfd2544 userland: Upgrade to latest as of 20190114
Forward port the patches
package vcfiled init scripts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:07:36 +00:00
Khem Raj
a6c81aa527 firmware: Update to latest as of 20190220
Needed for 4.19 kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:07:36 +00:00
Khem Raj
6a3dc071cd machines: Switch default kernel to 4.19
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:07:36 +00:00
Khem Raj
606675f4e8 linux-raspberrypi: Add recipe for 4.19 kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:07:36 +00:00
Khem Raj
ec5f7981e6 linux-raspberrypi-dev: Switch to 4.19 kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:07:36 +00:00
Khem Raj
99e6700784 dtbo: Remove lirc-rpi overlay
kernel 4.19 does not have this overlay

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:07:36 +00:00
Khem Raj
52d0031c57 mesa-gl: Provide virtual/libgbm
We specificially enable building libgbm via packageconfig but then the
PROVIDES is hardcoded in main recipes, we make that change here so when
using userland as graphics driver, we can build wayland apps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:04:38 +00:00
Khem Raj
2c8b2f6c6b mesa-gl: Let userland provide libEGL and GLESv2 when vc4 graphics is not used
When vc4graphics is not used then useland graphics provides these
libraries

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 11:04:38 +00:00
Andrei Gherzan
09c00164d6 docs/layer-contents.md: raspberrypi-cm3 is a stand alone machine now
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-02-19 17:02:19 +00:00
Andrei Gherzan
5af10f56d5 raspberrypi-cm3.conf: Define it as a stand alone machine
As well, define the correct configuration for this machine.

Tested this with and without u-boot on CM3 (with internal storage) and
CM3+ without internal storage.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-02-19 17:02:19 +00:00
ErikHH
b2dac7379b wiringpi: Set major version
To fix the behaviour described in
https://github.com/agherzan/meta-raspberrypi/issues/362

Signed-off-by: ErikHH <erik.hoogeveen@outlook.com>
2019-02-19 14:17:12 +00:00
Richard Osterloh
ba54962bce sdcard_image-rpi: Format boot partition as FAT32
Closes: #382

Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
2019-02-19 13:41:28 +00:00
memox_5
6305aa7b69 rpi-config: used printf to escape properly
Used printf command because on some systems bash doesn't escape
sequences consistently.

Signed-off-by: memox5 <memox_5@yahoo.com>
2019-02-15 17:17:57 +00:00
Zahari Petkov
cbc7bee292 firmware.inc: Update to 20190212
Signed-off-by: Zahari Petkov <zahari@balena.io>
2019-02-14 16:50:58 +00:00
Zahari Petkov
0a042bc24a linux-raspberrypi: Update to 4.14.98
Signed-off-by: Zahari Petkov <zahari@balena.io>
2019-02-14 16:50:58 +00:00
Ricardo Salveti
592b4779ac bluez-firmware-rpidistro: update bluez-firmware
Latest bluez-firmware release updates BCM4345C0.hcd to
003.001.025.0156.0280, restoring LE scan capability.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2019-02-12 12:37:09 +00:00
Marek Belisko
89bc575bf2 devtools: Added raspi-gpio
Added handy tool which can be used to trace down how gpio on RPI are
configured + add possibility to update.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-02-08 14:06:34 +00:00
Khem Raj
9cc89cb734 raspberrypi3-64.conf: Use more appropriate tune
rpi3 is based on cortex-a53 implementation which is armv8+crc+simd
now that OE-Core has the appropriate tunes, switch to using the new
tune file, bonus, is that chromium will be more optimized now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 12:24:51 +00:00
Khem Raj
74087f84ce bpftool: Move under meta-oe dynamic layer
This helps to ignore dangling bbappend when meta-oe is not included in
layer mix

Fixes #366

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-17 01:46:57 +00:00
Phong Tran
ff04567064 linux-raspberrypi: add linux-raspberrypi-rt 4.14
select the rt kernel by adding in local.conf:

PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi-rt"

Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2019-01-01 15:43:32 +00:00