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
This commit is contained in:
Guillaume GARDET 2019-11-19 07:56:56 +00:00 committed by Git OBS Bridge
parent f3902c191c
commit ee92c19369
3 changed files with 22 additions and 3 deletions

13
disable-vc4-overlay.dts Normal file
View File

@ -0,0 +1,13 @@
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2711";
fragment@0 {
target = <&vc4>;
__overlay__ {
status = "disabled";
};
};
};

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 11 18:29:08 UTC 2019 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
- Add disable-vc4-overlay.dts, which simply disables vc4 (SLE-7771)
-------------------------------------------------------------------
Fri Oct 4 13:09:27 UTC 2019 - Matthias Brugger <mbrugger@suse.com>

View File

@ -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