From 3093576c0e6faba90fe8d49c26548acc06097fc8b0150e4de814eeb678577f2e Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Wed, 1 Dec 2021 07:36:18 +0000 Subject: [PATCH] Accepting request 934860 from hardware:boot:staging OBS-URL: https://build.opensuse.org/request/show/934860 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=157 --- ...-rpi-Add-identifier-for-the-new-RPi-.patch | 30 +++++++++++++++++++ u-boot.changes | 7 +++++ u-boot.spec | 1 + 3 files changed, 38 insertions(+) create mode 100644 0017-rpi-Add-identifier-for-the-new-RPi-.patch diff --git a/0017-rpi-Add-identifier-for-the-new-RPi-.patch b/0017-rpi-Add-identifier-for-the-new-RPi-.patch new file mode 100644 index 0000000..aa2cfa3 --- /dev/null +++ b/0017-rpi-Add-identifier-for-the-new-RPi-.patch @@ -0,0 +1,30 @@ +From e1882910eac0e40ec286ab2946207dd4c8136e98 Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Sun, 21 Nov 2021 17:03:46 +0000 +Subject: [PATCH] rpi: Add identifier for the new RPi Zero 2 W + +The Raspberry Pi Foundation released the new Zero 2 W which we +want to detect, so we can detect the correct device tree file name. + +Signed-off-by: Peter Robinson +Signed-off-by: Matthias Brugger +--- + board/raspberrypi/rpi/rpi.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c +index 372b26b6f2..c8662f6e75 100644 +--- a/board/raspberrypi/rpi/rpi.c ++++ b/board/raspberrypi/rpi/rpi.c +@@ -157,6 +157,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { + DTB_DIR "bcm2711-rpi-4-b.dtb", + true, + }, ++ [0x12] = { ++ "Zero 2 W", ++ DTB_DIR "bcm2837-rpi-zero-2.dtb", ++ false, ++ }, + [0x13] = { + "400", + DTB_DIR "bcm2711-rpi-400.dtb", diff --git a/u-boot.changes b/u-boot.changes index 9416811..9b1b9e0 100644 --- a/u-boot.changes +++ b/u-boot.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 15:53:17 UTC 2021 - Matthias Brugger + +Patch queue updated from https://github.com/openSUSE/u-boot.git tumbleweed-2021.10 +* Patches added: + 0017-rpi-Add-identifier-for-the-new-RPi-.patch + ------------------------------------------------------------------- Fri Oct 22 13:01:25 UTC 2021 - Guillaume GARDET diff --git a/u-boot.spec b/u-boot.spec index 556cf26..c2a0f7c 100644 --- a/u-boot.spec +++ b/u-boot.spec @@ -236,6 +236,7 @@ Patch0013: 0013-riscv-enable-CMD_BTRFS.patch Patch0014: 0014-Disable-timer-check-in-file-loading.patch Patch0015: 0015-Enable-EFI-and-ISO-partitions-suppo.patch Patch0016: 0016-Revert-video-backlight-fix-pwm-s-du.patch +Patch0017: 0017-rpi-Add-identifier-for-the-new-RPi-.patch # Patches: end BuildRequires: bc BuildRequires: bison