Commit Graph

1081 Commits

Author SHA1 Message Date
Khem Raj
589483c89c linux-raspberrypi: Upgrade to 4.19.57
Fixes vc4 graphics issues seen with 4.19.56
Add -@ to device tree flags so we can debug/dump the
dtb with symbols, helps in debugging the overlays

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
210cbd8f8f sdcard_image-rpi.bbclass: Use armstub machine feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
8dae8e3459 raspberrypi4-64.conf: Define a machine feature for armstubs
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
7adb852dd1 linux-raspberrypi: Bump 4.19 revision to have proper coherent_pool set
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
d3b780f941 sdcard_image-rpi.bbclass: Fix typo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
d108982cb5 linux-raspberrypi.inc: Explicitly set defconfig for raspberrypi4-64
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
549006b58f linux-raspberrypi: Fix defconfig for RPi4-64
emmc dt node uses iproc sdhci driver. Make sure it is enabled.
https://github.com/raspberrypi/linux/pull/3045

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
284664b755 raspberrypi-tools: Update to remove Makefile patch
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
9e73b9eb9f raspberrypi4-64.conf: Initial machine configuration
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
d15e627049 sdcard_image-rpi.bbclass: Include in the SD card image the armstub file
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
33f810f434 rpi-config: Handle ARMSTUB
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
242b1f53c0 armstubs: Add support for compiling ARM stubs
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
004a1ef2c2 firmware: Rename firmware inc file to raspberrypi-firmware.inc
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
f30d4cfe70 raspberrypi4-64.conf: Introduce RPi arm64 machine
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
e00578fd1c linux-raspberrypi: Bump 4.19 revision to fix RPi 4 arm64 builds
See:
9d1deec93f
https://github.com/raspberrypi/linux/issues/3024
https://github.com/raspberrypi/linux/pull/3030

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
6585c518b7 raspberrypi4: Use vc4-fkms-v3d
Currently, we use vc4-kms-v3d as the default overlay for VC4 but this
seems to break vc4 at runtime on RPi4. Change this to vc4-fkms-v3d for
now as this is the default Raspbian ons as well.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
37aa050d5a rpi-base.inc: Include the "fake" KMS dtbo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
e9388ca169 linux-firmware-rpidistro: Fix WiFi on RaspberryPi 4
The official Raspbian with RPi4 support has an additional change for the
NVRAM WiFi configuration: boardflags3 value is changed from "0x48200100"
to "0x44200100". Without this change the interface never comes up. It is
confusing because the deb changelog doesn't say anything about it and
the repository upstream doesn't have this change. Asked for more info
here:
https://github.com/RPi-Distro/firmware-nonfree/issues/3

In the meanwhile we import this change. Also, we remove the .pc directory
which confuses the patch step.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
b85775a16a raspberrypi4.conf: Add initial machine 32 bit configuration
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
9649833a2c firmware: Update to 20190620
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
174fafd16b 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-07-20 21:56:21 +01:00
Andrei Gherzan
e6a52cd548 linux-raspberrypi: Update 4.19 kernel to 4.19.56
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
16f465bc67 linux-raspberrypi: Include configuration for RaspberryPi3 defconfig
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
2a05603313 raspberrypi3.conf: Clarify machine mode
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
Andrei Gherzan
34ffb26f6c rpi-base.inc: Include rpi4 dtb
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-20 21:56:21 +01:00
dir
8d9275d753 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-07-20 21:56:21 +01:00
malus-brandywine
510f7c8672 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-07-20 21:56:21 +01:00
Khem Raj
e18023cd9d firmware: Update 20190220 -> 20190517
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-20 21:56:21 +01:00
Khem Raj
fe7725eb97 userland: Update to 20190501
Forward port the patches as needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-20 21:56:21 +01:00
Khem Raj
adbad84b64 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-07-20 21:56:21 +01:00
Martin Schuessler
6c73694912 omxplayer: remove hardcoded tune and arch from Makefile
Fixes: #428

Signed-off-by: Martin Schuessler <tossprobe@gmail.com>
2019-06-24 17:46:48 +01:00
Khem Raj
1c842e21c2 linux-raspberrypi_4.19.bb: Update to 4.19.44
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-14 11:13:18 +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