Hello community, here is the log from the commit of package u-boot for openSUSE:Factory checked in at 2018-04-05 15:36:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/u-boot (Old) and /work/SRC/openSUSE:Factory/.u-boot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "u-boot" Thu Apr 5 15:36:36 2018 rev:95 rq:593772 version:2018.03 Changes: -------- --- /work/SRC/openSUSE:Factory/u-boot/u-boot-a10-olinuxino-lime.changes 2018-03-19 23:37:39.362916442 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-a10-olinuxino-lime.changes 2018-04-05 15:36:54.688724141 +0200 @@ -1,0 +2,20 @@ +Thu Apr 5 11:25:47 UTC 2018 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0010-mmc-use-core-clock-frequency-in-bcm.patch + +------------------------------------------------------------------- +Thu Apr 5 09:54:56 UTC 2018 - [email protected] + +- Fix rainbow screen on 32bit RPis (boo#1086757) +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0009-rpi-Allow-to-boot-without-serial.patch + +------------------------------------------------------------------- +Thu Mar 15 23:44:18 UTC 2018 - [email protected] + +- Add Xilinx ZynqMP ZCU 102 target + +------------------------------------------------------------------- u-boot-a13-olinuxino.changes: same change u-boot-a13-olinuxinom.changes: same change u-boot-a20-olinuxino-lime.changes: same change u-boot-a20-olinuxino-lime2.changes: same change u-boot-a20-olinuxinomicro.changes: same change u-boot-am335xboneblack.changes: same change u-boot-am335xevm.changes: same change u-boot-am57xxevm.changes: same change u-boot-arndale.changes: same change u-boot-bananapi.changes: same change u-boot-clearfog.changes: same change u-boot-colibrit20.changes: same change u-boot-cubieboard.changes: same change u-boot-cubieboard2.changes: same change u-boot-cubietruck.changes: same change u-boot-dragonboard410c.changes: same change u-boot-evb-rk3399.changes: same change u-boot-firefly-rk3288.changes: same change u-boot-firefly-rk3399.changes: same change u-boot-geekbox.changes: same change u-boot-highbank.changes: same change u-boot-hikey.changes: same change u-boot-hyundaia7hd.changes: same change u-boot-jetson-tk1.changes: same change u-boot-lamobor1.changes: same change u-boot-ls1012afrdmqspi.changes: same change u-boot-melea1000.changes: same change u-boot-merriia80optimus.changes: same change u-boot-mvebudb-88f3720.changes: same change u-boot-mvebudbarmada8k.changes: same change u-boot-mvebuespressobin-88f3720.changes: same change u-boot-mvebumcbin-88f8040.changes: same change u-boot-mx53loco.changes: same change u-boot-mx6cuboxi.changes: same change u-boot-mx6qsabrelite.changes: same change u-boot-nanopia64.changes: same change u-boot-nanopineo.changes: same change u-boot-nanopineoair.changes: same change u-boot-odroid-c2.changes: same change u-boot-odroid-xu3.changes: same change u-boot-odroid.changes: same change u-boot-omap3beagle.changes: same change u-boot-omap4panda.changes: same change u-boot-orangepipc.changes: same change u-boot-orangepipc2.changes: same change u-boot-p2371-2180.changes: same change u-boot-paz00.changes: same change u-boot-pcm051rev3.changes: same change u-boot-pine64plus.changes: same change u-boot-qemu-ppce500.changes: same change u-boot-rpi.changes: same change u-boot-rpi2.changes: same change u-boot-rpi3.changes: same change u-boot-rpi332b.changes: same change u-boot-sinovoipbpim2plus.changes: same change u-boot-snow.changes: same change u-boot-socfpgade0nanosoc.changes: same change u-boot-spring.changes: same change u-boot-tinker-rk3288.changes: same change u-boot-turrisomnia.changes: same change u-boot-udoo.changes: same change u-boot-udooneo.changes: same change New Changes file: --- /dev/null 2018-03-29 10:35:27.759803458 +0200 +++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-xilinxzynqmpzcu102rev10.changes 2018-04-05 15:37:06.764286050 +0200 @@ -0,0 +1,1804 @@ +------------------------------------------------------------------- +Thu Apr 5 11:25:47 UTC 2018 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0010-mmc-use-core-clock-frequency-in-bcm.patch + +------------------------------------------------------------------- +Thu Apr 5 09:54:56 UTC 2018 - [email protected] + +- Fix rainbow screen on 32bit RPis (boo#1086757) +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0009-rpi-Allow-to-boot-without-serial.patch + +------------------------------------------------------------------- +Thu Mar 15 23:44:18 UTC 2018 - [email protected] + +- Add Xilinx ZynqMP ZCU 102 target + +------------------------------------------------------------------- +Thu Mar 15 16:34:22 UTC 2018 - [email protected] + +- Enable new RPi3 B+ (bsc#1085262) +- Fix network boot (bsc#1070775) +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0005-rpi3-Enable-lan78xx-driver.patch + 0006-net-Only-access-network-devices-aft.patch + 0007-rpi-Add-identifier-for-the-new-RPi3.patch + 0008-efi_loader-Fix-network-DP-with-DM_E.patch + +------------------------------------------------------------------- +Wed Mar 14 15:13:44 UTC 2018 - [email protected] + +- Updated to 2018.03 + +------------------------------------------------------------------- +Tue Mar 6 13:26:21 UTC 2018 - [email protected] + +- Updated to 2018.03-rc4 + +------------------------------------------------------------------- +Thu Feb 22 08:43:30 UTC 2018 - [email protected] + +- Updated to 2018.03-rc3 + +------------------------------------------------------------------- +Wed Feb 21 16:48:20 UTC 2018 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0004-rpi-Use-firmware-provided-device-tr.patch + +------------------------------------------------------------------- +Tue Feb 13 12:26:59 UTC 2018 - [email protected] + +- Updated to 2018.03-rc2 + +------------------------------------------------------------------- +Tue Jan 30 07:48:10 UTC 2018 - [email protected] + +- Updated to 2018.03-rc1 +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches dropped: + 0004-Fix-MMC1-external-SD-slot-on-Samsun.patch (Fixed upstream) + +------------------------------------------------------------------- +Wed Jan 17 17:11:04 UTC 2018 - [email protected] + +- Add turrisomnia + +------------------------------------------------------------------- +Wed Jan 17 09:51:41 UTC 2018 - [email protected] + +- Updated to 2018.01 + +------------------------------------------------------------------- +Mon Jan 8 09:02:47 UTC 2018 - [email protected] + +- Updated to 2018.01-rc3 + +------------------------------------------------------------------- +Tue Dec 19 13:59:57 UTC 2017 - [email protected] + +- Updated to 2018.01-rc2 + +------------------------------------------------------------------- +Fri Dec 8 07:50:19 UTC 2017 - [email protected] + +- Updated to 2018.01-rc1 +- Remove am57xx_evm_nodt since it has been removed upstream + +------------------------------------------------------------------- +Sat Nov 25 23:00:31 UTC 2017 - [email protected] + +- Add nanopi_a64 +- Update orangepi_pc2 packaging + +------------------------------------------------------------------- +Thu Nov 16 12:27:27 UTC 2017 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.11 +* Patches added: + 0004-Fix-MMC1-external-SD-slot-on-Samsun.patch + +------------------------------------------------------------------- +Tue Nov 14 10:10:21 UTC 2017 - [email protected] + +- Updated to v2017.11 + +------------------------------------------------------------------- +Tue Nov 7 09:59:19 UTC 2017 - [email protected] + +- Updated to v2017.11-rc4 + +------------------------------------------------------------------- +Tue Oct 31 10:28:07 UTC 2017 - [email protected] + +- Updated to v2017.11-rc3 + +------------------------------------------------------------------- +Tue Oct 17 07:58:25 UTC 2017 - [email protected] + +- Updated to v2017.11-rc2 +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.11 +* Patches dropped: + 0004-Fix-boot-on-Beagleboard-xM-by-disab.patch + +------------------------------------------------------------------- +Mon Oct 16 18:53:36 UTC 2017 - [email protected] + +- Added Banana Pi M2+ support (u-boot-sinovoipbpim2plus) + +------------------------------------------------------------------- +Sun Oct 8 13:17:01 UTC 2017 - [email protected] + +- Add firefly-rk3399 and geekbox + +------------------------------------------------------------------- +Sat Oct 7 00:52:52 UTC 2017 - [email protected] + +- Drop obsolete CuBox-i i.MX6 SPL packaging, too + +------------------------------------------------------------------- +Fri Oct 6 23:26:14 UTC 2017 - [email protected] + +- Update packaging for Jetson TX1 +- Cleanups +* Drop executable bit from SPL +* Consistently use %uboot_dir +* u-boot[-tegra]-dtb.bin is obsolete +* Drop obsolete UDOO-specific i.MX6 SPL packaging +- Package sunxi64 SPL for Pine64 + +------------------------------------------------------------------- +Mon Oct 2 13:33:40 UTC 2017 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.09 +* Patches added: + 0004-Fix-boot-on-Beagleboard-xM-by-disab.patch + +------------------------------------------------------------------- +Wed Sep 13 15:14:30 UTC 2017 - [email protected] + +- Merge and rename packages to follow upstream: + old configs: + mvebu_db-88f7040-nand_defconfig + mvebu_db-88f7040_defconfig + mvebu_db-88f8040_defconfig + merged to new config: + mvebu_db_armada8k_defconfig + +------------------------------------------------------------------- +Tue Sep 12 08:26:24 UTC 2017 - [email protected] + +- Updated to v2017.09 + +------------------------------------------------------------------- +Tue Sep 5 09:22:47 UTC 2017 - [email protected] + +- Updated to v2017.09-rc4 + +------------------------------------------------------------------- +Mon Aug 21 14:46:36 UTC 2017 - [email protected] + +- Updated to v2017.07 + +------------------------------------------------------------------- +Mon Jul 10 12:54:03 UTC 2017 - [email protected] + +- Updated to v2017.07-rc3 + +------------------------------------------------------------------- +Thu Jun 22 08:19:18 UTC 2017 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2017.07 ++++ 1607 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-xilinxzynqmpzcu102rev10.changes --- /work/SRC/openSUSE:Factory/u-boot/u-boot.changes 2018-03-19 23:37:41.994821498 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot.changes 2018-04-05 15:37:06.800284744 +0200 @@ -1,0 +2,20 @@ +Thu Apr 5 11:25:47 UTC 2018 - [email protected] + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0010-mmc-use-core-clock-frequency-in-bcm.patch + +------------------------------------------------------------------- +Thu Apr 5 09:54:56 UTC 2018 - [email protected] + +- Fix rainbow screen on 32bit RPis (boo#1086757) +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 +* Patches added: + 0009-rpi-Allow-to-boot-without-serial.patch + +------------------------------------------------------------------- +Thu Mar 15 23:44:18 UTC 2018 - [email protected] + +- Add Xilinx ZynqMP ZCU 102 target + +------------------------------------------------------------------- New: ---- 0009-rpi-Allow-to-boot-without-serial.patch 0010-mmc-use-core-clock-frequency-in-bcm.patch u-boot-xilinxzynqmpzcu102rev10.changes u-boot-xilinxzynqmpzcu102rev10.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ u-boot-a10-olinuxino-lime.spec ++++++ --- /var/tmp/diff_new_pack.r2Qvog/_old 2018-04-05 15:37:10.952134119 +0200 +++ /var/tmp/diff_new_pack.r2Qvog/_new 2018-04-05 15:37:10.956133975 +0200 @@ -54,6 +54,8 @@ Patch0006: 0006-net-Only-access-network-devices-aft.patch Patch0007: 0007-rpi-Add-identifier-for-the-new-RPi3.patch Patch0008: 0008-efi_loader-Fix-network-DP-with-DM_E.patch +Patch0009: 0009-rpi-Allow-to-boot-without-serial.patch +Patch0010: 0010-mmc-use-core-clock-frequency-in-bcm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0 BuildRequires: arm-trusted-firmware-pine64 @@ -106,6 +108,8 @@ %patch0006 -p1 %patch0007 -p1 %patch0008 -p1 +%patch0009 -p1 +%patch0010 -p1 %build export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s) u-boot-a13-olinuxino.spec: same change u-boot-a13-olinuxinom.spec: same change u-boot-a20-olinuxino-lime.spec: same change u-boot-a20-olinuxino-lime2.spec: same change u-boot-a20-olinuxinomicro.spec: same change u-boot-am335xboneblack.spec: same change u-boot-am335xevm.spec: same change u-boot-am57xxevm.spec: same change u-boot-arndale.spec: same change u-boot-bananapi.spec: same change u-boot-clearfog.spec: same change u-boot-colibrit20.spec: same change u-boot-cubieboard.spec: same change u-boot-cubieboard2.spec: same change u-boot-cubietruck.spec: same change u-boot-dragonboard410c.spec: same change u-boot-evb-rk3399.spec: same change u-boot-firefly-rk3288.spec: same change u-boot-firefly-rk3399.spec: same change u-boot-geekbox.spec: same change u-boot-highbank.spec: same change u-boot-hikey.spec: same change u-boot-hyundaia7hd.spec: same change u-boot-jetson-tk1.spec: same change u-boot-lamobor1.spec: same change u-boot-ls1012afrdmqspi.spec: same change u-boot-melea1000.spec: same change u-boot-merriia80optimus.spec: same change u-boot-mvebudb-88f3720.spec: same change u-boot-mvebudbarmada8k.spec: same change u-boot-mvebuespressobin-88f3720.spec: same change u-boot-mvebumcbin-88f8040.spec: same change u-boot-mx53loco.spec: same change u-boot-mx6cuboxi.spec: same change u-boot-mx6qsabrelite.spec: same change u-boot-nanopia64.spec: same change u-boot-nanopineo.spec: same change u-boot-nanopineoair.spec: same change u-boot-odroid-c2.spec: same change u-boot-odroid-xu3.spec: same change u-boot-odroid.spec: same change u-boot-omap3beagle.spec: same change u-boot-omap4panda.spec: same change u-boot-orangepipc.spec: same change u-boot-orangepipc2.spec: same change u-boot-p2371-2180.spec: same change u-boot-paz00.spec: same change u-boot-pcm051rev3.spec: same change u-boot-pine64plus.spec: same change u-boot-qemu-ppce500.spec: same change u-boot-rpi.spec: same change u-boot-rpi2.spec: same change u-boot-rpi3.spec: same change u-boot-rpi332b.spec: same change u-boot-sinovoipbpim2plus.spec: same change u-boot-snow.spec: same change u-boot-socfpgade0nanosoc.spec: same change u-boot-spring.spec: same change u-boot-tinker-rk3288.spec: same change u-boot-turrisomnia.spec: same change u-boot-udoo.spec: same change u-boot-udooneo.spec: same change ++++++ u-boot-xilinxzynqmpzcu102rev10.spec ++++++ # # spec file for package u-boot-xilinxzynqmpzcu102rev10 # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon # Copyright (c) 2007-2010 by Silvan Calarco <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define mvebu_spl 0 %define x_loader 0 %define rockchip_spl 0 %define sunxi_spl 0 %define arndale_spl 0 %define origen_spl 0 %define imx6_spl 0 %define socfpga_spl 0 %if "xilinxzynqmpzcu102rev10" == "rpi" || "xilinxzynqmpzcu102rev10" == "rpi2" || "xilinxzynqmpzcu102rev10" == "rpi332b" || "xilinxzynqmpzcu102rev10" == "rpi3" %define is_rpi 1 %endif # archive_version differs from version for RC version only %define archive_version 2018.03 Name: u-boot-xilinxzynqmpzcu102rev10 Version: 2018.03 Release: 0 Summary: The U-Boot firmware for the xilinxzynqmpzcu102rev10 platform License: GPL-2.0 Group: System/Boot Url: http://www.denx.de/wiki/U-Boot Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2 Source1: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2.sig Source2: arndale-bl1.img Source3: update_git.sh Source300: u-boot-rpmlintrc Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch Patch0003: 0003-Revert-rockchip-mkimage-remove-plac.patch Patch0004: 0004-rpi-Use-firmware-provided-device-tr.patch Patch0005: 0005-rpi3-Enable-lan78xx-driver.patch Patch0006: 0006-net-Only-access-network-devices-aft.patch Patch0007: 0007-rpi-Add-identifier-for-the-new-RPi3.patch Patch0008: 0008-efi_loader-Fix-network-DP-with-DM_E.patch Patch0009: 0009-rpi-Allow-to-boot-without-serial.patch Patch0010: 0010-mmc-use-core-clock-frequency-in-bcm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0 BuildRequires: arm-trusted-firmware-pine64 %endif BuildRequires: bc # Arndale board needs DTC >= 1.4 BuildRequires: dtc >= 1.4.0 # u-boot-clearfog (tools/kwbimage.c) needs openssl to build BuildRequires: libopenssl-devel BuildRequires: python-devel BuildRequires: swig %if "%{name}" == "u-boot-qemu-ppce500" # Owns /usr/share/qemu directory BuildRequires: qemu Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500 %endif %if 0%{?is_rpi} # Owns /boot/vc directory BuildRequires: raspberrypi-firmware # For mountpoint Requires(post): util-linux %endif Provides: u-boot-loader Conflicts: otherproviders(u-boot-loader) %if %x_loader == 1 Obsoletes: x-loader-xilinxzynqmpzcu102rev10 Provides: x-loader-xilinxzynqmpzcu102rev10 %endif ExclusiveArch: aarch64 %description Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors. This package contains the firmware for the xilinxzynqmpzcu102rev10 platform. %package doc Summary: Documentation for the U-Boot Firmware Group: Documentation/Other %description doc Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors. This package contains documentation for U-Boot firmware. %prep %setup -q -n u-boot-%{archive_version} %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 %patch0004 -p1 %patch0005 -p1 %patch0006 -p1 %patch0007 -p1 %patch0008 -p1 %patch0009 -p1 %patch0010 -p1 %build export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s) %if "%{name}" == "u-boot-pine64plus" export BL31=/boot/bl31.bin %endif make %{?_smp_mflags} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" xilinx_zynqmp_zcu102_rev1_0_defconfig echo "Attempting to enable fdt apply command (.dtbo) support." echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config make %{?_smp_mflags} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes %ifarch aarch64 %if %sunxi_spl == 1 cat spl/sunxi-spl.bin u-boot.itb > u-boot-sunxi-with-spl.bin %endif %endif %if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring" # Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img %endif %if %rockchip_spl == 1 for t in ; do ./tools/mkimage -n -d spl/u-boot-spl.bin -T $t u-boot-spl.$t done %endif %install export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s) export NO_BRP_STRIP_DEBUG=true export NO_DEBUGINFO_STRIP_DEBUG=true %define uboot_dir /boot %if 0%{?is_rpi} %define uboot_dir /boot/vc %endif %if "%{name}" == "u-boot-qemu-ppce500" %define uboot_dir %{_datadir}/qemu %endif %if "%{name}" == "u-boot-jetson-tk1" # tegra-uboot-flasher needs several intermediate files, under their original name. for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin spl/u-boot-spl; do install -D -m 0644 $f %{buildroot}%{uboot_dir}/$f done %else %if "%{name}" == "u-boot-p2371-2180" # Jetson TX1 Driver Pack flash.sh needs several intermediate files, under their original name. for f in u-boot u-boot.bin u-boot.dtb u-boot-dtb.bin; do install -D -m 0644 $f %{buildroot}%{uboot_dir}/$f done %else install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin %if "%{name}" == "u-boot-qemu-ppce500" mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500 %endif %endif %endif %if %x_loader == 1 install -D -m 0644 MLO %{buildroot}%{uboot_dir}/MLO %endif %if %origen_spl == 1 install -D -m 0644 spl/origen-spl.bin %{buildroot}%{uboot_dir}/origen-spl.bin %endif %if %arndale_spl == 1 install -D -m 0644 spl/arndale-spl.bin %{buildroot}%{uboot_dir}/arndale-spl.bin install -D -m 0644 %{SOURCE2} %{buildroot}%{uboot_dir}/arndale-bl1.img %endif %if %mvebu_spl == 1 install -D -m 0644 u-boot-spl.kwb %{buildroot}%{uboot_dir}/u-boot-spl.kwb %endif %if %rockchip_spl == 1 install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin for t in ; do install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t done %endif %if %sunxi_spl == 1 install -D -m 0644 spl/sunxi-spl.bin %{buildroot}%{uboot_dir}/sunxi-spl.bin install -D -m 0644 u-boot-sunxi-with-spl.bin %{buildroot}%{uboot_dir}/u-boot-sunxi-with-spl.bin %endif %if %imx6_spl == 1 install -D -m 0644 SPL %{buildroot}%{uboot_dir}/imx6-spl.bin %endif %if %socfpga_spl == 1 install -D -m 0644 u-boot-with-spl.sfp %{buildroot}%{uboot_dir}/u-boot-with-spl.sfp %endif %if 0%{?is_rpi} %post # On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt. # It needs to be on the first FAT partition, wherever we mounted it. # a) Unmounted, then do nothing. # b) Mounted as /boot/vc, then they're in the right place already. # c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done. # d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over. if mountpoint -q /boot/efi; then [[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/ fi %endif %files %defattr(-,root,root) %{uboot_dir}/* %doc Licenses/gpl-2.0.txt README %files doc %defattr(-,root,root) # Generic documents %doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands %doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns %doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi %doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb %doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST # Copy some useful kermit scripts as well %doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image # Now any h/w dependent Documentation %doc doc/README.ARM-memory-map %changelog ++++++ 0009-rpi-Allow-to-boot-without-serial.patch ++++++ >From b18857389b6fc8641afec7077c16bbdea80febf7 Mon Sep 17 00:00:00 2001 From: Alexander Graf <[email protected]> Date: Thu, 5 Apr 2018 11:36:22 +0200 Subject: [PATCH] rpi: Allow to boot without serial When we enable CONFIG_OF_BOARD on Raspberry Pis, we may end up without serial console support in early boot. Hence we need to make the serial port optional, otherwise we will never get to the point where serial would be probed. Signed-off-by: Alexander Graf <[email protected]> --- configs/rpi_0_w_defconfig | 1 + configs/rpi_2_defconfig | 1 + configs/rpi_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/rpi_0_w_defconfig b/configs/rpi_0_w_defconfig index 3b7e4f7ad9..3958b768d1 100644 --- a/configs/rpi_0_w_defconfig +++ b/configs/rpi_0_w_defconfig @@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_REQUIRE_SERIAL_CONSOLE is not set diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig index de9c0e1937..e915c14219 100644 --- a/configs/rpi_2_defconfig +++ b/configs/rpi_2_defconfig @@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_REQUIRE_SERIAL_CONSOLE is not set diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig index d75032c420..62d37c0afb 100644 --- a/configs/rpi_defconfig +++ b/configs/rpi_defconfig @@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_REQUIRE_SERIAL_CONSOLE is not set ++++++ 0010-mmc-use-core-clock-frequency-in-bcm.patch ++++++ >From 734c7b6ad34b617b9f4d34a94d338c311de3ef77 Mon Sep 17 00:00:00 2001 From: Jonathan Gray <[email protected]> Date: Sat, 17 Mar 2018 16:15:48 +1100 Subject: [PATCH] mmc: use core clock frequency in bcm2835 sdhost In raspberrypi-firmware 7fdcd00e00a42a1c91e8bd6f5eb8352fe9358557 and later start.elf now sets the EMMC clock to 200 MHz. According to Phil Elwell in https://github.com/raspberrypi/firmware/issues/953 the SDHost controller shares the core/VPU clock and doesn't use the EMMC clock. Use the core clock id when determining the frequency to allow U-Boot to work with recent versions of raspberrypi-firmware. Otherwise U-Boot hangs at: U-Boot 2018.03 (Mar 14 2018 - 20:36:00 +1100) DRAM: 948 MiB RPI 3 Model B (0xa02082) MMC: mmc@7e202000: 0, sdhci@7e300000: 1 Loading Environment from FAT... Signed-off-by: Jonathan Gray <[email protected]> Signed-off-by: Alexander Graf <[email protected]> --- arch/arm/mach-bcm283x/include/mach/msg.h | 3 ++- arch/arm/mach-bcm283x/msg.c | 4 ++-- drivers/mmc/bcm2835_sdhci.c | 2 +- drivers/mmc/bcm2835_sdhost.c | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-bcm283x/include/mach/msg.h b/arch/arm/mach-bcm283x/include/mach/msg.h index 478b1f1c50..d055480ba1 100644 --- a/arch/arm/mach-bcm283x/include/mach/msg.h +++ b/arch/arm/mach-bcm283x/include/mach/msg.h @@ -18,9 +18,10 @@ int bcm2835_power_on_module(u32 module); /** * bcm2835_get_mmc_clock() - get the frequency of the MMC clock * + * @clock_id: ID of clock to get frequency for * @return clock frequency, or -ve on error */ -int bcm2835_get_mmc_clock(void); +int bcm2835_get_mmc_clock(u32 clock_id); /** * bcm2835_get_video_size() - get the current display size diff --git a/arch/arm/mach-bcm283x/msg.c b/arch/arm/mach-bcm283x/msg.c index 92e93ad9e5..ad29f3be09 100644 --- a/arch/arm/mach-bcm283x/msg.c +++ b/arch/arm/mach-bcm283x/msg.c @@ -65,7 +65,7 @@ int bcm2835_power_on_module(u32 module) return 0; } -int bcm2835_get_mmc_clock(void) +int bcm2835_get_mmc_clock(u32 clock_id) { ALLOC_CACHE_ALIGN_BUFFER(struct msg_get_clock_rate, msg_clk, 1); int ret; @@ -76,7 +76,7 @@ int bcm2835_get_mmc_clock(void) BCM2835_MBOX_INIT_HDR(msg_clk); BCM2835_MBOX_INIT_TAG(&msg_clk->get_clock_rate, GET_CLOCK_RATE); - msg_clk->get_clock_rate.body.req.clock_id = BCM2835_MBOX_CLOCK_ID_EMMC; + msg_clk->get_clock_rate.body.req.clock_id = clock_id; ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg_clk->hdr); if (ret) { diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc/bcm2835_sdhci.c index 3157354d2a..08bddd410e 100644 --- a/drivers/mmc/bcm2835_sdhci.c +++ b/drivers/mmc/bcm2835_sdhci.c @@ -183,7 +183,7 @@ static int bcm2835_sdhci_probe(struct udevice *dev) if (base == FDT_ADDR_T_NONE) return -EINVAL; - ret = bcm2835_get_mmc_clock(); + ret = bcm2835_get_mmc_clock(BCM2835_MBOX_CLOCK_ID_EMMC); if (ret < 0) { debug("%s: Failed to set MMC clock (err=%d)\n", __func__, ret); return ret; diff --git a/drivers/mmc/bcm2835_sdhost.c b/drivers/mmc/bcm2835_sdhost.c index 1bf52a3019..bccd182e50 100644 --- a/drivers/mmc/bcm2835_sdhost.c +++ b/drivers/mmc/bcm2835_sdhost.c @@ -35,6 +35,7 @@ #include <dm.h> #include <mmc.h> #include <asm/arch/msg.h> +#include <asm/arch/mbox.h> #include <asm/unaligned.h> #include <linux/compat.h> #include <linux/io.h> @@ -941,7 +942,7 @@ static int bcm2835_probe(struct udevice *dev) if (!host->ioaddr) return -ENOMEM; - host->max_clk = bcm2835_get_mmc_clock(); + host->max_clk = bcm2835_get_mmc_clock(BCM2835_MBOX_CLOCK_ID_CORE); bcm2835_add_host(host); ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.r2Qvog/_old 2018-04-05 15:37:12.500077962 +0200 +++ /var/tmp/diff_new_pack.r2Qvog/_new 2018-04-05 15:37:12.504077817 +0200 @@ -46,6 +46,8 @@ # Rockchip aarch64_boards="$aarch64_boards geekbox" aarch64_boards="$aarch64_boards evb-rk3399 firefly-rk3399" +# Xilinx +aarch64_boards="$aarch64_boards xilinx_zynqmp_zcu102_rev1_0" ppc_boards="qemu-ppce500"
