From 24e3b803388f4c1f40f95f952b047efb1cb125fe Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 27 Jan 2019 12:36:59 +0000 Subject: [PATCH] Raspberry Pi 3A+ --- rpi-add-3Aplus.patch | 32 ++++++++++++++++++++++++++++++++ uboot-tools.spec | 8 ++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 rpi-add-3Aplus.patch diff --git a/rpi-add-3Aplus.patch b/rpi-add-3Aplus.patch new file mode 100644 index 0000000..8f2ae2e --- /dev/null +++ b/rpi-add-3Aplus.patch @@ -0,0 +1,32 @@ +From d61cf138bce890b0b79745e48a908062bc36b99f Mon Sep 17 00:00:00 2001 +From: Jonathan Gray +Date: Fri, 16 Nov 2018 23:07:39 +1100 +Subject: [PATCH] rpi: add 3 Model A+ + +Add Raspberry Pi 3 Model A+ to list of models, the revision code is 0xE +according to the list on raspberrypi.org. + +Signed-off-by: Jonathan Gray +Signed-off-by: Alexander Graf +--- + 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 5062486..153a1fd 100644 +--- a/board/raspberrypi/rpi/rpi.c ++++ b/board/raspberrypi/rpi/rpi.c +@@ -138,6 +138,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { + DTB_DIR "bcm2837-rpi-3-b-plus.dtb", + true, + }, ++ [0xE] = { ++ "3 Model A+", ++ DTB_DIR "bcm2837-rpi-3-a-plus.dtb", ++ false, ++ }, + }; + + static const struct rpi_model rpi_models_old_scheme[] = { +-- +2.7.4 diff --git a/uboot-tools.spec b/uboot-tools.spec index 2ec81a8..770331a 100644 --- a/uboot-tools.spec +++ b/uboot-tools.spec @@ -2,7 +2,7 @@ Name: uboot-tools Version: 2018.09 -Release: 1%{?candidate:.%{candidate}}%{?dist} +Release: 2%{?candidate:.%{candidate}}%{?dist} Summary: U-Boot utilities License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+ URL: http://www.denx.de/wiki/U-Boot @@ -32,9 +32,10 @@ Patch16: tegra-efi_loader-simplify-ifdefs.patch Patch17: tegra-TXx-Add-CONFIG_EFI_LOADER_BOUNCE_BUFFER.patch Patch18: tegra-fix-tx1.patch Patch19: sunxi-DT-A64-add-Pine64-LTS-support.patch +Patch20: rpi-add-3Aplus.patch # Upstream UEFI fixes -Patch20: uefi-fixes.patch +Patch21: uefi-fixes.patch BuildRequires: bc BuildRequires: dtc @@ -321,6 +322,9 @@ cp -p board/warp7/README builds/docs/README.warp7 %endif %changelog +* Sun Jan 27 2019 Peter Robinson 2018.09-2 +- Add support for Raspberry Pi 3A+ + * Sun Sep 30 2018 Pablo Greco - Added conditional to enable devtoolset-7-gcc for .el7 build (Arrfab) - Added conditional BR, python2-pyelftools is python-pyelftools in .el7 (Arrfab)