Hello community, here is the log from the commit of package u-boot for openSUSE:Factory checked in at 2019-02-15 10:03:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/u-boot (Old) and /work/SRC/openSUSE:Factory/.u-boot.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "u-boot" Fri Feb 15 10:03:15 2019 rev:106 rq:676191 version:2019.01 Changes: -------- --- /work/SRC/openSUSE:Factory/u-boot/u-boot-a10-olinuxino-lime.changes 2019-02-01 11:47:12.624443729 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new.28833/u-boot-a10-olinuxino-lime.changes 2019-02-15 10:03:33.507603361 +0100 @@ -1,0 +2,12 @@ +Thu Feb 14 15:28:00 UTC 2019 - sch...@suse.de + +- Add qemu-riscv64 + +------------------------------------------------------------------- +Thu Feb 14 12:13:57 UTC 2019 - Matthias Brugger <mbrug...@suse.com> + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 +* Patches added to fix bsc#1124137: + 0008-Revert-efi_loader-query-serial-cons.patch + +------------------------------------------------------------------- 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-bananapim64.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-dragonboard820c.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-khadas-vim.changes: same change u-boot-khadas-vim2.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-p2771-0000-500.changes: same change u-boot-paz00.changes: same change u-boot-pcm051rev3.changes: same change u-boot-pine64plus.changes: same change u-boot-pinebook.changes: same change u-boot-pineh64.changes: same change u-boot-poplar.changes: same change u-boot-qemu-ppce500.changes: same change New Changes file: --- /dev/null 2018-10-29 14:05:42.522318975 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new.28833/u-boot-qemu-riscv64.changes 2019-02-15 10:03:57.979595451 +0100 @@ -0,0 +1,2346 @@ +------------------------------------------------------------------- +Thu Feb 14 15:28:00 UTC 2019 - sch...@suse.de + +- Add qemu-riscv64 + +------------------------------------------------------------------- +Thu Feb 14 12:13:57 UTC 2019 - Matthias Brugger <mbrug...@suse.com> + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 +* Patches added to fix bsc#1124137: + 0008-Revert-efi_loader-query-serial-cons.patch + +------------------------------------------------------------------- +Tue Jan 29 10:50:32 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 +* Patch added to fix boo#1123170: + 0007-boo-1123170-Remove-ubifs-support-fr.patch + +------------------------------------------------------------------- +Tue Jan 15 10:04:39 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to v2019.01: + * regression fixes + * Changelog: https://lists.denx.de/pipermail/u-boot/2019-January/354598.html + +------------------------------------------------------------------- +Tue Jan 8 06:19:51 UTC 2019 - afaer...@suse.de + +- Update to v2019.01-rc3: + * Samsung, Rockchip, i.MX, video, SPI, x86, EFI, UniPhier, TI, MediaTek, + Marvell, SoCFPGA, amlogic, MIPS and RISC-V updates. + * This includes among other things, pulling in the Ci20 platform + support, fixing at least one regression in EFI support, + synchronizing some i.MX8 related locations and files and other + important bugfixes. + * Changelog: https://lists.denx.de/pipermail/u-boot/2019-January/353882.html +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 +* Patches dropped: + 0007-exynos-imply-SYS_THUMB_BUILD.patch + +------------------------------------------------------------------- +Sat Dec 22 23:16:01 UTC 2018 - afaer...@suse.de + +- Add rock960-rk3399 + +------------------------------------------------------------------- +Fri Dec 21 13:20:00 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to v2019.01-rc2: + * Various important DT syncs with Linux + * Risc-V S-Mode + * Important NAND/MTD fixups + * TPM, sound updates + * FAT fixes + amlogic, sunxi, marvel, rockchip, x86, mips, layerscape and other updates + * USB Gadget DM work, and some other related USB fixes. + * DM_I2C_COMPAT code removal for TI platforms. + * Changelog: https://lists.denx.de/pipermail/u-boot/2018-December/352385.html + +------------------------------------------------------------------- +Tue Dec 11 13:52:21 UTC 2018 - Andreas Prittwitz <m4n...@gmx.de> + +- add pinebook + +------------------------------------------------------------------- +Tue Dec 4 08:08:53 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to v2019.01-rc1: + * ftgmac100 improvements + * TI: CPSW improvements + * VSC8584 PHY support + * Add MT7628 ethernet driver + * Various sunxi, socfpga, riscv improvements + * virtio implementation and supporting patches + * DM_FLAG_PRE_RELOC fixes + * regmap improvements + * Various improvements in sandbox and buildman + * Initial bcm968580xref, am65x_evm_r5 support + * lpc32xx, omap3_logic/am3517_evm updates + * pinctrl command + * fs_loader available for SPL + * MIPS: fix long-standing issue with linking of standalone programs + * MIPS: MT76xx: add GPIO and WDT drivers + * MIPS: MT76xx: various fixes and updates to gardena-smart-gateway board + * MIPS: MT76xx: various fixes and updates to linkit-smart-7688 board + * adc enhancements + * Clearfog GT-8K support added by Baruch / Raheeb + * Minor cleanup to db-88f6820 from Chris + * Bring in the series from Simon for SPL logging support and bloblist + * chiliboard updates + * misc TI platform updates + * chiliboard updates + * Introduce CONFIG_SPL_DM_USB + * Add MediaTek support + * mmc: meson-gx: Add AXG compatible + * net: designware: add meson meson compatibles + * Amlogic Meson cleanup for AXG SoC support + * meson: Add regmap support for clock driver and sync DT with 4.19 + * Some Kirkwood boards converted to DM_SPI by Chris + * New Armada-385 SoC revision printed by Chris + * Ethernet enable on mcbin by Baruch + * Support 2 DRAM banks on Armada-8k boards by Baruch + * Convert TPM fully to DM + * Add a 'make qcheck' target for faster testing + * Rockchip improvements: + * RK3188 USB-UART functionality + * errors triggering a hard-stop in SPL on the RK3399 are reported + * Rockchip RV1108 (SoC) support + * MicroCrystal RV3029 (RTC) DM driver + * Rockchip fixes: + * RK3188 early UART setup + * limit SD-card frequency to 40MHz on the RK3399-Q7 + * MIPI fixes + * RK3399 CPUB clock initialisation + * ARC: + * Try to match found HW features to known ARC core templates + * Print CPU frequency for all ARC boards + * Add more board-specific info + * microblaze: + * Use default functions for memory decoding + * Showing model from DT + * zynq: + * Fix spi flash DTs + * Fix zynq_help_text with CONFIG_SYS_LONGHELP + * Tune cse/mini configurations + * Enabling cse/mini testing with current targets + * zynqmp: + * Enable gzip SPL support + * Fix chip detection logic + * Tune mini configurations + * DT fixes(spi-flash, models, clocks, etc) + * Add support for OF_SEPARATE configurations + * Enabling mini testing with current targets + * Add mini mtest configuration + * Some minor config setting + * Raspberry Pi: 3A+, Allow 2nd MMC device, Allow UUID to find filesystem + * UEFI: + * Make PE images more standards compliant + * Improve sandbox support + * Improve correctness + * Fix RISC-V execution on virt model + * Honor board defined top of ram (fixes a few boards) + * Imply DM USB access when distro boot is available + * Code cleanups + * Changelog: https://lists.denx.de/pipermail/u-boot/2018-December/350498.html +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 +* Patches dropped: + 0007-Revert-efi_loader-remove-efi_exit_c.patch + 0008-exynos5-allow-bigger-BL2-u-boot.bin.patch +* Patches added: + 0007-exynos-imply-SYS_THUMB_BUILD.patch + +------------------------------------------------------------------- +Sat Nov 24 16:43:11 UTC 2018 - afaer...@suse.de + +- Add khadas-vim, khadas-vim2 + +------------------------------------------------------------------- +Mon Nov 19 16:49:26 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.11 +* Patches added: + 0008-exynos5-allow-bigger-BL2-u-boot.bin.patch + +------------------------------------------------------------------- +Sun Nov 18 18:56:52 UTC 2018 - afaer...@suse.de + +- pine64plus, nanopia64, bananapim64, orangepipc2, pineh64: Fix BL31 + +------------------------------------------------------------------- +Thu Nov 15 14:30:22 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to v2018.11: + * Fixes for i.MX, Xilinx, EFI Loader, R-Mobile, x86, sunxi, and Marvell platforms + * Added i.MX8 support + * Changelog: https://lists.denx.de/pipermail/u-boot/2018-November/347424.html + +------------------------------------------------------------------- +Sun Nov 11 16:35:35 UTC 2018 - afaer...@suse.de + +- Update from arm-trusted-firmware-pine64 to arm-trusted-firmware-sun50ia64 +- pineh64: Use new arm-trusted-firmware-sun50ih6 +- Add bananapim64 +- u-boot.spec.in, u-boot-board.spec.in: Update to use https + +------------------------------------------------------------------- +Mon Nov 5 10:06:08 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.11 +* Patches added: + 0007-Revert-efi_loader-remove-efi_exit_c.patch + +------------------------------------------------------------------- +Wed Oct 31 08:16:02 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to v2018.11-rc3: ++++ 2149 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.u-boot.new.28833/u-boot-qemu-riscv64.changes --- /work/SRC/openSUSE:Factory/u-boot/u-boot-rock960-rk3399.changes 2019-02-01 11:48:05.884389038 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new.28833/u-boot-rock960-rk3399.changes 2019-02-15 10:03:58.267595358 +0100 @@ -1,0 +2,12 @@ +Thu Feb 14 15:28:00 UTC 2019 - sch...@suse.de + +- Add qemu-riscv64 + +------------------------------------------------------------------- +Thu Feb 14 12:13:57 UTC 2019 - Matthias Brugger <mbrug...@suse.com> + +- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 +* Patches added to fix bsc#1124137: + 0008-Revert-efi_loader-query-serial-cons.patch + +------------------------------------------------------------------- u-boot-rpi.changes: same change u-boot-rpi2.changes: same change u-boot-rpi3.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 u-boot-xilinxzynqmpgeneric.changes: same change u-boot-xilinxzynqmpzcu102rev10.changes: same change u-boot.changes: same change New: ---- 0008-Revert-efi_loader-query-serial-cons.patch u-boot-qemu-riscv64.changes u-boot-qemu-riscv64.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ u-boot-a10-olinuxino-lime.spec ++++++ --- /var/tmp/diff_new_pack.1afEJG/_old 2019-02-15 10:04:06.583592668 +0100 +++ /var/tmp/diff_new_pack.1afEJG/_new 2019-02-15 10:04:06.595592663 +0100 @@ -68,6 +68,7 @@ Patch0005: 0005-zynqmp-Add-generic-target.patch Patch0006: 0006-tools-zynqmpbif-Add-support-for-loa.patch Patch0007: 0007-boo-1123170-Remove-ubifs-support-fr.patch +Patch0008: 0008-Revert-efi_loader-query-serial-cons.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?is_rk3399} && %{with uboot_atf} BuildRequires: arm-trusted-firmware-rk3399 @@ -138,6 +139,7 @@ %patch0005 -p1 %patch0006 -p1 %patch0007 -p1 +%patch0008 -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-bananapim64.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-dragonboard820c.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-khadas-vim.spec: same change u-boot-khadas-vim2.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-p2771-0000-500.spec: same change u-boot-paz00.spec: same change u-boot-pcm051rev3.spec: same change u-boot-pine64plus.spec: same change u-boot-pinebook.spec: same change u-boot-pineh64.spec: same change u-boot-poplar.spec: same change u-boot-qemu-ppce500.spec: same change ++++++ u-boot-qemu-riscv64.spec ++++++ # # spec file for package u-boot-qemu-riscv64 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon # Copyright (c) 2007-2010 by Silvan Calarco <silvan.cala...@mambasoft.it> # # 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 https://bugs.opensuse.org/ # %bcond_with uboot_atf %bcond_with uboot_atf_pine64 %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 "qemu-riscv64" == "rpi" || "qemu-riscv64" == "rpi2" || "qemu-riscv64" == "rpi3" %define is_rpi 1 %endif %if "qemu-riscv64" == "evb-rk3399" || "qemu-riscv64" == "firefly-rk3399" || "qemu-riscv64" == "puma-rk3399" || "qemu-riscv64" == "rock960-rk3399" %define is_rk3399 1 %endif %if "qemu-riscv64" == "bananapim64" || "qemu-riscv64" == "nanopia64" || "qemu-riscv64" == "pine64plus" || "qemu-riscv64" == "pinebook" %define is_a64 1 %endif %if "qemu-riscv64" == "orangepipc2" %define is_h5 1 %endif %if "qemu-riscv64" == "pineh64" %define is_h6 1 %endif # archive_version differs from version for RC version only %define archive_version 2019.01 Name: u-boot-qemu-riscv64 Version: 2019.01 Release: 0 Summary: The U-Boot firmware for the qemu-riscv64 platform License: GPL-2.0-only 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-Prepend-partition-.patch Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch Patch0003: 0003-rpi-Use-firmware-provided-device-tr.patch Patch0004: 0004-Temp-workaround-for-Chromebook-snow.patch Patch0005: 0005-zynqmp-Add-generic-target.patch Patch0006: 0006-tools-zynqmpbif-Add-support-for-loa.patch Patch0007: 0007-boo-1123170-Remove-ubifs-support-fr.patch Patch0008: 0008-Revert-efi_loader-query-serial-cons.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?is_rk3399} && %{with uboot_atf} BuildRequires: arm-trusted-firmware-rk3399 %endif %if (0%{?is_a64} || 0%{?is_h5}) && %{with uboot_atf} BuildRequires: arm-trusted-firmware-sun50ia64 %endif %if 0%{?is_h6} && %{with uboot_atf} BuildRequires: arm-trusted-firmware-sun50ih6 %endif BuildRequires: bc BuildRequires: bison # Arndale board needs DTC >= 1.4 BuildRequires: dtc >= 1.4.0 BuildRequires: flex # u-boot-clearfog (tools/kwbimage.c) needs openssl to build BuildRequires: libopenssl-devel BuildRequires: python-devel %if %{with uboot_atf} %if "%{name}" == "u-boot-evb-rk3399" || "%{name}" == "u-boot-firefly-rk3399" # make_fit_atf.py BuildRequires: python-pyelftools %endif %endif 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 %endif %if "%{name}" == "u-boot-zynqmp" BuildRequires: zynqmp-dts %endif %if 0%{?is_rpi} # For mountpoint Requires(post): util-linux %endif Provides: u-boot-loader Conflicts: otherproviders(u-boot-loader) %if %x_loader == 1 Obsoletes: x-loader-qemu-riscv64 Provides: x-loader-qemu-riscv64 %endif ExclusiveArch: riscv64 %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 qemu-riscv64 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 %build export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s) %if 0%{?is_a64} || 0%{?is_h5} export BL31=/usr/share/arm-trusted-firmware-sun50ia64/bl31.bin %endif %if 0%{?is_h6} export BL31=/usr/share/arm-trusted-firmware-sun50ih6/bl31.bin %endif %if %{with uboot_atf} %if "%{name}" == "u-boot-evb-rk3399" || "%{name}" == "u-boot-firefly-rk3399" cp /usr/share/arm-trusted-firmware-rk3399/bl31.elf . %endif %endif make %{?_smp_mflags} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" qemu-riscv64_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" \ %if ("%{name}" == "u-boot-evb-rk3399" || "%{name}" == "u-boot-firefly-rk3399") && %{with uboot_atf} all u-boot.itb %else all %endif %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-evb-rk3399" || "%{name}" == "u-boot-firefly-rk3399") && %{with uboot_atf} install -D -m 0644 u-boot.itb %{buildroot}%{uboot_dir}/u-boot.itb %endif %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 "%{name}" == "u-boot-rpi3" echo -e "# Boot in AArch64 mode\narm_control=0x200" > %{buildroot}%{uboot_dir}/ubootconfig.txt %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 if ! [[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]]; then [ -f %{uboot_dir}/ubootconfig.txt ] && cp %{uboot_dir}/ubootconfig.txt /boot/efi cp %{uboot_dir}/u-boot.bin /boot/efi/ fi fi %endif %files %defattr(-,root,root) %license Licenses/gpl-2.0.txt %doc README %{uboot_dir}/* %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 ++++++ u-boot-rock960-rk3399.spec ++++++ --- /var/tmp/diff_new_pack.1afEJG/_old 2019-02-15 10:04:09.027591877 +0100 +++ /var/tmp/diff_new_pack.1afEJG/_new 2019-02-15 10:04:09.031591876 +0100 @@ -68,6 +68,7 @@ Patch0005: 0005-zynqmp-Add-generic-target.patch Patch0006: 0006-tools-zynqmpbif-Add-support-for-loa.patch Patch0007: 0007-boo-1123170-Remove-ubifs-support-fr.patch +Patch0008: 0008-Revert-efi_loader-query-serial-cons.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?is_rk3399} && %{with uboot_atf} BuildRequires: arm-trusted-firmware-rk3399 @@ -138,6 +139,7 @@ %patch0005 -p1 %patch0006 -p1 %patch0007 -p1 +%patch0008 -p1 %build export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s) u-boot-rpi.spec: same change u-boot-rpi2.spec: same change u-boot-rpi3.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-xilinxzynqmpgeneric.spec: same change u-boot-xilinxzynqmpzcu102rev10.spec: same change ++++++ u-boot.spec ++++++ --- /var/tmp/diff_new_pack.1afEJG/_old 2019-02-15 10:04:09.267591800 +0100 +++ /var/tmp/diff_new_pack.1afEJG/_new 2019-02-15 10:04:09.267591800 +0100 @@ -37,6 +37,7 @@ Patch0005: 0005-zynqmp-Add-generic-target.patch Patch0006: 0006-tools-zynqmpbif-Add-support-for-loa.patch Patch0007: 0007-boo-1123170-Remove-ubifs-support-fr.patch +Patch0008: 0008-Revert-efi_loader-query-serial-cons.patch BuildRequires: bison BuildRequires: flex BuildRequires: libopenssl-devel @@ -66,6 +67,7 @@ %patch0005 -p1 %patch0006 -p1 %patch0007 -p1 +%patch0008 -p1 %build # needed for include/config/auto.conf ++++++ 0008-Revert-efi_loader-query-serial-cons.patch ++++++ >From 79fba75529a98f31c0a8988419172103b40262ad Mon Sep 17 00:00:00 2001 From: Matthias Brugger <mbrug...@suse.com> Date: Wed, 13 Feb 2019 12:52:11 +0100 Subject: [PATCH] Revert "efi_loader: query serial console size reliably" When an usb keyboard is connected to the RPi3, the console size detection hangs until a key is pressed. Revert the commit which introduced the bug. This reverts commit 6bb591f7041fdd201814b8866c1a55775662ab7f. Signed-off-by: Matthias Brugger <mbrug...@suse.com> --- lib/efi_loader/efi_console.c | 50 ++++++++++-------------------------- 1 file changed, 13 insertions(+), 37 deletions(-) diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index 66c33a551d..b5930aee59 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -185,56 +185,32 @@ static bool cout_mode_matches(struct cout_mode *mode, int rows, int cols) return (mode->rows == rows) && (mode->columns == cols); } -/** - * query_console_serial() - query console size - * - * @rows pointer to return number of rows - * @columns pointer to return number of columns - * Returns 0 on success - */ static int query_console_serial(int *rows, int *cols) { - int ret = 0; - int n[2]; + /* Ask the terminal about its size */ + int n[3]; u64 timeout; /* Empty input buffer */ while (tstc()) getc(); - /* - * Not all terminals understand CSI [18t for querying the console size. - * We should adhere to escape sequences documented in the console_codes - * man page and the ECMA-48 standard. - * - * So here we follow a different approach. We position the cursor to the - * bottom right and query its position. Before leaving the function we - * restore the original cursor position. - */ - printf(ESC "7" /* Save cursor position */ - ESC "[r" /* Set scrolling region to full window */ - ESC "[999;999H" /* Move to bottom right corner */ - ESC "[6n"); /* Query cursor position */ + printf(ESC"[18t"); - /* Allow up to one second for a response */ + /* Check if we have a terminal that understands */ timeout = timer_get_us() + 1000000; while (!tstc()) - if (timer_get_us() > timeout) { - ret = -1; - goto out; - } + if (timer_get_us() > timeout) + return -1; - /* Read {rows,cols} */ - if (term_read_reply(n, 2, 'R')) { - ret = 1; - goto out; - } + /* Read {depth,rows,cols} */ + if (term_read_reply(n, 3, 't')) + return -1; - *cols = n[1]; - *rows = n[0]; -out: - printf(ESC "8"); /* Restore cursor position */ - return ret; + *cols = n[2]; + *rows = n[1]; + + return 0; } /* ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.1afEJG/_old 2019-02-15 10:04:09.311591785 +0100 +++ /var/tmp/diff_new_pack.1afEJG/_new 2019-02-15 10:04:09.311591785 +0100 @@ -57,6 +57,8 @@ ppc_boards="qemu-ppce500" +riscv64_boards="qemu-riscv64" + function generate_spec() { sed "s/BOARDCONFIG/$BOARDCONFIG/g s/BOARDNAME/$BOARDNAME/g @@ -104,6 +106,13 @@ ARCH_RESTRICTIONS="ppc" bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS" done + # riscv64 boards + for BOARDCONFIG in $riscv64_boards; do + BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')" + BOARDCONFIG=${BOARDCONFIG}_defconfig + ARCH_RESTRICTIONS="riscv64" + bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS" + done # Generate u-boot.spec generate_spec < u-boot.spec.tmp > u-boot.spec