%global candidate rc1 Name: uboot-tools Version: 2019.01 Release: 0.1%{?candidate:.%{candidate}}%{?dist} Summary: U-Boot utilities License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+ URL: http://www.denx.de/wiki/U-Boot Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}%{?candidate:-%{candidate}}.tar.bz2 Source1: arm-boards Source2: arm-chromebooks Source3: aarch64-boards Source4: aarch64-chromebooks Source5: 10-devicetree.install # Fedoraisms patches Patch1: uefi-use-Fedora-specific-path-name.patch # general fixes Patch2: uefi-distro-load-FDT-from-any-partition-on-boot-device.patch Patch3: usb-kbd-fixes.patch Patch4: tools-add-a-generic-config-for-native-tools-building.patch # Board fixes and enablement Patch10: rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch Patch11: rk3399-Rock960-Ficus-board-support.patch Patch12: dragonboard-fixes.patch Patch13: tegra186-jetson-tx2-disable-onboard-emmc.patch Patch14: tegra-TXx-Add-CONFIG_EFI_LOADER_BOUNCE_BUFFER.patch Patch15: tegra-fix-tx1.patch Patch16: mmc-fsl_esdhc-Avoid-infinite-loop-in-esdhc_send_cmd_common.patch BuildRequires: bc BuildRequires: dtc BuildRequires: make # Added for .el7 rebuild, so newer gcc is used %if 0%{?rhel} == 7 BuildRequires: devtoolset-7-build BuildRequires: devtoolset-7-binutils BuildRequires: devtoolset-7-gcc %else BuildRequires: gcc %endif BuildRequires: flex bison BuildRequires: git-core BuildRequires: openssl-devel %if 0%{?fedora} BuildRequires: python-unversioned-command %endif BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-libfdt %if 0%{?rhel} == 7 BuildRequires: python-pyelftools %else BuildRequires: python2-pyelftools %endif BuildRequires: SDL-devel BuildRequires: swig %ifarch %{arm} aarch64 BuildRequires: vboot-utils %endif %ifarch aarch64 BuildRequires: arm-trusted-firmware-armv8 %endif Requires: dtc Requires: systemd %description This package contains a few U-Boot utilities - mkimage for creating boot images and fw_printenv/fw_setenv for manipulating the boot environment variables. %ifarch aarch64 %package -n uboot-images-armv8 Summary: u-boot bootloader images for aarch64 boards Requires: uboot-tools BuildArch: noarch %description -n uboot-images-armv8 u-boot bootloader binaries for aarch64 boards %endif %ifarch %{arm} %package -n uboot-images-armv7 Summary: u-boot bootloader images for armv7 boards Requires: uboot-tools BuildArch: noarch %description -n uboot-images-armv7 u-boot bootloader binaries for armv7 boards %endif %ifarch %{arm} aarch64 %package -n uboot-images-elf Summary: u-boot bootloader images for armv7 boards Requires: uboot-tools Obsoletes: uboot-images-qemu Provides: uboot-images-qemu %description -n uboot-images-elf u-boot bootloader ELF binaries for use with qemu and other platforms %endif %prep %setup -q -n u-boot-%{version}%{?candidate:-%{candidate}} git init git config --global gc.auto 0 git config user.email "noone@example.com" git config user.name "no one" git add . git commit -a -q -m "%{version} baseline" git am %{patches} 2019.01-0.1-rc1 - 2019.01 RC1 - Enable new devices * Tue Dec 4 2018 Peter Robinson 2018.11-1 - 2018.11 - Build with ATF 2.0 - Fix Hummingboard and CuBox-i devices * Tue Oct 30 2018 Peter Robinson 2018.11-0.1.rc3 - 2018.11 RC3 * 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) * Sun Sep 23 2018 Peter Robinson - Update Rock960 patches, enable Rock960 Enterprise Edition (ficus) * Mon Sep 10 2018 Peter Robinson 2018.09-1 - 2018.09 * Tue Sep 4 2018 Peter Robinson 2018.09-0.4.rc3 - 2018.09 RC3 - Enable nanopi_neo_plus2, pine_h64, rock960-rk3399, a64-olinuxino - Build against new upstream AllWinner ATF support - Use firmware provided DT on Raspberry Pi - Support for Pine64-LTS * Tue Aug 14 2018 Peter Robinson 2018.09-0.2.rc2 - 2018.09 RC2 - Improve Jetson TX1 support - Enable OrangePi 1+ and Avnet Ultra96 * Tue Jul 31 2018 Peter Robinson 2018.09-0.1.rc1 - 2018.09 RC1 * Sat Jul 14 2018 Fedora Release Engineering - 2018.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 9 2018 Peter Robinson 2018.07-1 - 2018.07 * Tue Jul 3 2018 Peter Robinson 2018.07-0.4.rc3 - 2018.07 RC3 * Wed Jun 20 2018 Peter Robinson 2018.07-0.3.rc2 - 2018.07 RC2 - Enable Helios4 * Fri Jun 8 2018 Peter Robinson 2018.07-0.2.rc1 - Update sunxi MMC patch series, Tegra Nyan patch, SolidRun i.MX6 SoM rev 1.5 patch * Tue Jun 5 2018 Peter Robinson 2018.07-0.1.rc1 - 2018.07 RC1 - Enable Turris Mox, BananaPi m2 Berry, some Libretech boards * Mon May 7 2018 Peter Robinson 2018.05-1 - 2018.05 GA * Wed May 2 2018 Peter Robinson 2018.05-0.5.rc3 - Build Xilnix ZynqMP zcu100 (96boards Ultra96) * Tue May 1 2018 Peter Robinson 2018.05-0.4.rc3 - 2018.05 RC3 * Thu Apr 26 2018 Peter Robinson 2018.05-0.3.rc2 - uEFI improvements - Fixes for Rockchips rk33xx 64 bit devices - Build AllWinner 64 bit devices against new ATF * Tue Apr 17 2018 Peter Robinson 2018.05-0.2.rc2 - 2018.05 RC2 - Enable Raspberry Pi option to use firmware DT * Sun Apr 8 2018 Peter Robinson 2018.05-0.1.rc1 - 2018.05 RC1 * Fri Apr 6 2018 Peter Robinson 2018.03-4 - Improvements for Raspberry Pi, AllWinner MMC perf, mvebu devices * Tue Mar 20 2018 Peter Robinson 2018.03-3 - Fix issue with certain MMC cards on Raspberry Pi * Fri Mar 16 2018 Peter Robinson 2018.03-2 - Add support for Raspberry Pi 3+ * Tue Mar 13 2018 Peter Robinson 2018.03-1 - 2018.03 GA * Fri Mar 9 2018 Peter Robinson 2018.03-0.11.rc4 - Enable support for Jetson TX2 * Thu Mar 8 2018 Peter Robinson 2018.03-0.10.rc4 - Fix for Raspberry Pi 2 boot * Wed Mar 7 2018 Peter Robinson 2018.03-0.9.rc4 - 2018.03 RC4 - Fixes for Raspberry Pi 3 boot - Minor kernel install fixes - Enable am335x_evm_usbspl for Beagle Pocket - DragonBoard patch rebase * Sun Mar 4 2018 Peter Robinson 2018.03-0.8.rc3 - Add support for SoM rev 1.5 to mx6cuboxi - Rebuild for new ATF 1.5 rc0 release * Sun Feb 25 2018 Peter Robinson 2018.03-0.7.rc3 - Build 64 bit Rockchips FIT images with ARM Trusted Firmware * Tue Feb 20 2018 Peter Robinson 2018.03-0.6.rc3 - 2018.03 RC3 * Fri Feb 16 2018 Peter Robinson 2018.03-0.5.rc2 - A few upstream fixes * Thu Feb 15 2018 Peter Robinson 2018.03-0.4.rc2 - Fix for GBps network on some AllWinner devices * Tue Feb 13 2018 Peter Robinson 2018.03-0.3.rc2 - 2018.03 RC2 * Wed Feb 7 2018 Peter Robinson 2018.03-0.2.rc1 - Update uEFI patches * Tue Jan 30 2018 Peter Robinson 2018.03-0.1.rc1 - 2018.03 RC1 * Tue Jan 9 2018 Peter Robinson 2018.01-1 - 2018.01