Manual merge of version 2021.01+dfsg-5+rpi1 and 2024.01+dfsg-5 to produce 2024.01...
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 19 Sep 2024 16:00:11 +0000 (16:00 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 19 Sep 2024 16:00:11 +0000 (16:00 +0000)
1  2 
debian/changelog
debian/control
debian/targets.mk

index ca18a12569c688ac96c7dd224ef2cd127359f16d,2c705116224797d4eaccd4c736109a4ab32d3ab9..a3da5c7f14f17ea448a38c58ee626c94fdf0b311
- u-boot (2021.01+dfsg-5+rpi1) bullseye-staging; urgency=medium
++u-boot (2024.01+dfsg-5+rpi1) trixie-staging; urgency=medium
 +
 +  [changes brought forward from 2014.10+dfsg1-2+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Fri, 28 Nov 2014 06:00:07 +0000]
 +  * Don't build versions for various armv7 devices, build rpi version instead.
 +
 +  [changes introduced in 2021.01+dfsg-4+rpi1 by Peter Michael Green]
 +  * Don't build powerpc targets for qemu, my attempts to build the nessacery
 +    cross-compiler in raspbian failed.
 +
-  -- Raspbian forward porter <root@raspbian.org>  Fri, 04 Jun 2021 00:18:15 +0000
++ -- Peter Michael Green <plugwash@raspbian.org>  Thu, 19 Sep 2024 15:59:18 +0000
++
+ u-boot (2024.01+dfsg-5) unstable; urgency=medium
+   * Upload to unstable.
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 19 Apr 2024 11:32:03 -0700
+ u-boot (2024.01+dfsg-4) experimental; urgency=medium
+   [ Martyn Welch ]
+   * d/targets: Enable support for am625-sk
+   [ Vagrant Cascadian ]
+   * debian/control: Add missing Build-Depends-Arch on
+     gcc-arm-linux-gnueabihf for am625-sk targets.
+   * Move u-boot-exynos (odroid, odroid-xu3) platforms to
+     u-boot-exynos-binaries in contrib.
+   * Move u-boot-amlogic platforms to u-boot-amlogic-binaries in contrib.
+  -- Vagrant Cascadian <vagrant@debian.org>  Thu, 18 Apr 2024 15:50:25 -0700
+ u-boot (2024.01+dfsg-3) unstable; urgency=medium
+   * Switch away from dh-builtusing to fix build failure on armhf.
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 20 Mar 2024 11:38:00 -0700
+ u-boot (2024.01+dfsg-2) unstable; urgency=medium
+   [ Philippe Coval ]
+   * debian/patches: Add Olimex A20-Olinuxino Micro reboot patch
+     (Closes: #1060752)
+   [ Aurelien Jarno ]
+   * debian/patches: Apply patches from upstream to fix USB crash on
+     VisionFive 2. (Closes: #1062664)
+   * debian/patches: Apply patch from upstream to improve VisionFive 2 1.2A
+     support.
+   * debian/patches: Apply patch from upstream to support saving
+     environment on VisionFive 2.
+   * debian/patches: Apply patch submitted upstream fixing device-tree
+     corruption on riscv64. (Closes: #1060682)
+   * debian/patches: Apply patch submitted upstream fixing data corruption
+     on HiFive Unmatched.
+   [ Андрей Лухнов ]
+   * debian/targets.mk: add orangepi_pc_plus to sunxi platforms
+     (Closes: #1061432)
+   [ Nicolas Boulenguez ]
+   * Delegate the Built-Using field to the dh-builtusing debhelper tool
+     (Closes: #1051098)
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 19 Mar 2024 16:27:45 -0700
+ u-boot (2024.01+dfsg-1) unstable; urgency=medium
+   * New upstream version.
+   * debian/control: Update versioned dependency on opensbi to 1.3 for
+     VisionFive 2 support. Thanks to Heinrich Schuchardt.
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 10 Jan 2024 13:34:04 -0800
+ u-boot (2024.01~rc6+dfsg-2) experimental; urgency=medium
+   [ Vagrant Cascadian ]
+   * debian/copyright: Fixes for 2024.01-rc6.
+   * u-boot-omap: Fix removal of nokia rx51.
+   [ undef ]
+   * Add Starfive Visionfive2 board support (Closes: #1053359)
+   [ Andreas Henriksson ]
+   * Add u-boot-asahi building apple_m1_defconfig (Closes: #1056576)
+  -- Vagrant Cascadian <vagrant@debian.org>  Sat, 06 Jan 2024 20:26:46 -0800
+ u-boot (2024.01~rc6+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   [ harry88@gmx.ph ]
+   * Remove check for mkimage in u-boot-install-sunxi. (Closes: #1041827)
+   [ Vagrant Cascadian ]
+   * debian/rules: Disable hardening branch feature to fix arch:all build.
+     (Closes: #1052724)
+   * debian/patches: Drop Makefile-fix-upstream-version, fixed upstream.
+   * debian/patches: Refresh qemu/efi-secure-boot.patch.
+   * debian/copyright: Updated for new version.
+   * debian/targets.mk: Remove nokia_rx51, no longer supported upstream.
+     Thanks to xypron for noticing!
+   * debian/patches: Drop riscv64
+     unmatched-prevent-relocating-initrd-and-fdt, no longer needed. Thanks
+     to xypron for testing!
+   [ harry88@gmx.ph ]
+   * Clarify error message in u-boot-install-sunxi. (Closes: #1056289)
+   [ Guillem Jover ]
+   * Remove avr32 arch support removed in dpkg 1.22.0. (Closes: #1056750)
+   [ Harry 88 ]
+   * Include u-boot-sunxi-with-spl.bin for all sunxi boards
+     (Closes: #979688)
+   [ Vagrant Cascadian ]
+   * debian/patches: Update qemu efi-secure-boot patch.
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 05 Jan 2024 14:17:59 -0800
+ u-boot (2023.07+dfsg-1) unstable; urgency=medium
+   * New upstream release.
+   * debian/patches: Adjust Makefile to report correct version.
+  -- Vagrant Cascadian <vagrant@debian.org>  Mon, 10 Jul 2023 19:54:17 -0700
+ u-boot (2023.07~rc5+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   [ harry88@gmx.ph ]
+   * debian/targets.mk: Use no_pmic variant of TF-A on Orange Pi One
+     Plus. (Closes: #1039033)
+  -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 29 Jun 2023 16:13:47 -0700
+ u-boot (2023.07~rc4+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   * debian/patches: Remove fix-qemu-ppce500-with-binutils-2.38, fixed
+     upstream. Thanks to Pali Rohár.
+   * debian/control: Update Build-Depends on arm-trusted-firmware to 2.9
+     from experimental.
+   * debian/targets.mk: Drop installation of rk3399-rock-pi-4b.dtb, removed
+     upstream.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 20 Jun 2023 14:21:44 -0700
+ u-boot (2023.04+dfsg-1) experimental; urgency=medium
+   * New upstream release.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 04 Apr 2023 22:55:36 -0700
+ u-boot (2023.04~rc5+dfsg-1) experimental; urgency=medium
+   * debian/patches: Refresh qemu/efi-secure-boot for v2023.04-rc3.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 28 Mar 2023 07:31:21 -0700
+ u-boot (2023.04~rc2+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   * debian/patches: Update for v2023.04-rc2.
+   * Drop rockchip make_fit_atf, no longer used or available upstream.
+   * debian/control: Add python3-pyelftools to Build-Depends.
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 15 Feb 2023 14:00:22 -0800
+ u-boot (2023.01+dfsg-2) unstable; urgency=medium
+   * debian/patches: Apply patch submitted upstream fixing booting with
+     qemu-riscv64. (Closes: #1028343)
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 17 Jan 2023 17:57:16 -0800
+ u-boot (2023.01+dfsg-1) unstable; urgency=medium
+   * New upstream release. (Closes: #1027176)
+   * u-boot-amlogic: Drop "noefi" variants.
+   * debian/control: Add Build-Depends-Arch with libgnutls28-dev:native and
+     uuid-dev:native for arm64. Thanks to Helmut Grohne.
+   * debian/patches: Disable CONFIG_VIDEO_LOGO to fix cross-building.
+     Thanks to Helmut Grohne.
+   * salsa-ci: Enable cross-building of u-boot-tools.
+   * debian/control: Drop libc6 cross build dependency workaround.
+   * debian/control: Drop Build-Depends on python3-distutils and
+     python3-pkg-resources, no longer needed.
+   * debian/control: Move several Build-Depends to Build-Depends-Arch:
+     arm-trusted-firmware, crust-firmware, device-tree-compiler,
+     libfdt-dev, libgnutls28-dev, libncurses-dev, libssl-dev, lzop,
+     opensbi, and uuid-dev.
+  -- Vagrant Cascadian <vagrant@debian.org>  Mon, 09 Jan 2023 19:18:09 -0800
+ u-boot (2023.01~rc4+dfsg-2) unstable; urgency=medium
+   [ Frédéric Danis ]
+   * u-boot-amlogic: Build libretech-cc-noefi variant to work around
+     https://bugs.debian.org/1027176
+   [ Vagrant Cascadian ]
+   * debian/targets.mk: Remove testers who no longer have access to boards
+     or who are not reachable.
+   * u-boot-amlogic: Enable "noefi" variants for all amlogic platforms to
+     work around https://bugs.debian.org/1027176
+   * debian/control: Drop u-boot meta-package for armhf and mips.
+   * u-boot-amlogic: Add README.Debian describing the difference between
+     the default and "noefi" variants of each platform.
+  -- Vagrant Cascadian <vagrant@debian.org>  Thu, 05 Jan 2023 19:38:24 -0800
+ u-boot (2023.01~rc4+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   * debian/patches: Refresh rockchip-inno-usb.patch for 2023.01-rc4.
+   * debian/patches: Refresh roc-pc-rk3399 efuse support for 2023.01-rc4.
+   * debian/control: Update to Standards Version 4.6.2, no changes.
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 23 Dec 2022 19:13:23 -0800
+ u-boot (2023.01~rc3+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   [ Sean Anderson ]
+   * Package dumpimage man page
+   [ Christopher Obbard ]
+   * d/patches: rockchip: roc-pc-rk3399: Enable rockchip efuse support
+   [ Vagrant Cascadian ]
+   * debian/patches: Refresh
+     rockchip-roc-pc-rk3399-Enable-rockchip-efuse-support.
+   * debian/patches: Drop n900 patch, now upstream. Thanks to Pali Rohár.
+  -- Vagrant Cascadian <vagrant@debian.org>  Sat, 10 Dec 2022 21:21:11 -0800
+ u-boot (2023.01~rc2+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+     Fixes CVE-2022-2347 (Closes: #1014959)
+   [ Vagrant Cascadian ]
+   * debian/patches: Drop riscv64/update-isa-spec, fixed upstream.
+   * debian/control: Add Build-Depends on python3-setuptools.
+   [ Luca Boccassi ]
+   * qemu arm64/amd64: enable secure boot
+   [ Manuel Traut ]
+   * u-boot-imx: Add colibri_imx6 (Closes: #1023443)
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 25 Nov 2022 12:31:33 -0800
+ u-boot (2022.10+dfsg-2) unstable; urgency=medium
+   * debian/patches: Apply patch from upstream fixing booting on Pinebook
+     Pro.
+   * debian/control: Update to Standards Version 4.6.2, no changes.
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 23 Dec 2022 15:18:44 -0800
+ u-boot (2022.10+dfsg-1) unstable; urgency=medium
+   * New upstream release. (Closes: #1019004)
+   [ Vagrant Cascadian ]
+   * debian/control: Add libcurses-dev:native to Build-Depends.
+   [ Daniel Serpell ]
+   * u-boot-sunxi: Add A20-OLinuXino_MICRO-eMMC. (Closes: #1019880)
+  -- Vagrant Cascadian <vagrant@debian.org>  Mon, 03 Oct 2022 17:06:38 -0700
+ u-boot (2022.10~rc2+dfsg-2) experimental; urgency=medium
+   * Team upload.
+   * debian/patches: Use relative paths for debuging symbols.
+  -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Tue, 16 Aug 2022 19:18:15 -0700
+ u-boot (2022.10~rc2+dfsg-1) experimental; urgency=medium
+   * debian/patches: Refresh for 2022.10-rc2.
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 12 Aug 2022 07:18:56 -0700
+ u-boot (2022.07+dfsg-1) unstable; urgency=medium
+   [ Dave Jones ]
+   * Fix Unleashed name typo
+   [ Vagrant Cascadian ]
+   * debian/patches: Refresh exynos console patch.
+   * Drop update-lintian-overrides helper script.
+   * Update lintian overrides.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 09 Aug 2022 16:59:45 -0700
+ u-boot (2022.07~rc4+dfsg-1) experimental; urgency=medium
+   [ Tianon Gravi ]
+   * Add u-boot-sifive.README.Debian with Unmatched install instructions
+   [ Christopher Obbard ]
+   * Add Firefly ROC-RK3399-PC support
+   [ Vagrant Cascadian ]
+   * debian/patches: Refresh
+     riscv64/unmatched-prevent-relocating-initrd-and-fdt.patch
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 08 Jun 2022 12:06:20 -0700
+ u-boot (2022.07~rc3+dfsg-2) experimental; urgency=medium
+   [ Arnaud Ferraris ]
+   * debian: Add new package for STM32 boards
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 24 May 2022 11:08:22 -0700
+ u-boot (2022.07~rc3+dfsg-1) experimental; urgency=medium
+   [ Christopher Obbard ]
+   * Add Radxa ROCK Pi E support
+   [ Nicolas Boulenguez ]
+   * Simplify the parts displaying a Debian-specific revision during boot.
+     (Closes: #1009638)
+   [ Vagrant Cascadian ]
+   * debian/patches: Refresh arndale/board-spl-rule for 2022.07-rc3.
+   * debian/patches: Drop patches applied in 2022.07-rc3.
+   * u-boot-qemu: Add malta64el and maltael. Thanks to Johannes Schauer
+     Marin Rodrigues. (Closes: #1010917)
+   * debian/rules: Switch to using tools-all target.
+   * debian/patches: Drop tools-generic-builds.
+   * debian/control: Update Standards-Version to 4.6.1.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 24 May 2022 10:49:36 -0700
+ u-boot (2022.04+dfsg-2) unstable; urgency=medium
+   * debian/watch: Exclude erroneous upstream version.
+   * debian/patches: Add patches submitted upstream to enable SCSI on
+     rockpro64.
+  -- Vagrant Cascadian <vagrant@debian.org>  Sun, 10 Apr 2022 16:28:14 -0700
+ u-boot (2022.04+dfsg-1) unstable; urgency=medium
+   * New upstream release.
+   * debian/upstream/signing-key: Update key.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 05 Apr 2022 09:26:39 -0700
+ u-boot (2022.04~rc4+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   * u-boot-omap.docs: Update location for nokia rx51.
+   * debian/control: Build-Depends on libncurses-dev.
+   * debian/control: Drop versioned build-depends on binutils.
+  -- Vagrant Cascadian <vagrant@debian.org>  Thu, 24 Mar 2022 14:28:03 -0700
+ u-boot (2022.04~rc2+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   * debian/patches: Drop obsolete patch
+     ensure-config-sandbox-for-make-env.
+   * debian/control: Add Build-Depends on libgnutls28-dev and uuid-dev,
+     used to build mkeficapsule.
+   * u-boot-tools: Install mkeficapsule. (Closes: #988413)
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 23 Feb 2022 17:10:03 -0800
+ u-boot (2022.01+dfsg-2) unstable; urgency=medium
+   * debian/patches: Fix building qemu-ppce500 target with binutils
+     2.38. Thanks to Aurelien Jarno! (Closes: #1003490)
+   * debian/patches: Update to newer riscv64 default ISA spec.
+     Thanks to Aurelien Jarno! (Closes: #1003490)
+   * debian/control: Add versioned Build-Depends on binutils.
+   * debian/control: Update versioned Build-Depends on opensbi.
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 26 Jan 2022 11:58:27 -0800
+ u-boot (2022.01+dfsg-1) unstable; urgency=medium
+   * New upstream release.
+  -- Vagrant Cascadian <vagrant@debian.org>  Mon, 10 Jan 2022 14:07:13 -0800
+ u-boot (2022.01~rc4+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate.
+   * debian/targets.mk: Fix typo in nanopc-t4-rk3399.
+  -- Vagrant Cascadian <vagrant@debian.org>  Mon, 20 Dec 2021 18:38:20 -0800
+ u-boot (2022.01~rc2+dfsg-1) experimental; urgency=medium
+   [ Helmut Grohne ]
+   * Fix FTCBFS: missing build dependency on libssl-dev (Closes: #996497).
+   [ Steev Klimaszewski ]
+   * Add NanoPC T4 support
+   * Add NanoPi NEO4 support
+   [ Vagrant Cascadian ]
+   * u-boot-install-rockchip: Align with tabs.
+   * debian/patches: Refresh exynos default console patch.
+   * debian/patches: Remove patches applied upstream.
+   * debian/control: Update versioned build-dependency on opensbi.
+   * debian/control: Update versioned dependency on arm-trusted-firmware.
+  -- Vagrant Cascadian <vagrant@debian.org>  Sun, 21 Nov 2021 20:05:15 -0800
+ u-boot (2021.10+dfsg-1) unstable; urgency=medium
+   * Upload new upstream version to unstable.
+  -- Vagrant Cascadian <vagrant@debian.org>  Sat, 09 Oct 2021 21:20:52 -0700
+ u-boot (2021.10~rc5+dfsg-1) experimental; urgency=medium
+   * debian/rules: Fix installation of the platform specific config files.
+   * debian/patches: Remove patches am57xx/omap5_distro_bootcmd and
+     riscv64/riscv-sifive-Set-default-fdtfile-names.patch, applied
+     upstream.
+   * debian/patches: Refresh n900/bootz_and_raw_initrd.
+   * debian/patches: Refresh tools-generic-builds.
+   * debian/control: Build-Depends on libssl-dev:native.
+   * debian/rules: No longer adjust .config file during build.
+   * debian/copyright: Removed board.
+  -- Vagrant Cascadian <vagrant@debian.org>  Tue, 28 Sep 2021 10:29:12 -0700
+ u-boot (2021.07+dfsg-2) unstable; urgency=medium
+   [ Vagrant Cascadian ]
+   * debian/control: Update Standards-Version to 4.6.0, no changes.
+   [ Nicolas Boulenguez ]
+   * debian/rules: Replace exports with assignments visible in build logs
+     (Closes: #990202)
+   [ Vagrant Cascadian ]
+   * [arm64] u-boot-sunxi: Add sopine_baseboard target. Thanks to
+     amarpreet. (Closes: #992816)
+  -- Vagrant Cascadian <vagrant@debian.org>  Wed, 08 Sep 2021 19:58:55 -0700
+ u-boot (2021.07+dfsg-1) experimental; urgency=medium
+   * debian/patches: Add patch to fix USB (de)initialization on
+     rockpro64/pinebook-pro.  Drop patch disabling preboot on these
+     platforms.
+   * [riscv64] debian/patches: Set default fdtfile names on sifive platforms.
+   * [riscv64] debian/patches: Apply patch fixing boot on unmatched
+     board. Thanks to Heinrich Schuchardt (xypron).
+  -- Vagrant Cascadian <vagrant@debian.org>  Sat, 24 Jul 2021 18:35:37 -0700
+ u-boot (2021.07~rc4+dfsg-1) experimental; urgency=medium
+   [ Nicolas Boulenguez ]
+   * Write only once that rockchip depends on rockchip_make_fit_atf
+     (Closes: #985908)
+   * Refactor pkg.uboot.subarch and pkg.uboot.platform build profiles
+     (Closes: #985911)
+   [ Vagrant Cascadian ]
+   * debian/control: Make Build-Depends on libssl-dev only when building
+     tools.
+   * Update for rename of sifive_fu540 to sifive_unleashed
+   * u-boot-sifive: Update documentation for rename of fu540 to unleashed.
+   [ Nicolas Boulenguez ]
+   * u-boot-sunxi: embed crust-firmware on supported platforms.
+     (Closes: #985981)
+   [ Vagrant Cascadian ]
+   * debian/control: Fix Build-Depends on crust-firmware.
+   * debian/targets.mk: Update usbarmory targets for new versions.
+   [ Filip Moc ]
+   * debian/targets.mk: rockchip: add u-boot-tpl.bin
+   [ Vagrant Cascadian ]
+   * u-boot-install-rockchip: Allow overriding UBOOT_OFFSET for
+     puma-rk3399.
+   * u-boot-install-rockchip: Allow overriding the loader offset.
+   * [riscv64] u-boot-sifive: Use OpenSBI to build the sifive_unleashed target.
+   * [riscv64] u-boot-sifive: Add sifive_unmatched board.
+   * [riscv64] u-boot-sifive: Add Built-Using for opensbi.
+   * u-boot-sifive: Install unmatched documentation.
+   * u-boot-sunxi, u-boot-rockchip: Move arm-trusted-firmware to Suggests.
+   * debian/control: Update versioned Build-Depends on arm-trusted-firmware
+     to 2.5.
+  -- Vagrant Cascadian <vagrant@debian.org>  Sat, 19 Jun 2021 15:11:34 -0700
+ u-boot (2021.04~rc4+dfsg-1) experimental; urgency=medium
+   [ Vagrant Cascadian ]
+   * New upstream release candidate.
+   * debian/patches: Refresh mx53loco patch.
+   * debian/targets: mx53loco: Update to install u-boot-dtb.imx.
+   [ Nicolas Boulenguez ]
+   * Set CROSS_COMPILE on the Make command line instead of exporting
+     (Closes: #980236)
+   * Encode the GNU type instead of the Debian arch alias for qemu
+     (Closes: #980360)
+   * Name the platform list temp file after subpackage instead of subarch
+     (Closes: #980362)
+   * Install configurations with dh_installdocs instead of dh_install
+     (Closes: #980359)
+   * Pass distinct substvars to gencontrol on the command line
+     (Closes: #980358)
+   * Store all dh_install commands into the same file (Closes: #980361)
+   * Set BL31 SCP on the command line instead of the environment
+     (Closes: #980363)
+   * Replace many shell constructs with Make constructs (Closes: #979296)
+   [ Vagrant Cascadian ]
+   * debian/targets.mk: Use a single debian/build/rockchip_make_fit_atf
+     rule for all architectures.
+   * debian/rules: Depend on rockchip_make_fit_atf for
+     override_dh_auto_build-arch target.
+   * debian/rules: When pkg.uboot.platform.* is in DEB_BUILD_PROFILES, only
+     build specified platform.
+   * debian/patches: Refresh disable-fit-image-tests.
+   * debian/targets.mk: Fix u-boot-sunxi variables for arm64 assigns and
+     dpkg-gencontrol. Thanks to Nicolas Boulenguez.
+  -- Vagrant Cascadian <vagrant@debian.org>  Sat, 20 Mar 2021 18:09:04 -0700
+ u-boot (2021.04~rc3+dfsg-1) experimental; urgency=medium
+   * New upstream release candidate. Fixes CVE-2021-27097 and
+     CVE-2021-27138. (Closes: #983270, #983269)
+   * Disable tests for FIT images
+  -- Vagrant Cascadian <vagrant@debian.org>  Fri, 12 Mar 2021 16:22:35 -0800
  
  u-boot (2021.01+dfsg-5) unstable; urgency=medium
  
diff --cc debian/control
index cd0ecd2d2aa1a67cb9d532f9f36230c27c44258c,7e3082e19ab33aa94c9bf8b90d537499c7b26ddf..5f94944ad6aaaa79b4c02f1af80f2837c256b2d7
@@@ -29,8 -38,11 +38,10 @@@ Build-Depends-Indep
   gcc-aarch64-linux-gnu [!arm64],
   gcc-riscv64-linux-gnu [!riscv64],
   gcc-x86-64-linux-gnu [!amd64],
 - gcc-powerpc-linux-gnu [!powerpc],
+  gcc-mips64el-linux-gnuabi64 [!mips64el],
+  gcc-mipsel-linux-gnu [!mipsel],
  Rules-Requires-Root: no
- Standards-Version: 4.5.1
+ Standards-Version: 4.6.2
  Homepage: https://www.denx.de/wiki/U-Boot/
  Vcs-Browser: https://salsa.debian.org/debian/u-boot
  Vcs-Git: https://salsa.debian.org/debian/u-boot.git
@@@ -60,8 -77,47 +76,29 @@@ Description: A boot loader for amlogic 
   NIOS, and Microblaze.
   .
   This package includes boot loaders for various amlogic platforms.
-  ${uboot:platforms}
+  .
+  Included platforms:
+  ${u-boot-amlogic-binaries:platforms}
+ Package: u-boot-asahi
+ Architecture: arm64
+ Multi-Arch: same
+ Depends: ${misc:Depends}
+ Recommends: m1n1, asahi-fwextract
+ Description: A boot loader for Apple Silicon systems
+  Das U-Boot is a cross-platform bootloader for embedded systems,
+  used as the default boot loader by several board vendors.  It is
+  intended to be easy to port and to debug, and runs on many
+  supported architectures, including PPC, ARM, MIPS, x86, m68k,
+  NIOS, and Microblaze.
+  .
+  This package includes boot loaders for various Apple Silicon (M1, M2)
+  platforms supported by the Asahi Linux project, though may lack some
+  features not yet present in mainline u-boot.
+  .
+  Included platforms:
+  ${u-boot-asahi:platforms}
  
 -Package: u-boot-imx
 -Architecture: armhf
 -Multi-Arch: same
 -Depends: ${misc:Depends}
 -Breaks: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Replaces: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Description: A boot loader for imx systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various imx platforms.
 - .
 - Included platforms:
 - ${u-boot-imx:platforms}
 -
  Package: u-boot-qemu
  Architecture: all
  Depends: ${misc:Depends}
@@@ -76,7 -132,119 +113,28 @@@ Description: A boot loader for qem
   NIOS, and Microblaze.
   .
   This package includes boot loaders for qemu/kvm.
-  ${uboot:platforms}
+  .
+  Included platforms:
+  ${u-boot-qemu:platforms}
 -Package: u-boot-qcom
 -Architecture: arm64
 -Multi-Arch: same
 -Depends: ${misc:Depends}
 -Description: A boot loader for qcom systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various qcom platforms.
 - .
 - Included platforms:
 - ${u-boot-qcom:platforms}
 -
 -Package: u-boot-tegra
 -Architecture: armhf arm64
 -Multi-Arch: same
 -Depends: ${misc:Depends}
 -Breaks: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Replaces: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Description: A boot loader for NVIDIA Tegra systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various NVIDIA Tegra platforms.
 - .
 - Included platforms:
 - ${u-boot-tegra:platforms}
 -
 -Package: u-boot-omap
 -Architecture: armhf
 -Multi-Arch: same
 -Depends: ${misc:Depends}
 -Breaks: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Replaces: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Description: A boot loader for omap systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various omap and related
 - platforms.
 - .
 - Included platforms:
 - ${u-boot-omap:platforms}
 -
 -Package: u-boot-sunxi
 -Architecture: armhf arm64
 -Multi-Arch: same
 -Built-Using: ${u-boot-sunxi:Built-Using}
 -Depends: ${misc:Depends}
 -Recommends: u-boot-tools [arm64]
 -Suggests: arm-trusted-firmware [arm64]
 -Breaks: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Replaces: u-boot (<< 2014.10~rc2+dfsg1-2~)
 -Description: A boot loader for sunxi systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various Allwinner/sunxi
 - platforms.
 - .
 - Included platforms:
 - ${u-boot-sunxi:platforms}
 -
 -Package: u-boot-exynos
 -Architecture: armhf
 -Multi-Arch: same
 -Depends: ${misc:Depends}
 -Description: A boot loader for exynos systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various Exynos platforms.
 - .
 - Included platforms:
 - ${u-boot-exynos:platforms}
 -
+ Package: u-boot-exynos-binaries
+ Architecture: armhf
+ Section: contrib/admin
+ Multi-Arch: same
+ Depends: ${misc:Depends}
+ Breaks: u-boot-exynos (<= 2024.01+dfsg-3)
+ Replaces: u-boot-exynos (<= 2024.01+dfsg-3)
+ Description: A boot loader for exynos systems
+  Das U-Boot is a cross-platform bootloader for embedded systems,
+  used as the default boot loader by several board vendors.  It is
+  intended to be easy to port and to debug, and runs on many
+  supported architectures, including PPC, ARM, MIPS, x86, m68k,
+  NIOS, and Microblaze.
+  .
+  This package includes boot loaders for various Exynos platforms.
+  .
+  Included platforms:
+  ${u-boot-exynos-binaries:platforms}
  
  Package: u-boot-mvebu
  Architecture: arm64
@@@ -90,8 -258,29 +148,10 @@@ Description: A boot loader for marvell 
   NIOS, and Microblaze.
   .
   This package includes boot loaders for various Marvell platforms.
-  ${uboot:platforms}
+  .
+  Included platforms:
+  ${u-boot-mvebu:platforms}
  
 -Package: u-boot-rockchip
 -Architecture: armhf arm64
 -Multi-Arch: same
 -Built-Using: ${u-boot-rockchip:Built-Using}
 -Depends: ${misc:Depends}
 -Recommends: python3, u-boot-tools [arm64]
 -Suggests: arm-trusted-firmware [arm64]
 -Description: A boot loader for rockchip systems
 - Das U-Boot is a cross-platform bootloader for embedded systems,
 - used as the default boot loader by several board vendors.  It is
 - intended to be easy to port and to debug, and runs on many
 - supported architectures, including PPC, ARM, MIPS, x86, m68k,
 - NIOS, and Microblaze.
 - .
 - This package includes boot loaders for various Rockchip platforms.
 - .
 - Included platforms:
 - ${u-boot-rockchip:platforms}
 -
  Package: u-boot-rpi
  Architecture: armel armhf arm64
  Multi-Arch: same
index 0000000000000000000000000000000000000000,4a6cf1f0fdfe9205494ea2b8572dc3e16ece4fc5..a5922357f7fdfe398aab2073d327739314445f94
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,631 +1,384 @@@
 -# u-boot-exynos
 -
 -  u-boot-exynos_platforms += arndale
 -  arndale_targets := spl/arndale-spl.bin u-boot.bin uboot.elf
 -
 -  # Joost van Zwieten <joostvanzwieten@gmail.com>, Odroid-U3
 -  u-boot-exynos-binaries_platforms += odroid
 -  odroid_targets := u-boot.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>, Odroid-XU4
 -  u-boot-exynos-binaries_platforms += odroid-xu3
 -  odroid-xu3_targets := u-boot.bin uboot.elf
 -
 -# u-boot-imx
 -
 -  # Manuel Traut <manut@mecka.net>
 -  u-boot-imx_platforms += colibri_imx6
 -  colibri_imx6_targets := SPL u-boot.img uboot.elf
 -
 -  # Marek Vasut <marex@denx.de>
 -  u-boot-imx_platforms += dh_imx6
 -  dh_imx6_targets := u-boot-with-spl.imx uboot.elf
 -
 -  # Robert Nelson <robertcnelson@gmail.com>
 -  u-boot-imx_platforms += mx53loco
 -  mx53loco_targets := u-boot-dtb.imx uboot.elf
 -
 -  # Steve Langasek <vorlon@debian.org>, CuBox-i4
 -  # Vagrant Cascadian <vagrant@debian.org>, CuBox-i4pro, Cubox-i4x4, hummingboard-i1, hummingboard-i2ex
 -  # Rainer Dorsch <ml@bokomoko.de>, CuBox-i2u (i2u-300-d)
 -  # Rick Thomas <rbthomas@pobox.com>, Cubox-i4x4, Cubox-i4PRO
 -  u-boot-imx_platforms += mx6cuboxi
 -  mx6cuboxi_targets := SPL u-boot.img uboot.elf
 -
 -  # Martyn Welch <martyn.welch@collabora.com>
 -  u-boot-imx_platforms += mx6qsabrelite
 -  mx6qsabrelite_targets := u-boot-dtb.imx uboot.elf
 -
 -  # Hector Oron <zumbi@debian.org>
 -  u-boot-imx_platforms += nitrogen6q
 -  nitrogen6q_targets := u-boot-dtb.imx uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-imx_platforms += novena
 -  novena_targets := SPL u-boot.img uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-imx_platforms += novena-rawsd
 -  novena-rawsd_targets := SPL
 -
 -  novena-rawsd: configs/novena-rawsd_defconfig
 -  configs/novena-rawsd_defconfig: configs/novena_defconfig
 -      sed -e 's,CONFIG_SPL_FS_FAT=y,# CONFIG_SPL_FS_FAT is not set,' \
 -              configs/novena_defconfig > configs/novena-rawsd_defconfig
 -  dh_clean_args += configs/novena-rawsd_defconfig
 -
 -  # Michael Fladischer <michael@fladi.at>
 -  u-boot-imx_platforms += udoo
 -  udoo_targets := SPL u-boot.img uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-imx_platforms += usbarmory
 -  usbarmory_targets := u-boot-dtb.imx uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  # Robert Nelson <robertcnelson@gmail.com>
 -  u-boot-imx_platforms += wandboard
 -  wandboard_targets := SPL u-boot.img uboot.elf
 -
 -# u-boot-omap
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  # Andrew M.A. Cater <amacater@galactic.demon.co.uk>
 -  u-boot-omap_platforms += am335x_boneblack
 -  am335x_boneblack_targets := MLO u-boot.img uboot.elf
 -
 -  am335x_boneblack: configs/am335x_boneblack_defconfig
 -  configs/am335x_boneblack_defconfig: configs/am335x_evm_defconfig
 -      sed -e 's,CONFIG_OF_LIST=.*,CONFIG_OF_LIST="am335x-evm am335x-boneblack",g' \
 -              configs/am335x_evm_defconfig > configs/am335x_boneblack_defconfig
 -  dh_clean_args += configs/am335x_boneblack_defconfig
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  # Andrew M.A. Cater <amacater@galactic.demon.co.uk>
 -  u-boot-omap_platforms += am335x_evm
 -  am335x_evm_targets := MLO u-boot.img uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-omap_platforms += am57xx_evm
 -  am57xx_evm_targets := MLO u-boot.img uboot.elf
 -
 -  u-boot-omap_platforms += dra7xx_evm
 -  dra7xx_evm_targets := MLO u-boot.img uboot.elf
 -
 -  # Robert Nelson <robertcnelson@gmail.com>
 -  u-boot-omap_platforms += igep00x0
 -  igep00x0_targets := MLO u-boot.img uboot.elf
 -
 -  # Robert Nelson <robertcnelson@gmail.com>
 -  u-boot-omap_platforms += omap3_beagle
 -  omap3_beagle_targets := MLO u-boot.img uboot.elf
 -
 -  # Robert Nelson <robertcnelson@gmail.com>
 -  u-boot-omap_platforms += omap4_panda
 -  omap4_panda_targets := MLO u-boot.img uboot.elf
 -
 -# u-boot-rockchip
 -
 -  # Silent a debhelper warning about an unused substvar.
 -  dpkg-gencontrol_args += -Vu-boot-rockchip:Built-Using=
 -
 -  # Vagrant Cascadian <vagrant@debian.org>, 2GB and 4GB variants
 -  u-boot-rockchip_platforms += firefly-rk3288
 -  firefly-rk3288_targets := idbloader.img spl/u-boot-spl.bin u-boot.bin \
 -    u-boot.img uboot.elf
 -
+ # Target architectures supported by u-boot in Debian.
+ # debian/rules includes this Makefile snippet.
+ ifeq (${DEB_HOST_ARCH},arm64)
+ # u-boot-amlogic
+   # Neil Armstrong <narmstrong@baylibre.com>
+   u-boot-amlogic-binaries_platforms += khadas-vim
+   khadas-vim_targets := u-boot.bin uboot.elf
+   # Neil Armstrong <narmstrong@baylibre.com>
+   u-boot-amlogic-binaries_platforms += khadas-vim2
+   khadas-vim2_targets := u-boot.bin uboot.elf
+   # Frederic Danis <frederic.danis@collabora.com>
+   u-boot-amlogic-binaries_platforms += libretech-cc
+   libretech-cc_targets := u-boot.bin uboot.elf
+   # Neil Armstrong <narmstrong@baylibre.com>
+   u-boot-amlogic-binaries_platforms += nanopi-k2
+   nanopi-k2_targets := u-boot.bin uboot.elf
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-amlogic-binaries_platforms += odroid-c2
+   odroid-c2_targets := u-boot.bin uboot.elf
+   u-boot-amlogic-binaries_platforms += odroid-n2
+   odroid-n2_targets := u-boot.bin uboot.elf
+ # u-boot-asahi
+   # Debian Bananas Team <>, Tobias Heider <me@tobhe.de>, Andreas Henriksson <andreas@fatal.se>
+   u-boot-asahi_platforms += apple_m1
+   apple_m1_targets := u-boot-nodtb.bin
+ # u-boot-mvebu
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-mvebu_platforms += mvebu_espressobin-88f3720
+   mvebu_espressobin-88f3720_targets := \
+     arch/arm/dts/armada-3720-espressobin.dtb u-boot.bin uboot.elf
+ # u-boot-qcom
+   u-boot-qcom_platforms += dragonboard410c
+   dragonboard410c_targets := u-boot.bin uboot.elf
+   u-boot-qcom_platforms += dragonboard820c
+   dragonboard820c_targets := u-boot.bin uboot.elf
+ # u-boot-rockchip
+   dpkg-gencontrol_args += "-Vu-boot-rockchip:Built-Using=$(shell dpkg-query -Wf \
+     '$${source:Package} (= $${source:Version})' arm-trusted-firmware)"
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-rockchip_platforms += firefly-rk3399
+   firefly-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   firefly-rk3399_targets := arch/arm/dts/rk3399-firefly.dtb idbloader.img \
+     spl/u-boot-spl.bin tpl/u-boot-tpl.bin u-boot-nodtb.bin u-boot.bin \
+     u-boot.img u-boot.itb uboot.elf
+   # Steev Klimaszewski <steev@kali.org>
+   u-boot-rockchip_platforms += nanopc-t4-rk3399
+   nanopc-t4-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   nanopc-t4-rk3399_targets := arch/arm/dts/rk3399-nanopc-t4.dtb \
+     idbloader.img spl/u-boot-spl.bin u-boot-nodtb.bin u-boot.bin u-boot.img \
+     u-boot.itb uboot.elf
+   # Steev Klimaszewski <steev@kali.org>
+   u-boot-rockchip_platforms += nanopi-neo4-rk3399
+   nanopi-neo4-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   nanopi-neo4-rk3399_targets := arch/arm/dts/rk3399-nanopi-neo4.dtb \
+     idbloader.img spl/u-boot-spl.bin u-boot-nodtb.bin u-boot.bin u-boot.img \
+     u-boot.itb uboot.elf
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-rockchip_platforms += pinebook-pro-rk3399
+   pinebook-pro-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   pinebook-pro-rk3399_targets := arch/arm/dts/rk3399-pinebook-pro.dtb \
+     idbloader.img spl/u-boot-spl.bin tpl/u-boot-tpl.bin u-boot-nodtb.bin \
+     u-boot.bin u-boot.img u-boot.itb uboot.elf
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-rockchip_platforms += puma-rk3399
+   puma-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   puma-rk3399_targets := arch/arm/dts/rk3399-puma-haikou.dtb idbloader.img \
+     spl/u-boot-spl.bin u-boot-nodtb.bin u-boot.bin u-boot.img u-boot.itb \
+     uboot.elf
+   # Christopher Obbard <chris.obbard@collabora.com>
+   u-boot-rockchip_platforms += roc-pc-rk3399
+   roc-pc-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   roc-pc-rk3399_targets := arch/arm/dts/rk3399-roc-pc.dtb idbloader.img \
+     spl/u-boot-spl.bin tpl/u-boot-tpl.bin u-boot-nodtb.bin u-boot.bin \
+     u-boot.img u-boot.itb uboot.elf
+   # Walter Lozano <walter.lozano@collabora.com>
+   u-boot-rockchip_platforms += rock-pi-4-rk3399
+   rock-pi-4-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   rock-pi-4-rk3399_targets := arch/arm/dts/rk3399-rock-pi-4a.dtb \
+     idbloader.img spl/u-boot-spl.bin \
+     tpl/u-boot-tpl.bin u-boot-nodtb.bin u-boot.bin u-boot.img u-boot.itb \
+     uboot.elf
+   # Christopher Obbard <chris.obbard@collabora.com>
+   u-boot-rockchip_platforms += rock-pi-e-rk3328
+   rock-pi-e-rk3328_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3328/bl31.elf
+   rock-pi-e-rk3328_targets := arch/arm/dts/rk3328-rock-pi-e.dtb idbloader.img \
+     spl/u-boot-spl.bin tpl/u-boot-tpl.bin u-boot-nodtb.bin u-boot.bin \
+     u-boot.img u-boot.itb uboot.elf
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-rockchip_platforms += rock64-rk3328
+   rock64-rk3328_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3328/bl31.elf
+   rock64-rk3328_targets := arch/arm/dts/rk3328-rock64.dtb idbloader.img \
+     spl/u-boot-spl.bin tpl/u-boot-tpl.bin u-boot-nodtb.bin u-boot.bin \
+     u-boot.img u-boot.itb uboot.elf
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-rockchip_platforms += rockpro64-rk3399
+   rockpro64-rk3399_assigns := BL31=/usr/lib/arm-trusted-firmware/rk3399/bl31.elf
+   rockpro64-rk3399_targets := arch/arm/dts/rk3399-rockpro64.dtb \
+     idbloader.img spl/u-boot-spl.bin tpl/u-boot-tpl.bin u-boot-nodtb.bin \
+     u-boot.bin u-boot.img u-boot.itb uboot.elf
+ # u-boot-rpi
+   # Ryan Finnie <ryan@finnie.org>
+   u-boot-rpi_platforms += rpi_3
+   rpi_3_targets := u-boot.bin uboot.elf
+   # Lucas Nussbaum <lucas@debian.org>
+   # Andreas Henriksson <andreas@fatal.se>
+   u-boot-rpi_platforms += rpi_4
+   rpi_4_targets := u-boot.bin uboot.elf
+   # Denis Pynkin <denis.pynkin@collabora.com>
+   u-boot-rpi_platforms += rpi_arm64
+   rpi_arm64_targets := u-boot.bin uboot.elf
+ # u-boot-sitara
+   # Martyn Welch <martyn.welch@collabora.com>
+   u-boot-sitara-binaries_platforms += am62x_evm_r5
+   # Cross-compile initial SPL which boots on 32-bit Cortex-R5 ARM coprocessor
+   am62x_evm_r5_CROSS_COMPILE := arm-linux-gnueabihf-
+   am62x_evm_r5_targets := spl/u-boot-spl.bin
+   # Martyn Welch <martyn.welch@collabora.com>
+   u-boot-sitara-binaries_platforms += am62x_evm_a53
+   am62x_evm_a53_targets := spl/u-boot-spl-nodtb.bin arch/arm/dts/k3-am625-sk.dtb u-boot.img
+ # u-boot-sunxi
+   u-boot-sunxi_assigns = \
+     SCP=$(or $(wildcard /usr/lib/crust-firmware/$(platform).bin),/dev/null)
+   dpkg-gencontrol_args += "-Vu-boot-sunxi:Built-Using=$(shell dpkg-query -Wf \
+     '$${source:Package} (= $${source:Version})' arm-trusted-firmware)"
+   u-boot-sunxi_platforms += a64-olinuxino
+   a64-olinuxino_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   a64-olinuxino_targets := arch/arm/dts/sun50i-a64-olinuxino.dtb \
+     spl/sunxi-spl.bin u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb \
+     u-boot.bin uboot.elf u-boot-sunxi-with-spl.bin
+   # Philip Rinn <rinni@inventati.org>
+   u-boot-sunxi_platforms += a64-olinuxino-emmc
+   a64-olinuxino-emmc_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   a64-olinuxino-emmc_targets := arch/arm/dts/sun50i-a64-olinuxino-emmc.dtb \
+     spl/sunxi-spl.bin u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb \
+     u-boot.bin uboot.elf u-boot-sunxi-with-spl.bin
+   # Domenico Andreoli <cavok@debian.org>
+   u-boot-sunxi_platforms += nanopi_neo2
+   nanopi_neo2_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   nanopi_neo2_targets := arch/arm/dts/sun50i-h5-nanopi-neo2.dtb \
+     spl/sunxi-spl.bin u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb \
+     u-boot.bin uboot.elf u-boot-sunxi-with-spl.bin
+   # Steev Klimaszewski <steev@kali.org>
+   u-boot-sunxi_platforms += nanopi_neo_plus2
+   nanopi_neo_plus2_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   nanopi_neo_plus2_targets := arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dtb \
+     spl/sunxi-spl.bin u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb \
+     u-boot.bin uboot.elf u-boot-sunxi-with-spl.bin
+   # harry88@gmx.ph
+   u-boot-sunxi_platforms += orangepi_one_plus
+   orangepi_one_plus_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_h6_no_pmic/bl31.bin
+   orangepi_one_plus_targets := arch/arm/dts/sun50i-h6-orangepi-one-plus.dtb \
+     spl/sunxi-spl.bin u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb \
+     u-boot.bin uboot.elf u-boot-sunxi-with-spl.bin
+   # Frederic Danis <frederic.danis@collabora.com>
+   u-boot-sunxi_platforms += orangepi_zero_plus2
+   orangepi_zero_plus2_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   orangepi_zero_plus2_targets := u-boot-sunxi-with-spl.bin \
+     arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dtb spl/sunxi-spl.bin \
+     u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf
+   # Sunil Mohan Adapa <sunil@medhas.org>
+   u-boot-sunxi_platforms += pine64-lts
+   pine64-lts_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   pine64-lts_targets := arch/arm/dts/sun50i-a64-pine64-lts.dtb \
+     arch/arm/dts/sun50i-a64-pine64.dtb spl/sunxi-spl.bin u-boot-nodtb.bin \
+     u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-sunxi_platforms += pine64_plus
+   pine64_plus_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   pine64_plus_targets := arch/arm/dts/sun50i-a64-pine64-plus.dtb \
+     arch/arm/dts/sun50i-a64-pine64.dtb spl/sunxi-spl.bin u-boot-nodtb.bin \
+     u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-sunxi_platforms += pinebook
+   pinebook_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   pinebook_targets := arch/arm/dts/sun50i-a64-pinebook.dtb spl/sunxi-spl.bin \
+     u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+   # Benoit Delcour <benoit.delcour@gmail.com> (1.2)
+   # Arnaud Ferraris <arnaud.ferraris@collabora.com> (1.1, 1.2)
+   u-boot-sunxi_platforms += pinephone
+   pinephone_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   pinephone_targets := arch/arm/dts/sun50i-a64-pinephone-1.1.dtb \
+     arch/arm/dts/sun50i-a64-pinephone-1.2.dtb spl/sunxi-spl.bin \
+     u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+   # Arnaud Ferraris <arnaud.ferraris@collabora.com>
+   u-boot-sunxi_platforms += pinetab
+   pinetab_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   pinetab_targets := arch/arm/dts/sun50i-a64-pinetab.dtb spl/sunxi-spl.bin \
+     u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+   # amarpreet@minhas.io
+   u-boot-sunxi_platforms += sopine_baseboard
+   sopine_baseboard_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   sopine_baseboard_targets := arch/arm/dts/sun50i-a64-sopine-baseboard.dtb spl/sunxi-spl.bin \
+     u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+   u-boot-sunxi_platforms += teres_i
+   teres_i_assigns := BL31=/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
+   teres_i_targets := arch/arm/dts/sun50i-a64-teres-i.dtb spl/sunxi-spl.bin \
+     u-boot-nodtb.bin u-boot-sunxi-with-spl.fit.itb u-boot.bin uboot.elf \
+     u-boot-sunxi-with-spl.bin
+ # u-boot-tegra
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-tegra_platforms += p2371-2180
+   p2371-2180_targets := u-boot.bin uboot.elf
+ else ifeq (${DEB_HOST_ARCH},armel)
+ # u-boot
+   u-boot_platforms += dockstar
+   dockstar_targets := u-boot.kwb uboot.elf
+   # Ian Campbell <ijc@debian.org>
+   u-boot_platforms += dreamplug
+   dreamplug_targets := u-boot.kwb uboot.elf
+   # drEagle <drEagle@doukki.net>
+   u-boot_platforms += guruplug
+   guruplug_targets := u-boot.kwb uboot.elf
+   # drEagle <drEagle@doukki.net>
+   u-boot_platforms += sheevaplug
+   sheevaplug_targets := u-boot.kwb uboot.elf
+ # u-boot-rpi
+   # Vagrant Cascadian <vagrant@debian.org>, rpi B 256M
+   u-boot-rpi_platforms += rpi
+   rpi_targets := u-boot.bin uboot.elf
+   # Romain Perier <romain.perier@gmail.com>, rpi zero w
+   u-boot-rpi_platforms += rpi_0_w
+   rpi_0_w_targets := u-boot.bin uboot.elf
+ else ifeq (${DEB_HOST_ARCH},armhf)
 -# u-boot-stm32
 -
 -  # Arnaud Ferraris <arnaud.ferraris@collabora.com>
 -  u-boot-stm32_platforms += stm32mp157c-dk2
 -  stm32mp157c-dk2_targets := u-boot.img u-boot-spl.stm32 uboot.elf
 -
 -  stm32mp157c-dk2: configs/stm32mp157c-dk2_defconfig
 -  configs/stm32mp157c-dk2_defconfig: configs/stm32mp15_basic_defconfig
 -      sed -e 's,stm32mp157c-ev1,stm32mp157c-dk2,g' \
 -              configs/stm32mp15_basic_defconfig > configs/stm32mp157c-dk2_defconfig
 -  dh_clean_args += configs/stm32mp157c-dk2_defconfig
 -
 -# u-boot-sunxi
 -
 -  # Silent a debhelper warning about an unused substvar.
 -  dpkg-gencontrol_args += -Vu-boot-sunxi:Built-Using=
 -
 -  # Christian Kastner <debian@kvr.at>
 -  u-boot-sunxi_platforms += A10-OLinuXino-Lime
 -  A10-OLinuXino-Lime_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  u-boot-sunxi_platforms += A10s-OLinuXino-M
 -  A10s-OLinuXino-M_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Christian Kastner <debian@kvr.at>
 -  u-boot-sunxi_platforms += A20-OLinuXino-Lime
 -  A20-OLinuXino-Lime_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Karsten Merker <merker@debian.org>
 -  u-boot-sunxi_platforms += A20-OLinuXino-Lime2
 -  A20-OLinuXino-Lime2_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Andreas B. Mundt <andi@debian.org>
 -  u-boot-sunxi_platforms += A20-OLinuXino-Lime2-eMMC
 -  A20-OLinuXino-Lime2-eMMC_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Arne Ploese <aploese@gmx.de>
 -  u-boot-sunxi_platforms += A20-OLinuXino_MICRO
 -  A20-OLinuXino_MICRO_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Daniel Serpell <daniel.serpell@gmail.com>
 -  u-boot-sunxi_platforms += A20-OLinuXino_MICRO-eMMC
 -  A20-OLinuXino_MICRO-eMMC_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Karsten Merker <merker@debian.org>
 -  u-boot-sunxi_platforms += A20-Olimex-SOM-EVB
 -  A20-Olimex-SOM-EVB_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-sunxi_platforms += Bananapi
 -  Bananapi_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Bernhard Wörner <bewoern1@gmail.com>
 -  u-boot-sunxi_platforms += Bananapi_M2_Ultra
 -  Bananapi_M2_Ultra_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Karsten Merker <merker@debian.org>
 -  u-boot-sunxi_platforms += Bananapro
 -  Bananapro_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-sunxi_platforms += CHIP
 -  CHIP_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-sunxi_platforms += Cubieboard
 -  Cubieboard_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Ian Campbell <ijc@debian.org>
 -  # Karsten Merker <merker@debian.org>
 -  u-boot-sunxi_platforms += Cubieboard2
 -  Cubieboard2_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-sunxi_platforms += Cubieboard4
 -  Cubieboard4_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Ian Campbell <ijc@debian.org>
 -  # Robert Nelson <robertcnelson@gmail.com>
 -  # Karsten Merker <merker@debian.org>
 -  u-boot-sunxi_platforms += Cubietruck
 -  Cubietruck_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-sunxi_platforms += Cubietruck_plus
 -  Cubietruck_plus_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>
 -  u-boot-sunxi_platforms += Lamobo_R1
 -  Lamobo_R1_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  u-boot-sunxi_platforms += Linksprite_pcDuino
 -  Linksprite_pcDuino_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Patrice Go <patgsiosisr@gmail.com>
 -  u-boot-sunxi_platforms += Linksprite_pcDuino3
 -  Linksprite_pcDuino3_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Jochen Sprickerhof <debian@jochen.sprickerhof.de>
 -  u-boot-sunxi_platforms += Mini-X
 -  Mini-X_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Bernhard <bewoern1@gmail.com>
 -  u-boot-sunxi_platforms += Sinovoip_BPI_M3
 -  Sinovoip_BPI_M3_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Lucas Nussbaum <lucas@debian.org>
 -  u-boot-sunxi_platforms += bananapi_m2_berry
 -  bananapi_m2_berry_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Paul Tagliamonte <paultag@debian.org>
 -  u-boot-sunxi_platforms += nanopi_neo
 -  nanopi_neo_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Philip Hands <phil@hands.com>
 -  u-boot-sunxi_platforms += nanopi_neo_air
 -  nanopi_neo_air_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  # Andrey Loukhnov <loukhnov@lotes-tm.ru>
 -  u-boot-sunxi_platforms += orangepi_pc_plus
 -  orangepi_pc_plus_targets := u-boot-sunxi-with-spl.bin  uboot.elf
 -
 -  # Vagrant Cascadian <vagrant@debian.org>, Orange PI Plus2
 -  u-boot-sunxi_platforms += orangepi_plus
 -  orangepi_plus_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -  u-boot-sunxi_platforms += orangepi_zero
 -  orangepi_zero_targets := u-boot-sunxi-with-spl.bin uboot.elf
 -
 -# u-boot-tegra
+ # u-boot-rpi
+   # Vagrant Cascadian <vagrant@debian.org>, Raspberry PI 2B
+   u-boot-rpi_platforms += rpi_2
+   rpi_2_targets := u-boot.bin uboot.elf
+   # Ryan Finnie <ryan@finnie.org>
+   u-boot-rpi_platforms += rpi_3_32b
+   rpi_3_32b_targets := u-boot.bin uboot.elf
+   # Lucas Nussbaum <lucas@debian.org>
+   # Andreas Henriksson <andreas@fatal.se>
+   u-boot-rpi_platforms += rpi_4_32b
+   rpi_4_32b_targets := u-boot.bin uboot.elf
 -  # Ian Campbell <ijc@debian.org>
 -  u-boot-tegra_platforms += jetson-tk1
 -  jetson-tk1_targets := u-boot-tegra.bin uboot.elf
++  # Vagrant Cascadian <vagrant@debian.org>, rpi B 256M
++  u-boot-rpi_platforms += rpi
++  rpi_targets := u-boot.bin uboot.elf
 -  u-boot-qemu_platforms += qemu-ppce500
 -  qemu-ppce500_CROSS_COMPILE := powerpc-linux-gnu-
 -  qemu-ppce500_targets := u-boot.bin uboot.elf
 -
++  # Romain Perier <romain.perier@gmail.com>, rpi zero w
++  u-boot-rpi_platforms += rpi_0_w
++  rpi_0_w_targets := u-boot.bin uboot.elf
+ else ifeq (${DEB_HOST_ARCH},riscv64)
+ # u-boot-sifive
+   dpkg-gencontrol_args += "-Vu-boot-sifive:Built-Using=$(shell dpkg-query -Wf \
+     '$${source:Package} (= $${source:Version})' opensbi)"
+   # Hector Oron <zumbi@debian.org>
+   u-boot-sifive_platforms += sifive_unleashed
+   sifive_unleashed_targets := u-boot.bin uboot.elf spl/u-boot-spl.bin u-boot.itb
+   sifive_unleashed_assigns := OPENSBI=/usr/lib/riscv64-linux-gnu/opensbi/generic/fw_dynamic.bin
+   # Vagrant Cascadian <vagrant@debian.org>
+   u-boot-sifive_platforms += sifive_unmatched
+   sifive_unmatched_targets := u-boot.bin uboot.elf spl/u-boot-spl.bin u-boot.itb
+   sifive_unmatched_assigns := OPENSBI=/usr/lib/riscv64-linux-gnu/opensbi/generic/fw_dynamic.bin
+ # u-boot-starfive
+   dpkg-gencontrol_args += "-Vu-boot-starfive:Built-Using=$(shell dpkg-query -Wf \
+     '$${source:Package} (= $${source:Version})' opensbi)"
+   # Anatoliy Gunya <csm.sub21@gmail.com>
+   u-boot-starfive_platforms += starfive_visionfive2
+   starfive_visionfive2_targets := u-boot.bin uboot.elf spl/u-boot-spl.bin.normal.out u-boot.itb
+   starfive_visionfive2_assigns := OPENSBI=/usr/lib/riscv64-linux-gnu/opensbi/generic/fw_dynamic.bin
+ else ifeq (${DEB_HOST_ARCH},sh4)
+ # u-boot
+   u-boot_platforms += r2dplus
+   r2dplus_targets := u-boot.bin uboot.elf
+ endif
+ # u-boot-qemu (Architecture: all)
+   u-boot-qemu_platforms += malta64el
+   malta64el_CROSS_COMPILE := mips64el-linux-gnuabi64-
+   malta64el_targets := u-boot.bin uboot.elf
+   u-boot-qemu_platforms += maltael
+   maltael_CROSS_COMPILE := mipsel-linux-gnu-
+   maltael_targets := u-boot.bin uboot.elf
+   u-boot-qemu_platforms += qemu-riscv64
+   qemu-riscv64_CROSS_COMPILE := riscv64-linux-gnu-
+   qemu-riscv64_targets := u-boot.bin uboot.elf
+   u-boot-qemu_platforms += qemu-riscv64_smode
+   qemu-riscv64_smode_CROSS_COMPILE := riscv64-linux-gnu-
+   qemu-riscv64_smode_targets := u-boot.bin uboot.elf
+   u-boot-qemu_platforms += qemu-x86
+   qemu-x86_CROSS_COMPILE := i686-linux-gnu-
+   qemu-x86_targets := u-boot.bin u-boot.rom uboot.elf
+   u-boot-qemu_platforms += qemu-x86_64
+   qemu-x86_64_CROSS_COMPILE := x86_64-linux-gnu-
+   qemu-x86_64_targets := u-boot.bin u-boot.rom uboot.elf
+   u-boot-qemu_platforms += qemu_arm
+   qemu_arm_CROSS_COMPILE := arm-linux-gnueabihf-
+   qemu_arm_targets := u-boot.bin uboot.elf
+   u-boot-qemu_platforms += qemu_arm64
+   qemu_arm64_CROSS_COMPILE := aarch64-linux-gnu-
+   qemu_arm64_targets := u-boot.bin uboot.elf