From ee92c19369be23621dce749656e66dd9ad235a363e28610b7cf137cb250ec805 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Tue, 19 Nov 2019 07:56:56 +0000 Subject: [PATCH] Accepting request 748598 from home:nsaenzjulienne:branches:hardware:boot For now vc4 crashes on the RPi4, introduce a device tree overlay to disable it. This can be used to disable vc4 trough congfig.txt. OBS-URL: https://build.opensuse.org/request/show/748598 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/raspberrypi-firmware-dt?expand=0&rev=28 --- disable-vc4-overlay.dts | 13 +++++++++++++ raspberrypi-firmware-dt.changes | 5 +++++ raspberrypi-firmware-dt.spec | 7 ++++--- 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 disable-vc4-overlay.dts diff --git a/disable-vc4-overlay.dts b/disable-vc4-overlay.dts new file mode 100644 index 0000000..254070c --- /dev/null +++ b/disable-vc4-overlay.dts @@ -0,0 +1,13 @@ +/dts-v1/; +/plugin/; + +/{ + compatible = "brcm,bcm2711"; + + fragment@0 { + target = <&vc4>; + __overlay__ { + status = "disabled"; + }; + }; +}; diff --git a/raspberrypi-firmware-dt.changes b/raspberrypi-firmware-dt.changes index eb279bb..5024778 100644 --- a/raspberrypi-firmware-dt.changes +++ b/raspberrypi-firmware-dt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 11 18:29:08 UTC 2019 - Nicolas Patricio Saenz Julienne + +- Add disable-vc4-overlay.dts, which simply disables vc4 (SLE-7771) + ------------------------------------------------------------------- Fri Oct 4 13:09:27 UTC 2019 - Matthias Brugger diff --git a/raspberrypi-firmware-dt.spec b/raspberrypi-firmware-dt.spec index 8502365..e757f91 100644 --- a/raspberrypi-firmware-dt.spec +++ b/raspberrypi-firmware-dt.spec @@ -1,7 +1,7 @@ # # spec file for package raspberrypi-firmware-dt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,8 +22,9 @@ Release: 0 Summary: Device trees for the Raspberry Pi firmware loader License: GPL-2.0-only Group: System/Boot -Url: https://github.com/raspberrypi/linux/ +URL: https://github.com/raspberrypi/linux/ Source: raspberrypi-firmware-dt-%{version}.tar.xz +Source1: disable-vc4-overlay.dts Source100: get-from-git.sh Requires: raspberrypi-firmware BuildRequires: dtc @@ -51,7 +52,7 @@ for dts in arch/arm/boot/dts/bcm27*dts arch/arm64/boot/dts/broadcom/bcm27*dts; d done export DTC_FLAGS="-R 0 -p 0 -@ -H epapr" -for dts in arch/arm/boot/dts/overlays/*dts; do +for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1}; do target=$(basename ${dts%*.dts}) target=${target%*-overlay} mkdir -p $PPDIR/overlays