Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package raspberrypi-firmware-dt for
openSUSE:Factory checked in at 2021-01-26 14:44:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/raspberrypi-firmware-dt (Old)
and /work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "raspberrypi-firmware-dt"
Tue Jan 26 14:44:30 2021 rev:30 rq:866113 version:2020.12.07
Changes:
--------
---
/work/SRC/openSUSE:Factory/raspberrypi-firmware-dt/raspberrypi-firmware-dt.changes
2020-12-16 10:59:36.563518138 +0100
+++
/work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.28504/raspberrypi-firmware-dt.changes
2021-01-26 14:44:30.351232570 +0100
@@ -1,0 +2,6 @@
+Fri Jan 22 11:11:46 UTC 2021 - Nicolas Patricio Saenz Julienne
<[email protected]>
+
+- Introduce upstream-blconfig-rmem.patch for firmware to be able to define
+ firmware's configuration reserved memory (jsc#SLE-16616)
+
+-------------------------------------------------------------------
New:
----
upstream-blconfig-rmem.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ raspberrypi-firmware-dt.spec ++++++
--- /var/tmp/diff_new_pack.TWBIAQ/_old 2021-01-26 14:44:31.007233586 +0100
+++ /var/tmp/diff_new_pack.TWBIAQ/_new 2021-01-26 14:44:31.011233592 +0100
@@ -1,7 +1,7 @@
#
# spec file for package raspberrypi-firmware-dt
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
Source2: uboot-bcm2835-pl011-overlay.dts
Source100: get-from-git.sh
Patch0: upstream-overlay-rpi-poe.patch
+Patch1: upstream-blconfig-rmem.patch
Requires: raspberrypi-firmware
BuildRequires: dtc
BuildRequires: raspberrypi-firmware
@@ -42,6 +43,7 @@
%prep
%setup
%patch0 -p1
+%patch1 -p1
%build
SRCDIR=`pwd`
++++++ upstream-blconfig-rmem.patch ++++++
>From fea54009c44478bbd14ce91fe902d7b3b911b09b Mon Sep 17 00:00:00 2001
From: Nicolas Saenz Julienne <[email protected]>
Date: Fri, 11 Dec 2020 12:22:01 +0100
Subject: [PATCH] ARM: dts: bcm2711: Add reserved memory template to hold
firmware configuration
RPi4's co-processor will copy the board's bootloader[1] configuration
into memory for the OS to consume. Specifically, for the bootloader
configuration and upgrade user-space routines to query it through
nvmem's sysfs interface.
Introduce a reserved-memory area template for the co-processor to edit
before booting the system so as for Linux not to overwrite that memory
and to expose it as an nvmem device.
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
[1]
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md
---
arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
index 1ef6e8b696cd..4ff73f8b2ab1 100644
--- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
+++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
@@ -24,6 +24,7 @@ aliases {
emmc2bus = &emmc2bus;
ethernet0 = &genet;
pcie0 = &pcie0;
+ blconfig = &blconfig;
};
leds {
@@ -217,6 +218,22 @@ &pwm1 {
status = "okay";
};
+&rmem {
+ /*
+ * RPi4's co-processor will copy the board's bootloader configuration
+ * into memory for the OS to consume. It'll also update this node with
+ * its placement information.
+ */
+ blconfig: nvram@0 {
+ compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x0 0x0 0x0>;
+ no-map;
+ status = "disabled";
+ };
+};
+
/* SDHCI is used to control the SDIO for wireless */
&sdhci {
#address-cells = <1>;
--
2.30.0