%global _default_patch_fuzz 2 Name: uboot-tools Version: 2020.07 Release: 1 Summary: tools for U-Boot 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 Patch1: uefi-distro-load-FDT-from-any-partition-on-boot-device.patch # Needed due to issues with shim #Patch2: uefi-use-Fedora-specific-path-name.patch # Board fixes and enablement Patch4: usb-kbd-fixes.patch Patch5: dragonboard-fixes.patch #Patch7: tegra-efi_loader-simplify-ifdefs.patch # Tegra improvements Patch10: arm-tegra-define-fdtfile-option-for-distro-boot.patch Patch11: arm-add-BOOTENV_EFI_SET_FDTFILE_FALLBACK-for-tegra186-be.patch # AllWinner improvements Patch12: AllWinner-Pine64-bits.patch # Rockchips improvements Patch13: arm-rk3399-enable-rng-on-rock960-and-firefly3399.patch Patch14: rockchip-Pinebook-Pro-Fixes.patch # RPi4 Patch16: USB-host-support-for-Raspberry-Pi-4-board-64-bit.patch Patch17: usb-xhci-Load-Raspberry-Pi-4-VL805-s-firmware.patch Patch18: rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch BuildRequires: bc dtc gcc make flex bison git-core openssl-devel gdb BuildRequires: python-unversioned-command python3-devel python3-setuptools BuildRequires: python3-libfdt python3-pyelftools SDL-devel swig # this required when /usr/bin/python link to python3 BuildRequires: python3-devel %ifarch %{arm} aarch64 BuildRequires: vboot-utils %endif %ifarch aarch64 BuildRequires: arm-trusted-firmware-armv8 %endif Requires: dtc systemd %ifarch aarch64 %{arm} Obsoletes: uboot-images-elf < 2019.07 Provides: uboot-images-elf >= 2019.07 %endif %description This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment. %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 images 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 images 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 < %{version}-%{release} Provides: uboot-images-qemu = %{version}-%{release} %description -n uboot-images-elf u-boot bootloader ELF images for use with qemu and other platforms %endif %package_help %prep #%setup -q -n u-boot-%{version} -p1 %autosetup -p1 -n u-boot-%{version} #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} 2020.07-1 - Upgrade to 2020.07-1 * Fri Jun 19 2020 zhujunhao - 2018.09-9 - drop python2 requires * Fri Mar 20 2020 songnannan - 2018.09-8 - add gdb in buildrequires * Sat Feb 29 2020 hexiujun - 2018.09-7 - Type:enhancement - ID:NA - SUG:NA - DESC: compatible with python3 compile environment * Fri Jan 17 2020 Tianfei - 2018.09-6 - Type:bugfix - ID:NA - SUG:NA - DESC: delete patch * Tue Jan 14 2020 openEuler Buildteam - 2018.09-5 - Type:bugfix - Id:NA - SUG:NA - DESC:close 3399 * Fri Oct 25 2019 openEuler Buildteam - 2018.09-4 - Type:bugfix - Id:NA - SUG:NA - DESC:add the README files to the main package * Sat Oct 12 2019 openEuler Buildteam - 2018.09-3 - Package init