Hello community,
here is the log from the commit of package raspberrypi-firmware-dt for
openSUSE:Factory checked in at 2020-02-28 15:21:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/raspberrypi-firmware-dt (Old)
and /work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "raspberrypi-firmware-dt"
Fri Feb 28 15:21:59 2020 rev:17 rq:780211 version:2020.02.03
Changes:
--------
---
/work/SRC/openSUSE:Factory/raspberrypi-firmware-dt/raspberrypi-firmware-dt.changes
2020-02-26 15:06:06.757318819 +0100
+++
/work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.26092/raspberrypi-firmware-dt.changes
2020-02-28 15:22:03.373980454 +0100
@@ -1,0 +2,7 @@
+Thu Feb 27 11:27:47 UTC 2020 - Nicolas Patricio Saenz Julienne
<[email protected]>
+
+- Replace PCIE overlay rpi4-pcie-ib-size-fix-overlay.dts with patch
+ pcie-dma-ranges.patch, as RPI's firmware scans/alters that value before
+ applying overlays (bsc#1165143)
+
+-------------------------------------------------------------------
Old:
----
rpi4-pcie-ib-size-fix-overlay.dts
New:
----
pcie-dma-ranges.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ raspberrypi-firmware-dt.spec ++++++
--- /var/tmp/diff_new_pack.7fOQIc/_old 2020-02-28 15:22:04.213982165 +0100
+++ /var/tmp/diff_new_pack.7fOQIc/_new 2020-02-28 15:22:04.217982173 +0100
@@ -26,10 +26,10 @@
Source: raspberrypi-firmware-dt-%{version}.tar.xz
Source1: disable-vc4-overlay.dts
Source2: rpi4-cma-overlay.dts
-Source3: rpi4-pcie-ib-size-fix-overlay.dts
-Source4: rpi4-thermal.dts
+Source3: rpi4-thermal.dts
Source100: get-from-git.sh
Patch0: remove-vmmc-emmc2.patch
+Patch1: pcie-dma-ranges.patch
Requires: raspberrypi-firmware
BuildRequires: dtc
BuildRequires: raspberrypi-firmware
@@ -43,6 +43,7 @@
%prep
%setup
%patch0 -p1
+%patch1 -p1
%build
SRCDIR=`pwd`
@@ -57,7 +58,7 @@
done
export DTC_FLAGS="-R 0 -p 0 -@ -H epapr"
-for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3}
%{SOURCE4}; do
+for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3}; do
target=$(basename ${dts%*.dts})
target=${target%*-overlay}
mkdir -p $PPDIR/overlays
++++++ pcie-dma-ranges.patch ++++++
>From f517c7f214d438b63092d397a9f944c1e3f1dcc2 Mon Sep 17 00:00:00 2001
From: Nicolas Saenz Julienne <[email protected]>
Date: Thu, 27 Feb 2020 12:23:35 +0100
Subject: [PATCH] ARM: dts: bcm2711: Fix pci-brcmstb's dma-ranges
The B0 revision of boards can only DMA to the lower 3GB of memory. Honor
that limitation and let the firmware update it when relevant.
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
---
arch/arm/boot/dts/bcm2711-rpi.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/bcm2711-rpi.dtsi
b/arch/arm/boot/dts/bcm2711-rpi.dtsi
index 8011cb6361d3..7b2ddf36d32c 100644
--- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
@@ -102,7 +102,7 @@ IRQ_TYPE_LEVEL_HIGH
* to scb:0x0_00000000-ffffffff
*/
dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000
- 0x1 0x00000000>;
+ 0x0 0xc0000000>;
status = "okay";
};
--
2.25.1