--- /dev/null
--- /dev/null
++#!/bin/sh
++
++set -x
++set -e
++builddir="$1"
++platform="$2"
++subarch="$3"
++
++case $platform in
++ dragonboard820c)
++ pagesize=4096
++ base=0x80000000
++ ;;
++ dragonboard410c)
++ pagesize=2048
++ base=0x80000000
++ ;;
++ *)
++ echo "unknown platform ${platform}"
++ exit 1
++ ;;
++esac
++touch ${builddir}/rd
++skales-dtbtool -o "${builddir}/dt.img" "${builddir}/arch/arm/dts"
++skales-mkbootimg --kernel "${builddir}/u-boot-dtb.bin" \
++ --output="${builddir}/u-boot.img" --dt="${builddir}/dt.img" \
++ --pagesize "${pagesize}" --base "${base}" \
++ --ramdisk="${builddir}/rd" --cmdline=""
++
++echo "${builddir}/u-boot.img" "/usr/lib/u-boot/${platform}/" \
++ >> "debian/build/targets.${subarch}"
++
--- /dev/null
--- /dev/null
++#!/bin/sh
++set -e
++
++dtmodel="/sys/firmware/devicetree/base/model"
++if [ -z "$TARGET" ] && [ -f "${dtmodel}" ]; then
++ dtmodelname=$(cat $dtmodel)
++ case "$dtmodelname" in
++ Firefly-RK3288)
++ TARGET="/usr/lib/u-boot/firefly-rk3288"
++ UBOOT_IMAGE="u-boot.img"
++ ;;
++ Firefly-RK3399|"Firefly-RK3399 Board")
++ TARGET="/usr/lib/u-boot/firefly-rk3399"
++ ;;
++ "Pine64 Pinebook Pro")
++ TARGET="/usr/lib/u-boot/pinebook-pro-rk3399"
++ ;;
++ "Pine64 Rock64")
++ TARGET="/usr/lib/u-boot/rock64-rk3328"
++ ;;
++ "Pine64 RockPro64"|"Pine64 RockPro64 v2.1"|"Pine64 RockPro64 v2.0")
++ TARGET="/usr/lib/u-boot/rockpro64-rk3399"
++ ;;
++ "Radxa ROCK Pi 4")
++ TARGET="/usr/lib/u-boot/rock-pi-4-rk3399"
++ ;;
++ "Theobroma Systems RK3399-Q7 SoM")
++ TARGET="/usr/lib/u-boot/puma-rk3399"
++ UBOOT_OFFSET="512"
++ ;;
++ *)
++ echo >&2 "ERROR: Unknown system: ${dtmodelname}"
++ echo >&2 "Specify target: TARGET=/usr/lib/u-boot/UBOOT"
++ exit 1
++ ;;
++ esac
++fi
++
++LOADER_IMAGE=${LOADER_IMAGE:-"idbloader.img"}
++UBOOT_IMAGE=${UBOOT_IMAGE:-"u-boot.itb"}
++UBOOT_OFFSET=${UBOOT_OFFSET:-"16384"}
++
++DEV="$1"
++if [ -z "$DEV" ] || ! shift || [ -n "$*" ]; then
++ echo >&2 "Usage: $0 /dev/your-sd-or-mmc-or-image"
++ exit 1
++fi
++
++if [ ! -w "$DEV" ] && [ -z "$FORCE" ]; then
++ echo >&2 "$0: device/image ($DEV) must be writable"
++ exit 1
++fi
++
++# FIXME/TODO: check for overwriting partitions overlapping sectors
++# 16384-24575, unless using a compatible partition layout:
++# http://opensource.rock-chips.com/wiki_Partitions
++# loader1 64-7168 idbloader.img
++# loader2 16384-24575 u-boot.itb/u-boot.img
++# trust 24576-32767
++
++echo "Writing idbloader"
++dd conv=notrunc if=${TARGET}/${LOADER_IMAGE} of="$DEV" seek=64
++echo "Writing u-boot image"
++dd conv=notrunc if=${TARGET}/${UBOOT_IMAGE} of="$DEV" seek=${UBOOT_OFFSET}
++sync "$DEV"
--- /dev/null
--- /dev/null
++#!/bin/sh
++set -e
++
++splfiles="sunxi-spl.bin u-boot-sunxi-with-spl.bin"
++itbfiles="u-boot.itb u-boot-sunxi-with-spl.fit.itb"
++
++dtmodel="/sys/firmware/devicetree/base/model"
++if [ -z "$TARGET" ] && [ -f "${dtmodel}" ]; then
++ dtmodelname=$(cat $dtmodel)
++ case "$dtmodelname" in
++ "Banana Pi BPI-M2-Ultra") TARGET="/usr/lib/u-boot/Bananapi_M2_Ultra" ;;
++ "Banana Pi BPI-M3") TARGET="/usr/lib/u-boot/Sinovoip_BPI_M3" ;;
++ "Banana Pi M2 Berry") TARGET="/usr/lib/u-boot/bananapi_m2_berry" ;;
++ "Cubietech Cubieboard") TARGET="/usr/lib/u-boot/Cubieboard" ;;
++ "Cubietech Cubieboard2") TARGET="/usr/lib/u-boot/Cubieboard2" ;;
++ "Cubietech Cubieboard4") TARGET="/usr/lib/u-boot/Cubieboard4" ;;
++ "Cubietech Cubietruck") TARGET="/usr/lib/u-boot/Cubietruck" ;;
++ "Cubietech Cubietruck Plus") TARGET="/usr/lib/u-boot/Cubietruck_plus" ;;
++ "FriendlyARM NanoPi NEO") TARGET="/usr/lib/u-boot/nanopi_neo" ;;
++ "FriendlyARM NanoPi NEO 2") TARGET="/usr/lib/u-boot/nanopi_neo2" ;;
++ "FriendlyARM NanoPi NEO Air") TARGET="/usr/lib/u-boot/nanopi_neo_air" ;;
++ "FriendlyARM NanoPi NEO Plus2") TARGET="/usr/lib/u-boot/nanopi_neo_plus2" ;;
++ "Lamobo R1") TARGET="/usr/lib/u-boot/Lamobo_R1" ;;
++ "LeMaker Banana Pi") TARGET="/usr/lib/u-boot/Bananapi" ;;
++ "LeMaker Banana Pro") TARGET="/usr/lib/u-boot/Bananapro" ;;
++ "LinkSprite pcDuino") TARGET="/usr/lib/u-boot/Linksprite_pcDuino" ;;
++ "LinkSprite pcDuino3") TARGET="/usr/lib/u-boot/Linksprite_pcDuino3" ;;
++ "Olimex A10-OLinuXino-LIME") TARGET="/usr/lib/u-boot/A10-OLinuXino-Lime" ;;
++ "Olimex A10s-Olinuxino Micro") TARGET="/usr/lib/u-boot/A10s-OLinuXino-M" ;;
++ "Olimex A20-Olimex-SOM-EVB") TARGET="/usr/lib/u-boot/A20-Olimex-SOM-EVB" ;;
++ "Olimex A20-OLinuXino-LIME") TARGET="/usr/lib/u-boot/A20-OLinuXino-Lime" ;;
++ "Olimex A20-OLinuXino-LIME2") TARGET="/usr/lib/u-boot/A20-OLinuXino-Lime2" ;;
++ "Olimex A20-OLinuXino-LIME2-eMMC") TARGET="/usr/lib/u-boot/A20-OLinuXino-Lime2-eMMC" ;;
++ "Olimex A20-Olinuxino Micro") TARGET="/usr/lib/u-boot/A20-OLinuXino_MICRO" ;;
++ "Olimex A64-Olinuxino") TARGET="/usr/lib/u-boot/a64-olinuxino/" ;;
++ "Olimex A64-Olinuxino-eMMC") TARGET="/usr/lib/u-boot/a64-olinuxino-emmc" ;;
++ "Olimex A64 Teres-I") TARGET="/usr/lib/u-boot/teres_i/" ;;
++ "OrangePi Zero Plus2") TARGET="/usr/lib/u-boot/orangepi_zero_plus2/" ;;
++ "OrangePi One Plus") TARGET="/usr/lib/u-boot/orangepi_one_plus/" ;;
++ "Pinebook") TARGET="/usr/lib/u-boot/pinebook" ;;
++ "Pine64 PinePhone Braveheart (1.1)") TARGET='/usr/lib/u-boot/pinephone' ;;
++ "Pine64 PinePhone (1.2)") TARGET='/usr/lib/u-boot/pinephone' ;;
++ "PineTab") TARGET="/usr/lib/u-boot/pinetab" ;;
++ "Pine64+") TARGET="/usr/lib/u-boot/pine64_plus" ;;
++ "Pine64 LTS") TARGET="/usr/lib/u-boot/pine64-lts" ;;
++ "PineRiver Mini X-Plus") TARGET="/usr/lib/u-boot/Mini-X" ;;
++ "Xunlong Orange Pi Plus / Plus 2") TARGET="/usr/lib/u-boot/orangepi_plus" ;;
++ "Xunlong Orange Pi Zero") TARGET="/usr/lib/u-boot/orangepi_zero" ;;
++ *)
++ echo >&2 "ERROR: Unknown system: ${dtmodelname}"
++ echo >&2 "Specify target: TARGET=/usr/lib/u-boot/UBOOT"
++ exit 1
++ ;;
++ esac
++fi
++
++case "$1" in
++ -f|--force)
++ FORCE=y
++ shift;;
++ -*)
++ echo >&2 "$0: unknown option '$1'"
++ exit 1;;
++esac
++
++if [ -z "$(which mkimage)" ]; then
++ echo >&2 "$0: mkimage: command not found. Please install u-boot-tools."
++ exit 1
++fi
++
++DEV="$1"
++if [ -z "$DEV" ] || ! shift || [ -n "$*" ]; then
++ echo >&2 "Usage: $0 /dev/your-sd-or-mmc-or-image"
++ exit 1
++fi
++
++if [ ! -w "$DEV" ] && [ -z "$FORCE" ]; then
++ echo >&2 "$0: device/image ($DEV) must be writable"
++ exit 1
++fi
++DEV="$(readlink -f "$DEV")"
++
++if [ ! -w "$DEV" ] && [ -z "$FORCE" ]; then
++ echo >&2 "$0: device/image ($DEV) not accessible via abs path?!?"
++ exit 1
++fi
++
++if [ -z "$FORCE" ]; then
++ # A very simple sanity check. GPT mandates a "protective MBR" so this works
++ # even with GPT partitioning.
++ if ! printf '\125\252' | cmp -s -i 0:510 -n 2 - "$DEV"; then
++ echo >&2 "$0: device/image ($DEV) has no MBR partition table"
++ exit 1
++ fi
++
++ # But, on sunxi64, spl will trample upon GPT.
++ if printf 'EFI PART' | cmp -s -i 0:512 -n 8 - "$DEV"; then
++ echo >&2 "$0: device/image ($DEV) uses GPT partition table, unusable on sunxi64"
++ exit 1
++ fi
++fi
++
++spl=
++for i in $splfiles ; do
++ i=${TARGET}/$i
++ if [ -f "$i" ]; then
++ spl=$i
++ fi
++done
++
++if [ -z "$spl" ]; then
++ echo >&2 "$0: no known .spl file in ${TARGET}"
++ exit 1
++fi
++
++if [ -n "$itbfiles" ]; then
++ itb=
++ for i in $itbfiles ; do
++ i=${TARGET}/$i
++ if [ -f "$i" ]; then
++ itb=$i
++ fi
++ done
++fi
++
++echo "Writing u-boot SPL image"
++dd conv=notrunc if=${spl} of="$DEV" bs=8k seek=1
++
++if [ -n "$itb" ]; then
++ echo "Writing u-boot FIT image"
++ dd conv=notrunc if=${itb} of="$DEV" bs=8k seek=5
++fi
++
++sync "$DEV"
--- /dev/null
--- /dev/null
++#!/bin/sh
++target=$1
++subarch_install_file="debian/build/targets.${target}"
++if [ -f "${subarch_install_file}" ]; then
++ cat "${subarch_install_file}"
++fi
--- /dev/null
--- /dev/null
++#!/bin/sh
++
++target_file=debian/targets
++
++awk '/^[a-z0-9]/{print $2}' ${target_file} | sort -u | while read subarch ; do
++ case ${subarch} in
++ -) package=u-boot ;;
++ *) package=u-boot-${subarch} ;;
++ esac
++ overrides=debian/${package}.lintian-overrides
++
++ cat >${overrides}<<EOF
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++EOF
++
++ sed -n "/^[a-z0-9].*[[:space:]]$subarch[[:space:]]/p" ${target_file} | while read arch subarch2 platform targets ; do
++ echo "${package} binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf"
++ done | LC_ALL=C sort -u >> ${overrides}
++
++ cat >>${overrides}<<EOF
++
++# These bootloaders need to be statically linked.
++EOF
++
++ sed -n "/^[a-z0-9].*[[:space:]]$subarch[[:space:]]/p" ${target_file} | while read arch subarch2 platform targets ; do
++ echo "${package} binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf"
++ done | LC_ALL=C sort -u >> ${overrides}
++
++ cat >>${overrides}<<EOF
++
++# These are bootloader binaries, and have no external dependency information
++EOF
++
++ sed -n "/^[a-z0-9].*[[:space:]]$subarch[[:space:]]/p" ${target_file} | while read arch subarch2 platform targets ; do
++ echo "${package} binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf"
++ done | LC_ALL=C sort -u >> ${overrides}
++
++ cat >>${overrides}<<EOF
++
++${package}: description-synopsis-starts-with-article
++
++EOF
++done
++
++package=u-boot-qemu
++overrides=debian/${package}.lintian-overrides
++cat >>${overrides}<<EOF
++
++# These are binary firmware blobs
++EOF
++
++sed -n "/^all:.*[[:space:]]qemu[[:space:]]/p" ${target_file} | while read arch subarch2 platform targets ; do
++ echo "${package} binary: arch-independent-package-contains-binary-or-object usr/lib/u-boot/*/uboot.elf"
++done | LC_ALL=C sort -u >> ${overrides}
--- /dev/null
--- /dev/null
++#!/bin/sh
++for file in debian/build/platforms.* ; do
++ subarch=$(echo ${file} | sed -e 's,.*platforms.,,g')
++ case "${subarch}" in
++ -) package=u-boot ;;
++ *) package=u-boot-${subarch} ;;
++ esac
++ echo $(LC_ALL=C sort -u ${file}) | \
++ sed -e 's, ,${Newline},g' \
++ -e 's,^,uboot:platforms=${Newline}Included platforms:${Newline},g' \
++ >> debian/${package}.substvars
++ case "${subarch}" in
++ rockchip|sunxi)
++ printf "uboot:Built-Using=$(dpkg-query -f '${source:Package} (= ${source:Version}) [arm64]' -W arm-trusted-firmware)\n"\
++ >> debian/${package}.substvars
++ ;;
++ esac
++done
--- /dev/null
--- /dev/null
++u-boot (2021.01+dfsg-5+deb11u1) bullseye-security; urgency=medium
++
++ * Non-maintainer upload by the Debian LTS team.
++ * d/patches/CVE-2022-34835.patch: Add patch to fix CVE-2022-34835.
++ - Fix an integer signedness error and resultant stack-based buffer overflow
++ in the 'i2c md' command that enables the corruption of the return address
++ pointer of the do_i2c_md function (closes: #1014529).
++ * d/patches/CVE-2022-33967.patch: Add patch to fix CVE-2022-33967.
++ - Fix a heap-based buffer overflow vulnerability due to a defect in the
++ metadata reading process which may lead to a denial-of-service (DoS)
++ condition or arbitrary code execution by loading a specially crafted
++ squashfs image.
++ * d/patches/CVE-2022-33103.patch: Add patch to fix CVE-2022-33103.
++ - Fix an an out-of-bounds write (closes: #1014528).
++ * d/patches/CVE-2022-30790.patch: Add patch to fix CVE-2022-30790 and
++ CVE-2022-30552.
++ - Fix a a Buffer Overflow (closes: #1014470).
++ * d/patches/CVE-2022-30767.patch: Add patch to fix CVE-2022-30767.
++ - Fix an unbounded memcpy with a failed length check, leading to a buffer
++ overflow. This issue exists due to an incorrect fix for CVE-2019-14196
++ (closes: #1014471).
++ * d/patches/CVE-2022-2347.patch: Add patch to fix CVE-2022-2347.
++ - Fix an unchecked length field leading to a heap overflow
++ (closes: #1014959).
++ * d/patches/CVE-2024-57254.patch: Add patch to fix CVE-2024-57254.
++ - Fix an integer overflow in sqfs_inode_size (closes: 1098254).
++ * d/patches/CVE-2024-57255.patch: Add patch to fix CVE-2024-57255.
++ - Fix an integer overflow in sqfs_resolve_symlink (closes: #1098254).
++ * d/patches/CVE-2024-57256.patch: Add patch to fix CVE-2024-57256.
++ - Fix an integer overflow in ext4fs_read_symlink (closes: #1098254).
++ * d/patches/CVE-2024-57257.patch: Add patch to fix CVE-2024-57257.
++ - Fix a stack consumption issue in sqfs_size possible with deep symlink
++ nesting (closes: #1098254).
++ * d/patches/CVE-2024-57258-1.patch, d/patches/CVE-2024-57258-2.patch,
++ d/patches/CVE-2024-57258-3.patch: Add patches to fx CVE-2024-57258.
++ - Fix multiple integer overflows (closes: #1098254).
++ * d/patches/CVE-2024-57259.patch: Add patch to fix CVE-2024-57259.
++ - Fix an off-by-one error resulting in a heap memory corruption in
++ sqfs_search_dir (closes: #1098254).
++
++ -- Daniel Leidert <dleidert@debian.org> Thu, 01 May 2025 01:19:02 +0200
++
++u-boot (2021.01+dfsg-5) unstable; urgency=medium
++
++ * debian/patches: Fix boot failure caused by efi loader switching to
++ non-secure mode too early. Thanks to Bastian Germann and Heinrich
++ Schuchardt. (Closes: #988217)
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 22 May 2021 21:32:45 -0700
++
++u-boot (2021.01+dfsg-4) unstable; urgency=medium
++
++ [ Arnaud Ferraris ]
++ * Add support for the pinetab platform (Closes: #982982)
++ * u-boot-install-sunxi: fix device tree model for PinePhone 1.1
++ (Closes: #984704)
++
++ [ Vagrant Cascadian ]
++ * debian/patches: Update PineTab patch use default bootdelay.
++ * debian/patches: Add Forwarded link to PineTab patch.
++ * debian/rules: Ensure debugging symbols are enabled.
++ * debian/rules: Pass argument to remove build path from debug symbols.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 12 Mar 2021 15:00:43 -0800
++
++u-boot (2021.01+dfsg-3) unstable; urgency=medium
++
++ [ Domenico Andreoli ]
++ * u-boot-install-sunxi: Add support for some armhf
++
++ [ Vagrant Cascadian ]
++ * debian/watch: Fix missing "/".
++
++ [ Andreas B. Mundt ]
++ * Update u-boot-install-sunxi: Add Olimex A20-OLinuXino-LIME2-eMMC
++
++ [ harry88@gmx.ph ]
++ * u-boot-install-sunxi: Avoid overriding files in current directory
++ (Closes: #982278)
++
++ [ Nicolas Boulenguez ]
++ * Enable version 1.1 of the pinephone (Closes: #982981)
++
++ [ Vagrant Cascadian ]
++ * u-boot-install-sunxi: Make installing .itb files optional.
++ * u-boot-install-sunxi: Add support for armhf targets: Banana Pi
++ BPI-M2-Ultra Banana Pi BPI-M3 Banana Pi M2 Berry Cubietech Cubieboard
++ Cubietech Cubieboard2 Cubietech Cubieboard4 Cubietech Cubietruck
++ Cubietech Cubietruck Plus FriendlyARM NanoPi NEO Air Lamobo R1 LeMaker
++ Banana Pi LeMaker Banana Pro LinkSprite pcDuino LinkSprite pcDuino3
++ Olimex A10-OLinuXino-LIME Olimex A10s-Olinuxino Micro Olimex
++ A20-Olimex-SOM-EVB Olimex A20-OLinuXino-LIME Olimex A20-Olinuxino
++ Micro PineRiver Mini X-Plus Xunlong Orange Pi Plus / Plus 2 Xunlong
++ Orange Pi Zero
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 01 Mar 2021 00:00:18 -0800
++
++u-boot (2021.01+dfsg-2) unstable; urgency=medium
++
++ * debian/patches: Disable USE_PREBOOT on rockpro64 and pinebook-pro to
++ workaround boot failure triggered by USB initialization.
++ (Closes: #973323, #980434)
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 21 Jan 2021 20:36:56 -0800
++
++u-boot (2021.01+dfsg-1) unstable; urgency=medium
++
++ [ Nicolas Boulenguez ]
++ * Fix pinephone platform name in u-boot-install-sunxi64.
++ (Closes: #979484)
++ * Insert an empty line in target list for consistency. (Closes: #979485)
++ * Simplify installation of a link for tegra on arm64 but not armhf
++ (Closes: #979486)
++ * Install examples for tools with dh_installexamples instead of
++ dh_install. (Closes: #979295)
++ * Install docs with dh_installdocs instead of dh_install
++ (Closes: #979295)
++
++ [ Vagrant Cascadian ]
++ * u-boot-install-sunxi64: Drop unused code handling ATF.
++ * Rename u-boot-install-sunxi64 to u-boot-install-sunxi. Thanks to
++ Nicolas Boulenguez. (Closes: #979487)
++
++ [ Nicolas Boulenguez ]
++ * Update references to renamed u-boot-install-sunxi64
++ * Prefer dh_installdocs to dh_install for tools too (Closes: #979648).
++ * Remove obsolete maketargets variable (Closes: #979652).
++ * Do not spend time searching for an install target in
++ Makefile. (Closes: #979650)
++ * Prefer dh_auto_build to explicit recursive $(MAKE) (Closes: #979654)
++ * Clarify scope of TOOLSDIR in debian/rules (Closes: #979658).
++ * Make decision about testing tools more explicit (Closes: #979660).
++ * Pass BL31 to puma-rk3399 (Closes: #979482).
++
++ [ Vagrant Cascadian ]
++ * debian/rules: Unset BL31 to avoid using a value from a different
++ platform. Thanks to Nicolas Boulenguez. (Closes: #979482)
++ * u-boot-rockchip: puma-rk3399: install u-boot.itb.
++ * u-boot-install-rockchip: Add support for "Theobroma Systems RK3399-Q7
++ SoM" using the "puma-rk3399" target.
++
++ [ Nicolas Boulenguez ]
++ * Let dh_strip strip tools (Closes: #980234).
++ * Remove obsolete dh_strip override (Closes: #980235).
++ * Clean python cache (Closes: #980237).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 16 Jan 2021 19:50:13 -0800
++
++u-boot (2021.01~rc4+dfsg-2) experimental; urgency=medium
++
++ * debian/targets: Use correct name for "pinephone" target. Fixes FTBFS.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 05 Jan 2021 17:51:36 -0800
++
++u-boot (2021.01~rc4+dfsg-1) experimental; urgency=medium
++
++ [ Nicolas Boulenguez ]
++ * Refresh patches for v2021.01-rc3 (Closes: #976320).
++
++ [ Vagrant Cascadian ]
++ * debian/patches: Remove obsolete teres-i patch.
++ * debian/control: Add Build-Depends on python3-pkg-resources.
++
++ [ Nicolas Boulenguez ]
++ * Add support for pinephone-1.2. (Closes: #976319)
++
++ [ Vagrant Cascadian ]
++ * debian/control: Update Build-Depends on arm-trusted-firmware.
++ * [arm64] u-boot-sunxi: Add orangepi_one_plus target. Thanks to harry88.
++ (Closes: #979216)
++ * [arm64] u-boot-amlogic: Add odroid-n2 target. Thanks to Reco.
++ (Closes: #973256)
++ * u-boot-sunxi: Do not install mksunxi_fit_atf, removed upstream.
++ * u-boot-install-sunxi64: Drop support for using a FIT generator, just
++ use the images generated at build time.
++ * u-boot-install-sunxi64: Add support for OrangePi One Plus.
++ * debian/rules: Disable use of SCP firmware for sunxi platforms.
++ * u-boot-install-sunxi64: Add support for new .itb filenames.
++ * debian/targets: Update to use new .itb filename for sunxi systems.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 05 Jan 2021 10:17:01 -0800
++
++u-boot (2020.10+dfsg-2) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * debian/patches: Enable ethernet on A20-OLinuXino-Lime2-eMMC.
++ (Closes: #916822). Thanks to Jonas Smedegaard.
++ * debian/patches: Fix keyboard on Teres-I (Closes: #935035). Thanks to
++ Jonas Smedegaard.
++
++ [ Nicolas Boulenguez ]
++ * Update Homepage and uscan configuration (Closes: #976317).
++ * Drop obsolete version restriction in Build-Depends (Closes: #976316).
++ * Change behaviour of debian/bin/u-boot-install-* for an unknown device
++ tree (Closes: #976315)
++ * Use specific dh_installman instead of dh_install (Closes: #976318).
++ * Simplify debian/u-boot-tools.install (Closes: #976318).
++ * In debian/rules, add prerequisite configs/*_defconfig
++ (Closes: #976318)
++
++ [ Vagrant Cascadian ]
++ * u-boot-qemu: Ship u-boot.rom for the qemu-x86_64 and qemu-x86
++ targets. Thanks to Faidon Liambotis. (Closes: #979107)
++ * debian/control: Update Standards-Version to 4.5.1.
++ * debian/control: Update Build-Depends on lzop.
++
++ [ Luca Boccassi ]
++ * Build u-boot-tools with signature support with OpenSSL.
++ (Closes: #972513)
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 04 Jan 2021 19:59:11 -0800
++
++u-boot (2020.10+dfsg-1) unstable; urgency=medium
++
++ * New upstream release.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 05 Oct 2020 12:13:28 -0700
++
++u-boot (2020.10~rc5+dfsg-1) experimental; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * New upstream release candidate.
++ * debian/control: u-boot-qemu: Set Multi-Arch: foreign.
++
++ [ Uwe Kleine-König ]
++ * control: Use https for upstream homepage
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 21 Sep 2020 20:55:36 -0700
++
++u-boot (2020.10~rc3+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * debian/patches: Refresh and remove obsolete patches.
++ * [armhf] u-boot-sunxi: Add Bananapi_M2_Ultra (Closes: #962931). Thanks
++ to Bernhard Wörner.
++ * [arm64] u-boot-rockchip: Update rock-pi-4 .dtb names.
++ * u-boot-qemu: Build firmware for qemu ppc e500 (Closes: #966624).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 29 Aug 2020 16:04:17 -0700
++
++u-boot (2020.07+dfsg-2) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * u-boot-install-rockchip: Update with additional RockPro64 names from
++ linux 5.7 device-trees.
++
++ [ Denis Pynkin ]
++ * u-boot-rpi: Add rpi_arm64 target for arm64 (Closes: #966078).
++
++ [ Vagrant Cascadian ]
++ * debian/patches: Fix reproducibility of mx6cuboxi target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 28 Aug 2020 16:35:40 -0700
++
++u-boot (2020.07+dfsg-1) unstable; urgency=medium
++
++ * New upstream release.
++ * [armhf] u-boot-omap: Drop omap3_pandora, removed upstream.
++ * [arm64] u-boot-amlogic: Install new board-specific documentation.
++ * debian/patches: Fix riscv64 support for extlinux.
++ * debian/control:
++ - Upgrade to debhelper compat 13.
++ - Update Build-Depends on arm-trusted-firmware.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 08 Jul 2020 16:29:02 -0700
++
++u-boot (2020.07~rc4+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * debian/patches:
++ - Remove pinebook-pro patches, applied upstream.
++ - Remove riscv64 patches, applied upstream.
++ * u-boot-rockchip: Update puma-rk3399 to include new
++ rk3399-puma-haikou.dtb file.
++ * Update lintian overrides to use "shared-library-lacks-prerequisites"
++ instead of older tag name.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 09 Jun 2020 18:48:06 -0700
++
++u-boot (2020.07~rc3+dfsg-1) experimental; urgency=medium
++
++ [ Andreas Henriksson ]
++ * u-boot-rpi: Enable rpi4 target on armhf and arm64 (Closes: #958668)
++
++ [ Vagrant Cascadian ]
++ * New upstream release candidate.
++ * debian/patches: Refresh n900 patch.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 04 Jun 2020 09:47:49 -0700
++
++u-boot (2020.07~rc2+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * debian/patches: Refresh.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 18 May 2020 17:16:07 -0700
++
++u-boot (2020.04+dfsg-2) unstable; urgency=medium
++
++ * debian/patches:
++ - Remove dreamplug cache patch, fixed upstream.
++ - Add patches submitted upstream to support pinebook pro.
++ * u-boot-rockchip:
++ - Add support for rockpro64-rk3399.
++ - Add support for pinebook-pro-rk3399.
++ - Add u-boot-install-rockchip helper script.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 20 Apr 2020 19:34:37 -0700
++
++u-boot (2020.04+dfsg-1) unstable; urgency=medium
++
++ * New upstream release.
++
++ [ Vagrant Cascadian ]
++ * Update upstream signing key.
++ * [arm64] Build arm-trusted-firmware into rockchip/sunxi systems.
++ * [arm64] u-boot-sunxi: Add a64-olinuxino-emmc target Thanks to Philip
++ Rinn. (Closes: #956394).
++
++ [ Walter Lozano ]
++ * debian/targets: Add support for rock-pi-4-rk3399
++ * debian/targets: Add target idbloader.img for rk3399 boards
++
++ [ Vagrant Cascadian ]
++ * debian/control: Add versioned Build-Depends on arm-trusted-firmware
++ for rk3399 support.
++ * debian/targets: Add idbloader.img for all rockchip platforms.
++ * u-boot-rockchip: Update README.Debian.
++ * Remove debian/bin/generate-rksd.
++ * u-boot-rockchip: firefly-rk3288: Also install u-boot.img.
++ * [arm64] u-boot-rockchip, u-boot-sunxi: Add Built-Using
++ arm-trusted-firmware.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 14 Apr 2020 17:24:39 -0700
++
++u-boot (2020.04~rc5+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * debian/patches:
++ - Remove patch fixing video on pinebook, fixed upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 07 Apr 2020 08:50:37 -0700
++
++u-boot (2020.04~rc2+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * debian/patches:
++ - riscv64: refresh qemu-riscv64 extlinux patch.
++ - exynos: Refresh patch fixing console.
++ - Drop patches applied upstream.
++ * debian/rules: Disable CONFIG_FIT_SIGNATURE in all targets, as it
++ requires openssl which introduces license incompatibilities with the
++ GPL.
++ * u-boot-rockchip: Update firefly-rk3288 instructions.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 13 Feb 2020 00:17:14 -0800
++
++u-boot (2020.01+dfsg-2) unstable; urgency=medium
++
++ * debian/patches:
++ - Fix video output on pinebook (Closes: #948753).
++ - Fix exynos5 board detection (Closes: #951195). Thanks to Jochen
++ Sprickerhof!
++ - Fix MMC on odroid U3. (Closes: #950293)
++ - Improve error handling with GPT renames. Fixes CVE-2020-8432.
++ * debian/control: Update Standards-Version to 4.5.0, no changes.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 12 Feb 2020 22:29:38 -0800
++
++u-boot (2020.01+dfsg-1) unstable; urgency=medium
++
++ * New upstream release.
++ * debian/rules: Do not call qcom wrapper script.
++ * debian/control: Drop Build-Depends on "skales", removed from testing.
++ * u-boot-rockchip: Use python3 in rockchip_make_fit_atf.
++ * generate-rksd: Only generate SPL rksd on targets not using TPL.
++ * Add build profile pkg.uboot.subarch.* to build only subsets of
++ packages.
++ * [arm64] u-boot-rockchip: Add arm-trusted-firmware and u-boot-tools to
++ Recommends.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 08 Jan 2020 00:19:44 -0800
++
++u-boot (2020.01~rc5+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate (Closes: #941231).
++ * debian/control: Update Build-Depends to use python3 and
++ libpython3-dev, add python3-distutils (Closes: #938739).
++ * [armhf] u-boot-imx: install u-boot-dtb.imx on mx6qsabrelite and
++ nitrogen6q.
++ * debian/patches:
++ - Remove mx6/Revert-spl-imx6-Let-spl_boot_device-return-USDHC1-or,
++ applied upstream.
++ - Refresh riscv64/qemu-riscv64_smode-sifive-fu540-fix-extlinux.
++ - Remove mx6/arm-Set-SYS_DCACHE_OFF-for-MX6-platforms, it was an ugly
++ workaround.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 17 Dec 2019 17:23:23 -0800
++
++u-boot (2019.10+dfsg-1) experimental; urgency=medium
++
++ * u-boot-sifive: Install new fu540 documentation.
++ * debian/patches:
++ - Add qemu-riscv64_smode-sifive-fu540-fix-extlinux-define to fix
++ extlinux support on riscv64 targets.
++ - Drop qemu-riscv64-raw-initrd, it is redundant due to
++ DISTRO_DEFAULTS=y.
++ - Disable dcache on MX6 platforms.
++ - Add patch to revert changes to imx6 MMC boot device order.
++ * debian/control:
++ - Set Rules-Requires-Root: no.
++ - Update Standards-Version to 4.1.1, no changes needed.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 17 Oct 2019 12:23:42 -0700
++
++u-boot (2019.10~rc4+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * u-boot-rockchip: Add rock64-rk3328 target.
++ * u-boot-rockchip: Install rockchip_make_fit_atf and Recommend python3.
++ * generate-rksd: Add support for rk3328 and TPL images.
++ * debian/patches:
++ - Update ensure-config-sandbox-for-make-env.
++ - Update qemu-riscv64-raw-initrd for.
++ - Add description and forwarded links for qemu-riscv64-raw-initrd.
++ * u-boot-qemu: Drop support for qemu_mips, qemu_mipsel and
++ qemu_mips64el as the cross compilers are no longer available.
++ * u-boot-tools:
++ - Remove fw_printenv and fw_setenv and Recommend libubootenv-tool.
++ (Closes: #939598)
++ - Update package description.
++ * README.Debian: Drop references to fw_setenv and fw_printenv.
++ * debian/control:
++ - [arm64] Drop Build-Depends on python-pyelftools; no longer needed
++ for fit image creation.
++ - Update Standards-Version to 4.4.0, no changes needed.
++ - Update to debhelper-compat 12.
++ * debian/copyright: Drop stanza and license for pcmcia; code was
++ removed.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 24 Sep 2019 01:03:23 -0700
++
++u-boot (2019.07+dfsg-1) experimental; urgency=medium
++
++ * New upstream release.
++ * Add support for nanopi_neo_plus2. Thanks to Steev Klimaszewski.
++ * Add support for nanopi_neo_air (Closes: #930013). Thanks to Philip
++ Hands and Domenico Andreoli.
++ * debian/control: [arm64] Add python-pyelftools to Build-Depends.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 08 Jul 2019 16:41:40 -0700
++
++u-boot (2019.07~rc4+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * [sh4] Remove sh7785lcr_32bit, dropped upstream.
++ * debian/rules: Explicitly mark fit signature support as unset.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 11 Jun 2019 16:13:47 -0700
++
++u-boot (2019.07~rc2+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate:
++ (CVE-2019-11059, Closes: #928800)
++ (CVE-2019-11690, Closes: #928557)
++
++ [ Sunil Mohan Adapa ]
++ * Enable pine64-lts target in u-boot-sunxi (Closes: #928947).
++
++ [ Domenico Andreoli ]
++ * Enable support for NanoPi NEO 2 in u-boot-sunxi (Closes: #928612).
++
++ [ Vagrant Cascadian ]
++ * u-boot-omap: Fix installation instructions for various beagleboard.org
++ boards.
++ * Remove patches applied upstream:
++ - upstream/lib-uuid-Fix-unseeded-PRNG-on-RANDOM_UUID-y
++ - sunxi/teres-i
++ - booti/riscv64
++ - qemu-riscv64/riscv-qemu-riscv.h-define-CONFIG_PREBOOT-enables-ext
++ - pocketbeagle/0001-ti-Add-device-tree-for-am335x-pocketbeagle
++ - pocketbeagle/0002-ti-Add-am335x-pocketbeagle-to-am335x_evm_defconfig
++ * u-boot-tools: Use tools-only_defconfig, disabling CONFIG_FIT_SIGNATURE
++ which requires openssl.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 17 May 2019 21:02:15 -0700
++
++u-boot (2019.07~rc1+dfsg-4) experimental; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * u-boot-qemu: qemu-riscv64: Patch to support loading FDT in extlinux.
++ * Add patches to enable PocketBeagle support to am335x_evm target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 12 May 2019 20:38:27 -0700
++
++u-boot (2019.07~rc1+dfsg-3) experimental; urgency=medium
++
++ * debian/rules: Fail when cross-compiler for an arch:all build is not
++ available.
++ * debian/control: Use architecture negation to not require cross
++ compiler on native architecture in Build-Depends-Indep.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 08 May 2019 01:34:45 -0700
++
++u-boot (2019.07~rc1+dfsg-2) experimental; urgency=medium
++
++ * Update novena-rawsd config: SPL_FAT_SUPPORT -> SPL_FS_FAT.
++ * Add build profile "pkg.uboot.notools" to disable building of
++ u-boot-tools.
++ * [riscv64] Add u-boot-sifive package with sifive_fu540 target.
++ * Add patch to enable booti on RISC-V.
++ * Add patch to enable raw initrd support on qemu-riscv64 targets.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 06 May 2019 13:06:04 -0700
++
++u-boot (2019.07~rc1+dfsg-1) experimental; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * Refresh omap5_distro_bootcmd patch.
++ * Refresh dreamplug cache patch, partially applied upstream.
++ * Remove mkimage patch, applied upstream.
++ * u-boot-amlogic: Updated location of documentation for odroid-c2 and
++ nanopi-k2.
++
++ [ Ivo De Decker ]
++ * Don't run tests if mkimage isn't available
++ * Add separate rules targets to build targets and tools
++ * Use CROSS_COMPILE shell variable instead of makefile variable
++ * Define TARGETARCH variable
++ * Add separate targets for build-arch and build-indep
++ * Add u-boot-qemu package for qemu/kvm (Closes: #907573).
++ * Add preliminary readme for u-boot-qemu
++ * Add qemu_riscv64 target
++ * Don't strip qemu images
++
++ [ Vagrant Cascadian ]
++ * Build-Depends-Indep: Add cross-compilers for amd64, armhf and i386
++ when building on arm64.
++ * Build-Depends: Switch libpython-dev:native, python:any, swig to
++ [linux-any], remove from Build-Depends-Indep.
++ * debian/rules: Allow building arch:all on any architecture, but skip
++ targets missing a cross-compiler.
++ * [mips] Drop qemu_mips from u-boot:mips, depending on u-boot-qemu.
++ * Add lintian overrides for u-boot-qemu.
++ * u-boot-qemu: Add qemu-riscv64_smode target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 03 May 2019 16:58:13 -0700
++
++u-boot (2019.04+dfsg-2) experimental; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * Add targeted patch fixing mkimage header verification. Drop patch
++ reverting mkimage changes.
++ * [armhf] u-boot-omap: Replace am335x_boneblack with am335x_evm, and
++ update README.Debian accordingly regarding changed partitioning
++ requirements.
++ * [armhf] u-boot-omap: Simpfy the instructions in README for specifying an
++ offset.
++ * debian/rules: Remove linux.itb and linux.its in clean target. Thanks
++ to Jonas Smedegaard.
++
++ [ Jonas Smedegaard ]
++ * Add patch by Vasily Khoruzhick to support Olimex Teres-I DIY laptop.
++ * Enable teres_i target in u-boot-sunxi (Closes: #926040).
++
++ [ Vagrant Cascadian ]
++ * Create an am335x_boneblack defconfig by adapting am335x_evm and
++ removing the extra device trees. This is needed to keep size small
++ enough to fit in a standard 1MB partition offset.
++
++ [ Frédéric Danis ]
++ * Enable orangepi_zero_plus2 target in u-boot-sunxi (Closes: #927224).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 16 Apr 2019 15:46:00 -0700
++
++u-boot (2019.04+dfsg-1) experimental; urgency=medium
++
++ * New upstream release.
++ * Remove patches applied upstream:
++ - dreamplug/ARM-kirkwood-add-spi0-alias-for-dreamplug.patch
++ - exynos/0002-Fix-spelling-of-download.patch
++ - upstream/0001-Fix-typo-missmatched-mismatched.patch
++ - upstream/fs-ext4-Unmount-FS-in-do_fs_type.patch
++ * Refresh patches:
++ - test-imagetools-test-fixes
++ - exynos/0001-arm-config-fix-default-console-only-to-specify-the-d
++ * Add patch reverting changes to mkimage, which breaks compatibility
++ with FIT images used in the wild, and breaks the test suite.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 08 Apr 2019 23:35:43 -0700
++
++u-boot (2019.01+dfsg-7) unstable; urgency=medium
++
++ [ Sunil Mohan Adapa ]
++ * Enable pine64-lts target in u-boot-sunxi (Closes: #928947).
++
++ [ Vagrant Cascadian ]
++ * u-boot-omap: Enable am335x_evm target.
++ * Add patches to enable PocketBeagle in am335x_evm target.
++ * u-boot-omap: Fix instructions for installing beaglebone black.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 13 May 2019 19:07:44 -0700
++
++u-boot (2019.01+dfsg-6) unstable; urgency=medium
++
++ [ Domenico Andreoli ]
++ * Enable support for NanoPi NEO 2 in u-boot-sunxi (Closes: #928612).
++
++ [ Jonas Smedegaard ]
++ * Sync sunxi teres-i patch with mainline u-boot, enabling USB
++ support (Closes: #928815).
++
++ [ Vagrant Cascadian ]
++ * Apply patch from upstream fixing buffer overflow with ext4 filesystems
++ (CVE-2019-11059, Closes: #928800).
++ * Apply patch from upstream fixing randomly generated
++ UUIDs. (CVE-2019-11690, Closes: #928557).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 11 May 2019 18:20:19 -0700
++
++u-boot (2019.01+dfsg-5) unstable; urgency=medium
++
++ [ Jonas Smedegaard ]
++ * Add patch cherry-picked upstream to add i2c initialization for sun50i.
++ * Add patch by Vasily Khoruzhick to support Olimex Teres-I DIY laptop.
++ * Enable teres_i target in u-boot-sunxi (Closes: #926040).
++
++ [ Frédéric Danis ]
++ * Enable orangepi_zero_plus2 target in u-boot-sunxi (Closes: #927224).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 19 Apr 2019 16:43:08 -0700
++
++u-boot (2019.01+dfsg-4) unstable; urgency=medium
++
++ [ Martyn Welch ]
++ * [armhf] u-boot-imx: Enable build for NXP SABRE Lite.
++
++ [ Neil Armstrong ]
++ * [arm64] u-boot-amlogic: Enable nanopi-k2 and khadas-vim/vim2.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 08 Apr 2019 19:47:02 -0700
++
++u-boot (2019.01+dfsg-3) unstable; urgency=medium
++
++ [ Romain Perier ]
++ * [armel] u-boot-rpi: Add Raspberry Pi Zero W.
++
++ [ Vagrant Cascadian ]
++ * [armhf] u-boot-sunxi: Add bananapi_m2_berry target.
++ (Closes: #923443) Thanks to Lucas Nussbaum.
++ * [armhf] u-boot-imx: Add novena-rawsd target.
++ * Add patches to fix SPI and USB on Dreamplug (Closes: #923379).
++ Thanks to Leigh Brown and Chris Packham.
++ * u-boot-tools: Remove Synopsys lintian override.
++ * Add patch to fix spelling of "mismatched".
++ * Add patch to fix spelling of "download".
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 28 Feb 2019 20:42:31 -0800
++
++u-boot (2019.01+dfsg-2) unstable; urgency=medium
++
++ [ Frédéric Danis ]
++ * Enable libretech-cc target in u-boot-amlogic (Closes: #920947).
++
++ [ Vagrant Cascadian ]
++ * debian/patches: Add patch from upstream to unmount ext4 filesystems
++ preventing a memory leak.
++ * Add patch to fix console setting on exynos platforms. Thanks to
++ Dongjin Kim and Benjamin Drung. (Closes: #920116).
++ * Use wildcards for lintian overrides.
++ * Update tester for p2371-2180 (Jetson-TX1).
++ * Update tester for novena.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 19 Feb 2019 01:09:37 -0800
++
++u-boot (2019.01+dfsg-1) unstable; urgency=medium
++
++ * New upstream release (Closes: #918940).
++ * Update tester for firefly-rk3288.
++ * debian/control: Build-Depends: use debhelper-compat.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 14 Jan 2019 16:36:19 -0800
++
++u-boot (2019.01~rc3+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Update upstream signing key format.
++ * Remove pinebook patches, applied upstream.
++ * Drop mipsel-native-endianness patch.
++ * [arm64] u-boot-amlogic: Update README for odroid-c2.
++ * [armhf] u-boot-rockchip: Add firefly-rk3288 target.
++ * debian/rules: Call strip --strip-unneeded and --remote-section=.note
++ to comply with Debian policy 4.3.0.
++ * debian/control: Update Standards-Version to 4.3.0.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 08 Jan 2019 15:42:38 -0800
++
++u-boot (2018.11+dfsg-2) unstable; urgency=medium
++
++ * u-boot-install-sunxi64:
++ - Detect target based on running device-tree.
++ - Prefer BL31 from arm-trusted-firmware over atf-allwinner.
++ - Error out when mkimage is not found and Recommend u-boot-tools
++ (Closes: #913879). Thanks to Nicolas Schier.
++ * [arm64] u-boot-sunxi: Update Recommends to use arm-trusted-firmware
++ instead of atf-allwinner.
++ * [arm64] u-boot-amlogic: Add Recommends on arm-trusted-firmware.
++ * Update upstream signing key.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 09 Dec 2018 08:16:44 +0100
++
++u-boot (2018.11+dfsg-1) unstable; urgency=medium
++
++ * New upstream release.
++ * [armhf] u-boot-imx: Drop udoo patches, full support for distro_bootcmd
++ is enabled upstream.
++ * [armhf] u-boot-rockchip: Drop firefly-rk3288 target (Closes: #898520).
++ * [arm64] u-boot-sunxi: Enable a64-olinuxino target (Closes: #881564).
++ Thanks to Rodrigo Exterckötter Tjäder.
++ * Add Pinebook support patches from sunxi maintainer tree.
++ * [arm64] u-boot-sunxi: Add pinebook target.
++ * [armel] Drop openrd targets, which FTBFS and are orphaned upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 14 Nov 2018 13:32:35 -0800
++
++u-boot (2018.09+dfsg-1) experimental; urgency=medium
++
++ * New upstream release.
++ * Remove patches applied upstream.
++ * Refresh udoo quad support patch.
++ * Increase verbosity of make unless DEB_BUILD_OPTIONS=terse.
++ * Update Standards-Version to 4.2.1.
++ * [armhf] u-boot-sunxi: Enable Sinovoip Banana Pi M3 (Closes: #905922).
++ Thanks to Bernhard.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 10 Sep 2018 23:59:21 -0700
++
++u-boot (2018.07+dfsg-1) experimental; urgency=medium
++
++ * New upstream release.
++ * u-boot-imx: Remove mx6cuboxi4x4 target, as ram is now properly
++ detected with mx6cuboxi.
++ * debian/watch: Add repack and compression=xz options.
++ * debian/rules: Remove get-orig-source target.
++ * debian/control: Update Standards-Version to 4.1.5.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 09 Jul 2018 13:34:06 -0700
++
++u-boot (2018.07~rc2+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate:
++ - Fixes USB on Pine64+.
++ * [armhf] u-boot-sunxi: Enable A20-OLinuXino-Lime2-eMMC.
++ (Closes: #901666). Thanks to Andreas B. Mundt.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 20 Jun 2018 23:47:25 -0700
++
++u-boot (2018.07~rc1+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Remove patches applied in 2018.07-rc1.
++ * Refresh sheevaplug/sys_thumb_build patch.
++ * Add Build-Depends on bison and flex.
++ * Update patch series for odroid distro_bootcmd support.
++ * Add patch submitted upstream to consistently set default fdtfile value
++ on rockchip systems.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 05 Jun 2018 15:07:35 -0700
++
++u-boot (2018.05+dfsg-1) unstable; urgency=medium
++
++ * New upstream release.
++ * Refresh debian/patches for 2018.05.
++ * [armel] sheevaplug: Add patch to enable thumb build to reduce size of
++ u-boot.kwb (Closes: #897671).
++ * u-boot-rockchip: Add patch to fix serial output (Closes: #898276).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 10 May 2018 13:24:57 -0700
++
++u-boot (2018.05~rc3+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Remove patches applied or obsoleted upstream:
++ - firefly/fdtfile
++ - odroid-c2/0001-mmc-avoid-division-by-zero-in-meson_mmc_config_clock
++ * Add patch to set timestamp and umask when building multi-dtb fit
++ image (Closes: #896526).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 01 May 2018 14:48:55 -0700
++
++u-boot (2018.05~rc2+dfsg-2) experimental; urgency=medium
++
++ * [arm64] Add u-boot-mvebu, and enable the espressobin target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 19 Apr 2018 15:10:58 -0700
++
++u-boot (2018.05~rc2+dfsg-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Refresh patches:
++ - Makefile-add-kwb-target-to-all.patch
++ - am57xx/omap5_distro_bootcmd
++ * debian/control:
++ - Add Build-Depends for lzop, used on the AM57xx target.
++ - Update Standards-Version to 4.1.4, no changes.
++ * Install build configs to /usr/share/doc/*/configs.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 17 Apr 2018 16:05:55 -0700
++
++u-boot (2018.03+dfsg1-2) unstable; urgency=medium
++
++ [ Riku Voipio ]
++ * u-boot-qcom: Add dragonboard 820c build (Closes: #894212).
++
++ [ Vagrant Cascadian ]
++ * u-boot-install-sunxi64: Ignore device write checks when FORCE is set.
++ * u-boot-exynos: Update odroid patch to support distro_bootcmd, dropping
++ support for legacy boot.
++ * Add back uboot.elf, used to install jetson-tx1 (Closes: #893908).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 01 Apr 2018 18:20:06 -0700
++
++u-boot (2018.03+dfsg1-1) unstable; urgency=medium
++
++ * New upstream release.
++ * Update patches for new upstream release.
++ * debian/rules: Update default configuration for tools target.
++ * [arm64] u-boot-rockchip: Add puma-rk3399 target.
++ * Switch Vcs-* to use salsa.debian.org.
++ * debian/rules: Fix typo that disabled 4GB ram support for the
++ mx6cuboxi4x4 target (Closes: #893062).
++ * Add patch to fix mmc support on Odroid-C2. Thanks to Jaehoon Chung and
++ Heinrich Schuchardt.
++ * u-boot-sunxi:
++ - Add u-boot-install-sunxi64 script (Closes: #891490). Thanks to Adam
++ Borowski.
++ - [arm64] Add recommends on atf-allwinner.
++ * debian/copyright: Updated location for libfdt.
++ * Drop installation of uboot.elf, as it is stripped of debugging symbols
++ and therefor not particularly useful.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 18 Mar 2018 18:36:58 -0700
++
++u-boot (2018.01+dfsg1-2) unstable; urgency=medium
++
++ * Update to use https copyright format URL.
++ * debian/rules: Remove "dh --parallel", default in debhelper compat 11.
++ * debian/patches:
++ - Remove patch for IGEP board that was never applied.
++ - Fix typo in mx6cubox-i4x4 patch description.
++ - Add description to no-force-cross-compile-powerpc patch.
++ - Add a description for the omap5_distro_bootcmd patch.
++ - Remove patch for hurd support, as no packages are built on that
++ hurd.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 20 Feb 2018 16:49:33 -0800
++
++u-boot (2018.01+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release.
++ * debian/patches: Refresh and removed.
++ * debian/control:
++ - Update to Standards-Version 4.1.3, no changes.
++ - Build-Depend on debhelper 11.
++ * debian/compat: Switch to debhelper compatibility level 11.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 08 Jan 2018 19:19:02 -0800
++
++u-boot (2017.11+dfsg1-3) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * Add patch submitted upstream to fix ethernet on Olimex
++ A20-Olinuxino-Micro Rev. J (Closes: #864562).
++
++ [ Marek Vasut ]
++ * Disable DDR calibration on DH iMX6 (Closes: #884442).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 07 Jan 2018 14:19:18 -0800
++
++u-boot (2017.11+dfsg1-2) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * u-boot-tools: Fix broken FIT image generation by building tools-only
++ target with an empty defconfig.
++ * Run basic tests for mkimage/dumpimage.
++
++ [ Marek Vasut ]
++ * Backport DH iMX6 DDR configuration fix (Closes: #882123).
++
++ [ Vagrant Cascadian ]
++ * debian/control: Bump Standards-Version 4.1.2, no changes.
++ * debian/rules: Use dpkg/architecture.mk instead of manually calling
++ dpkg-architecture.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 05 Dec 2017 15:43:23 -0800
++
++u-boot (2017.11+dfsg1-1) experimental; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * Remove patches applied upstream.
++ * Refresh patches.
++ * Drop beaglebone black patch for usb-mass-storage.
++
++ [ Marek Vasut ]
++ * Add DHCOM i.MX6 PDK board support (Closes: #881298).
++
++ [ Vagrant Cascadian ]
++ * u-boot-sunxi: Include documentation for pine64 using u-boot SPL
++ (Closes: #842688).
++ * u-boot-rockchip: Include rk3399-firefly.dtb instead of generic
++ u-boot.dtb file.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 17 Nov 2017 12:02:57 -0800
++
++u-boot (2017.09+dfsg1-3) unstable; urgency=medium
++
++ * Set the fdtfile variable from the value of CONFIG_DEFAULT_DEVICE_TREE
++ (Closes: #870897). Thanks to Diego Roversi for the bug report!
++ * Add patch to fix building jffs2 with gcc-7 (Closes: #877963). Thanks
++ to Adrian Bunk!
++ * Update Standards-Version of Debian Policy 4.1.1, no changes needed.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 09 Oct 2017 15:14:03 -0700
++
++u-boot (2017.09+dfsg1-2) unstable; urgency=medium
++
++ * u-boot-imx: mx6cuboxi4x4: Use a symlink for u-boot.img to mx6cuboxi,
++ as it is identical.
++ * u-boot-imx/u-boot-omap: Do not install spl/u-boot-spl.bin when the
++ target uses SPL or MLO.
++ * debian/rules: Generate mx6cuboxi4x4_defconfig based on
++ mx6cuboxi_defconfig.
++ * debian/rules: Do not install uboot.elf in mx6cuboxi4x4 target.
++ * debian/rules: Only build the SPL target on mx6cuboxi4x4.
++ * debian/patches: Fix odroid patch to actually use distro_bootcmd.
++ * u-boot-rockchip: Fix USB on firefly-rk3399 with patches from upstream.
++ * u-boot-exynos: Add patch to fix "console" environment variable
++ (Closes: #877074). Thanks to Peter Lebbing!
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 05 Oct 2017 16:09:47 -0700
++
++u-boot (2017.09+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release.
++ * Refreshed patches for new upstream version.
++ * Update check for generating u-boot.rksd.
++ * [armhf] u-boot-omap: Update to use igep00x0 target, which replaced
++ igep0020.
++ * debian/rules:
++ - Use pkg-info.mk from dpkg-dev to set SOURCE_DATE_EPOCH and get the
++ package version.
++ - Switch "env" target to "envtools".
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 12 Sep 2017 13:19:29 -0700
++
++u-boot (2017.07+dfsg1-3) unstable; urgency=medium
++
++ * u-boot-rockchip:
++ - Generate u-boot.rksd used for firefly-rk3288 installation.
++ - Add README.Debian describing how to install firefly-rk3288.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 04 Aug 2017 15:56:56 -0400
++
++u-boot (2017.07+dfsg1-2) unstable; urgency=medium
++
++ * u-boot-rockchip:
++ - Ship u-boot.bin in firefly-rk3288 instead of u-boot.img.
++ - Add NEWS file explaining the change for firefly-rk3288.
++ * u-boot-imx:
++ - mx6cuboxi: Add patch from upstream to support SATA.
++ - Add patch to enable booting from SATA on wandboard.
++ * u-boot-tools:
++ - Install upstream fw_env.config, which includes several
++ well-commented examples.
++ * Consistantly use dd with conv=fsync,notrunc in Debian README files
++ (Closes: #864742). Thanks to Heinrich Schuchardt.
++ * debian/control:
++ - Update to Standards-Version 4.0.0.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 01 Aug 2017 17:10:48 -0400
++
++u-boot (2017.07+dfsg1-1) unstable; urgency=medium
++
++ * New upstream release.
++ * debian/patches:
++ - Refresh am57xx/omap5_distro_bootcmd.
++ - Refresh distro_bootcmd patches for am57xx and odroid.
++ - Sync mx6cuboxi4x4 patch with mx6cuboxi.
++ * u-boot-sunxi: Install README.sunxi64.
++ * [arm64] u-boot-sunxi: Install additional pine64 targets needed to
++ manually build an SPL image.
++ * [arm64] u-boot-rockchip: Add firefly-rk3399 target.
++ * [armhf] Add Build-Depends on libpython-dev:native and swig.
++ * [arm64] Add build-depends on libpython-dev:native, python and swig.
++ * debian/rules: Split generation of rksd images into script, supporting
++ generation for both rk3288 and rk3399 systems.
++ * debian/copyright: Remove entries from Files-Excluded no longer present
++ upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 10 Jul 2017 12:46:22 -0700
++
++u-boot (2017.05+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release.
++ * Remove patches, applied upstream:
++ - odroid-c2/0001-meson-gxbb-enable-MMC-as-boot-target.patch
++ - odroid-c2/0002-meson-gxbb-change-ramdisk_addr_r.patch
++ * Refresh patches:
++ - am57xx/omap5_distro_bootcmd
++ - n900-bootz-raw-initrd.diff
++ * Split Build-Depends into multiple lines.
++ * Add dependencies for cross-building arm64, armhf and armel.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 08 May 2017 17:17:42 -0700
++
++u-boot (2017.05~rc2+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++
++ * Remove patches applied upstream:
++ - mx6cuboxi/serial_console_speed
++ - Makefile-Fix-linking-with-modern-binutils
++
++ * Refresh patches:
++ - am57xx/omap5_distro_bootcmd
++ - arndale/board-spl-rule
++
++ * [arm64] Add u-boot-amlogic
++ - Enable the odroid-c2 target.
++ - Add patches:
++ + Enable MMC boot on odroid-c2.
++ + Fix ramdisk load address on odroid-c2.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 18 Apr 2017 20:24:42 -0700
++
++u-boot (2017.05~rc1+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++
++ * Refresh patches:
++ - beagleboneblack usb-mass-storage.
++ - mx6cuboxi4x4.
++ - Update am57xx distro_bootcmd patch and also fix for dra7xx_evm.
++
++ * Remove patches applied upstream:
++ - orangepi_zero
++ - openrd
++
++ * Add patches from upstream:
++ - Fix building with binutils.
++
++ * Update lintian overrides with openrd targets.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 12 Apr 2017 10:47:29 -0700
++
++u-boot (2016.11+dfsg1-4) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * [armel] Apply a patch from upstream to fix openrd targets which failed
++ to boot, and re-enable the openrd targets (Closes: #856441). Thanks to
++ Albert ARIBAUD for the patch, Martin Michlmayr for pointing out the
++ patch, and Phil Hands and Rick Thomas for testing on various openrd
++ platforms.
++
++ [ Martin Michlmayr ]
++ * u-boot-rpi: typo in README.Debian (Closes: #858574).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 27 Mar 2017 14:39:51 -0400
++
++u-boot (2016.11+dfsg1-3) unstable; urgency=medium
++
++ [ Peter Michael Green ]
++ * u-boot-imx: Add patch to add an mx6cuboxi4x4 target, supporting boards
++ with 4GB of ram (Closes: #848911).
++
++ [ Vagrant Cascadian ]
++ * u-boot-sunxi: Add patches to support orangepi_zero.
++ (Closes: #848557). Thanks to Mateusz Łukasik.
++ * Add Rick Thomas to mx6cuboxi testers.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 21 Dec 2016 20:44:44 -0800
++
++u-boot (2016.11+dfsg1-2) unstable; urgency=medium
++
++ * u-boot-sunxi: Add nanopi_neo target.
++ Thanks to Paul Tagliamonte. (Closes: #845932).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Fri, 16 Dec 2016 14:10:52 +0100
++
++u-boot (2016.11+dfsg1-1) unstable; urgency=medium
++
++ * New upstream release.
++ * Remove mksunxiboot-spl patch, applied upstream.
++ * Refresh patches.
++ * Enable Cubieboard4 target.
++ * Remove patches for ram detection on rk3288, applied upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 17 Nov 2016 11:10:12 -0800
++
++u-boot (2016.11~rc2+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Refresh patch for am57xx to use distro_bootcmd support.
++ * Remove patches from 2016.09.01, applied upstream.
++ * Add patches to enable ram detection on rockchip rk3288 platforms.
++ * Update lintian overrides for openrd removal.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 27 Oct 2016 11:25:47 -0700
++
++u-boot (2016.09+dfsg1-2) unstable; urgency=medium
++
++ * odroid-xu3: Add patch to use the default bootdelay from
++ distro_bootcmd.
++ * Remove Philip Rinn from Cubieboard2 testers.
++ * u-boot-rpi: Add documentation for configuring raspberry pi to use
++ u-boot.
++ * debian/watch: Add signature checking of upstream tarball.
++ * u-boot-tools: Add device-tree-compiler to Recommends. Thanks to
++ Pierre-Hugues Husson. (Closes: #841351).
++ * Apply patches from v2016.09.01:
++ - 0001-Revert-Increase-default-of-CONFIG_SYS_MALLOC_F_LEN-f.patch
++ - 0002-Revert-image-fit-switch-ENOLINK-to-ENOENT.patch
++ * Remove openrd targets, as they do not boot (Closes: #837629).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 23 Oct 2016 19:36:36 -0700
++
++u-boot (2016.09+dfsg1-1) unstable; urgency=medium
++
++ * New upstream version.
++
++ [ Vagrant Cascadian ]
++ * Remove Ian Campbell from the list of arndale testers.
++ * Remove Joey Hess from the A10-OLinuXino-Lime testers.
++ * [armhf] u-boot-sunxi: Enable the CHIP target.
++ * Refresh and remove patches applied upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 12 Sep 2016 12:43:29 -0700
++
++u-boot (2016.09~rc2+dfsg1-1) experimental; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * New upstream release candidate.
++ * Simplify cross-building in debian/rules.
++ * Refresh debian/patches/tools-only-in-no-dot-config-targets.diff
++ * u-boot-omap:
++ - Add omap3_pandora target.
++ - Add patches to switch omap3-pandora to use distro bootcmd.
++ * Add patches from upstream to fix cache issues.
++
++ [ Martin Michlmayr ]
++ * Generate bootable image for DragonBoard 410c (Closes: #835656).
++
++ [ Vagrant Cascadian ]
++ * [arm64] Fix cross-building of DragonBoard 410c:
++ - Allow skales:native to satisfy build-dependency.
++ - Add build-depends on libfdt-dev:native.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 30 Aug 2016 11:36:35 -0700
++
++u-boot (2016.09~rc1+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Remove patches applied upstream.
++ * Remove redundant u-boot-rockchip.docs, as it is handled in the
++ u-boot-rockchip.install file.
++ * u-boot-sunxi: Install README for pine64 target.
++ * Add build-depends on python:any [armhf], which is now required to
++ build the firefly-rk3288 target.
++ * Fix build of firefly-rk3288 target, which now uses u-boot-spl.bin to
++ generate rksd image.
++ * Build u-boot.img and u-boot.bin instead of deprecated u-boot-dtb.*
++ targets.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 01 Aug 2016 00:42:12 -0700
++
++u-boot (2016.07~rc3+dfsg1-2) experimental; urgency=medium
++
++ * [armel] Apply patch from upstream that fixes FTBFS on openrd variants.
++ (Closes: #830169).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 07 Jul 2016 11:17:30 +0200
++
++u-boot (2016.07~rc3+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++
++ [ Vagrant Cascadian ]
++ * u-boot-sunxi: Enable on arm64.
++ * u-boot-sunxi: Enable pine64_plus target on arm64.
++ * Remove reproducibility patches, applied upstream.
++
++ [ Ricardo Salveti ]
++ * [arm64] Add u-boot-qcom package and enable dragonboard410c target
++ (Closes: #824955).
++ * Add patch submitted upstream "dragonboard410c: adding missing default
++ addr for script and pxe boot."
++ * Add patch submitted upstream "dragonboard410c: prefer sdcard boot over
++ emmc"
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 05 Jul 2016 12:34:49 +0200
++
++u-boot (2016.07~rc1+dfsg1-3) experimental; urgency=medium
++
++ [ Martin Michlmayr ]
++ * Add NVIDIA to Tegra description
++ * u-boot-tegra.README.Debian: fix name of package
++ * u-boot-tegra.README.Debian: improve Jetson TK instructions.
++ (Closes: #827081).
++
++ [ Vagrant Cascadian ]
++ * debian/control: u-boot-tools is not needed when cross-building on
++ arm64.
++ * Add patch to respect SOURCE_DATE_EPOCH when building FIT images,
++ fixing reproducibility issues with dra7xx_evm target. Thanks to HW42
++ for the patch.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 16 Jun 2016 12:29:51 -0700
++
++u-boot (2016.07~rc1+dfsg1-2) experimental; urgency=medium
++
++ * u-boot-tegra: Only install p2371-2180 symlink on arm64.
++ (Closes: #826905). Thanks to Martin Michlmayr for the report!
++ * Add patch to fix reproducibility issues with ld and some
++ locales. Thanks to HW42!
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 12 Jun 2016 06:15:22 -0700
++
++u-boot (2016.07~rc1+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++
++ [ Martin Michlmayr ]
++ * u-boot-tegra:
++ - Add Jetson TX1 (P2371-2180) target (Closes: #825458).
++ - Add arm64 arch.
++ - Update README.Debian for Jetson TX1.
++
++ [ Vagrant Cascadian ]
++ * u-boot-omap: Update use dra7xx_evm target.
++ * u-boot-imx: Remove patch to us private libgcc on imx systems.
++ * u-boot-exynos:
++ - Refresh odroid distro_bootcmd patch.
++ - Increase default environment size on odroid-u3 to support
++ distro_bootcmd.
++ * u-boot-sunxi: Enable Cubietruck_plus target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 07 Jun 2016 12:04:16 -0700
++
++u-boot (2016.05+dfsg1-1) experimental; urgency=medium
++
++ * New upstream version.
++
++ [ Ryan Finnie ]
++ * u-boot-rpi: Add rpi_3, rpi_3_32b target (Closes: #823524).
++ * u-boot-rpi: Add arm64 arch.
++
++ [ Vagrant Cascadian ]
++ * Remove patches applied upstream:
++ - Revert-ti_armv7_common.h-Fix-U-Boot-location-on-eMMC.patch
++ - Revert-rockchip-rk3288-correct-sdram-setting.patch
++ - odroid-Update-README-with-correct-firmware-link-and-.patch
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 17 May 2016 13:03:11 -0700
++
++u-boot (2016.05~rc3+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Update debian/patches for 2016.05-rc3.
++ * u-boot-rockchip:
++ - Revert upstream patch to fix detected ram size on Firefly boards.
++ * u-boot-imx:
++ - Add patch to fix FTBFS by using u-boot's private libgcc.
++ * u-boot-tools:
++ - Add fw_env.config for openrd (Closes: #821056).
++ Thanks to Rick Thomas.
++ * u-boot-omap:
++ - Revert upstream patch changing the default offsets for loading
++ u-boot from eMMC.
++ * u-boot-exynos:
++ - Add odroid-xu3 target, tested on Odroid-XU4.
++ - Add patch from upstream with updated documentation about Odroid-XU4
++ target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 30 Apr 2016 18:53:04 -0700
++
++u-boot (2016.03+dfsg1-6) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * u-boot-tegra: Only install p2371-2180 symlink on arm64.
++ (Closes: #826905). Thanks to Martin Michlmayr for the report!
++ * Add patch to fix reproducibility issues with ld and some
++ locales. Thanks to HW42!
++
++ [ Martin Michlmayr ]
++ * Add NVIDIA to Tegra description
++ * u-boot-tegra.README.Debian: fix name of package
++ * u-boot-tegra.README.Debian: improve Jetson TK instructions.
++ (Closes: #827081).
++
++ [ Vagrant Cascadian ]
++ * Apply patch from upstream to fix volatages used on several OlinuXino
++ Lime board variants (Closes: #825214). Thanks to Karsten Merker for
++ tracking down the patch!
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 28 Jun 2016 09:38:27 +0200
++
++u-boot (2016.03+dfsg1-5) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * Add patches from upstream to detect fdtfile on am57xx, and update
++ distro_bootcmd patch accordingly.
++ * u-boot-tools: Add fw_env.config for openrd (Closes: #821056). Thanks
++ to Rick Thomas.
++ * u-boot-omap: Add support for dra74_evm (Closes: #824730). Thanks to
++ Ben Hutchings.
++ * Added odroid-xu3 target, tested on Odroid-XU4.
++
++ [ Gerald Kerma ]
++ * Correct the guruplug.config to match the new upstream env address.
++ (Closes: #781873).
++
++ [ Vagrant Cascadian ]
++ * u-boot-exynos: Add patch to support distro_bootcmd on odroid target.
++
++ [ Martin Michlmayr ]
++ * u-boot-tegra: Add Jetson TX1 (P2371-2180) target (Closes: #825458).
++ * u-boot-tegra: Add arm64 arch.
++ * u-boot-tegra: Update README.Debian for Jetson TX1.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 29 May 2016 14:29:59 -0700
++
++u-boot (2016.03+dfsg1-4) unstable; urgency=medium
++
++ * Add patch to fix detected ram size on Firefly boards by reverting
++ "rockchip: rk3288: correct sdram setting".
++ * debian/control: Updated Standards-Version to 3.9.8, no changes needed.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 16 Apr 2016 15:33:22 -0700
++
++u-boot (2016.03+dfsg1-3) unstable; urgency=medium
++
++ * u-boot-omap:
++ - Remove ti-u-boot patches, which are no longer needed.
++ - Update am57xx support for distro bootcmd.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 04 Apr 2016 11:23:06 -0700
++
++u-boot (2016.03+dfsg1-2) unstable; urgency=medium
++
++ * Apply patch from upstream to fix gmac ethernet on sunxi
++ systems. (Closes: #818621). Thanks to Karsten Merker for the report.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 28 Mar 2016 19:52:45 -0700
++
++u-boot (2016.03+dfsg1-1) unstable; urgency=medium
++
++ * New upstream release.
++ * Remove Firefly-RK3288 patch applied upstream.
++ * debian/control:
++ - Update to use https for Vcs-Git and Vcs-Browser.
++ - Update to Standards-Version 3.9.7, no changes needed.
++ * Update lintian overrides to ignore a company named Synopsys listed in
++ debian/copyright, which is flagged as a misspelling.
++ * Add patches to fix mispellings for "comment", "supported" and
++ "transferred".
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 15 Mar 2016 14:53:55 -0700
++
++u-boot (2016.03~rc3+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Add patch submitted upstream to fix Firefly-RK3288 SPL by disabling
++ eMMC feature in SPL.
++ * u-boot-sunxi: Drop FEL targets, as moderm versions of sunxi-tools
++ support loading u-boot-sunxi-with-spl.bin directly.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 08 Mar 2016 13:28:50 -0800
++
++u-boot (2016.03~rc2+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Remove patches applied upstream.
++ * Refresh patches:
++ - Makefile-add-kwb-target-to-all.patch
++ - 0001-Makefile-Include-vendor-common-library-in-include-se.patch
++ - udoo_quad-support.patch
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 16 Feb 2016 15:01:48 -0800
++
++u-boot (2016.01+dfsg1-2) unstable; urgency=medium
++
++ * u-boot-omap:
++ - Include patches from ti-u-boot to support AM57xx boards.
++ - Add patch for AM57xx boards to boot using distro bootcmd.
++ - Add am57xx_evm target, used by the BeagleBoard-X15.
++ * Apply patches from upstream to fix OpenRD builds with
++ GCC-5. Thanks to Albert ARIBAUD. (Closes: #811129)
++ * u-boot-imx: Apply patch "wandboard: fix variable name so PXE boot
++ works" from upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 08 Feb 2016 20:14:04 -0800
++
++u-boot (2016.01+dfsg1-1) unstable; urgency=medium
++
++ * u-boot-sunxi: Enable orangepi_plus target.
++ * Remove patch Switching novena to config_distro_bootcmd, applied
++ upstream.
++ * armel: Enable openrd_base, openrd_client and openrd_ultimate
++ targets. Thanks to Albert ARIBAUD, Rick Thomas and Philip Hands for
++ testing. (Closes: #810790)
++ * Add Rick Thomas as a sheevaplug tester.
++ * sheevaplug: Update env documentation to default to current u-boot
++ offsets. (Closes: #781874)
++ * Bump versioned dependencies on debhelper and dpkg-dev to support use
++ of build profiles.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 12 Jan 2016 11:48:34 -0800
++
++u-boot (2016.01~rc3+dfsg1-3) experimental; urgency=medium
++
++ * u-boot-rockchip: Generate rksd images.
++ * u-boot-rockchip: Build u-boot-dtb.img instead of u-boot.img.
++ * Add u-boot-rpi package for Raspberry pi systems:
++ - [armel] Include rpi target.
++ - [armhf] Add rpi_2 target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 02 Jan 2016 15:19:11 -0800
++
++u-boot (2016.01~rc3+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ - Fixes eMMC boot selection on BeagleBone Black.
++ * Add patch to fix missing bootdelay on am335x.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 22 Dec 2015 18:20:52 -0800
++
++u-boot (2016.01~rc2+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate:
++ - Remove patches applied upstream.
++ - Refresh patches:
++ + arndale/board-spl-rule.diff
++ + beagleboneblack/usb-mass-storage.patch
++ + 0001-arm-novena-Switch-novena-to-config_distro_bootcmd.patch
++
++ * u-boot-tools:
++ - Install man page for kwboot.
++ - Add dumpimage command (Closes: #807174).
++ - strip mkenvimage.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 12 Dec 2015 19:00:32 -0800
++
++u-boot (2015.10+dfsg1-4) unstable; urgency=medium
++
++ * Fix reproducibility issue with targets listed in package descriptions
++ by always sorting using C locale.
++ * u-boot-imx: Updates to novena patches:
++ - Sync with submitted patch for distro_bootcmd support.
++ - Add upstream patch to fix USB support.
++ - Add upstream patch to enable loading u-boot.img from EXT
++ filesystems.
++ * Add upstream patches to fix mkimage support for multi and script
++ images (Closes: #805434).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 08 Dec 2015 08:59:47 -0800
++
++u-boot (2015.10+dfsg1-3) unstable; urgency=medium
++
++ * u-boot-install-targets: Add support to install documentation.
++ * u-boot-exynos: Install README.odroid.
++ * u-boot-rockchip: Install README.rockchip.
++ * u-boot-omap: Install README.nokia_rx51.
++ * Add included platforms to u-boot package descriptions.
++ * u-boot-sunxi: Enable the A10s-OLinuXino-M target. Thanks to Benedikt
++ Wildenhain (Closes: #806151).
++ * u-boot-imx: Add novena patches to include fdtfile variable, and load
++ fdt file into correct address.
++ * u-boot-sunxi: Backport patches from upstream to enable the Lamobo_R1
++ target.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 24 Nov 2015 14:14:29 -0800
++
++u-boot (2015.10+dfsg1-2) unstable; urgency=medium
++
++ * Add missing content to u-boot-rockchip package.
++ * Update wandboard and mx6cuboxi patches to use config_distro_bootcmd
++ patches from u-boot-imx.
++ * Patch mx6cuboxi to specify the baudrate in the console setting.
++ * Update BeagleBone Black patches to use config_distro_bootcmd from
++ upstream.
++ * Patch to switch novena to use distro_bootcmd.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 14 Nov 2015 09:22:47 -0600
++
++u-boot (2015.10+dfsg1-2~exp1) experimental; urgency=medium
++
++ * Build rockchip package, with firefly-rk3288 as the initial
++ target. Thanks to Emilio Pozuelo Monfort and Sjoerd Simons.
++ (Closes: #803166).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 02 Nov 2015 07:59:36 -0800
++
++u-boot (2015.10+dfsg1-1) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * New upstream version.
++ * Remove patch to fix variation caused by timezone differences, applied
++ upstream.
++ * Add patch to use a relative path to include the sunxi spl header,
++ which allows mksunxiboot to build on any architecture. Thanks to Ian
++ Campbell for the initial patch!
++ * Add patch from upstream to fix non-Android booting with ramdisk and/or
++ device tree.
++
++ [ Karsten Merker ]
++ * u-boot-sunxi: Enable the A20-Olimex-SOM-EVB target (Closes: #803335).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 29 Oct 2015 13:35:23 -0700
++
++u-boot (2015.10~rc4+dfsg1-1) unstable; urgency=medium
++
++ * New upstream release candidate.
++ * Updated udoo patches and debian/targets, upstream switched to a single
++ target that supports both udoo quad and dual.
++ * u-boot-sunxi: Add Linksprite_pcDuino target (Closes: #799035). Thanks
++ to Robert Hegner for testing!
++ * Refreshed patches for beaglebone black.
++ * Add patch to fix build variation based on timezone, by removing call
++ to "mktime".
++ * debian/copyright: Updated new locations for exynos files.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 30 Sep 2015 12:00:30 -0700
++
++u-boot (2015.10~rc2+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Install mkenvimage. Patch from Ubuntu.
++ * Refreshed patches for arndale, beaglebone black, and mx53loco.
++ * Remove reproducibility patch, applied upstream.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 01 Sep 2015 17:10:40 -0500
++
++u-boot (2015.07+dfsg1-1) unstable; urgency=medium
++
++ [ Jochen Sprickerhof ]
++ * u-boot-sunxi: enable Mini-X target (Closes: #787266).
++
++ [ Ian Campbell ]
++ * Add support for Tegra Jetson TK-1 (Closes: #788689)
++
++ [ Vagrant Cascadian ]
++ New upstream version:
++ * mx6cuboxi:
++ - Remove patches applied upstream.
++ - Refresh distro bootcmd patch.
++ * wandboard:
++ - Remove wandboard SPL patch, applied upstream.
++ - Refresh distro bootcmd patch.
++ * beagleboneblack:
++ - Refresh distro bootcmd patch.
++ * udoo_quad:
++ - Refresh support patch.
++ * Drop no-error-on-set-but-unused-variable patch, no longer relevent.
++ * Add patch to ensure that CONFIG_SANDBOX is set when running "make env".
++
++ * Use patch applied upstream to use SOURCE_DATE_EPOCH when set.
++ * debian/rules: Use the Date from debian/changelog to set
++ SOURCE_DATE_EPOCH.
++
++ * Add example fw_env.config for mx6cuboxi (Closes: #786877).
++ * Add example fw_env.config for wandboard.
++
++ * Add Build-Depends on dpkg-dev (>= 1.17.0), as debian/rules uses
++ "dpkg-parsechangelog --show-field" introduced in that
++ version. (Closes: #768099).
++
++ * debian/watch: Update to use ftp server.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 01 Aug 2015 07:29:07 -0700
++
++u-boot (2015.04+dfsg1-2) unstable; urgency=medium
++
++ [ Joost van Zwieten ]
++ * u-boot-exynos: Enable odroid target.
++
++ [ Vagrant Cascadian ]
++ * u-boot-imx/mx6cuboxi:
++ + Add patches to enable HDMI and USB support.
++ + Add patches to fix Ethernet PHY detection.
++ * u-boot-imx/wandboard: Add patch from u-boot-imx to build a single SPL
++ target for all variants.
++
++ [ Robert Nelson ]
++ * u-boot-omap: Include u-boot.img instead of u-boot.bin for igep0020,
++ omap3_beagle and omap4_panda.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 25 May 2015 20:36:37 -0700
++
++u-boot (2015.04+dfsg1-1) experimental; urgency=medium
++
++ [ Ian Campbell ]
++ * u-boot-exynos: Fix conflict between arndale and sunxi spl
++ targets.
++ * u-boot-sunxi: Update sunxi FEL target.
++
++ [ Vagrant Cascadian ]
++ * u-boot-imx:
++ + Add usbarmory target.
++ + Add novena target.
++ + Add patches from u-boot-imx to support Cubox-i and Hummingboard and
++ drop old cubox-i patches.
++ + Add mx6cuboxi target.
++ + mx6cuboxi: Add patch to use config_distro_bootcmd.
++ + wandboard: Add patch to use config_distro_bootcmd and remove old
++ environment patches.
++
++ * u-boot-omap:
++ + am335x_boneblack: Remove patch to set voltage.
++ + am335x_boneblack: Add patch to use config_distro_bootcmd and remove
++ old patches.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 27 Apr 2015 14:54:44 -0700
++
++u-boot (2015.04~rc5+dfsg1-1) experimental; urgency=medium
++
++ [ John Paul Adrian Glaubitz ]
++ * [sh4] Fix FTBFS due to incorrect target names (Closes: #780066).
++
++ [ Vagrant Cascadian ]
++ * [armel] Use "rpi" for the Raspberry pi target, as it was renamed
++ upstream.
++ * [armel] Remove openrd_ultimate target, which fails to build upstream.
++ * [armel] Remove obsolete mmc guruplug and openrd patches.
++ * [armhf] Remove arndale patches, applied upstream.
++ * Fix cross-building of u-boot-tools (Closes: #775614).
++ * [armhf] u-boot-sunxi: Enable A20-OLinuXino_MICRO. Thanks to Arne
++ Ploese for testing!
++ * [armhf] u-boot-sunxi: Enable Linksprite_pcDuino3. Thanks to Patrice Go
++ for testing!
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 07 Apr 2015 13:58:39 -0700
++
++u-boot (2015.04~rc3+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Remove patches applied upstream:
++ - ti_armv7_common-support_raw_initrd.diff
++ * Refresh patches:
++ - cubox-i/cubox-i-support.diff
++ - mipsel-native-endianness.diff
++ - mx53loco
++ - openrd-mmc.diff
++ - series
++ - wandboard/wandboard-uEnv.txt-bootz-n-fixes.patch
++ - guruplug_mvfs_and_mmc.diff
++ * Add patch to enable USB mass-storage support for the BeagleBone Black:
++ - beagleboneblack/usb-mass-storage.patch
++ * debian/rules: Add get-orig-source target.
++
++ * Disable patches that fail to apply:
++ - cubox-i/imx6-spl-support.diff
++ - arndale/exynos-Enable-config_distro_defaults.h.patch
++ - arndale/exynos5-Use-config_distro_bootcmd.h.patch
++ * Disable cubox-i build target and patches, as it fails to build.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 08 Mar 2015 12:15:59 -0700
++
++u-boot (2014.10+dfsg1-5) unstable; urgency=medium
++
++ [ John Paul Adrian Glaubitz ]
++ * [sh4] Fix FTBFS due to incorrect target names (Closes: #780066).
++
++ [ Vagrant Cascadian ]
++ * [armhf] u-boot-sunxi: Enable A20-OLinuXino_MICRO. Thanks to Arne
++ Ploese for testing!
++ * [armhf] u-boot-sunxi: Enable Linksprite_pcDuino3. Thanks to Patrice Go
++ for testing!
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 07 Apr 2015 13:42:30 -0700
++
++u-boot (2014.10+dfsg1-4) unstable; urgency=medium
++
++ [ Karsten Merker ]
++ * Backport support for the LeMaker Banana Pro board (Closes: #779908).
++
++ [ Vagrant Cascadian ]
++ * Update lintian rules for BananaPro and A20-OlinuXino-LIME2.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 08 Mar 2015 11:13:07 -0700
++
++u-boot (2014.10+dfsg1-3) unstable; urgency=medium
++
++ * cubox-i-support.diff: Refresh patch, dropping solidrun.bmp, which
++ causes FTBFS with newer version of patch (Closes: #777518).
++
++ * Add patch to support A20-OLinuXino-LIME2, backported from u-boot
++ 2015.01. Thanks to Karsten Merker for the patch (Closes: #777466).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 21 Feb 2015 13:13:31 -0800
++
++u-boot (2014.10+dfsg1-2.1) unstable; urgency=medium
++
++ * Non-maintainer upload.
++ * debian/patches:
++ - Add sh4-fix-linker-name-prefix.patch to use the proper
++ linker name prefix on sh4. Fixes FTBFS. (Closes: #771747)
++
++ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Thu, 11 Dec 2014 00:00:08 +0100
++
++u-boot (2014.10+dfsg1-2) unstable; urgency=medium
++
++ [ Steve Langasek ]
++ * Resync cubox-i patches with github.
++ - fixes support for booting on the cubox-i2ultra/i2ex.
++ (Closes: #766266)
++
++ [ Vagrant Cascadian ]
++ * wandboard, cubox-i: Add patches to use variables expected by
++ debian-installer bootscript.
++ * cubox-i: Move importing bootenv before loading the boot script, to
++ allow environment variables useful to the boot script to be set.
++ * cubox-i: Run autodetectfdt before attempting to load the boot script.
++ * Split README.Debian by subarchitecture, and document installing u-boot
++ on several additional boards.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 01 Nov 2014 16:33:33 -0700
++
++u-boot (2014.10+dfsg1-1) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * New upstream release.
++ * Refresh cubox-i patches to 2014.10.
++ * Update cubox-i patches to use generic board.
++ * Remove debian/patches/kerma-sheevaplug-mvsata.diff, merged upstream.
++ * Patch to allow tools-only to build without a configuration.
++ * Update Standards-Version to 3.9.6, no changes needed.
++
++ [ Ian Campbell ]
++ * Rebase arndale patches onto 2014.10
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 19 Oct 2014 11:34:39 -0700
++
++u-boot (2014.10~rc3+dfsg1-2) experimental; urgency=medium
++
++ [ Ian Campbell ]
++ * Add support for the Arndale board (Closes: #763186).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 09 Oct 2014 11:41:31 -0700
++
++u-boot (2014.10~rc3+dfsg1-1) unstable; urgency=medium
++
++ * New upstream release candidate.
++ * Remove patches applied upstream:
++ - bootcmd-scsi-scan-before-scsi.patch
++ - sunxi/0001-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME.patch
++ * Refresh patches:
++ - am335x-bootscript.diff
++ - am335x-uenv.txt.diff
++ - cubox-i/cubox-i-support.diff
++ - no-force-CROSS_COMPILE-powerpc.diff
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 08 Oct 2014 09:57:35 -0700
++
++u-boot (2014.10~rc2+dfsg1-2) unstable; urgency=medium
++
++ [ Héctor Orón Martínez ]
++ * Fix cross building.
++ * Build extra tools for kirkwood and sunxi (Closes: #750108).
++ * Build extra tools and env just once, and install in PATH again.
++ * Add nitrogen6q support to u-boot-imx.
++
++ [ Vagrant Cascadian ]
++ * Use "make all" instead of making individual targets, recording a list
++ of targets to install in each subarch package.
++ * Build FEL variants for all sunxi platforms, based on patches from Ian
++ Campbell.
++ * Add build-depends on "bc".
++ * Patch to add the debian revision to the U-boot version.
++ * Updated cubox-i patches and re-enable mx6_cubox-i target.
++ * Build tools and env with NO_SDL=1 to avoid complaining about missing
++ sdl-config.
++ * Remove mips target dbau1100, an old platform with no testers.
++ * Swich qemu_mips target to install u-boot.bin, which is what is
++ actually needed by qemu.
++ * Add patch to Set DCDC1 DDR3 to 1.35V for Beaglebone Black. Thanks to
++ Robert Nelson for the patch.
++
++ [ Ian Campbell ]
++ * Add patch to add u-boot.kwb to "make all" on Kirkwood platforms.
++ * Build tools out-of-tree too so as not to dirty the source used for the
++ actual platforms (Closes: #763024).
++ * Add patch to initialize scsi before trying scsi disks in
++ config_distro_bootcmd (Closes: #764069).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 06 Oct 2014 16:58:04 -0700
++
++u-boot (2014.10~rc2+dfsg1-2~exp1) experimental; urgency=medium
++
++ * Split u-boot package into u-boot-imx, u-boot-omap and u-boot-sunxi
++ packages on armhf.
++
++ * debian/targets:
++ - Enable A10-OLinuXino-Lime target.
++ - Enable Cubieboard2 and Cubieboard2_FEL targets (Closes: #762383).
++ - Enable A20-OLinuXino-LIME target.
++ - Disable mx6_cubox-i
++ - Disable efikamx and efikasb.
++
++ * debian/patches:
++ - Add patch from upstream to support A20-OLinuXino-LIME.
++ - Disable patches for cubox-i.
++
++ * debian/rules:
++ - Remove excess conditional architecture check, drop build-dep on
++ dctrl-tools.
++ - Remove executable bit from u-boot targets.
++
++ * Updated lintian overrides.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 22 Sep 2014 18:30:12 -0500
++
++u-boot (2014.10~rc2+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++
++ * Update debian/patches:
++ - Remove Cubieboard and Cubietruck patches, applied upstream.
++ - Remove kerma-sheevaplug-mvsdio patch, applied upstream.
++ - Update openrd-mmc patch, partially applied upstream.
++ - Add patch to workaround failure when building env tools.
++
++ * [armhf] Add Bananapi target.
++
++ * debian/rules:
++ - Install fw_printenv and fw_setenv symlink in platform-specific dir.
++ - Create include/config/auto.conf to allow tools-only target to build.
++ - Update to use defconfig target rather than config target.
++
++ * debian/copyright:
++ - Update Files-Excluded as some files were removed upstream.
++
++ * Updated lintian overrides.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 03 Sep 2014 23:28:59 -0700
++
++u-boot (2014.07+dfsg1-2) unstable; urgency=medium
++
++ [ Steve Langasek ]
++ * Rebase cubox-i patches on 2014.07 and re-enable the target.
++
++ [ Vagrant Cascadian ]
++ * Switch to debhelper 9 with executable .install files.
++ * Remove the efikamx and efikasb targets.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 14 Sep 2014 23:01:50 -0500
++
++u-boot (2014.07+dfsg1-1) unstable; urgency=medium
++
++ * New upstream version.
++ * [armhf] Temporarily disable cubox-i target, which needs re-working for
++ new upstream version.
++ * Refresh Cubietruck and Cubieboard patches.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 28 Aug 2014 12:22:06 -0700
++
++u-boot (2014.07~rc4+dfsg1-1) experimental; urgency=medium
++
++ * New upstream release candidate.
++ * Updated patches for sheevaplug MMC and SATA support.
++ * Updated openrd patches to use MMC driver.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sat, 12 Jul 2014 17:24:51 -0700
++
++u-boot (2014.04+dfsg1-3) unstable; urgency=medium
++
++ * Add patch for mx53loco that enables support for ext4, the "load" command,
++ and using bootz with raw initrds.
++ * Remove ZUMA platform and drop powerpc from u-boot architectures
++ (Closes: #754610).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 28 Jul 2014 15:30:26 -0700
++
++u-boot (2014.04+dfsg1-2) unstable; urgency=medium
++
++ * Enable udoo_quad target, with patch improving the udoo_quad boot
++ environment. Thanks to Michael Fladischer! (Closes: #753376).
++ * Enable Cubieboard target and patches.
++ * Update lintian overrides.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Wed, 09 Jul 2014 12:37:12 -0700
++
++u-boot (2014.04+dfsg1-1) unstable; urgency=medium
++
++ [ Vagrant Cascadian ]
++ * Repack upstream tarball to remove files containing firmware without
++ sources (Closes: #750912).
++
++ * Add patches for Cubietruck from upstream.
++ * Add Cubietruck and Cubietruck_FEL targets (Closes: #750473).
++
++ * Add support for bootscripts to BeagleBone Black.
++ - Support loading files from either first or second partition.
++
++ * Modified wandboard patches:
++ - Add support for bootscripts.
++ - Support both fat and ext filesystems by consistantly using the "load"
++ command.
++ - Try loading bootscript from /boot/ as a fallback if not found in /.
++
++ * Update debian/copyright to use copyright format 1.0.
++ - Document which files are removed in debian/copyright.
++ * Update debian/watch to handle +dfsg version.
++ * Update lintian overrides:
++ - Ignore 'u-boot: statically-linked-binary'.
++ - Include new u-boot targets.
++
++ [ Andreas Henriksson ]
++ * Add patches for sunxi AHCI driver (Cubietruck) (Closes: #750473).
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 15 Jun 2014 21:03:40 -0700
++
++u-boot (2014.04-2) unstable; urgency=medium
++
++ * Fix FTBFS on powerpc by not setting CROSS_COMPILE when empty.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 26 May 2014 11:32:49 -0700
++
++u-boot (2014.04-1) unstable; urgency=low
++
++ [ Steve Langasek ]
++ * Patches taken from https://github.com/rabeeh/u-boot-imx6.git to support
++ the SolidRun CuBox-i series:
++ - debian/patches/spl-sata-support.diff:
++ Add support for SATA in SPL mode
++ - debian/patches/imx6-spl-support.diff:
++ Add support for SPL on i.MX6-based systems
++ - debian/patches/cubox-support.diff, tools/logos/solidrun.bmp:
++ Add support for the CuBox-i.
++ * Build the mx6_cubox-i target (Closes: #741127).
++
++ [ Vagrant Cascadian ]
++ * Add Nokia nokia_rx51 (n900) to targets to build.
++ - Patch n900 build to support bootz and raw initrds.
++ * debian/rules: Fix building of targets for v2014.04.
++ - Move fw_printenv creation into board-specific targets.
++ - Build target "tools-only".
++ - Drop special-casing of MLO, add MLO to debian/targets.
++ * debian/patches/cubox-i-raw-initrd.diff:
++ - Patch to support raw initrd on cubox-i.
++ * debian/watch: Use http.
++ * debian/control: Bump Standards-Version to 3.9.5, no changes needed.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 20 May 2014 10:04:56 -0700
++
++u-boot (2014.01-2) unstable; urgency=medium
++
++ * Set Maintainer to Vagrant Cascadian (Closes: #738446).
++ * Remove Micah Anderson from uploaders.
++ * Add Clint Adams <clint@debian.org> to uploaders.
++ * Use grep-dctrl to pull architecture list from debian/control, rather than
++ hardcoding architectures in debian/rules.
++ * u-boot-tools: Set architecture to linux-any (Closes: #730833).
++ * Build raspberry pi (rpi_b) image on armel.
++ - Patch to to enable EXT2/EXT4 support and raw initrds.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 04 Mar 2014 14:13:22 -0800
++
++u-boot (2014.01-1) unstable; urgency=low
++
++ * New upstream version.
++ * Updated patches.
++ * debian/watch: Update to catch -rc versions.
++ * debian/control: Update Vcs-* headers.
++ * u-boot-tools: Strip comment sections from mkimage and fw_printenv.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Tue, 11 Feb 2014 15:11:47 -0800
++
++u-boot (2013.10-3) unstable; urgency=low
++
++ * Move build of dbau1100 from mipsel to mips, which fixes FTBFS on mipsel,
++ due to dbau1100 being big-endian.
++ * Disable mipsel builds of u-boot, as it no longer has any targets.
++ * Add patch to specify default mmc partition to use when loading uEnv.txt
++ on BeagleBone Black.
++ * Add patch to support raw initrds on BeagleBone Black.
++ * Mark u-boot-tools as Multi-Arch: foreign.
++ * Mark u-boot as Multi-Arch: same.
++ * Update lintian overrides with list of current platforms.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 17 Nov 2013 00:09:32 -0800
++
++u-boot (2013.10-2) unstable; urgency=low
++
++ * debian/rules:
++ - Switch back to explicitly building the specified target.
++ - Allow building multiple targets per platform.
++ * debian/targets:
++ - Build the spl/u-boot-spl.bin target on several armhf platforms, which
++ generates the MLO file.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Mon, 21 Oct 2013 11:33:01 -0700
++
++u-boot (2013.10-1) unstable; urgency=low
++
++ * New upstream version (Closes: #667680, #726699).
++ - Update mipsel-native-endianness.diff
++ * debian/rules:
++ - Remove various tools/* files on clean target.
++ - Build each platform target and install MLO file if present.
++ (Closes: #687562).
++ - Support parallel builds using DEB_BUILD_OPTIONS=parallel=N.
++ * Enable BeagleBone Black and Wandboard platforms.
++ * Add patch to support uEnv.txt and directly loading zimage for Wandboard.
++ * Include env configs u-boot-tools examples (Closes: #631659, #636214).
++ * Only build u-boot on architectures which generate images (Closes: #635050).
++ * Drop i386 builds of u-boot, as the only target (eNET) was removed upstream.
++ * debian/control: Add myself to uploaders.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Sun, 20 Oct 2013 10:23:55 -0700
++
++u-boot (2013.01.01-4) unstable; urgency=low
++
++ * Upload to unstable.
++ * Drop transitional packages uboot-envtools and uboot-mkimage.
++
++ -- Clint Adams <clint@debian.org> Thu, 09 May 2013 21:41:25 -0400
++
++u-boot (2013.01.01-3) experimental; urgency=low
++
++ * Disable unnecessary JFFS2 on GuruPlug
++ * Disable MMC on GuruPlug, devices are not detected,
++ they show up as USB devices instead
++
++ -- Micah Anderson <micah@debian.org> Mon, 25 Mar 2013 22:56:32 -0400
++
++u-boot (2013.01.01-2) experimental; urgency=low
++
++ * More properly enable MMC on GuruPlug.
++ * Use new Efika target names.
++ * Bump to Standards-Version 3.9.4.
++
++ -- Clint Adams <clint@debian.org> Sun, 24 Mar 2013 21:59:03 -0400
++
++u-boot (2013.01.01-1) experimental; urgency=low
++
++ * New upstream version. closes: #699232.
++ - Drop strip-env-tools.diff (merged).
++ - Update kerma-sheevaplug-mvsdio.diff.
++ - Update mipsel-native-endianness.diff
++ * Enable CONFIG_SYS_MVFS and CONFIG_CMD_MMC for GuruPlug.
++
++ -- Clint Adams <clint@debian.org> Thu, 21 Mar 2013 14:21:33 -0400
++
++u-boot (2012.04.01-2) unstable; urgency=low
++
++ * Remove code duplication in kerma-sheevaplug-mvsdio.diff.
++ closes: #674230.
++
++ -- Clint Adams <clint@debian.org> Thu, 31 May 2012 21:04:49 -0400
++
++u-boot (2012.04.01-1) unstable; urgency=low
++
++ * New upstream version.
++ - Update mipsel-native-endianness.diff.
++ - Update no-error-on-set-but-unused-variables.diff (partially merged).
++ - Drop kirkwood_spi-irq_mask.diff (merged).
++ - Drop kirkwood-disable-l2c.diff (merged).
++
++ -- Clint Adams <clint@debian.org> Tue, 01 May 2012 18:07:19 -0400
++
++u-boot (2011.12-3) unstable; urgency=low
++
++ [ Jonathan Nieder ]
++ * kirkwood: disable L2 cache before Linux boot; thanks to Ian Campbell.
++ closes: #658904
++
++ [ Loïc Minier ]
++ * Add patch to strip env tools; sent to upstream mailing-list.
++
++ -- Loïc Minier <lool@debian.org> Sun, 11 Mar 2012 16:12:50 +0100
++
++u-boot (2011.12-2) unstable; urgency=low
++
++ [ Loïc Minier ]
++ * Build u-boot.imx for efikasb on armhf
++
++ [ Clint Adams ]
++ * Patch from Ian Campbell to fix Dreamplug breakage. closes: #655102.
++
++ -- Clint Adams <clint@debian.org> Sun, 08 Jan 2012 15:11:03 -0500
++
++u-boot (2011.12-1) unstable; urgency=low
++
++ * New upstream version.
++ - Drop build-timestamp_autogenerated.h-without-config.patch (merged).
++ - Drop ublimage-NAND-block-size-isn-t-set-at-build-time.patch (merged).
++ - Update kerma-sheevaplug-mvsdio.diff
++ - Update mipsel-native-endianness.diff
++ - Drop dreamplug-v8.patch (merged).
++
++ -- Clint Adams <clint@debian.org> Mon, 02 Jan 2012 17:49:39 -0500
++
++u-boot (2011.09-2) unstable; urgency=low
++
++ * Patch from Pino Toscano <pino@debian.org> to build on the Hurd.
++ closes: #648295.
++ * Drop gr_xc3s_1500 target.
++ * Add build-arch and build-indep targets to debian/rules.
++
++ -- Clint Adams <clint@debian.org> Tue, 15 Nov 2011 23:53:01 -0500
++
++u-boot (2011.09-1) unstable; urgency=low
++
++ [ Hector Oron ]
++ * Enable MX53LOCO platform.
++ * Update lintian overrides.
++
++ [ Loïc Minier ]
++ * Fix FTBFS on amd64 and allow `make tools` to succeed without
++ config.
++
++ [ Clint Adams ]
++ * New upstream version.
++ - Update kerma-sheevaplug-mvsdio.diff.
++ - Drop panda-default-console.diff (refactored).
++ - Replace dreamplug patches with Jason's v8.
++ * Add Buffalo Linkstation Mini env config from Benjamin Cama.
++
++ -- Clint Adams <clint@debian.org> Fri, 30 Sep 2011 21:22:23 -0400
++
++u-boot (2011.06-4) unstable; urgency=low
++
++ * Increase the USB non-bulk timeout by an order of magnitude.
++ May fix #635774.
++
++ -- Clint Adams <clint@debian.org> Sat, 06 Aug 2011 13:42:52 -0400
++
++u-boot (2011.06-3) unstable; urgency=low
++
++ * Add DreamPlug support.
++
++ -- Clint Adams <clint@debian.org> Sun, 24 Jul 2011 09:35:32 -0400
++
++u-boot (2011.06-2) unstable; urgency=low
++
++ * Use -Wno-error=unused-but-set-variable on i386.
++
++ -- Clint Adams <clint@debian.org> Sat, 02 Jul 2011 22:14:44 -0400
++
++u-boot (2011.06-1) unstable; urgency=low
++
++ * New upstream version.
++ * Fix i386 and mipsel builds.
++
++ -- Clint Adams <clint@debian.org> Sat, 02 Jul 2011 19:25:28 -0400
++
++u-boot (2011.06~rc3-1) unstable; urgency=low
++
++ * New upstream version.
++
++ -- Clint Adams <clint@debian.org> Sat, 02 Jul 2011 15:50:46 -0400
++
++u-boot (2011.06~rc2-2) unstable; urgency=low
++
++ * Fix mipsel endianness problem again.
++ * Try building gr_xc3s_1500 on sparc.
++
++ -- Clint Adams <clint@debian.org> Sat, 18 Jun 2011 10:13:53 -0400
++
++u-boot (2011.06~rc2-1) unstable; urgency=low
++
++ * New upstream version.
++ * Fix tools config selection.
++
++ -- Clint Adams <clint@debian.org> Tue, 14 Jun 2011 20:53:07 -0400
++
++u-boot (2011.06~rc1-1) unstable; urgency=low
++
++ * New upstream version.
++ - Update mipsel-native-endianness.diff
++ - Drop Drop-config.h-include-in-tools-imximage.h.diff (merged).
++ - Drop openrd-client-and-ultimate.diff (merged).
++ - Update openrd-mmc.diff (formerly openrd-mmc-mtd-fat.diff).
++ - Drop eNET-monitor_flash_len.diff (merged).
++ - Update snapshot.commit to 2011.06-rc1.
++ - Use the first target for each arch to build the tools, or
++ fake it on the other architectures.
++ * Only build efikamx image on armhf.
++
++ -- Clint Adams <clint@debian.org> Sat, 21 May 2011 11:04:30 -0400
++
++u-boot (2011.03-6) unstable; urgency=low
++
++ * Bump to Standards-Version 3.9.2.
++ * Tweak the u-boot-tools description.
++ * Drop igep0020, omap3_beagle, and omap4_panda targets from
++ armel; they are available on armhf.
++
++ -- Clint Adams <clint@debian.org> Tue, 26 Apr 2011 16:11:24 -0400
++
++u-boot (2011.03-5) unstable; urgency=low
++
++ [ Sebastian Reichel ]
++ * Add Pandaboard target. closes: #624123
++ * New patch to change default console on Pandaboard.
++
++ -- Clint Adams <clint@debian.org> Mon, 25 Apr 2011 15:36:16 -0400
++
++u-boot (2011.03-4) unstable; urgency=low
++
++ * Enable FAT, SD/MMC, MTD, JFFS, UBIFS support on OpenRD boards.
++
++ -- Clint Adams <clint@debian.org> Wed, 13 Apr 2011 18:05:36 -0400
++
++u-boot (2011.03-3) unstable; urgency=low
++
++ * Actually pass the right arch_number for OpenRD-Ultimate.
++
++ -- Clint Adams <clint@debian.org> Tue, 12 Apr 2011 14:28:20 -0400
++
++u-boot (2011.03-2) unstable; urgency=low
++
++ * Fix i386 FTBFS with eNET-monitor_flash_len.diff
++ * Add patch for OpenRD-Client and OpenRD-Ultimate.
++ * Drop openrd_base target and add openrd_ultimate target.
++
++ -- Clint Adams <clint@debian.org> Tue, 05 Apr 2011 15:56:43 -0400
++
++u-boot (2011.03-1) unstable; urgency=low
++
++ [ Loïc Minier ]
++ * Only try to build env tools when Linux MTD headers are present.
++ closes: #619673.
++
++ [ Clint Adams ]
++ * New upstream version.
++ - Drop fix-definition-of-global_data-struct.diff (now upstream).
++ - Drop EfikaMX-switch-to-MACH_TYPE_MX51_EFIKAMX.diff (upstream now).
++ - Drop sh-sh7785lcr-Fix-out-of-tree-building.diff (upstream now).
++ - Drop MIPS-dbau1x00-Remove-unused-flash-driver-stub.diff (upstream now).
++ - Drop x86-Align-config.mk-and-linker-scripts-with-other-ar.diff
++ (upstream now).
++ - Update snapshot.commit to 2011.03
++
++ -- Clint Adams <clint@debian.org> Fri, 01 Apr 2011 10:30:46 -0400
++
++u-boot (2011.03~rc1-4) experimental; urgency=low
++
++ * Add patch x86-Align-config.mk-and-linker-scripts-with-other-ar.
++ From upstream mailing-list; fixes x86 build (eNET).
++
++ -- Loïc Minier <lool@debian.org> Wed, 09 Feb 2011 14:51:01 +0100
++
++u-boot (2011.03~rc1-3) experimental; urgency=low
++
++ * Add debian/source/local-options
++ - unapply-patches: avoids committing patched tree after a build
++ - abort-on-upstream-changes: avoids creating a debian-changes-* patch
++ when building from a dirty tree
++ * Add patch MIPS-dbau1x00-Remove-unused-flash-driver-stub,
++ from u-boot-mipsel.git 17a990b55008fd79636e4880d9d10b7172ca87ce and also
++ sent to the upstream mailing-list; fixes build of dbau1x00 board by
++ removing board/dbau1x00/flash.c entirely, and hence fixes the build of
++ u-boot on mipsel.
++
++ -- Loïc Minier <lool@debian.org> Tue, 08 Feb 2011 16:49:05 +0100
++
++u-boot (2011.03~rc1-2) experimental; urgency=low
++
++ * New patch sh-sh7785lcr-Fix-out-of-tree-building; from upstream
++ e72f46787f44c1104a8df18511ab230b6072a1f0; fixes Debian sh4 build; thanks
++ Nobuhiro Iwamatsu; closes: #611873.
++
++ -- Loïc Minier <lool@debian.org> Mon, 07 Feb 2011 17:20:16 +0100
++
++u-boot (2011.03~rc1-1) experimental; urgency=low
++
++ * dpkg-shlibdeps usr/bin/* rather than just mkimage.
++ * uboot-mkimage's Section is utils.
++ * Allow overriding CROSS_COMPILE.
++ * New upstream release candidate.
++ - Merge commit v2011.03-rc1
++ - Update snapshot.commit to 2011.03-rc1
++ * Add EfikaMX support.
++ - Add patch EfikaMX-switch-to-MACH_TYPE_MX51_EFIKAMX from the upstream
++ mailing-list; fixes build on EfikaMX (EfikaMX: switch to
++ MACH_TYPE_MX51_EFIKAMX)
++ - Add patch Drop-config.h-include-in-tools-imximage.h from the upstream
++ mailing-list; fixes tools-all build of imximage.c.
++ - Build u-boot.imx for efikamx on armel.
++ * Refresh patch kerma-sheevaplug-mvsdio to fix fuzz.
++
++ -- Loïc Minier <lool@debian.org> Thu, 03 Feb 2011 13:13:14 +0100
++
++u-boot (2010.12-2) unstable; urgency=low
++
++ * Avoid calling dpkg-architecture if DEB_HOST_ARCH is set.
++ * Misc refactoring of debian/rules.
++ - Split per architecture list of platform and targets into
++ debian/targets.
++ - Actually use INSTALL_FILE/INSTALL_DIR/INSTALL_PROGRAM.
++ - Add support for cross-builds; these will currently lack tools.
++ - Build board-specific u-boot files in a separate build dir from the
++ generic tools
++ * Fix handling of -Wl,foo LDFLAGS; the upstream build passes LDFLAGS
++ directly to ld instead of calling gcc for linking; so instead of passing
++ -Wl,foo in LDFLAGS as in automake builds, one should set LDFLAGS to foo
++ directly; add a snippet to strip -Wl, from LDFLAGS; alternatively, we
++ could do as in other special packages like the kernel and simply unset
++ LDFLAGS entirely; closes: #607613.
++ * Install and compress upstream mkimage manpage; based on a patch by
++ Marcin Juszkiewicz.
++ * Add a dummy uboot-mkimage package for upgrades from squeeze; based on a
++ patch by Marcin Juszkiewicz; closes: #607618.
++ * Add new patch, fix-definition-of-global_data-struct, from the upstream
++ x86 maintainer; fixes build of eNET board which breaks u-boot's build on
++ i386; closes: #608801.
++ * Workaround an upstream bug in distclean by removing include/asm/proc and
++ /arch explicitly for now; patch was sent upstream.
++ * Don't repeat Section: in binary package.
++ * Add myself to Uploaders.
++ * Split tools in u-boot-tools package.
++ * Drop board-specific tools; these are too dangerous; only ship mkimage for
++ now.
++ * Add igep0020 and omap3_beagle builds on armel
++ * Update snapshot.commit to the 2010.12 release contents; this avoids a
++ pointless diff with the tarball.
++
++ -- Loïc Minier <lool@debian.org> Mon, 17 Jan 2011 22:43:41 +0100
++
++u-boot (2010.12-1) unstable; urgency=low
++
++ * New upstream version.
++ * Install more tools in preparation for splitting off a
++ u-boot-tools binary package.
++
++ -- Clint Adams <clint@gnu.org> Tue, 28 Dec 2010 17:03:44 -0500
++
++u-boot (2010.12~rc3-1) unstable; urgency=low
++
++ * New upstream release candidate.
++ * Add dockstar target.
++
++ -- Clint Adams <clint@gnu.org> Sun, 19 Dec 2010 09:45:42 -0500
++
++u-boot (2010.12~rc2-1) unstable; urgency=low
++
++ * New upstream release candidate.
++ * Add openrd_base target.
++
++ -- Clint Adams <clint@gnu.org> Sat, 04 Dec 2010 15:32:38 -0500
++
++u-boot (2010.09-2) unstable; urgency=low
++
++ * Enable ext2 commands on GuruPlug.
++ * Ship ELF files (for loading into RAM with OpenOCD).
++
++ -- Clint Adams <clint@gnu.org> Sat, 20 Nov 2010 18:20:40 -0500
++
++u-boot (2010.09-1) unstable; urgency=low
++
++ * New upstream release.
++
++ -- Clint Adams <schizo@debian.org> Wed, 29 Sep 2010 00:06:25 -0400
++
++u-boot (2010.09~rc2-1) unstable; urgency=low
++
++ * New upstrem release candidate.
++
++ -- Clint Adams <schizo@debian.org> Sun, 19 Sep 2010 14:20:52 -0400
++
++u-boot (2010.09~rc1-2) unstable; urgency=low
++
++ * Add patch from Gérald Kerma to add Sheevaplug mvsata support.
++ * Add patch from Gérald Kerma to add Sheevaplug mvsdio support.
++
++ -- Clint Adams <schizo@debian.org> Sun, 12 Sep 2010 11:48:22 -0400
++
++u-boot (2010.09~rc1-1) unstable; urgency=low
++
++ * New upstream release candidate.
++ - Drop guruplug-miiphy_reset.diff.
++ - Update mipsel-native-endianness.diff.
++ - Drop sh4-native-compile.diff.
++ * Bump to Standards-Version 3.9.1.
++
++ -- Clint Adams <schizo@debian.org> Sat, 11 Sep 2010 00:43:04 -0400
++
++u-boot (2010.06-1) unstable; urgency=low
++
++ * New upstream version.
++
++ -- Clint Adams <schizo@debian.org> Sat, 03 Jul 2010 13:49:46 -0400
++
++u-boot (2010.06~rc3-1) unstable; urgency=low
++
++ * New upstream version.
++ * Fix sh4-native-compile.diff to not break sh64, thanks to Paul
++ Mundt.
++ * Ship mkimage, conflict/replace uboot-mkimage, build on all
++ architectures.
++
++ -- Clint Adams <schizo@debian.org> Fri, 25 Jun 2010 14:49:06 -0400
++
++u-boot (2010.06~rc2-1) unstable; urgency=medium
++
++ * Add sh4-native-compile.diff from Aurelien Jarno. closes: #586026.
++ * New upstream version.
++ - Drop marvell-machtypes.diff.
++
++ -- Clint Adams <schizo@debian.org> Tue, 15 Jun 2010 21:37:26 -0400
++
++u-boot (2010.06~rc1-6) unstable; urgency=medium
++
++ * Add guruplug-miiphy_reset.diff.
++ * Clean between targets. closes: #585570.
++
++ -- Clint Adams <schizo@debian.org> Fri, 11 Jun 2010 21:57:31 -0400
++
++u-boot (2010.06~rc1-5) unstable; urgency=low
++
++ * Replace mipsel-native-endianness.diff with patch adapted
++ from a 2008 mailing list posting by Shinya Kuribayashi.
++
++ -- Clint Adams <schizo@debian.org> Fri, 04 Jun 2010 20:08:27 -0400
++
++u-boot (2010.06~rc1-4) unstable; urgency=low
++
++ * Add r2dplus target for sh4.
++ * mipsel-native-endianness.diff: don't force endianness on mips/mipsel
++
++ -- Clint Adams <schizo@debian.org> Thu, 03 Jun 2010 19:32:50 -0400
++
++u-boot (2010.06~rc1-3) unstable; urgency=low
++
++ * Fix mipsel typo.
++ * Apply patch from Nobuhiro Iwamatsu to change sh4 target board
++ from espt to sh7785lcr_32bit. closes: #584192.
++
++ -- Clint Adams <schizo@debian.org> Wed, 02 Jun 2010 08:25:04 -0400
++
++u-boot (2010.06~rc1-2) unstable; urgency=low
++
++ * Produce u-boot.bin on i386.
++ * Switch mipsel target to AMD DBAu1100.
++ * Add marvell-machtypes.diff.
++
++ -- Clint Adams <schizo@debian.org> Mon, 31 May 2010 22:09:29 -0400
++
++u-boot (2010.06~rc1-1) unstable; urgency=low
++
++ * Add Vcs-Git and Vcs-Browser headers.
++ * Add GuruPlug target (armel).
++ * Switch mipsel target to TB0229.
++ * Add watch file.
++ * Update README.Debian for SheevaPlug and GuruPlug.
++
++ -- Clint Adams <schizo@debian.org> Mon, 31 May 2010 19:29:40 -0400
++
++u-boot (2010.03-1) unstable; urgency=low
++
++ * Initial packaging. closes: #583605.
++
++ -- Clint Adams <schizo@debian.org> Fri, 28 May 2010 16:20:39 -0400
--- /dev/null
--- /dev/null
++Source: u-boot
++Section: admin
++Priority: optional
++Maintainer: Vagrant Cascadian <vagrant@debian.org>
++Uploaders: Loïc Minier <lool@debian.org>, Clint Adams <clint@debian.org>
++Build-Depends:
++ arm-trusted-firmware (>= 2.4+dfsg) [arm64],
++ bc,
++ bison,
++ debhelper-compat (= 13),
++ device-tree-compiler,
++ flex,
++ libfdt-dev:native [arm64],
++ libc6:arm64 [arm64] <cross !pkg.uboot.notools>,
++ libc6:armhf [armhf] <cross !pkg.uboot.notools>,
++ libc6:armel [armel] <cross !pkg.uboot.notools>,
++ libc6:riscv64 [riscv64] <cross !pkg.uboot.notools>,
++ libpython3-dev:native [linux-any],
++ libssl-dev,
++ python3:any [linux-any],
++ python3-distutils [linux-any],
++ python3-pkg-resources [linux-any],
++ swig [linux-any],
++ lzop [armhf],
++Build-Depends-Indep:
++# For u-boot-qemu targets
++ gcc-i686-linux-gnu [!i386],
++ gcc-arm-linux-gnueabihf [!armhf],
++ gcc-aarch64-linux-gnu [!arm64],
++ gcc-riscv64-linux-gnu [!riscv64],
++ gcc-x86-64-linux-gnu [!amd64],
++ gcc-powerpc-linux-gnu [!powerpc],
++Rules-Requires-Root: no
++Standards-Version: 4.5.1
++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
++
++Package: u-boot
++Architecture: armel armhf avr32 mips sh4
++Multi-Arch: same
++Depends: ${misc:Depends},
++ u-boot-imx [armhf], u-boot-omap [armhf], u-boot-sunxi [armhf], u-boot-exynos [armhf], u-boot-qemu [mips]
++Description: A boot loader for embedded 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.
++ ${uboot:platforms}
++
++Package: u-boot-amlogic
++Architecture: arm64
++Multi-Arch: same
++Depends: ${misc:Depends}
++Recommends: arm-trusted-firmware [arm64]
++Description: A boot loader for amlogic 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 amlogic platforms.
++ ${uboot: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.
++ ${uboot:platforms}
++
++Package: u-boot-qemu
++Architecture: all
++Depends: ${misc:Depends}
++Breaks: u-boot (<< 2019.01+dfsg-2)
++Replaces: u-boot (<< 2019.01+dfsg-2)
++Multi-Arch: foreign
++Description: A boot loader for qemu
++ 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 qemu/kvm.
++ ${uboot: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.
++ ${uboot: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.
++ ${uboot: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.
++ ${uboot:platforms}
++
++Package: u-boot-sunxi
++Architecture: armhf arm64
++Multi-Arch: same
++Built-Using: ${uboot:Built-Using}
++Depends: ${misc:Depends}
++Recommends: arm-trusted-firmware [arm64], u-boot-tools [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.
++ ${uboot: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.
++ ${uboot:platforms}
++
++Package: u-boot-mvebu
++Architecture: arm64
++Multi-Arch: same
++Depends: ${misc:Depends}
++Description: A boot loader for marvell 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 Marvell platforms.
++ ${uboot:platforms}
++
++Package: u-boot-rockchip
++Architecture: armhf arm64
++Multi-Arch: same
++Built-Using: ${uboot:Built-Using}
++Depends: ${misc:Depends}
++Recommends: python3, arm-trusted-firmware [arm64], u-boot-tools [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.
++ ${uboot:platforms}
++
++Package: u-boot-rpi
++Architecture: armel armhf arm64
++Multi-Arch: same
++Depends: ${misc:Depends}
++Description: A boot loader for Raspberry PI 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 Raspberry PI
++ platforms.
++ ${uboot:platforms}
++
++Package: u-boot-sifive
++Architecture: riscv64
++Multi-Arch: same
++Depends: ${misc:Depends}
++Description: A boot loader for SiFive 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 SiFive
++ platforms.
++ ${uboot:platforms}
++
++Package: u-boot-tools
++Architecture: linux-any
++Build-Profiles: <!pkg.uboot.notools>
++Multi-Arch: foreign
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Recommends: device-tree-compiler,
++ libubootenv-tool,
++Breaks: uboot-envtools (<< 20081215-3~),
++ uboot-mkimage (<= 0.4build1),
++ u-boot (<< 2010.12-2)
++Replaces: uboot-envtools (<< 20081215-3~),
++ uboot-mkimage (<= 0.4build1),
++ u-boot (<< 2010.12-2)
++Description: companion tools for Das U-Boot bootloader
++ This package includes programs for generating and listing U-Boot
++ images in various formats:
++ - mkimage
++ - dumpimage
++ - mksunxiboot
++ - mkenvimage
--- /dev/null
--- /dev/null
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: Das U-Boot
++Source: https://www.denx.de/wiki/U-Boot
++Files-Excluded:
++ drivers/dma/MCD_tasks.c
++
++Files: *
++Copyright: 2000-2013 Wolfgang Denk <wd@denx.de>
++ 1995-2002 Russell King
++ 1996-1998 Russell King
++ 1996-1999 Russell King
++ 1996-2000 Russell King
++ 1996 Russell King
++ 1997-1999 Russell King
++ 1999-2002 Vojtech Pavlik
++ 1999 Linus Torvalds / 2000-2002 Transmeta Corporation
++ 1999 Russell King
++ 2000-2002 Russell King
++ 2000-2010 David Woodhouse <dwmw2@infradead.org>
++ 2000 Steven J. Hill (sjhill@realitydiluted.com)
++ 2001, 2002, 2003 / 2004 Gary Jennejohn garyj@denx.de
++ 2002-2007 Aleph One Ltd
++ 2002-2011 Aleph One Ltd
++ 2002 Thomas Gleixner (tglx@linutronix.de)
++ 2003 Kai-Uwe Bloem / 2000-2002 Transmeta Corporation / 1999 Linus Torvalds
++ 2004 by David Brownell
++ 2004 Nokia Corporation
++ 2004 Thomas Gleixner (tglx@linutronix.de)
++ 2005-2006 by Texas Instruments
++ 2005-2006 by Texas Instruments / 2005 Mentor Graphics Corporation / 2006-2007 Nokia Corporation
++ 2005-2007 Samsung Electronics
++ 2005-2007 Samsung Electronics / Samsung Electronics, 2009 / Nokia Corporation, 2007
++ 2005-2008 Samsung Electronics
++ 2005 Mentor Graphics Corporation / 2005-2006 by Texas Instruments / 2006-2007 Nokia Corporation
++ 2005 Mentor Graphics Corporation / 2005-2006 by Texas Instruments / 2008-2009 MontaVista Software, Inc. <source@mvista.com> / 2006-2007 Nokia Corporation
++ 2005, Seagate Technology LLC / 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering
++ 2006-2007 Nokia Corporation / 2005-2006 by Texas Instruments / 2005 Mentor Graphics Corporation
++ 2006-2007 Nokia Corporation / 2005 Mentor Graphics Corporation / 2005-2006 by Texas Instruments
++ 2006-2007 Nokia Corporation / 2005 Mentor Graphics Corporation / 2005-2006 by Texas Instruments / 2008-2009 MontaVista Software, Inc. <source@mvista.com>
++ 2006, 2007 University of Szeged, Hungary / 2006-2008 Nokia Corporation
++ 2006-2008 Nokia Corporation
++ 2006,2009 Freescale Semiconductor, Inc
++ 2006-2009 Solarflare Communications Inc
++ 2006 Freescale Semiconductor, Inc
++ 2006 Nokia Corporation / 2005-2007 by Texas Instruments
++ 2006 Pavel Pisa, PiKRON <ppisa@pikron.com> / 2008 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de> / 2009 Ilya Yanok, <yanok@emcraft.com>
++ 2006 Thomas Gleixner <tglx@linutronix.de>
++ 2007-2011 Freescale Semiconductor, Inc
++ 2007 Freescale Semiconductor, Inc
++ 2008-2009 / 2006-2008 Nokia Corporation
++ 2008-2009 Freescale Semiconductor, Inc
++ 2008-2009, MontaVista Software, Inc. <source@mvista.com> / 2010, by Texas Instruments
++ 2008,2009 STMicroelectronics / 2010 Joakim Axelsson <joakim.axelsson AT stericsson.com> / 2009 Alessandro Rubini <rubini@unipv.it>
++ 2008-2010 / 2006-2008 Nokia Corporation
++ 2008-2011 Freescale Semiconductor, Inc
++ 2008, 2011 Freescale Semiconductor, Inc
++ 2008,2011 Freescale Semiconductor, Inc
++ 2008-2012 Freescale Semiconductor, Inc
++ 2008 Altera Corporation / 2010 Thomas Chou <thomas@wytron.com.tw>
++ 2008 Atmel Corporation / 2013 Jagannadha Sutradharudu Teki, Xilinx Inc
++ 2008 by Texas Instruments / 2008 Mentor Graphics Corporation
++ 2008 Dave S.r.l. <www.dave.eu>
++ 2008 Extreme Engineering Solutions, Inc
++ 2008 Freescale Semiconductor, Inc
++ 2008 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> / 2004-2007 ARM Limited
++ 2008 Kim B. Heino / 2009
++ 2008 Qstreams Networks, Inc
++ 2008 Samsung Electronics / 2008-2009 Stefan Roese <sr@denx.de>, DENX Software Engineering
++ 2008 STMicroelectronics / 2010 Joakim Axelsson <joakim.axelsson AT stericsson.com> / 2009 Alessandro Rubini <rubini@unipv.it>
++ 2008 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
++ 2009-2010 eXMeritus, A Boeing Company / 2008-2009 Freescale Semiconductor, Inc
++ 2009-2010 Freescale Semiconductor, Inc
++ 2009-2010 Texas Instruments, Inc
++ 2009-2011 Freescale Semiconductor, Inc
++ 2009 coresystems GmbH
++ 2009 Freescale Semiconductor, Inc
++ 2009 Micrel Inc / 2011 Bticino s.p.a, Roberto Cerati <roberto.cerati@bticino.it>
++ 2009 MontaVista Software, Inc. <source@mvista.com> / 2006-2007 Nokia Corporation / 2005-2006 by Texas Instruments / 2005 Mentor Graphics Corporation
++ 2010-2011 Freescale Semiconductor, Inc
++ 2010-2011 NVIDIA Corporation
++ 2010-2012 NVIDIA Corporation
++ 2010-2013 NVIDIA Corporation
++ 2010 Broadcom / 2012 Oleksandr Tymoshenko / 2012 Stephen Warren
++ 2010 NISHIMOTO Hiroki / 2010 Renesas Solutions Corp
++ 2010 Thomas Chou <thomas@wytron.com.tw>
++ 2010, Thomas Chou <thomas@wytron.com.tw>
++ 2010 Thomas Chou <thomas@wytron.com.tw> / 2008-2009 Avionic Design GmbH / 2007-2008 Avionic Design Development GmbH
++ 2010 Thomas Chou <thomas@wytron.com.tw> / 2008 Altera Corporation
++ 2011-2012 Renesas Solutions Corp
++ 2011 - 2012 Samsung Electronics / 2003-2006, Cluster File Systems, Inc, info@clusterfs.com
++ 2011 Analog Devices Inc
++ 2011 Freescale Semiconductor, Inc
++ 2011 Infineon Technologies
++ 2011 Ivan Djelic <ivan.djelic@parrot.com>
++ 2011 Macpaul Lin (macpaul@andestech.com) / 2011 Andes Technology Corporation / 1995-2002 Russell King / 2010 Shawn Lin (nobuhiro@andestech.com)
++ 2011 Macpaul Lin (macpaul@andestech.com) / 2011 Andes Technology Corporation / 1996-1998 Russell King / 2010 Shawn Lin (nobuhiro@andestech.com)
++ 2011 Macpaul Lin (macpaul@andestech.com) / 2011 Andes Technology Corporation / 2010 Shawn Lin (nobuhiro@andestech.com)
++ 2011 Maxim Integrated Products
++ 2011 Parrot S.A
++ 2011 Renesas Solutions Corp
++ 2011 Renesas Solutions Corp / 2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
++ 2011 The ChromiumOS Authors. All rights reserved
++ 2012-2013 Stephen Warren
++ 2012, by Texas Instruments
++ 2012, Google Inc
++ 2012 Renesas Solutions Corp
++ 2012 Samsung Electronics Co., Ltd
++ 2012 Stephen Warren
++ 2012 Texas Instruments Incorporated - http://www.ti.com/
++ 2013 Synopsys, Inc. (www.synopsys.com)
++License: GPL-2
++
++Files:
++ drivers/tpm/tpm_atmel_twi.c
++ drivers/gpio/tca642x.c
++ include/splash.h
++ include/linux/libfdt.h
++ include/configs/controlcenterd.h
++ include/configs/mxs.h
++ include/tca642x.h
++ board/gdsys/p1022/tlb.c
++ board/gdsys/p1022/sdhc_boot.c
++ board/gdsys/p1022/ddr.c
++ board/gdsys/p1022/controlcenterd-id.c
++ board/gdsys/p1022/diu.c
++ board/gdsys/p1022/controlcenterd-id.h
++ board/gdsys/p1022/controlcenterd.c
++ board/gdsys/p1022/law.c
++ board/gdsys/common/dp501.h
++ common/splash.c
++ fs/jffs2/compr_lzo.c
++ arch/arm/include/asm/arch-am33xx/hardware_ti816x.h
++ arch/arm/mach-exynos/dmc_init_exynos4.c
++ arch/arm/mach-exynos/lowlevel_init.c
++ arch/arm/mach-exynos/clock_init_exynos4.c
++ arch/arm/mach-exynos/common_setup.h
++ arch/arm/mach-omap2/am33xx/clock_ti816x.c
++Copyright:
++ 2013 Texas Instruments, Inc
++ 2013, Boundary Devices <info@boundarydevices.com>
++ 2006 David Gibson, IBM Corporation
++ 2012 Kim Phillips, Freescale Semiconductor
++ 2010-2013 Freescale Semiconductor, Inc
++ 2013 Marek Vasut <marex@denx.de>
++ 2010-2011 Freescale Semiconductor, Inc
++ 2004 Patrik Kluba
++ 1996-2002 Markus Franz Xaver Johannes Oberhumer
++ 2013 NVIDIA Corporation
++ 2011 The Chromium OS Authors
++ 2013 Samsung Electronics
++ 2013, Adeneo Embedded <www.adeneo-embedded.com>
++ 2009, Texas Instruments, Incorporated
++License: GPL-2+
++
++Files: debian/*
++Copyright: Clint Adams <clint@debian.org>
++ Joey Hess <joeyh@debian.org>
++ Marc Singer <elf@debian.org>
++ Per Andersson <avtobiff@gmail.com>
++ Vagrant Cascadian <vagrant@debian.org>
++ Loïc Minier <lool@debian.org>
++ Adam Borowski <kilobyte@angband.pl>
++License: GPL-2+
++
++Files: fs/yaffs2/yaffs_allocator.h
++ fs/yaffs2/yaffs_verify.h
++ fs/yaffs2/yaffs_packedtags1.h
++ fs/yaffs2/yaffs_yaffs1.h
++ fs/yaffs2/ydirectenv.h
++ fs/yaffs2/yaffs_yaffs2.h
++ fs/yaffs2/yaffsfs.h
++ fs/yaffs2/yaffs_osglue.h
++ fs/yaffs2/yaffs_flashif.h
++ fs/yaffs2/yaffs_nand.h
++ fs/yaffs2/yportenv.h
++ fs/yaffs2/yaffs_packedtags2.h
++ fs/yaffs2/yaffs_attribs.h
++ fs/yaffs2/yaffs_ecc.h
++ fs/yaffs2/yaffs_trace.h
++ fs/yaffs2/yaffs_guts.h
++ fs/yaffs2/yaffs_getblockinfo.h
++ fs/yaffs2/yaffs_bitmap.h
++ fs/yaffs2/yaffs_nameval.h
++ fs/yaffs2/yaffscfg.h
++ fs/yaffs2/yaffs_nandemul2k.h
++ fs/yaffs2/yaffs_mtdif2.h
++ fs/yaffs2/yaffs_flashif2.h
++ fs/yaffs2/yaffs_checkptrw.h
++ fs/yaffs2/yaffs_tagscompat.h
++ fs/yaffs2/yaffs_nandif.h
++ fs/yaffs2/yaffs_summary.h
++ fs/yaffs2/yaffs_mtdif.h
++Copyright: Copyright (C) 2002-2011 Aleph One Ltd.
++License: LGPL-2.1
++
++Files: lib/sha1.c
++Copyright: Copyright (C) 2003-2006 Christophe Devine
++License: LGPL-2.1
++
++Files: include/bzlib.h
++ lib/bzip2/*
++Copyright: Copyright (C) 1996-2002 Julian R Seward. All rights reserved.
++License: bzlib-BSD-3
++
++Files: drivers/usb/musb-new/musb_host.h
++ drivers/usb/musb-new/musb_core.h
++ drivers/usb/musb-new/musb_core.c
++ drivers/usb/musb-new/musb_gadget.c
++ drivers/usb/musb-new/musb_gadget.h
++ drivers/usb/musb-new/musb_dma.h
++ drivers/usb/musb-new/musb_regs.h
++ drivers/usb/musb-new/musb_debug.h
++ drivers/usb/musb-new/musb_host.c
++ drivers/usb/musb-new/musb_gadget_ep0.c
++ drivers/usb/musb-new/musb_io.h
++Copyright: Copyright 2005 Mentor Graphics Corporation
++ Copyright (C) 2005-2006 by Texas Instruments
++ Copyright (C) 2006-2007 Nokia Corporation
++ Copyright (C) 2008-2009 MontaVista Software, Inc. <source@mvista.com>
++License: GPL-2
++
++Files: net/dns.c
++ include/slre.h
++ lib/slre.c
++Copyright: 2008 Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
++ 2004-2005 Sergey Lyubka <valenok@gmail.com>
++ 2009 Robin Getz <rgetz@blackfin.uclinux.org>]
++License: Beerware
++
++Files: scripts/dtc/libfdt/*
++Copyright: 2006 David Gibson, IBM Corporation
++ 2012 Kim Phillips, Freescale Semiconductor
++License: libfdt-BSD-GPL
++
++License: libfdt-BSD-GPL
++ * libfdt is dual licensed: you can use it either under the terms of
++ * the GPL, or the BSD license, at your option.
++ *
++ * a) This library is free software; you can redistribute it and/or
++ * modify it under the terms of the GNU General Public License as
++ * published by the Free Software Foundation; either version 2 of the
++ * License, or (at your option) any later version.
++ *
++ * This library is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public
++ * License along with this library; if not, write to the Free
++ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
++ * MA 02110-1301 USA
++ *
++ * Alternatively,
++ *
++ * b) Redistribution and use in source and binary forms, with or
++ * without modification, are permitted provided that the following
++ * conditions are met:
++ *
++ * 1. Redistributions of source code must retain the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer.
++ * 2. Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials
++ * provided with the distribution.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
++ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
++ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
++ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
++ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
++ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
++ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++
++License: Beerware
++ "THE BEER-WARE LICENSE" (Revision 42):
++ Sergey Lyubka wrote this file. As long as you retain this notice you
++ can do whatever you want with this stuff. If we meet some day, and you think
++ this stuff is worth it, you can buy me a beer in return.
++
++License: GPL-2
++ This program is free software; you can redistribute it and/or
++ modify it under the terms of the GNU General Public License
++ version 2 as published by the Free Software Foundation.
++ .
++ This program is distributed in the hope that it will be useful, but
++ WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
++ 02110-1301 USA
++ .
++ On Debian systems, the full text of the GNU General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/GPL-2'.
++
++License: bzlib-BSD-3
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ .
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ .
++ 2. The origin of this software must not be misrepresented; you must
++ not claim that you wrote the original software. If you use this
++ software in a product, an acknowledgment in the product
++ documentation would be appreciated but is not required.
++ .
++ 3. Altered source versions must be plainly marked as such, and must
++ not be misrepresented as being the original software.
++ .
++ 4. The name of the author may not be used to endorse or promote
++ products derived from this software without specific prior written
++ permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
++ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
++ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
++ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
++ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
++ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++
++License: GPL-2+
++ This program is free software; you can redistribute it
++ and/or modify it under the terms of the GNU General Public
++ License as published by the Free Software Foundation; either
++ version 2 of the License, or (at your option) any later
++ version.
++ .
++ This program is distributed in the hope that it will be
++ useful, but WITHOUT ANY WARRANTY; without even the implied
++ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
++ PURPOSE. See the GNU General Public License for more
++ details.
++ .
++ You should have received a copy of the GNU General Public
++ License along with this package; if not, write to the Free
++ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
++ Boston, MA 02110-1301 USA
++ .
++ On Debian systems, the full text of the GNU General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/GPL-2'.
++
++License: LGPL-2.1
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU Lesser General Public License version 2.1 as
++ published by the Free Software Foundation.
++ .
++ This library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU Lesser General Public
++ License along with this library; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
++ MA 02110-1301 USA
++ .
++ On Debian systems, the full text of the GNU General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/LGPL-2.1'.
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd1 0x00000 0x10000 0x01000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd1 0x0 0x20000 0x20000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd0 0x3F000 0x1000 0x1000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundand
++# environment sector is assumed present.
++
++# for Buffalo Linkstation Mini
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd0 0x3f000 0x01000 0x01000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd0 0x3F000 0x1000 0x1000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd0 0x30000 0x10000 0x10000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd4 0x360000 0x10000 0x10000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mmcblk0 0x80000 0x2000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++# Notice, that the "Number of sectors" is ignored on NOR.
++
++# MTD device name Device offset Env. size Flash sector size Number of sectors
++/dev/mtd1 0x0000 0x4000 0x4000 2
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++# Notice, that the "Number of sectors" is ignored on NOR.
++
++# MTD device name Device offset Env. size Flash sector size Number of sectors
++/dev/mtd2 0x0000 0x40000 0x20000 2
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++# Legacy u-boot versions:
++#/dev/mtd0 0xa0000 0x20000 0x20000
++
++# New u-boot versions:
++/dev/mtd0 0x60000 0x20000 0x20000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd5 0x00000 0x20000 0x20000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd4 0x0000 0x20000 0x20000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# This config is for QNAP TS-119, TS-219 and TS-219P boards.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mtd4 0x0000 0x1000 0x40000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++# Legacy u-boot versions:
++#/dev/mtd0 0x60000 0x20000 0x20000
++
++# New u-boot versions:
++/dev/mtd0 0x80000 0x20000 0x20000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mmcblk0 0xC0000 0x2000
--- /dev/null
--- /dev/null
++# Configuration file for fw_(printenv/saveenv) utility.
++# Up to two entries are valid, in this case the redundant
++# environment sector is assumed present.
++#
++# XXX this configuration might miss a fifth parameter for the "Number of
++# sectors"
++
++# MTD device name Device offset Env. size Flash sector size
++/dev/mmcblk0 0x60000 0x2000
--- /dev/null
--- /dev/null
++[DEFAULT]
++upstream-branch = upstream/bullseye
++debian-branch = debian/bullseye
++patch-numbers = false
--- /dev/null
--- /dev/null
++.TH u-boot-install-sunxi 8 2021-01-07 u-boot
++.SH NAME
++u-boot-install-sunxi \- install u-boot for sunxi (Allwinner) devices
++.SH SYNOPSIS
++.B u-boot-install-sunxi
++.RI [ -f ]
++.I card-device-or-image-file
++.SH DESCRIPTION
++This tool installs a u-boot image to the disk (or possibly a disk
++image), allowing the machine to boot. The u-boot image is written to
++an area between the partition table and the first partition; there is
++no check if it's large enough \(em some ancient fdisk tools used to
++reserve only 31KB there, which can result in data loss.
++.PP
++The device will usually be
++.I /dev/mmcblk0
++for SD card,
++.I /dev/mmcblk1
++for eMMC,
++.I /dev/sdX
++for USB SD card readers (be careful wrt your other disks!).
++.PP
++By default, the path where
++.I .dtb
++and
++.I .bin
++files are copied from is a subdirectory of
++.I /usr/lib/u-boot
++deduced from the current running system, but if the
++.RB $ TARGET
++environment variable is set, its contents are used instead.
++.SH OPTIONS
++.TP
++-f | --force
++Skip partition table sanity checks. Usually, a MBR partition table is
++required (so u-boot has something to work with), but in rare setups you
++may put the data on another disk. Likewise, GPT partition tables are
++incompatible with the layout used on sunxi devices (spl is written at
++offset 16384 while GPT occupies bytes [512..33280) ) but this option lets
++you trample upon them anyway.
--- /dev/null
--- /dev/null
++From: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
++Date: Thu, 3 Nov 2022 09:37:48 +0530
++Subject: [PATCH] usb: gadget: dfu: Fix the unchecked length field
++
++DFU implementation does not bound the length field in USB
++DFU download setup packets, and it does not verify that
++the transfer direction. Fixing the length and transfer
++direction.
++
++CVE-2022-2347
++
++Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
++Reviewed-by: Marek Vasut <marex@denx.de>
++
++Note (<dleidert>: I'm not sure if this patch should be applied as well:
++https://source.denx.de/u-boot/u-boot/-/commit/86b6a38863bebb70a65a53f93a1ffafc4a472169
++
++It is not related to the issue, though.
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/fbce985e28eaca3af82afecc11961aadaf971a7e
++Bug: https://www.openwall.com/lists/oss-security/2022/07/08/2
++Bug-Debian: https://bugs.debian.org/1014959
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-2347
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-2347
++---
++ drivers/usb/gadget/f_dfu.c | 54 ++++++++++++++++++++++++++++++----------------
++ 1 file changed, 35 insertions(+), 19 deletions(-)
++
++diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c
++index 4bedc7d..ff1dd2b 100644
++--- a/drivers/usb/gadget/f_dfu.c
+++++ b/drivers/usb/gadget/f_dfu.c
++@@ -321,21 +321,27 @@ static int state_dfu_idle(struct f_dfu *f_dfu,
++ u16 len = le16_to_cpu(ctrl->wLength);
++ int value = 0;
++
+++ len = len > DFU_USB_BUFSIZ ? DFU_USB_BUFSIZ : len;
+++
++ switch (ctrl->bRequest) {
++ case USB_REQ_DFU_DNLOAD:
++- if (len == 0) {
++- f_dfu->dfu_state = DFU_STATE_dfuERROR;
++- value = RET_STALL;
++- break;
+++ if (ctrl->bRequestType == USB_DIR_OUT) {
+++ if (len == 0) {
+++ f_dfu->dfu_state = DFU_STATE_dfuERROR;
+++ value = RET_STALL;
+++ break;
+++ }
+++ f_dfu->dfu_state = DFU_STATE_dfuDNLOAD_SYNC;
+++ f_dfu->blk_seq_num = w_value;
+++ value = handle_dnload(gadget, len);
++ }
++- f_dfu->dfu_state = DFU_STATE_dfuDNLOAD_SYNC;
++- f_dfu->blk_seq_num = w_value;
++- value = handle_dnload(gadget, len);
++ break;
++ case USB_REQ_DFU_UPLOAD:
++- f_dfu->dfu_state = DFU_STATE_dfuUPLOAD_IDLE;
++- f_dfu->blk_seq_num = 0;
++- value = handle_upload(req, len);
+++ if (ctrl->bRequestType == USB_DIR_IN) {
+++ f_dfu->dfu_state = DFU_STATE_dfuUPLOAD_IDLE;
+++ f_dfu->blk_seq_num = 0;
+++ value = handle_upload(req, len);
+++ }
++ break;
++ case USB_REQ_DFU_ABORT:
++ /* no zlp? */
++@@ -424,11 +430,15 @@ static int state_dfu_dnload_idle(struct f_dfu *f_dfu,
++ u16 len = le16_to_cpu(ctrl->wLength);
++ int value = 0;
++
+++ len = len > DFU_USB_BUFSIZ ? DFU_USB_BUFSIZ : len;
+++
++ switch (ctrl->bRequest) {
++ case USB_REQ_DFU_DNLOAD:
++- f_dfu->dfu_state = DFU_STATE_dfuDNLOAD_SYNC;
++- f_dfu->blk_seq_num = w_value;
++- value = handle_dnload(gadget, len);
+++ if (ctrl->bRequestType == USB_DIR_OUT) {
+++ f_dfu->dfu_state = DFU_STATE_dfuDNLOAD_SYNC;
+++ f_dfu->blk_seq_num = w_value;
+++ value = handle_dnload(gadget, len);
+++ }
++ break;
++ case USB_REQ_DFU_ABORT:
++ f_dfu->dfu_state = DFU_STATE_dfuIDLE;
++@@ -511,13 +521,17 @@ static int state_dfu_upload_idle(struct f_dfu *f_dfu,
++ u16 len = le16_to_cpu(ctrl->wLength);
++ int value = 0;
++
+++ len = len > DFU_USB_BUFSIZ ? DFU_USB_BUFSIZ : len;
+++
++ switch (ctrl->bRequest) {
++ case USB_REQ_DFU_UPLOAD:
++- /* state transition if less data then requested */
++- f_dfu->blk_seq_num = w_value;
++- value = handle_upload(req, len);
++- if (value >= 0 && value < len)
++- f_dfu->dfu_state = DFU_STATE_dfuIDLE;
+++ if (ctrl->bRequestType == USB_DIR_IN) {
+++ /* state transition if less data then requested */
+++ f_dfu->blk_seq_num = w_value;
+++ value = handle_upload(req, len);
+++ if (value >= 0 && value < len)
+++ f_dfu->dfu_state = DFU_STATE_dfuIDLE;
+++ }
++ break;
++ case USB_REQ_DFU_ABORT:
++ f_dfu->dfu_state = DFU_STATE_dfuIDLE;
++@@ -593,6 +607,8 @@ dfu_handle(struct usb_function *f, const struct usb_ctrlrequest *ctrl)
++ int value = 0;
++ u8 req_type = ctrl->bRequestType & USB_TYPE_MASK;
++
+++ len = len > DFU_USB_BUFSIZ ? DFU_USB_BUFSIZ : len;
+++
++ debug("w_value: 0x%x len: 0x%x\n", w_value, len);
++ debug("req_type: 0x%x ctrl->bRequest: 0x%x f_dfu->dfu_state: 0x%x\n",
++ req_type, ctrl->bRequest, f_dfu->dfu_state);
++@@ -612,7 +628,7 @@ dfu_handle(struct usb_function *f, const struct usb_ctrlrequest *ctrl)
++ value = dfu_state[f_dfu->dfu_state] (f_dfu, ctrl, gadget, req);
++
++ if (value >= 0) {
++- req->length = value;
+++ req->length = value > DFU_USB_BUFSIZ ? DFU_USB_BUFSIZ : value;
++ req->zero = value < len;
++ value = usb_ep_queue(gadget->ep0, req, 0);
++ if (value < 0) {
--- /dev/null
--- /dev/null
++From: Andrea zi0Black Cappa <zi0Black@protonmail.com>
++Date: Wed, 18 May 2022 16:30:08 +0000
++Subject: net: nfs: Fix CVE-2022-30767 (old CVE-2019-14196)
++
++This patch mitigates the vulnerability identified via CVE-2019-14196.
++
++The previous patch was bypassed/ineffective, and now the vulnerability
++is identified via CVE-2022-30767. The patch removes the sanity check
++introduced to mitigate CVE-2019-14196 since it's ineffective.
++filefh3_length is changed to unsigned type integer, preventing negative
++numbers from being used during comparison with positive values during
++size sanity checks.
++
++Signed-off-by: Andrea zi0Black Cappa <zi0Black@protonmail.com>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/bdbf7a05e26f3c5fd437c99e2755ffde186ddc80
++Bug: https://lists.denx.de/pipermail/u-boot/2022-May/483952.htmll
++Bug-Debian: https://bugs.debian.org/1014471
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-30767
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-30767
++---
++ net/nfs.c | 4 +---
++ 1 file changed, 1 insertion(+), 3 deletions(-)
++
++diff --git a/net/nfs.c b/net/nfs.c
++index 70d0e08..3003f54 100644
++--- a/net/nfs.c
+++++ b/net/nfs.c
++@@ -57,7 +57,7 @@ static ulong nfs_timeout = NFS_TIMEOUT;
++
++ static char dirfh[NFS_FHSIZE]; /* NFSv2 / NFSv3 file handle of directory */
++ static char filefh[NFS3_FHSIZE]; /* NFSv2 / NFSv3 file handle */
++-static int filefh3_length; /* (variable) length of filefh when NFSv3 */
+++static unsigned int filefh3_length; /* (variable) length of filefh when NFSv3 */
++
++ static enum net_loop_state nfs_download_state;
++ static struct in_addr nfs_server_ip;
++@@ -578,8 +578,6 @@ static int nfs_lookup_reply(uchar *pkt, unsigned len)
++ filefh3_length = ntohl(rpc_pkt.u.reply.data[1]);
++ if (filefh3_length > NFS3_FHSIZE)
++ filefh3_length = NFS3_FHSIZE;
++- if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + filefh3_length) > len)
++- return -NFS_RPC_DROP;
++ memcpy(filefh, rpc_pkt.u.reply.data + 2, filefh3_length);
++ }
++
--- /dev/null
--- /dev/null
++From: Fabio Estevam <festevam@denx.de>
++Date: Thu, 26 May 2022 11:14:37 -0300
++Subject: net: Check for the minimum IP fragmented datagram size
++
++Nicolas Bidron and Nicolas Guigo reported the two bugs below:
++
++"
++----------BUG 1----------
++
++In compiled versions of U-Boot that define CONFIG_IP_DEFRAG, a value of
++`ip->ip_len` (IP packet header's Total Length) higher than `IP_HDR_SIZE`
++and strictly lower than `IP_HDR_SIZE+8` will lead to a value for `len`
++comprised between `0` and `7`. This will ultimately result in a
++truncated division by `8` resulting value of `0` forcing the hole
++metadata and fragment to point to the same location. The subsequent
++memcopy will overwrite the hole metadata with the fragment data. Through
++a second fragment, this can be exploited to write to an arbitrary offset
++controlled by that overwritten hole metadata value.
++
++This bug is only exploitable locally as it requires crafting two packets
++the first of which would most likely be dropped through routing due to
++its unexpectedly low Total Length. However, this bug can potentially be
++exploited to root linux based embedded devices locally.
++
++```C
++static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp)
++{
++ static uchar pkt_buff[IP_PKTSIZE] __aligned(PKTALIGN);
++ static u16 first_hole, total_len;
++ struct hole *payload, *thisfrag, *h, *newh;
++ struct ip_udp_hdr *localip = (struct ip_udp_hdr *)pkt_buff;
++ uchar *indata = (uchar *)ip;
++ int offset8, start, len, done = 0;
++ u16 ip_off = ntohs(ip->ip_off);
++
++ /* payload starts after IP header, this fragment is in there */
++ payload = (struct hole *)(pkt_buff + IP_HDR_SIZE);
++ offset8 = (ip_off & IP_OFFS);
++ thisfrag = payload + offset8;
++ start = offset8 * 8;
++ len = ntohs(ip->ip_len) - IP_HDR_SIZE;
++```
++
++The last line of the previous excerpt from `u-boot/net/net.c` shows how
++the attacker can control the value of `len` to be strictly lower than
++`8` by issuing a packet with `ip_len` between `21` and `27`
++(`IP_HDR_SIZE` has a value of `20`).
++
++Also note that `offset8` here is `0` which leads to `thisfrag = payload`.
++
++```C
++ } else if (h >= thisfrag) {
++ /* overlaps with initial part of the hole: move this hole */
++ newh = thisfrag + (len / 8);
++ *newh = *h;
++ h = newh;
++ if (h->next_hole)
++ payload[h->next_hole].prev_hole = (h - payload);
++ if (h->prev_hole)
++ payload[h->prev_hole].next_hole = (h - payload);
++ else
++ first_hole = (h - payload);
++
++ } else {
++```
++
++Lower down the same function, execution reaches the above code path.
++Here, `len / 8` evaluates to `0` leading to `newh = thisfrag`. Also note
++that `first_hole` here is `0` since `h` and `payload` point to the same
++location.
++
++```C
++ /* finally copy this fragment and possibly return whole packet */
++ memcpy((uchar *)thisfrag, indata + IP_HDR_SIZE, len);
++```
++
++Finally, in the above excerpt the `memcpy` overwrites the hole metadata
++since `thisfrag` and `h` both point to the same location. The hole
++metadata is effectively overwritten with arbitrary data from the
++fragmented IP packet data. If `len` was crafted to be `6`, `last_byte`,
++`next_hole`, and `prev_hole` of the `first_hole` can be controlled by
++the attacker.
++
++Finally the arbitrary offset write occurs through a second fragment that
++only needs to be crafted to write data in the hole pointed to by the
++previously controlled hole metadata (`next_hole`) from the first packet.
++
++ ### Recommendation
++
++Handle cases where `len` is strictly lower than 8 by preventing the
++overwrite of the hole metadata during the memcpy of the fragment. This
++could be achieved by either:
++* Moving the location where the hole metadata is stored when `len` is
++lower than `8`.
++* Or outright rejecting fragmented IP datagram with a Total Length
++(`ip_len`) lower than 28 bytes which is the minimum valid fragmented IP
++datagram size (as defined as the minimum fragment of 8 octets in the IP
++Specification Document:
++[RFC791](https://datatracker.ietf.org/doc/html/rfc791) page 25).
++
++----------BUG 2----------
++
++In compiled versions of U-Boot that define CONFIG_IP_DEFRAG, a value of
++`ip->ip_len` (IP packet header's Total Length) lower than `IP_HDR_SIZE`
++will lead to a negative value for `len` which will ultimately result in
++a buffer overflow during the subsequent `memcpy` that uses `len` as it's
++`count` parameter.
++
++This bug is only exploitable on local ethernet as it requires crafting
++an invalid packet to include an unexpected `ip_len` value in the IP UDP
++header that's lower than the minimum accepted Total Length of a packet
++(21 as defined in the IP Specification Document:
++[RFC791](https://datatracker.ietf.org/doc/html/rfc791)). Such packet
++would in all likelihood be dropped while being routed to its final
++destination through most routing equipment and as such requires the
++attacker to be in a local position in order to be exploited.
++
++```C
++static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp)
++{
++ static uchar pkt_buff[IP_PKTSIZE] __aligned(PKTALIGN);
++ static u16 first_hole, total_len;
++ struct hole *payload, *thisfrag, *h, *newh;
++ struct ip_udp_hdr *localip = (struct ip_udp_hdr *)pkt_buff;
++ uchar *indata = (uchar *)ip;
++ int offset8, start, len, done = 0;
++ u16 ip_off = ntohs(ip->ip_off);
++
++ /* payload starts after IP header, this fragment is in there */
++ payload = (struct hole *)(pkt_buff + IP_HDR_SIZE);
++ offset8 = (ip_off & IP_OFFS);
++ thisfrag = payload + offset8;
++ start = offset8 * 8;
++ len = ntohs(ip->ip_len) - IP_HDR_SIZE;
++```
++
++The last line of the previous excerpt from `u-boot/net/net.c` shows
++where the underflow to a negative `len` value occurs if `ip_len` is set
++to a value strictly lower than 20 (`IP_HDR_SIZE` being 20). Also note
++that in the above excerpt the `pkt_buff` buffer has a size of
++`CONFIG_NET_MAXDEFRAG` which defaults to 16 KB but can range from 1KB to
++64 KB depending on configurations.
++
++```C
++ /* finally copy this fragment and possibly return whole packet */
++ memcpy((uchar *)thisfrag, indata + IP_HDR_SIZE, len);
++```
++
++In the above excerpt the `memcpy` overflows the destination by
++attempting to make a copy of nearly 4 gigabytes in a buffer that's
++designed to hold `CONFIG_NET_MAXDEFRAG` bytes at most which leads to a DoS.
++
++ ### Recommendation
++
++Stop processing of the packet if `ip_len` is lower than 21 (as defined
++by the minimum length of a data carrying datagram in the IP
++Specification Document:
++[RFC791](https://datatracker.ietf.org/doc/html/rfc791) page 34)."
++
++Add a check for ip_len lesser than 28 and stop processing the packet
++in this case.
++
++Such a check covers the two reported bugs.
++
++Reported-by: Nicolas Bidron <nicolas.bidron@nccgroup.com>
++Signed-off-by: Fabio Estevam <festevam@denx.de>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/b85d130ea0cac152c21ec38ac9417b31d41b5552
++Bug: https://www.nccgroup.com/us/research-blog/technical-advisory-multiple-vulnerabilities-in-u-boot-cve-2022-30790-cve-2022-30552/
++Bug-Debian: https://bugs.debian.org/1014470
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-30790
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-30552
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-30790
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-30552
++---
++ include/net.h | 2 ++
++ net/net.c | 3 +++
++ 2 files changed, 5 insertions(+)
++
++diff --git a/include/net.h b/include/net.h
++index aff6674..50a4a8b 100644
++--- a/include/net.h
+++++ b/include/net.h
++@@ -395,6 +395,8 @@ struct ip_hdr {
++
++ #define IP_HDR_SIZE (sizeof(struct ip_hdr))
++
+++#define IP_MIN_FRAG_DATAGRAM_SIZE (IP_HDR_SIZE + 8)
+++
++ /*
++ * Internet Protocol (IP) + UDP header.
++ */
++diff --git a/net/net.c b/net/net.c
++index ad7e3b3..5e98733 100644
++--- a/net/net.c
+++++ b/net/net.c
++@@ -907,6 +907,9 @@ static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp)
++ int offset8, start, len, done = 0;
++ u16 ip_off = ntohs(ip->ip_off);
++
+++ if (ip->ip_len < IP_MIN_FRAG_DATAGRAM_SIZE)
+++ return NULL;
+++
++ /* payload starts after IP header, this fragment is in there */
++ payload = (struct hole *)(pkt_buff + IP_HDR_SIZE);
++ offset8 = (ip_off & IP_OFFS);
--- /dev/null
--- /dev/null
++From: Miquel Raynal <miquel.raynal@bootlin.com>
++Date: Thu, 9 Jun 2022 16:02:06 +0200
++Subject: [PATCH] fs/squashfs: sqfs_read: Prevent arbitrary code execution
++
++Following Jincheng's report, an out-of-band write leading to arbitrary
++code execution is possible because on one side the squashfs logic
++accepts directory names up to 65535 bytes (u16), while U-Boot fs logic
++accepts directory names up to 255 bytes long.
++
++Prevent such an exploit from happening by capping directory name sizes
++to 255. Use a define for this purpose so that developers can link the
++limitation to its source and eventually kill it some day by dynamically
++allocating this array (if ever desired).
++
++Link: https://lore.kernel.org/all/CALO=DHFB+yBoXxVr5KcsK0iFdg+e7ywko4-e+72kjbcS8JBfPw@mail.gmail.com
++Reported-by: Jincheng Wang <jc.w4ng@gmail.com>
++Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
++Tested-by: Jincheng Wang <jc.w4ng@gmail.com>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/2ac0baab4aff1a0b45067d0b62f00c15f4e86856
++Bug: https://lore.kernel.org/all/CALO=DHFB+yBoXxVr5KcsK0iFdg+e7ywko4-e+72kjbcS8JBfPw@mail.gmail.com/
++Bug-Debian: https://bugs.debian.org/1014528
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-33103
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-33103
++---
++ fs/squashfs/sqfs.c | 7 ++++---
++ include/fs.h | 4 +++-
++ 2 files changed, 7 insertions(+), 4 deletions(-)
++
++diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
++index e6e8b06..a2922a4 100644
++--- a/fs/squashfs/sqfs.c
+++++ b/fs/squashfs/sqfs.c
++@@ -1057,9 +1057,10 @@ int sqfs_readdir(struct fs_dir_stream *fs_dirs, struct fs_dirent **dentp)
++ return -SQFS_STOP_READDIR;
++ }
++
++- /* Set entry name */
++- strncpy(dent->name, dirs->entry->name, dirs->entry->name_size + 1);
++- dent->name[dirs->entry->name_size + 1] = '\0';
+++ /* Set entry name (capped at FS_DIRENT_NAME_LEN which is a U-Boot limitation) */
+++ name_size = min_t(u16, dirs->entry->name_size + 1, FS_DIRENT_NAME_LEN - 1);
+++ strncpy(dent->name, dirs->entry->name, name_size);
+++ dent->name[name_size] = '\0';
++
++ offset = dirs->entry->name_size + 1 + SQFS_ENTRY_BASE_LENGTH;
++ dirs->entry_count--;
++diff --git a/include/fs.h b/include/fs.h
++index 0794b50..fb44d17 100644
++--- a/include/fs.h
+++++ b/include/fs.h
++@@ -160,6 +160,8 @@ int fs_write(const char *filename, ulong addr, loff_t offset, loff_t len,
++ #define FS_DT_REG 8 /* regular file */
++ #define FS_DT_LNK 10 /* symbolic link */
++
+++#define FS_DIRENT_NAME_LEN 256
+++
++ /*
++ * A directory entry, returned by fs_readdir(). Returns information
++ * about the file/directory at the current directory entry position.
++@@ -167,7 +169,7 @@ int fs_write(const char *filename, ulong addr, loff_t offset, loff_t len,
++ struct fs_dirent {
++ unsigned type; /* one of FS_DT_x (not a mask) */
++ loff_t size; /* size in bytes */
++- char name[256];
+++ char name[FS_DIRENT_NAME_LEN];
++ };
++
++ /* Note: fs_dir_stream should be treated as opaque to the user of fs layer */
--- /dev/null
--- /dev/null
++From: Miquel Raynal <miquel.raynal@bootlin.com>
++Date: Mon, 27 Jun 2022 12:20:03 +0200
++Subject: [PATCH] fs/squashfs: Use kcalloc when relevant
++
++A crafted squashfs image could embed a huge number of empty metadata
++blocks in order to make the amount of malloc()'d memory overflow and be
++much smaller than expected. Because of this flaw, any random code
++positioned at the right location in the squashfs image could be memcpy'd
++from the squashfs structures into U-Boot code location while trying to
++access the rearmost blocks, before being executed.
++
++In order to prevent this vulnerability from being exploited in eg. a
++secure boot environment, let's add a check over the amount of data
++that is going to be allocated. Such a check could look like:
++
++if (!elem_size || n > SIZE_MAX / elem_size)
++ return NULL;
++
++The right way to do it would be to enhance the calloc() implementation
++but this is quite an impacting change for such a small fix. Another
++solution would be to add the check before the malloc call in the
++squashfs implementation, but this does not look right. So for now, let's
++use the kcalloc() compatibility function from Linux, which has this
++check.
++
++Fixes: c5100613037 ("fs/squashfs: new filesystem")
++Reported-by: Tatsuhiko Yasumatsu <Tatsuhiko.Yasumatsu@sony.com>
++Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
++Tested-by: Tatsuhiko Yasumatsu <Tatsuhiko.Yasumatsu@sony.com>
++
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://github.com/u-boot/u-boot/commit/b6f4c757959f8850e1299a77c8e5713da78e8ec0
++Bug: https://lists.denx.de/pipermail/u-boot/2022-June/487467.html
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-33967
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-33967
++---
++ fs/squashfs/sqfs.c | 4 +++-
++ 1 file changed, 3 insertions(+), 1 deletion(-)
++
++diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
++index 5de69ac..e6e8b06 100644
++--- a/fs/squashfs/sqfs.c
+++++ b/fs/squashfs/sqfs.c
++@@ -13,6 +13,7 @@
++ #include <linux/types.h>
++ #include <linux/byteorder/little_endian.h>
++ #include <linux/byteorder/generic.h>
+++#include <linux/compat.h>
++ #include <memalign.h>
++ #include <stdlib.h>
++ #include <string.h>
++@@ -725,7 +726,8 @@ static int sqfs_read_inode_table(unsigned char **inode_table)
++ goto free_itb;
++ }
++
++- *inode_table = malloc(metablks_count * SQFS_METADATA_BLOCK_SIZE);
+++ *inode_table = kcalloc(metablks_count, SQFS_METADATA_BLOCK_SIZE,
+++ GFP_KERNEL);
++ if (!*inode_table) {
++ ret = -ENOMEM;
++ goto free_itb;
--- /dev/null
--- /dev/null
++From: Nicolas Iooss <nicolas.iooss+uboot@ledger.fr>
++Date: Fri, 10 Jun 2022 14:50:25 +0000
++Subject: [PATCH] i2c: fix stack buffer overflow vulnerability in i2c md
++ command
++
++When running "i2c md 0 0 80000100", the function do_i2c_md parses the
++length into an unsigned int variable named length. The value is then
++moved to a signed variable:
++
++ int nbytes = length;
++ #define DISP_LINE_LEN 16
++ int linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes;
++ ret = dm_i2c_read(dev, addr, linebuf, linebytes);
++
++On systems where integers are 32 bits wide, 0x80000100 is a negative
++value to "nbytes > DISP_LINE_LEN" is false and linebytes gets assigned
++0x80000100 instead of 16.
++
++The consequence is that the function which reads from the i2c device
++(dm_i2c_read or i2c_read) is called with a 16-byte stack buffer to fill
++but with a size parameter which is too large. In some cases, this could
++trigger a crash. But with some i2c drivers, such as drivers/i2c/nx_i2c.c
++(used with "nexell,s5pxx18-i2c" bus), the size is actually truncated to
++a 16-bit integer. This is because function i2c_transfer expects an
++unsigned short length. In such a case, an attacker who can control the
++response of an i2c device can overwrite the return address of a function
++and execute arbitrary code through Return-Oriented Programming.
++
++Fix this issue by using unsigned integers types in do_i2c_md. While at
++it, make also alen unsigned, as signed sizes can cause vulnerabilities
++when people forgot to check that they can be negative.
++
++Signed-off-by: Nicolas Iooss <nicolas.iooss+uboot@ledger.fr>
++Reviewed-by: Heiko Schocher <hs@denx.de>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409
++Bug: https://lists.denx.de/pipermail/u-boot/2022-June/486113.html
++Bug-Debian: https://bugs.debian.org/1014529
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-34835
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2022-34835
++---
++ cmd/i2c.c | 24 ++++++++++++------------
++ 1 file changed, 12 insertions(+), 12 deletions(-)
++
++diff --git a/cmd/i2c.c b/cmd/i2c.c
++index cc01119..6135fb2 100644
++--- a/cmd/i2c.c
+++++ b/cmd/i2c.c
++@@ -248,10 +248,10 @@ int i2c_set_bus_speed(unsigned int speed)
++ *
++ * Returns the address length.
++ */
++-static uint get_alen(char *arg, int default_len)
+++static uint get_alen(char *arg, uint default_len)
++ {
++- int j;
++- int alen;
+++ uint j;
+++ uint alen;
++
++ alen = default_len;
++ for (j = 0; j < 8; j++) {
++@@ -295,7 +295,7 @@ static int do_i2c_read(struct cmd_tbl *cmdtp, int flag, int argc,
++ {
++ uint chip;
++ uint devaddr, length;
++- int alen;
+++ uint alen;
++ u_char *memaddr;
++ int ret;
++ #ifdef CONFIG_DM_I2C
++@@ -349,7 +349,7 @@ static int do_i2c_write(struct cmd_tbl *cmdtp, int flag, int argc,
++ {
++ uint chip;
++ uint devaddr, length;
++- int alen;
+++ uint alen;
++ u_char *memaddr;
++ int ret;
++ #ifdef CONFIG_DM_I2C
++@@ -517,8 +517,8 @@ static int do_i2c_md(struct cmd_tbl *cmdtp, int flag, int argc,
++ {
++ uint chip;
++ uint addr, length;
++- int alen;
++- int j, nbytes, linebytes;
+++ uint alen;
+++ uint j, nbytes, linebytes;
++ int ret;
++ #ifdef CONFIG_DM_I2C
++ struct udevice *dev;
++@@ -637,9 +637,9 @@ static int do_i2c_mw(struct cmd_tbl *cmdtp, int flag, int argc,
++ {
++ uint chip;
++ ulong addr;
++- int alen;
+++ uint alen;
++ uchar byte;
++- int count;
+++ uint count;
++ int ret;
++ #ifdef CONFIG_DM_I2C
++ struct udevice *dev;
++@@ -724,8 +724,8 @@ static int do_i2c_crc(struct cmd_tbl *cmdtp, int flag, int argc,
++ {
++ uint chip;
++ ulong addr;
++- int alen;
++- int count;
+++ uint alen;
+++ uint count;
++ uchar byte;
++ ulong crc;
++ ulong err;
++@@ -1033,7 +1033,7 @@ static int do_i2c_loop(struct cmd_tbl *cmdtp, int flag, int argc,
++ char *const argv[])
++ {
++ uint chip;
++- int alen;
+++ uint alen;
++ uint addr;
++ uint length;
++ u_char bytes[16];
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 18:36:45 +0200
++Subject: squashfs: Fix integer overflow in sqfs_inode_size()
++
++A carefully crafted squashfs filesystem can exhibit an extremly large
++inode size and overflow the calculation in sqfs_inode_size().
++As a consequence, the squashfs driver will read from wrong locations.
++
++Fix by using __builtin_add_overflow() to detect the overflow.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/c8e929e5758999933f9e905049ef2bf3fe6b140d
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57254
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57254
++---
++ fs/squashfs/sqfs_inode.c | 9 +++++++--
++ 1 file changed, 7 insertions(+), 2 deletions(-)
++
++diff --git a/fs/squashfs/sqfs_inode.c b/fs/squashfs/sqfs_inode.c
++index e76ec7c..540f7d0 100644
++--- a/fs/squashfs/sqfs_inode.c
+++++ b/fs/squashfs/sqfs_inode.c
++@@ -77,11 +77,16 @@ int sqfs_inode_size(struct squashfs_base_inode *inode, u32 blk_size)
++
++ case SQFS_SYMLINK_TYPE:
++ case SQFS_LSYMLINK_TYPE: {
+++ int size;
+++
++ struct squashfs_symlink_inode *symlink =
++ (struct squashfs_symlink_inode *)inode;
++
++- return sizeof(*symlink) +
++- get_unaligned_le32(&symlink->symlink_size);
+++ if (__builtin_add_overflow(sizeof(*symlink),
+++ get_unaligned_le32(&symlink->symlink_size), &size))
+++ return -EINVAL;
+++
+++ return size;
++ }
++
++ case SQFS_BLKDEV_TYPE:
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 18:36:44 +0200
++Subject: squashfs: Fix integer overflow in sqfs_resolve_symlink()
++
++A carefully crafted squashfs filesystem can exhibit an inode size of 0xffffffff,
++as a consequence malloc() will do a zero allocation.
++Later in the function the inode size is again used for copying data.
++So an attacker can overwrite memory.
++Avoid the overflow by using the __builtin_add_overflow() helper.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/233945eba63e24061dffeeaeb7cd6fe985278356
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57255
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57255
++---
++ fs/squashfs/sqfs.c | 10 ++++++----
++ 1 file changed, 6 insertions(+), 4 deletions(-)
++
++diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
++index a2922a4..3cd4724 100644
++--- a/fs/squashfs/sqfs.c
+++++ b/fs/squashfs/sqfs.c
++@@ -416,8 +416,10 @@ static char *sqfs_resolve_symlink(struct squashfs_symlink_inode *sym,
++ char *resolved, *target;
++ u32 sz;
++
++- sz = get_unaligned_le32(&sym->symlink_size);
++- target = malloc(sz + 1);
+++ if (__builtin_add_overflow(get_unaligned_le32(&sym->symlink_size), 1, &sz))
+++ return NULL;
+++
+++ target = malloc(sz);
++ if (!target)
++ return NULL;
++
++@@ -425,9 +427,9 @@ static char *sqfs_resolve_symlink(struct squashfs_symlink_inode *sym,
++ * There is no trailling null byte in the symlink's target path, so a
++ * copy is made and a '\0' is added at its end.
++ */
++- target[sz] = '\0';
+++ target[sz - 1] = '\0';
++ /* Get target name (relative path) */
++- strncpy(target, sym->symlink, sz);
+++ strncpy(target, sym->symlink, sz - 1);
++
++ /* Relative -> absolute path conversion */
++ resolved = sqfs_get_abs_path(base_path, target);
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 9 Aug 2024 11:54:28 +0200
++Subject: [PATCH] ext4: Fix integer overflow in ext4fs_read_symlink()
++
++While zalloc() takes a size_t type, adding 1 to the le32 variable
++will overflow.
++A carefully crafted ext4 filesystem can exhibit an inode size of 0xffffffff
++and as consequence zalloc() will do a zero allocation.
++
++Later in the function the inode size is again used for copying data.
++So an attacker can overwrite memory.
++
++Avoid the overflow by using the __builtin_add_overflow() helper.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/35f75d2a46e5859138c83a75cd2f4141c5479ab9
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57256
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57256
++---
++ fs/ext4/ext4_common.c | 6 +++++-
++ 1 file changed, 5 insertions(+), 1 deletion(-)
++
++diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c
++index c52cc40..6c4f8dc 100644
++--- a/fs/ext4/ext4_common.c
+++++ b/fs/ext4/ext4_common.c
++@@ -2183,13 +2183,17 @@ static char *ext4fs_read_symlink(struct ext2fs_node *node)
++ struct ext2fs_node *diro = node;
++ int status;
++ loff_t actread;
+++ size_t alloc_size;
++
++ if (!diro->inode_read) {
++ status = ext4fs_read_inode(diro->data, diro->ino, &diro->inode);
++ if (status == 0)
++ return NULL;
++ }
++- symlink = zalloc(le32_to_cpu(diro->inode.size) + 1);
+++ if (__builtin_add_overflow(le32_to_cpu(diro->inode.size), 1, &alloc_size))
+++ return NULL;
+++
+++ symlink = zalloc(alloc_size);
++ if (!symlink)
++ return NULL;
++
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 18:36:47 +0200
++Subject: [PATCH] squashfs: Fix stack overflow while symlink resolving
++
++The squashfs driver blindly follows symlinks, and calls sqfs_size()
++recursively. So an attacker can create a crafted filesystem and with
++a deep enough nesting level a stack overflow can be achieved.
++
++Fix by limiting the nesting level to 8.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/4f5cc096bfd0a591f8a11e86999e3d90a9484c34
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57257
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57257
++---
++ fs/squashfs/sqfs.c | 76 +++++++++++++++++++++++++++++++++++++++++++-----------
++ 1 file changed, 61 insertions(+), 15 deletions(-)
++
++diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
++index 3cd4724..239afec 100644
++--- a/fs/squashfs/sqfs.c
+++++ b/fs/squashfs/sqfs.c
++@@ -24,7 +24,12 @@
++ #include "sqfs_filesystem.h"
++ #include "sqfs_utils.h"
++
+++#define MAX_SYMLINK_NEST 8
+++
++ static struct squashfs_ctxt ctxt;
+++static int symlinknest;
+++
+++static int sqfs_readdir_nest(struct fs_dir_stream *fs_dirs, struct fs_dirent **dentp);
++
++ static int sqfs_disk_read(__u32 block, __u32 nr_blocks, void *buf)
++ {
++@@ -502,7 +507,7 @@ static int sqfs_search_dir(struct squashfs_dir_stream *dirs, char **token_list,
++ goto out;
++ }
++
++- while (!sqfs_readdir(dirsp, &dent)) {
+++ while (!sqfs_readdir_nest(dirsp, &dent)) {
++ ret = strcmp(dent->name, token_list[j]);
++ if (!ret)
++ break;
++@@ -527,6 +532,11 @@ static int sqfs_search_dir(struct squashfs_dir_stream *dirs, char **token_list,
++
++ /* Check for symbolic link and inode type sanity */
++ if (get_unaligned_le16(&dir->inode_type) == SQFS_SYMLINK_TYPE) {
+++ if (++symlinknest == MAX_SYMLINK_NEST) {
+++ ret = -ELOOP;
+++ goto out;
+++ }
+++
++ sym = (struct squashfs_symlink_inode *)table;
++ /* Get first j + 1 tokens */
++ path = sqfs_concat_tokens(token_list, j + 1);
++@@ -872,7 +882,7 @@ out:
++ return metablks_count;
++ }
++
++-int sqfs_opendir(const char *filename, struct fs_dir_stream **dirsp)
+++static int sqfs_opendir_nest(const char *filename, struct fs_dir_stream **dirsp)
++ {
++ unsigned char *inode_table = NULL, *dir_table = NULL;
++ int j, token_count = 0, ret = 0, metablks_count;
++@@ -967,7 +977,19 @@ out:
++ return ret;
++ }
++
+++int sqfs_opendir(const char *filename, struct fs_dir_stream **dirsp)
+++{
+++ symlinknest = 0;
+++ return sqfs_opendir_nest(filename, dirsp);
+++}
+++
++ int sqfs_readdir(struct fs_dir_stream *fs_dirs, struct fs_dirent **dentp)
+++{
+++ symlinknest = 0;
+++ return sqfs_readdir_nest(fs_dirs, dentp);
+++}
+++
+++static int sqfs_readdir_nest(struct fs_dir_stream *fs_dirs, struct fs_dirent **dentp)
++ {
++ struct squashfs_super_block *sblk = ctxt.sblk;
++ struct squashfs_dir_stream *dirs;
++@@ -1310,8 +1332,8 @@ static int sqfs_get_lregfile_info(struct squashfs_lreg_inode *lreg,
++ return datablk_count;
++ }
++
++-int sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len,
++- loff_t *actread)
+++static int sqfs_read_nest(const char *filename, void *buf, loff_t offset,
+++ loff_t len, loff_t *actread)
++ {
++ char *dir = NULL, *fragment_block, *datablock = NULL, *data_buffer = NULL;
++ char *fragment = NULL, *file = NULL, *resolved, *data;
++@@ -1341,11 +1363,11 @@ int sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len,
++ }
++
++ /*
++- * sqfs_opendir will uncompress inode and directory tables, and will
+++ * sqfs_opendir_nest will uncompress inode and directory tables, and will
++ * return a pointer to the directory that contains the requested file.
++ */
++ sqfs_split_path(&file, &dir, filename);
++- ret = sqfs_opendir(dir, &dirsp);
+++ ret = sqfs_opendir_nest(dir, &dirsp);
++ if (ret) {
++ goto out;
++ }
++@@ -1353,7 +1375,7 @@ int sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len,
++ dirs = (struct squashfs_dir_stream *)dirsp;
++
++ /* For now, only regular files are able to be loaded */
++- while (!sqfs_readdir(dirsp, &dent)) {
+++ while (!sqfs_readdir_nest(dirsp, &dent)) {
++ ret = strcmp(dent->name, file);
++ if (!ret)
++ break;
++@@ -1402,9 +1424,14 @@ int sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len,
++ break;
++ case SQFS_SYMLINK_TYPE:
++ case SQFS_LSYMLINK_TYPE:
+++ if (++symlinknest == MAX_SYMLINK_NEST) {
+++ ret = -ELOOP;
+++ goto out;
+++ }
+++
++ symlink = (struct squashfs_symlink_inode *)ipos;
++ resolved = sqfs_resolve_symlink(symlink, filename);
++- ret = sqfs_read(resolved, buf, offset, len, actread);
+++ ret = sqfs_read_nest(resolved, buf, offset, len, actread);
++ free(resolved);
++ goto out;
++ case SQFS_BLKDEV_TYPE:
++@@ -1566,7 +1593,14 @@ out:
++ return ret;
++ }
++
++-int sqfs_size(const char *filename, loff_t *size)
+++int sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len,
+++ loff_t *actread)
+++{
+++ symlinknest = 0;
+++ return sqfs_read_nest(filename, buf, offset, len, actread);
+++}
+++
+++static int sqfs_size_nest(const char *filename, loff_t *size)
++ {
++ struct squashfs_super_block *sblk = ctxt.sblk;
++ struct squashfs_symlink_inode *symlink;
++@@ -1582,10 +1616,10 @@ int sqfs_size(const char *filename, loff_t *size)
++
++ sqfs_split_path(&file, &dir, filename);
++ /*
++- * sqfs_opendir will uncompress inode and directory tables, and will
+++ * sqfs_opendir_nest will uncompress inode and directory tables, and will
++ * return a pointer to the directory that contains the requested file.
++ */
++- ret = sqfs_opendir(dir, &dirsp);
+++ ret = sqfs_opendir_nest(dir, &dirsp);
++ if (ret) {
++ ret = -EINVAL;
++ goto free_strings;
++@@ -1593,7 +1627,7 @@ int sqfs_size(const char *filename, loff_t *size)
++
++ dirs = (struct squashfs_dir_stream *)dirsp;
++
++- while (!sqfs_readdir(dirsp, &dent)) {
+++ while (!sqfs_readdir_nest(dirsp, &dent)) {
++ ret = strcmp(dent->name, file);
++ if (!ret)
++ break;
++@@ -1626,6 +1660,11 @@ int sqfs_size(const char *filename, loff_t *size)
++ break;
++ case SQFS_SYMLINK_TYPE:
++ case SQFS_LSYMLINK_TYPE:
+++ if (++symlinknest == MAX_SYMLINK_NEST) {
+++ *size = 0;
+++ return -ELOOP;
+++ }
+++
++ symlink = (struct squashfs_symlink_inode *)ipos;
++ resolved = sqfs_resolve_symlink(symlink, filename);
++ ret = sqfs_size(resolved, size);
++@@ -1665,10 +1704,11 @@ int sqfs_exists(const char *filename)
++
++ sqfs_split_path(&file, &dir, filename);
++ /*
++- * sqfs_opendir will uncompress inode and directory tables, and will
+++ * sqfs_opendir_nest will uncompress inode and directory tables, and will
++ * return a pointer to the directory that contains the requested file.
++ */
++- ret = sqfs_opendir(dir, &dirsp);
+++ symlinknest = 0;
+++ ret = sqfs_opendir_nest(dir, &dirsp);
++ if (ret) {
++ ret = -EINVAL;
++ goto free_strings;
++@@ -1676,7 +1716,7 @@ int sqfs_exists(const char *filename)
++
++ dirs = (struct squashfs_dir_stream *)dirsp;
++
++- while (!sqfs_readdir(dirsp, &dent)) {
+++ while (!sqfs_readdir_nest(dirsp, &dent)) {
++ ret = strcmp(dent->name, file);
++ if (!ret)
++ break;
++@@ -1693,6 +1733,12 @@ free_strings:
++ return ret == 0;
++ }
++
+++int sqfs_size(const char *filename, loff_t *size)
+++{
+++ symlinknest = 0;
+++ return sqfs_size_nest(filename, size);
+++}
+++
++ void sqfs_close(void)
++ {
++ sqfs_decompressor_cleanup(&ctxt);
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 12:08:45 +0200
++Subject: dlmalloc: Fix integer overflow in sbrk()
++
++Make sure that the new break is within mem_malloc_start
++and mem_malloc_end before making progress.
++ulong new = old + increment; can overflow for extremely large
++increment values and memset() can get wrongly called.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Simon Glass <sjg@chromium.org>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/0a10b49206a29b4aa2f80233a3e53ca0466bb0b3
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57258
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57258
++---
++ common/dlmalloc.c | 6 +++---
++ 1 file changed, 3 insertions(+), 3 deletions(-)
++
++diff --git a/common/dlmalloc.c b/common/dlmalloc.c
++index b29a7cf..16fe49d 100644
++--- a/common/dlmalloc.c
+++++ b/common/dlmalloc.c
++@@ -589,6 +589,9 @@ void *sbrk(ptrdiff_t increment)
++ ulong old = mem_malloc_brk;
++ ulong new = old + increment;
++
+++ if ((new < mem_malloc_start) || (new > mem_malloc_end))
+++ return (void *)MORECORE_FAILURE;
+++
++ /*
++ * if we are giving memory back make sure we clear it out since
++ * we set MORECORE_CLEARS to 1
++@@ -596,9 +599,6 @@ void *sbrk(ptrdiff_t increment)
++ if (increment < 0)
++ memset((void *)new, 0, -increment);
++
++- if ((new < mem_malloc_start) || (new > mem_malloc_end))
++- return (void *)MORECORE_FAILURE;
++-
++ mem_malloc_brk = new;
++
++ return (void *)old;
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 12:08:44 +0200
++Subject: dlmalloc: Fix integer overflow in request2size()
++
++req is of type size_t, casting it to long opens the door
++for an integer overflow.
++Values between LONG_MAX - (SIZE_SZ + MALLOC_ALIGN_MASK) - 1 and LONG_MAX
++cause and overflow such that request2size() returns MINSIZE.
++
++Fix by removing the cast.
++The origin of the cast is unclear, it's in u-boot and ppcboot since ever
++and predates the CVS history.
++Doug Lea's original dlmalloc implementation also doesn't have it.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Simon Glass <sjg@chromium.org>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/8642b2178d2c4002c99a0b69a845a48f2ae2706f
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57258
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57258
++---
++ common/dlmalloc.c | 4 ++--
++ 1 file changed, 2 insertions(+), 2 deletions(-)
++
++diff --git a/common/dlmalloc.c b/common/dlmalloc.c
++index 16fe49d..156481c 100644
++--- a/common/dlmalloc.c
+++++ b/common/dlmalloc.c
++@@ -367,8 +367,8 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
++ /* pad request bytes into a usable size */
++
++ #define request2size(req) \
++- (((long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
++- (long)(MINSIZE + MALLOC_ALIGN_MASK)) ? MINSIZE : \
+++ ((((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
+++ (MINSIZE + MALLOC_ALIGN_MASK)) ? MINSIZE : \
++ (((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
++
++ /* Check if m has acceptable alignment */
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 12:08:43 +0200
++Subject: x86: Fix ptrdiff_t for x86_64
++
++sbrk() assumes ptrdiff_t is large enough to enlarge/shrink the heap
++by LONG_MIN/LONG_MAX.
++So, use the long type, also to match the rest of the Linux ecosystem.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Simon Glass <sjg@chromium.org>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/c17b2a05dd50a3ba437e6373093a0d6a359cdee0
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57258
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57258
++---
++ arch/x86/include/asm/posix_types.h | 3 ++-
++ 1 file changed, 2 insertions(+), 1 deletion(-)
++
++diff --git a/arch/x86/include/asm/posix_types.h b/arch/x86/include/asm/posix_types.h
++index dbcea7f..e1ed9bc 100644
++--- a/arch/x86/include/asm/posix_types.h
+++++ b/arch/x86/include/asm/posix_types.h
++@@ -20,11 +20,12 @@ typedef unsigned short __kernel_gid_t;
++ #if defined(__x86_64__)
++ typedef unsigned long __kernel_size_t;
++ typedef long __kernel_ssize_t;
+++typedef long __kernel_ptrdiff_t;
++ #else
++ typedef unsigned int __kernel_size_t;
++ typedef int __kernel_ssize_t;
++-#endif
++ typedef int __kernel_ptrdiff_t;
+++#endif
++ typedef long __kernel_time_t;
++ typedef long __kernel_suseconds_t;
++ typedef long __kernel_clock_t;
--- /dev/null
--- /dev/null
++From: Richard Weinberger <richard@nod.at>
++Date: Fri, 2 Aug 2024 22:05:09 +0200
++Subject: squashfs: Fix heap corruption in sqfs_search_dir()
++
++res needs to be large enough to store both strings rem and target,
++plus the path separator and the terminator.
++Currently the space for the path separator is not accounted, so
++the heap is corrupted by one byte.
++
++Signed-off-by: Richard Weinberger <richard@nod.at>
++Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
++
++Reviewed-By: Daniel Leidert <dleidert@debian.org>
++Origin: https://source.denx.de/u-boot/u-boot/-/commit/048d795bb5b3d9c5701b4855f5e74bcf6849bf5e
++Bug: https://www.openwall.com/lists/oss-security/2025/02/17/2
++Bug-Debian: https://bugs.debian.org/1098254
++Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2024-57259
++Bug-Freexian-Security: https://deb.freexian.com/extended-lts/tracker/CVE-2024-57259
++---
++ fs/squashfs/sqfs.c | 7 +++++--
++ 1 file changed, 5 insertions(+), 2 deletions(-)
++
++diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
++index 239afec..c4b3fb8 100644
++--- a/fs/squashfs/sqfs.c
+++++ b/fs/squashfs/sqfs.c
++@@ -557,8 +557,11 @@ static int sqfs_search_dir(struct squashfs_dir_stream *dirs, char **token_list,
++ ret = -ENOMEM;
++ goto out;
++ }
++- /* Concatenate remaining tokens and symlink's target */
++- res = malloc(strlen(rem) + strlen(target) + 1);
+++ /*
+++ * Concatenate remaining tokens and symlink's target.
+++ * Allocate enough space for rem, target, '/' and '\0'.
+++ */
+++ res = malloc(strlen(rem) + strlen(target) + 2);
++ if (!res) {
++ ret = -ENOMEM;
++ goto out;
--- /dev/null
--- /dev/null
++Add the debian revision to the U-boot version, which is displayed at
++boot and can be helpful to determine which specific version is used.
++
++--- a/Makefile
+++++ b/Makefile
++@@ -447,7 +447,7 @@
++
++ # Read UBOOTRELEASE from include/config/uboot.release (if it exists)
++ UBOOTRELEASE = $(shell cat include/config/uboot.release 2> /dev/null)
++-UBOOTVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
+++UBOOTVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)$(DEBIAN_REVISION)
++
++ export VERSION PATCHLEVEL SUBLEVEL UBOOTRELEASE UBOOTVERSION
++ export ARCH CPU BOARD VENDOR SOC CPUDIR BOARDDIR
--- /dev/null
--- /dev/null
++Enable distro_bootcmd support (doc/README.distro) for omap5 targets.
++
++--- a/include/configs/ti_omap5_common.h
+++++ b/include/configs/ti_omap5_common.h
++@@ -58,6 +58,21 @@
++ #include <environment/ti/mmc.h>
++ #include <environment/ti/nand.h>
++
+++#define BOOT_TARGET_DEVICES(func) \
+++ func(MMC, mmc, 0) \
+++ func(MMC, mmc, 1) \
+++ func(PXE, pxe, na) \
+++ func(DHCP, dhcp, na)
+++
+++#ifdef CONFIG_BOOTCOMMAND
+++#undef CONFIG_BOOTCOMMAND
+++#endif
+++#define CONFIG_BOOTCOMMAND \
+++ "run findfdt; " \
+++ "run distro_bootcmd"
+++
+++#include <config_distro_bootcmd.h>
+++
++ #define CONFIG_EXTRA_ENV_SETTINGS \
++ DEFAULT_LINUX_BOOT_ENV \
++ DEFAULT_MMC_TI_ARGS \
++@@ -67,6 +82,7 @@
++ DFUARGS \
++ NETARGS \
++ NANDARGS \
+++ BOOTENV \
++
++ /*
++ * SPL related defines. The Public RAM memory map the ROM defines the
--- /dev/null
--- /dev/null
++Description: Add spl/arndale-spl.bin rule
++Author: Ian Campbell <ijc@debian.org>
++
++--- a/Makefile
+++++ b/Makefile
++@@ -1941,6 +1941,9 @@
++ spl/boot.bin: spl/u-boot-spl
++ @:
++
+++spl/arndale-spl.bin: spl/u-boot-spl
+++ @:
+++
++ tpl/u-boot-tpl.bin: tools prepare \
++ $(if $(CONFIG_OF_SEPARATE)$(CONFIG_OF_EMBED)$(CONFIG_SPL_OF_PLATDATA),dts/dt.dtb)
++ $(Q)$(MAKE) obj=tpl -f $(srctree)/scripts/Makefile.spl all
--- /dev/null
--- /dev/null
++Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
++failure to build caused by config_distro_bootcmd.h following the wrong
++codepath...
++
++--- a/include/configs/sandbox.h
+++++ b/include/configs/sandbox.h
++@@ -64,6 +64,9 @@
++ #ifdef __ASSEMBLY__
++ #define BOOTENV
++ #else
+++#ifndef CONFIG_SANDBOX
+++#define CONFIG_SANDBOX 1
+++#endif
++ #include <config_distro_bootcmd.h>
++ #endif
++
--- /dev/null
--- /dev/null
++From 82987dbf64ab031482eee52267e2fb1edce52531 Mon Sep 17 00:00:00 2001
++From: Dongjin Kim <tobetter@gmail.com>
++Date: Sat, 28 Oct 2017 00:22:27 -0400
++Subject: [PATCH] arm: config: fix default console only to specify the device
++
++This reverts commit 767edf0f6b3eaa0303f3fd6afdc14ddce0aca70c and restores
++commit 232ed3ca534708527a9515c7c41bc3542949525c.
++
++Debian's flash-kernel expect the console variable to just contain the device,
++because it will set the bootargs to "console=${console}". So revert adding
++"console=" to the console parameter, but also adjust the shipped bootscripts
++for exynos boards to cope with it.
++
++Bug-Debian: https://bugs.debian.org/920116
++Signed-off-by: Benjamin Drung <bdrung@debian.org>
++---
++ board/samsung/common/bootscripts/autoboot.cmd | 2 +-
++ board/samsung/common/bootscripts/bootzimg.cmd | 4 ++--
++ board/samsung/common/dfu_sample_env.txt | 4 ++--
++ include/configs/odroid.h | 4 ++--
++ include/configs/odroid_xu3.h | 4 ++--
++ include/configs/s5p_goni.h | 4 ++--
++ include/configs/s5pc210_universal.h | 4 ++--
++ include/configs/trats.h | 4 ++--
++ include/configs/trats2.h | 4 ++--
++ 9 files changed, 17 insertions(+), 17 deletions(-)
++
++Index: u-boot/board/samsung/common/bootscripts/autoboot.cmd
++===================================================================
++--- u-boot.orig/board/samsung/common/bootscripts/autoboot.cmd
+++++ u-boot/board/samsung/common/bootscripts/autoboot.cmd
++@@ -12,7 +12,7 @@ setenv initrdaddr "42000000"
++ setenv loaddtb "load mmc ${mmcbootdev}:${mmcbootpart} ${fdtaddr} ${fdtfile}"
++ setenv loadinitrd "load mmc ${mmcbootdev}:${mmcbootpart} ${initrdaddr} ${initrdname}"
++ setenv loadkernel "load mmc ${mmcbootdev}:${mmcbootpart} '${kerneladdr}' '${kernelname}'"
++-setenv kernel_args "setenv bootargs ${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}"
+++setenv kernel_args "setenv bootargs console=${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}"
++
++ #### Routine: check_dtb - check that target.dtb exists on boot partition
++ setenv check_dtb "
++Index: u-boot/board/samsung/common/bootscripts/bootzimg.cmd
++===================================================================
++--- u-boot.orig/board/samsung/common/bootscripts/bootzimg.cmd
+++++ u-boot/board/samsung/common/bootscripts/bootzimg.cmd
++@@ -1,5 +1,5 @@
++ setenv kernelname zImage;
++-setenv boot_kernel "setenv bootargs \"${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}\";
+++setenv boot_kernel "setenv bootargs \"console=${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}\";
++ load mmc ${mmcbootdev}:${mmcbootpart} 0x40007FC0 '${kernelname}';
++ if load mmc ${mmcbootdev}:${mmcbootpart} 40800000 ${fdtfile}; then
++ bootz 0x40007FC0 - 40800000;
++@@ -7,4 +7,4 @@ else
++ echo Warning! Booting without DTB: '${fdtfile}'!;
++ bootz 0x40007FC0 -;
++ fi;"
++-run boot_kernel;
++\ No newline at end of file
+++run boot_kernel;
++Index: u-boot/board/samsung/common/dfu_sample_env.txt
++===================================================================
++--- u-boot.orig/board/samsung/common/dfu_sample_env.txt
+++++ u-boot/board/samsung/common/dfu_sample_env.txt
++@@ -1,9 +1,9 @@
++-mmcboot=setenv bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart} ${rootfstype} rootwait ${console}; run loaduimage; bootm 0x40007FC0
+++mmcboot=setenv bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart} ${rootfstype} rootwait console=${console}; run loaduimage; bootm 0x40007FC0
++ rootfstype=ext4
++ loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x40007FC0 uImage
++ mmcdev=0
++ mmcbootpart=2
++ mmcrootpart=5
++-console=console=ttySAC2,115200n8
+++console=ttySAC2,115200n8
++ bootcmd=run mmcboot
++ dfu_alt_info=u-boot mmc 80 800;params.bin mmc 0x38 0x8;uImage ext4 0 2
++Index: u-boot/include/configs/odroid.h
++===================================================================
++--- u-boot.orig/include/configs/odroid.h
+++++ u-boot/include/configs/odroid.h
++@@ -155,7 +155,7 @@
++ "elif test -e mmc ${mmcbootdev} uImage; then; " \
++ "run boot_uimg;" \
++ "fi;\0" \
++- "console=console=ttySAC1,115200n8\0" \
+++ "console=ttySAC1,115200n8\0" \
++ "mmcbootdev=0\0" \
++ "mmcbootpart=1\0" \
++ "mmcrootdev=0\0" \
++Index: u-boot/include/configs/odroid_xu3.h
++===================================================================
++--- u-boot.orig/include/configs/odroid_xu3.h
+++++ u-boot/include/configs/odroid_xu3.h
++@@ -98,7 +98,7 @@
++ MEM_LAYOUT_ENV_SETTINGS \
++ BOOTENV \
++ "rootfstype=ext4\0" \
++- "console=console=ttySAC2,115200n8\0" \
+++ "console=ttySAC2,115200n8\0" \
++ "fdtfile=exynos5422-odroidxu3.dtb\0" \
++ "board_name=odroidxu3\0" \
++ "mmcbootdev=0\0" \
++Index: u-boot/include/configs/s5p_goni.h
++===================================================================
++--- u-boot.orig/include/configs/s5p_goni.h
+++++ u-boot/include/configs/s5p_goni.h
++@@ -132,7 +132,7 @@
++ "bootchart=set opts init=/sbin/bootchartd; run bootcmd\0" \
++ "verify=n\0" \
++ "rootfstype=ext4\0" \
++- "console=console=ttySAC2,115200n8\0" \
+++ "console=ttySAC2,115200n8\0" \
++ "meminfo=mem=80M mem=256M@0x40000000 mem=128M@0x50000000\0" \
++ "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x30007FC0 uImage\0" \
++ "mmcdev=0\0" \
++Index: u-boot/include/configs/s5pc210_universal.h
++===================================================================
++--- u-boot.orig/include/configs/s5pc210_universal.h
+++++ u-boot/include/configs/s5pc210_universal.h
++@@ -106,7 +106,7 @@
++ "mmcoops=mmc read 0 0x40000000 0x40 8; md 0x40000000 0x400\0" \
++ "verify=n\0" \
++ "rootfstype=ext4\0" \
++- "console=console=ttySAC1,115200n8\0" \
+++ "console=ttySAC1,115200n8\0" \
++ "mtdparts=" CONFIG_MTDPARTS_DEFAULT \
++ "mbrparts=" MBRPARTS_DEFAULT \
++ "meminfo=crashkernel=32M@0x50000000\0" \
++Index: u-boot/include/configs/trats.h
++===================================================================
++--- u-boot.orig/include/configs/trats.h
+++++ u-boot/include/configs/trats.h
++@@ -118,7 +118,7 @@
++ "mmcoops=mmc read 0 0x40000000 0x40 8; md 0x40000000 0x400\0" \
++ "verify=n\0" \
++ "rootfstype=ext4\0" \
++- "console=console=ttySAC2,115200n8\0" \
+++ "console=ttySAC2,115200n8\0" \
++ "meminfo=crashkernel=32M@0x50000000\0" \
++ "nfsroot=/nfsroot/arm\0" \
++ "bootblock=" CONFIG_BOOTBLOCK "\0" \
++Index: u-boot/include/configs/trats2.h
++===================================================================
++--- u-boot.orig/include/configs/trats2.h
+++++ u-boot/include/configs/trats2.h
++@@ -101,7 +101,7 @@
++ "boottrace=setenv opts initcall_debug; run bootcmd\0" \
++ "verify=n\0" \
++ "rootfstype=ext4\0" \
++- "console=console=ttySAC2,115200n8\0" \
+++ "console=ttySAC2,115200n8\0" \
++ "kernelname=uImage\0" \
++ "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x40007FC0 " \
++ "${kernelname}\0" \
--- /dev/null
--- /dev/null
++Enables support for ext4, the "load" command, and using bootz with raw initrds.
++
++--- a/configs/mx53loco_defconfig
+++++ b/configs/mx53loco_defconfig
++@@ -21,6 +21,7 @@
++ CONFIG_CMD_MII=y
++ CONFIG_CMD_PING=y
++ CONFIG_CMD_EXT2=y
+++CONFIG_CMD_EXT4=y
++ CONFIG_CMD_FAT=y
++ CONFIG_CMD_FS_GENERIC=y
++ CONFIG_ENV_OVERWRITE=y
--- /dev/null
--- /dev/null
++Enable booting of zImage/vmlinuz and initrd without requiring the use
++of mkimage to create uImage/uInitrd.
++
++--- a/configs/nokia_rx51_defconfig
+++++ b/configs/nokia_rx51_defconfig
++@@ -62,3 +62,5 @@
++ # CONFIG_VGA_AS_SINGLE_DEVICE is not set
++ CONFIG_SPLASH_SCREEN=y
++ # CONFIG_GZIP is not set
+++CONFIG_CMD_BOOTZ=y
+++CONFIG_SUPPORT_RAW_INITRD=y
--- /dev/null
--- /dev/null
++From 2c346cacb4b0841051bceb27a57058020860ab8b Mon Sep 17 00:00:00 2001
++From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
++Date: Wed, 2 Sep 2020 09:53:50 +0200
++Subject: [PATCH] configs: add PineTab defconfig
++Forwarded: https://patchwork.ozlabs.org/project/uboot/list/?series=232582
++
++The PineTab device-tree is already in u-boot, this commit adds the corresponding
++defconfig, based on pinephone_defconfig.
++
++Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
++
++---
++ configs/pinetab_defconfig | 22 ++++++++++++++++++++++
++ 1 file changed, 22 insertions(+)
++ create mode 100644 configs/pinetab_defconfig
++
++diff --git a/configs/pinetab_defconfig b/configs/pinetab_defconfig
++new file mode 100644
++index 0000000000..71dda9f5d9
++--- /dev/null
+++++ b/configs/pinetab_defconfig
++@@ -0,0 +1,20 @@
+++CONFIG_ARM=y
+++CONFIG_ARCH_SUNXI=y
+++CONFIG_SPL=y
+++CONFIG_IDENT_STRING=""
+++CONFIG_MACH_SUN50I=y
+++CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
+++CONFIG_DRAM_CLK=552
+++CONFIG_DRAM_ZQ=3881949
+++CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+++# CONFIG_VIDEO_DE2 is not set
+++CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinetab"
+++# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+++CONFIG_SYS_CONSOLE_INFO_QUIET=y
+++# CONFIG_DISPLAY_CPUINFO is not set
+++# CONFIG_DISPLAY_BOARDINFO is not set
+++# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
+++# CONFIG_SPL_BANNER_PRINT is not set
+++# CONFIG_SPL_POWER_SUPPORT is not set
+++# CONFIG_NET is not set
+++# CONFIG_EFI_LOADER is not set
++--
++2.28.0
++
--- /dev/null
--- /dev/null
++From 3fc056f0b9f7c26e58a1e947c8c0184e55919614 Mon Sep 17 00:00:00 2001
++From: David Abdurachmanov <david.abdurachmanov@gmail.com>
++Date: Wed, 21 Aug 2019 12:07:20 -0700
++Subject: [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define
++ preboot)
++Forwarded: https://patchwork.ozlabs.org/patch/1151125/
++
++Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot
++commands in RISC-V targets and broke extlinux support as reported
++by Fu Wei <wefu@redhat.com>.
++
++The patch finishes migration of CONFIG_USE_PREBOOT and CONFIG_REBOOT
++to Kconfig.
++
++Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
++---
++ configs/qemu-riscv64_smode_defconfig | 2 ++
++ configs/sifive_fu540_defconfig | 2 ++
++ include/configs/sifive-fu540.h | 4 ----
++ 3 files changed, 4 insertions(+), 4 deletions(-)
++
++--- a/configs/qemu-riscv64_smode_defconfig
+++++ b/configs/qemu-riscv64_smode_defconfig
++@@ -14,3 +14,5 @@
++ CONFIG_OF_PRIOR_STAGE=y
++ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
++ CONFIG_DM_MTD=y
+++CONFIG_USE_PREBOOT=y
+++CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
++--- a/configs/sifive_fu540_defconfig
+++++ b/configs/sifive_fu540_defconfig
++@@ -27,3 +27,5 @@
++ CONFIG_SPL_CLK=y
++ CONFIG_DM_MTD=y
++ CONFIG_DM_RESET=y
+++CONFIG_USE_PREBOOT=y
+++CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
--- /dev/null
--- /dev/null
++Disable USE_PREBOOT as a workaround to boot failure triggered by
++initializing USB. (Closes: #973323, #980434)
++
++Reported upstream:
++
++ https://lists.denx.de/pipermail/u-boot/2021-January/438098.html
++
++Index: u-boot/configs/rockpro64-rk3399_defconfig
++===================================================================
++--- u-boot.orig/configs/rockpro64-rk3399_defconfig
+++++ u-boot/configs/rockpro64-rk3399_defconfig
++@@ -12,7 +12,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
++ CONFIG_SPL_SPI_SUPPORT=y
++ CONFIG_DEFAULT_DEVICE_TREE="rk3399-rockpro64"
++ CONFIG_DEBUG_UART=y
++-CONFIG_USE_PREBOOT=y
+++CONFIG_USE_PREBOOT=n
++ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rockpro64.dtb"
++ CONFIG_DISPLAY_BOARDINFO_LATE=y
++ CONFIG_MISC_INIT_R=y
++
++Index: u-boot/configs/pinebook-pro-rk3399_defconfig
++===================================================================
++--- u-boot.orig/configs/pinebook-pro-rk3399_defconfig
+++++ u-boot/configs/pinebook-pro-rk3399_defconfig
++@@ -12,7 +12,7 @@ CONFIG_SPL_SPI_SUPPORT=y
++ CONFIG_DEFAULT_DEVICE_TREE="rk3399-pinebook-pro"
++ CONFIG_DEBUG_UART=y
++ CONFIG_BOOTDELAY=3
++-CONFIG_USE_PREBOOT=y
+++CONFIG_USE_PREBOOT=n
++ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-pinebook-pro.dtb"
++ CONFIG_DISPLAY_BOARDINFO_LATE=y
++ CONFIG_MISC_INIT_R=y
--- /dev/null
--- /dev/null
++add-debian-revision-to-u-boot-version
++tools-generic-builds.patch
++mx53loco
++arndale/board-spl-rule.diff
++ensure-config-sandbox-for-make-env.patch
++am57xx/omap5_distro_bootcmd
++test-imagetools-test-fixes
++exynos/0001-arm-config-fix-default-console-only-to-specify-the-d.patch
++riscv64/qemu-riscv64_smode-sifive-fu540-fix-extlinux-define-.patch
++n900/bootz_and_raw_initrd.patch
++rk3399/disable-preboot
++pinetab/0001-configs-add-PineTab-defconfig.patch
++upstream/0001-efi_loader-switch-to-non-secure-mode-later.patch
++CVE-2022-34835.patch
++CVE-2022-33967.patch
++CVE-2022-33103.patch
++CVE-2022-30790.patch
++CVE-2022-30767.patch
++CVE-2022-2347.patch
++CVE-2024-57254.patch
++CVE-2024-57255.patch
++CVE-2024-57256.patch
++CVE-2024-57257.patch
++CVE-2024-57258-1.patch
++CVE-2024-57258-2.patch
++CVE-2024-57258-3.patch
++CVE-2024-57259.patch
--- /dev/null
--- /dev/null
++This patch allows testing in an alternate directory and also detects
++failures to execute commands, treating that as a failure.
++
++--- a/test/image/test-imagetools.sh
+++++ b/test/image/test-imagetools.sh
++@@ -11,7 +11,7 @@
++ # make O=sandbox
++ # ./test/image/test-imagetools.sh
++
++-BASEDIR=sandbox
+++BASEDIR=${BASEDIR:-"sandbox"}
++ SRCDIR=${BASEDIR}/boot
++ IMAGE_NAME="v1.0-test"
++ IMAGE_MULTI=linux.img
++@@ -94,7 +94,7 @@
++
++ echo -e "\nBuilding multi-file image..."
++ do_cmd ${MKIMAGE} -A x86 -O linux -T multi -n \"${IMAGE_NAME}\" \
++- -d ${files} ${IMAGE_MULTI}
+++ -d ${files} ${IMAGE_MULTI} || exit 1
++ echo "done."
++ }
++
++@@ -102,10 +102,10 @@
++ extract_multi_image()
++ {
++ echo -e "\nExtracting multi-file image contents..."
++- do_cmd ${DUMPIMAGE} -T multi -p 0 -o ${DATAFILE0} ${IMAGE_MULTI}
++- do_cmd ${DUMPIMAGE} -T multi -p 1 -o ${DATAFILE1} ${IMAGE_MULTI}
++- do_cmd ${DUMPIMAGE} -T multi -p 2 -o ${DATAFILE2} ${IMAGE_MULTI}
++- do_cmd ${DUMPIMAGE} -T multi -p 2 -o ${TEST_OUT} ${IMAGE_MULTI}
+++ do_cmd ${DUMPIMAGE} -T multi -p 0 -o ${DATAFILE0} ${IMAGE_MULTI} || exit 1
+++ do_cmd ${DUMPIMAGE} -T multi -p 1 -o ${DATAFILE1} ${IMAGE_MULTI} || exit 1
+++ do_cmd ${DUMPIMAGE} -T multi -p 2 -o ${DATAFILE2} ${IMAGE_MULTI} || exit 1
+++ do_cmd ${DUMPIMAGE} -T multi -p 2 -o ${TEST_OUT} ${IMAGE_MULTI} || exit 1
++ echo "done."
++ }
++
++@@ -158,7 +158,7 @@
++ " > ${IMAGE_FIT_ITS}
++
++ echo -e "\nBuilding FIT image..."
++- do_cmd ${MKIMAGE} -f ${IMAGE_FIT_ITS} ${IMAGE_FIT_ITB}
+++ do_cmd ${MKIMAGE} -f ${IMAGE_FIT_ITS} ${IMAGE_FIT_ITB} || exit 1
++ echo "done."
++ }
++
++@@ -166,10 +166,10 @@
++ extract_fit_image()
++ {
++ echo -e "\nExtracting FIT image contents..."
++- do_cmd ${DUMPIMAGE} -T flat_dt -p 0 -o ${DATAFILE0} ${IMAGE_FIT_ITB}
++- do_cmd ${DUMPIMAGE} -T flat_dt -p 1 -o ${DATAFILE1} ${IMAGE_FIT_ITB}
++- do_cmd ${DUMPIMAGE} -T flat_dt -p 2 -o ${DATAFILE2} ${IMAGE_FIT_ITB}
++- do_cmd ${DUMPIMAGE} -T flat_dt -p 2 -o ${TEST_OUT} ${IMAGE_FIT_ITB}
+++ do_cmd ${DUMPIMAGE} -T flat_dt -p 0 -o ${DATAFILE0} ${IMAGE_FIT_ITB} || exit 1
+++ do_cmd ${DUMPIMAGE} -T flat_dt -p 1 -o ${DATAFILE1} ${IMAGE_FIT_ITB} || exit 1
+++ do_cmd ${DUMPIMAGE} -T flat_dt -p 2 -o ${DATAFILE2} ${IMAGE_FIT_ITB} || exit 1
+++ do_cmd ${DUMPIMAGE} -T flat_dt -p 2 -o ${TEST_OUT} ${IMAGE_FIT_ITB} || exit 1
++ echo "done."
++ }
++
++@@ -181,8 +181,8 @@
++ local image="$1"
++
++ echo -e "\nListing image contents..."
++- do_cmd_redir ${MKIMAGE_LIST} ${MKIMAGE} -l ${image}
++- do_cmd_redir ${DUMPIMAGE_LIST} ${DUMPIMAGE} -l ${image}
+++ do_cmd_redir ${MKIMAGE_LIST} ${MKIMAGE} -l ${image} || exit 1
+++ do_cmd_redir ${DUMPIMAGE_LIST} ${DUMPIMAGE} -l ${image} || exit 1
++ echo "done."
++ }
++
--- /dev/null
--- /dev/null
++Description: Enable generic tools build
++Author: Hector Oron <zumbi@debian.org>
++
++--- a/tools/Makefile
+++++ b/tools/Makefile
++@@ -52,7 +52,7 @@
++ hostprogs-y += mkenvimage
++ mkenvimage-objs := mkenvimage.o os_support.o lib/crc32.o
++
++-hostprogs-y += dumpimage mkimage
+++hostprogs-y += dumpimage mkimage mksunxiboot kwboot
++ hostprogs-$(CONFIG_FIT_SIGNATURE) += fit_info fit_check_sign
++
++ hostprogs-$(CONFIG_CMD_BOOTEFI_SELFTEST) += file2include
--- /dev/null
--- /dev/null
++From 82d01f04facef1276cede067efd02d2a731ffe83 Mon Sep 17 00:00:00 2001
++From: Heinrich Schuchardt <xypron.glpk@gmx.de>
++Date: Sun, 24 Jan 2021 14:34:12 +0000
++Subject: [PATCH] efi_loader: switch to non-secure mode later
++MIME-Version: 1.0
++Content-Type: text/plain; charset=UTF-8
++Content-Transfer-Encoding: 8bit
++
++Some ARMv7 boards using PSCI require to be in secure-mode when booted via
++'bootz' or 'bootm'. During distro-boot 'bootefi bootmgr' is called to check
++if booting via UEFI is possible.
++
++With the change we change the switch from secure mode to non-secure mode is
++moved from the UEFI subsystem setup to just before calling StartImage().
++
++Cc: Jernej Škrabec <jernej.skrabec@gmail.com>
++Reported by: Andre Przywara <andre.przywara@arm.com>
++Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
++---
++ cmd/bootefi.c | 4 ++++
++ lib/efi_loader/efi_setup.c | 4 ----
++ 2 files changed, 4 insertions(+), 4 deletions(-)
++
++diff --git a/cmd/bootefi.c b/cmd/bootefi.c
++index c8eb5c32b0..81dd8e0284 100644
++--- a/cmd/bootefi.c
+++++ b/cmd/bootefi.c
++@@ -8,6 +8,7 @@
++ #define LOG_CATEGORY LOGC_EFI
++
++ #include <common.h>
+++#include <bootm.h>
++ #include <charset.h>
++ #include <command.h>
++ #include <dm.h>
++@@ -338,6 +339,9 @@ static efi_status_t do_bootefi_exec(efi_handle_t handle, void *load_options)
++ efi_uintn_t exit_data_size = 0;
++ u16 *exit_data = NULL;
++
+++ /* On ARM switch from EL3 or secure mode to EL2 or non-secure mode */
+++ switch_to_non_secure_mode();
+++
++ /* Call our payload! */
++ ret = EFI_CALL(efi_start_image(handle, &exit_data_size, &exit_data));
++ if (ret != EFI_SUCCESS) {
++diff --git a/lib/efi_loader/efi_setup.c b/lib/efi_loader/efi_setup.c
++index 5800cbf6d4..b1c5125032 100644
++--- a/lib/efi_loader/efi_setup.c
+++++ b/lib/efi_loader/efi_setup.c
++@@ -6,7 +6,6 @@
++ */
++
++ #include <common.h>
++-#include <bootm.h>
++ #include <efi_loader.h>
++ #include <efi_variable.h>
++
++@@ -188,9 +187,6 @@ efi_status_t efi_init_obj_list(void)
++ /* Allow unaligned memory access */
++ allow_unaligned();
++
++- /* On ARM switch from EL3 or secure mode to EL2 or non-secure mode */
++- switch_to_non_secure_mode();
++-
++ /* Initialize root node */
++ ret = efi_root_node_register();
++ if (ret != EFI_SUCCESS)
++--
++2.30.2
++
--- /dev/null
--- /dev/null
++#!/usr/bin/make -f
++
++include /usr/share/dpkg/architecture.mk
++include /usr/share/dpkg/pkg-info.mk
++export DEBIAN_REVISION ?= $(shell echo $(DEB_VERSION) | sed -e 's,.*+dfsg,+dfsg,')
++
++ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
++export CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)-
++cross_build_tools ?= y
++endif
++
++# Enable verbose build by default, disable when terse is specified.
++ifneq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
++VERBOSE=0
++else
++VERBOSE=1
++endif
++
++# the upstream build passes LDFLAGS directly to ld instead of calling gcc for
++# linking; so instead of passing -Wl,foo in LDFLAGS as in automake builds, one
++# should set LDFLAGS to foo directly
++comma := ,
++LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS))
++
++notools := $(filter pkg.uboot.notools,$(DEB_BUILD_PROFILES))
++
++# limit builds to only certain subarchitectures
++# e.g. pkg.uboot.subarch.rockchip will only build rockchip targets.
++ifeq (,$(filter pkg.uboot.subarch.%,$(DEB_BUILD_PROFILES)))
++TARGETSUBARCH = .
++else
++TARGETSUBARCH = $(patsubst pkg.uboot.subarch.%,%,$(filter pkg.uboot.subarch.%,$(DEB_BUILD_PROFILES)))
++endif
++
++# Enable debugging symbols and remove build paths
++export HOSTCFLAGS = -g -ffile-prefix-map=$(CURDIR)=.
++
++%:
++ dh $@
++
++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
++
++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
++
++override_dh_auto_build-arch: TARGETARCH := $(DEB_HOST_ARCH)
++override_dh_auto_build-arch: build-targets
++ifeq ($(notools),)
++ override_dh_auto_build-arch: build-tools
++endif
++
++override_dh_auto_build-indep: TARGETARCH := all
++override_dh_auto_build-indep: build-targets
++
++build-targets: configs/novena-rawsd_defconfig configs/am335x_boneblack_defconfig
++ echo run build-targets for $(TARGETARCH)
++ set -e; grep ^$(TARGETARCH)[^a-z0-9] debian/targets \
++ | grep $(TARGETSUBARCH) \
++ | while read arch subarch platform bl31 targets; do \
++ builddir=debian/build/$$platform; \
++ case $$bl31 in \
++ /usr/lib/arm-trusted-firmware/*) export BL31=$$bl31 ;; \
++ *) targets="$$bl31 $$targets" ;\
++ unset BL31 ;; \
++ esac; \
++ case $$platform in \
++ novena-rawsd) targets="$$targets" ;\
++ ;; \
++ *) targets="$$targets uboot.elf" ;\
++ ;; \
++ esac;\
++ case $$subarch in \
++ -) subpackage="u-boot" ;\
++ ;; \
++ *) subpackage="u-boot-$$subarch" ;\
++ ;; \
++ esac;\
++ case $$arch in \
++ all:armhf) export CROSS_COMPILE=arm-linux-gnueabihf- ;;\
++ all:arm64) export CROSS_COMPILE=aarch64-linux-gnu- ;;\
++ all:mips) export CROSS_COMPILE=mips-linux-gnu- ;;\
++ all:mipsel) export CROSS_COMPILE=mipsel-linux-gnu- ;;\
++ all:mips64el) export CROSS_COMPILE=mips64el-linux-gnuabi64- ;;\
++ all:powerpc) export CROSS_COMPILE=powerpc-linux-gnu- ;;\
++ all:riscv64) export CROSS_COMPILE=riscv64-linux-gnu- ;;\
++ all:i386) export CROSS_COMPILE=i686-linux-gnu- ;;\
++ all:amd64) export CROSS_COMPILE=x86_64-linux-gnu- ;;\
++ *) ;; \
++ esac;\
++ case $$subarch in \
++ sunxi) export SCP=/dev/null ;;\
++ *) unset SCP ;;\
++ esac;\
++ mkdir -p $$builddir; \
++ dh_auto_build -- V=$(VERBOSE) O=$$builddir $${platform}_defconfig; \
++ sed -i -e 's,CONFIG_FIT_SIGNATURE=y,# CONFIG_FIT_SIGNATURE is not set,g' $$builddir/.config; \
++ dh_auto_build -- V=$(VERBOSE) O=$$builddir; \
++ case "$$targets" in \
++ *uboot.elf*) \
++ install -m 644 $$builddir/u-boot $$builddir/uboot.elf; \
++ $${CROSS_COMPILE}strip --remove-section=.comment \
++ --remove-section=.note \
++ $$builddir/uboot.elf; \
++ ;; \
++ esac; \
++ for target in $$targets; do \
++ chmod -x $$builddir/$$target; \
++ echo $$builddir/$$target /usr/lib/u-boot/$$platform/ \
++ >> debian/build/targets.$$subarch; \
++ echo $$platform >> debian/build/platforms.$$subarch; \
++ done ; \
++ cp $$builddir/.config $$builddir/config.$$platform; \
++ echo $$builddir/config.$$platform /usr/share/doc/$$subpackage/configs/ \
++ >> debian/build/targets.$$subarch; \
++ done
++
++TOOLSDIR := debian/build/tools
++build-tools:
++ dh_auto_build -- V=$(VERBOSE) O=$(TOOLSDIR) CROSS_COMPILE=$(CROSS_COMPILE) tools-only_defconfig
++ cp $(TOOLSDIR)/.config $(TOOLSDIR)/config
++ # board-independent tools
++ dh_auto_build -- V=$(VERBOSE) O=$(TOOLSDIR) \
++ CROSS_COMPILE=$(CROSS_COMPILE) \
++ CROSS_BUILD_TOOLS=$(cross_build_tools) \
++ NO_SDL=1 \
++ tools-only
++
++# Only test when tools are built and native.
++override_dh_auto_test-arch:
++ ifeq ($(notools)$(cross_build_tools),)
++ BASEDIR=$(TOOLSDIR) test/image/test-imagetools.sh
++ endif
++override_dh_auto_test-indep:
++
++# Do not spend time searching for an install target in Makefile.
++override_dh_auto_install:
++
++override_dh_clean:
++ rm -rf debian/build/
++ rm -f configs/novena-rawsd_defconfig
++ rm -f configs/am335x_boneblack_defconfig
++ rm -f linux.itb linux.its
++ dh_clean
++ find . -type d -name __pycache__ -delete
++
++override_dh_gencontrol:
++ debian/bin/update-substvars
++ dh_gencontrol
--- /dev/null
--- /dev/null
++3.0 (quilt)
--- /dev/null
--- /dev/null
++tools/logos/solidrun.bmp
--- /dev/null
--- /dev/null
++# ARCH subarch platform target
++# --------------------------------------------
++armel - dockstar u-boot.kwb
++
++# Ian Campbell <ijc@debian.org>
++armel - dreamplug u-boot.kwb
++
++# drEagle <drEagle@doukki.net>
++armel - guruplug u-boot.kwb
++
++# Vagrant Cascadian <vagrant@debian.org>, rpi B 256M
++armel rpi rpi u-boot.bin
++
++# Romain Perier <romain.perier@gmail.com>, rpi zero w
++armel rpi rpi_0_w u-boot.bin
++
++# drEagle <drEagle@doukki.net>
++# Rick Thomas <rbthomas@rcthomas.org>
++armel - sheevaplug u-boot.kwb
++
++armhf exynos arndale u-boot.bin spl/arndale-spl.bin
++
++# Joost van Zwieten <joostvanzwieten@gmail.com>, Odroid-U3
++armhf exynos odroid u-boot.bin
++
++# Vagrant Cascadian <vagrant@debian.org>, Odroid-XU4
++armhf exynos odroid-xu3 u-boot.bin
++
++# Marek Vasut <marex@denx.de>
++armhf imx dh_imx6 u-boot-with-spl.imx
++
++# Robert Nelson <robertcnelson@gmail.com>
++armhf imx mx53loco u-boot.imx
++
++# 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
++armhf imx mx6cuboxi u-boot.img SPL
++
++# Martyn Welch <martyn.welch@collabora.com>
++armhf imx mx6qsabrelite u-boot-dtb.imx
++
++# Hector Oron <zumbi@debian.org>
++armhf imx nitrogen6q u-boot-dtb.imx
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf imx novena u-boot.img SPL
++armhf imx novena-rawsd SPL
++
++# Michael Fladischer <michael@fladi.at>
++armhf imx udoo u-boot.img SPL
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf imx usbarmory u-boot.imx
++
++# Vagrant Cascadian <vagrant@debian.org>
++# Robert Nelson <robertcnelson@gmail.com>
++armhf imx wandboard u-boot.img SPL
++
++# Vagrant Cascadian <vagrant@debian.org>
++# Andrew M.A. Cater <amacater@galactic.demon.co.uk>
++armhf omap am335x_boneblack u-boot.img MLO
++armhf omap am335x_evm u-boot.img MLO
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf omap am57xx_evm u-boot.img MLO
++
++armhf omap dra7xx_evm u-boot.img MLO
++
++# Robert Nelson <robertcnelson@gmail.com>
++armhf omap igep00x0 u-boot.img MLO
++
++armhf omap nokia_rx51 u-boot.bin
++
++# Robert Nelson <robertcnelson@gmail.com>
++armhf omap omap3_beagle u-boot.img MLO
++
++# Robert Nelson <robertcnelson@gmail.com>
++armhf omap omap4_panda u-boot.img MLO
++
++# Vagrant Cascadian <vagrant@debian.org>, 2GB and 4GB variants
++armhf rockchip firefly-rk3288 u-boot.bin u-boot.img spl/u-boot-spl.bin idbloader.img
++
++# Vagrant Cascadian <vagrant@debian.org>, Raspberry PI 2B
++armhf rpi rpi_2 u-boot.bin
++
++# Ryan Finnie <ryan@finnie.org>
++armhf rpi rpi_3_32b u-boot.bin
++
++# Lucas Nussbaum <lucas@debian.org>
++# Andreas Henriksson <andreas@fatal.se>
++armhf rpi rpi_4_32b u-boot.bin
++
++# Christian Kastner <debian@kvr.at>
++armhf sunxi A10-OLinuXino-Lime u-boot-sunxi-with-spl.bin
++
++# Benedikt Wildenhain <esperanto@benedikt-wildenhain.de>
++armhf sunxi A10s-OLinuXino-M u-boot-sunxi-with-spl.bin
++
++# Karsten Merker <merker@debian.org>
++armhf sunxi A20-Olimex-SOM-EVB u-boot-sunxi-with-spl.bin
++
++# Christian Kastner <debian@kvr.at>
++armhf sunxi A20-OLinuXino-Lime u-boot-sunxi-with-spl.bin
++
++# Karsten Merker <merker@debian.org>
++armhf sunxi A20-OLinuXino-Lime2 u-boot-sunxi-with-spl.bin
++
++# Andreas B. Mundt <andi@debian.org>
++armhf sunxi A20-OLinuXino-Lime2-eMMC u-boot-sunxi-with-spl.bin
++
++# Arne Ploese <aploese@gmx.de>
++armhf sunxi A20-OLinuXino_MICRO u-boot-sunxi-with-spl.bin
++
++# Ian Campbell <ijc@debian.org>
++# Vagrant Cascadian <vagrant@debian.org>
++armhf sunxi Bananapi u-boot-sunxi-with-spl.bin
++
++# Karsten Merker <merker@debian.org>
++armhf sunxi Bananapro u-boot-sunxi-with-spl.bin
++
++# Lucas Nussbaum <lucas@debian.org>
++armhf sunxi bananapi_m2_berry u-boot-sunxi-with-spl.bin
++
++# Bernhard Wörner <bewoern1@gmail.com>
++armhf sunxi Bananapi_M2_Ultra u-boot-sunxi-with-spl.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf sunxi CHIP u-boot-sunxi-with-spl.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf sunxi Cubieboard u-boot-sunxi-with-spl.bin
++
++# Ian Campbell <ijc@debian.org>
++# Karsten Merker <merker@debian.org>
++armhf sunxi Cubieboard2 u-boot-sunxi-with-spl.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf sunxi Cubieboard4 u-boot-sunxi-with-spl.bin
++
++# Ian Campbell <ijc@debian.org>
++# Robert Nelson <robertcnelson@gmail.com>
++# Karsten Merker <merker@debian.org>
++armhf sunxi Cubietruck u-boot-sunxi-with-spl.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf sunxi Cubietruck_plus u-boot-sunxi-with-spl.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++armhf sunxi Lamobo_R1 u-boot-sunxi-with-spl.bin
++
++# Robert Hegner <rhegner@hsr.ch>
++armhf sunxi Linksprite_pcDuino u-boot-sunxi-with-spl.bin
++
++# Patrice Go <patgsiosisr@gmail.com>
++armhf sunxi Linksprite_pcDuino3 u-boot-sunxi-with-spl.bin
++
++# Jochen Sprickerhof <debian@jochen.sprickerhof.de>
++armhf sunxi Mini-X u-boot-sunxi-with-spl.bin
++
++# Paul Tagliamonte <paultag@debian.org>
++armhf sunxi nanopi_neo u-boot-sunxi-with-spl.bin
++
++# Philip Hands <phil@hands.com>
++armhf sunxi nanopi_neo_air u-boot-sunxi-with-spl.bin
++
++# Vagrant Cascadian <vagrant@debian.org>, Orange PI Plus2
++armhf sunxi orangepi_plus u-boot-sunxi-with-spl.bin
++
++# Mateusz Łukasik <mati75@linuxmint.pl>, Orange PI Zero
++armhf sunxi orangepi_zero u-boot-sunxi-with-spl.bin
++
++# Bernhard <bewoern1@gmail.com>
++armhf sunxi Sinovoip_BPI_M3 u-boot-sunxi-with-spl.bin
++
++# Ian Campbell <ijc@debian.org>
++armhf tegra jetson-tk1 u-boot-tegra.bin
++
++# Neil Armstrong <narmstrong@baylibre.com>
++arm64 amlogic khadas-vim u-boot.bin
++arm64 amlogic khadas-vim2 u-boot.bin
++
++# Frederic Danis <frederic.danis@collabora.com>
++arm64 amlogic libretech-cc u-boot.bin
++
++# Neil Armstrong <narmstrong@baylibre.com>
++arm64 amlogic nanopi-k2 u-boot.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 amlogic odroid-c2 u-boot.bin
++
++# Reco <bugs@enotuniq.net>
++arm64 amlogic odroid-n2 u-boot.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 mvebu mvebu_espressobin-88f3720 u-boot.bin arch/arm/dts/armada-3720-espressobin.dtb
++
++# Riku Voipio <riku.voipio@linaro.org>
++arm64 qcom dragonboard410c u-boot.bin
++arm64 qcom dragonboard820c u-boot.bin
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 rockchip firefly-rk3399 /usr/lib/arm-trusted-firmware/rk3399/bl31.elf u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-firefly.dtb u-boot.itb idbloader.img
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 rockchip pinebook-pro-rk3399 /usr/lib/arm-trusted-firmware/rk3399/bl31.elf u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-pinebook-pro.dtb u-boot.itb idbloader.img
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 rockchip rockpro64-rk3399 /usr/lib/arm-trusted-firmware/rk3399/bl31.elf u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-rockpro64.dtb u-boot.itb idbloader.img
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 rockchip rock64-rk3328 /usr/lib/arm-trusted-firmware/rk3328/bl31.elf u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin tpl/u-boot-tpl.bin arch/arm/dts/rk3328-rock64.dtb u-boot.itb idbloader.img
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 rockchip puma-rk3399 /usr/lib/arm-trusted-firmware/rk3399/bl31.elf u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-puma-haikou.dtb u-boot.itb idbloader.img
++
++# Walter Lozano <walter.lozano@collabora.com>
++arm64 rockchip rock-pi-4-rk3399 /usr/lib/arm-trusted-firmware/rk3399/bl31.elf u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-rock-pi-4a.dtb arch/arm/dts/rk3399-rock-pi-4b.dtb u-boot.itb idbloader.img
++
++# Ryan Finnie <ryan@finnie.org>
++arm64 rpi rpi_3 u-boot.bin
++
++# Lucas Nussbaum <lucas@debian.org>
++# Andreas Henriksson <andreas@fatal.se>
++arm64 rpi rpi_4 u-boot.bin
++
++# Denis Pynkin <denis.pynkin@collabora.com>
++arm64 rpi rpi_arm64 u-boot.bin
++
++# Rodrigo Exterckötter Tjäder <rodrigo@tjader.xyz>
++arm64 sunxi a64-olinuxino /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-olinuxino.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Philip Rinn <rinni@inventati.org>
++arm64 sunxi a64-olinuxino-emmc /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-olinuxino-emmc.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Domenico Andreoli <cavok@debian.org>
++arm64 sunxi nanopi_neo2 /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-h5-nanopi-neo2.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Steev Klimaszewski <steev@kali.org>
++arm64 sunxi nanopi_neo_plus2 /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Frederic Danis <frederic.danis@collabora.com>
++arm64 sunxi orangepi_zero_plus2 /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dtb u-boot-sunxi-with-spl.fit.itb
++
++# harry88@gmx.ph
++arm64 sunxi orangepi_one_plus /usr/lib/arm-trusted-firmware/sun50i_h6/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-h6-orangepi-one-plus.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 sunxi pine64_plus /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pine64-plus.dtb arch/arm/dts/sun50i-a64-pine64.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Sunil Mohan Adapa <sunil@medhas.org>
++arm64 sunxi pine64-lts /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pine64-lts.dtb arch/arm/dts/sun50i-a64-pine64.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 sunxi pinebook /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pinebook.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Benoit Delcour <benoit.delcour@gmail.com> (1.2)
++# Arnaud Ferraris <arnaud.ferraris@collabora.com> (1.1, 1.2)
++arm64 sunxi pinephone /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pinephone-1.1.dtb arch/arm/dts/sun50i-a64-pinephone-1.2.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Arnaud Ferraris <arnaud.ferraris@collabora.com>
++arm64 sunxi pinetab /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pinetab.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Jonas Smedegaard <dr@jones.dk>
++arm64 sunxi teres_i /usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-teres-i.dtb u-boot-sunxi-with-spl.fit.itb
++
++# Vagrant Cascadian <vagrant@debian.org>
++arm64 tegra p2371-2180 u-boot.bin
++
++avr32 - hammerhead u-boot.img
++
++# Hector Oron <zumbi@debian.org>
++riscv64 sifive sifive_fu540 u-boot.bin
++
++sh4 - r2dplus u-boot.bin
++
++all:amd64 qemu qemu-x86_64 u-boot.bin u-boot.rom
++all:armhf qemu qemu_arm u-boot.bin
++all:arm64 qemu qemu_arm64 u-boot.bin
++all:i386 qemu qemu-x86 u-boot.bin u-boot.rom
++all:powerpc qemu qemu-ppce500 u-boot.bin
++all:riscv64 qemu qemu-riscv64 u-boot.bin
++all:riscv64 qemu qemu-riscv64_smode u-boot.bin
--- /dev/null
--- /dev/null
++doc/board/amlogic/khadas-vim.rst
++doc/board/amlogic/khadas-vim2.rst
++doc/board/amlogic/libretech-cc.rst
++doc/board/amlogic/nanopi-k2.rst
++doc/board/amlogic/odroid-c2.rst
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets amlogic
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-amlogic binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-amlogic binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-amlogic binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-amlogic: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++doc/README.odroid
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets exynos
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-exynos binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-exynos binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-exynos binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-exynos: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++== Installation ==
++
++At this point, you must install U-Boot to flash yourself.
++
++MX53LOCO:
++
++ dd conv=fsync,notrunc bs=1024 if=u-boot.imx of=/dev/sdX seek=1
++
++wandboard (quad, dual-lite and solo):
++
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/wandboard/SPL of=/dev/mmcblk0 bs=1k seek=1
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/wandboard/u-boot.img of=/dev/mmcblk0 bs=1k seek=69
++
++mx6cuboxi (Cubox-i and Hummingboard):
++
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/mx6cuboxi/SPL of=/dev/mmcblk0 bs=1k seek=1
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/mx6cuboxi/u-boot.img of=/dev/mmcblk0 bs=1k seek=69
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets imx
--- /dev/null
--- /dev/null
++/usr/lib/u-boot/novena/u-boot.img /usr/lib/u-boot/novena-rawsd/u-boot.img
++/usr/lib/u-boot/novena/uboot.elf /usr/lib/u-boot/novena-rawsd/uboot.elf
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-imx binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-imx binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-imx binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-imx: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++doc/README.marvell
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets mvebu
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-mvebu binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-mvebu binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-mvebu binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-mvebu: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++== Installation ==
++
++At this point, you must install U-Boot to flash yourself.
++
++The BeagleBone Black (am335x_boneblack) can be flashed to microSD or eMMC
++directly:
++
++ dd conv=fsync,notrunc seek=256 if=/usr/lib/u-boot/am335x_evm/MLO of=/dev/mmcblkX
++ dd conv=fsync,notrunc seek=768 if=/usr/lib/u-boot/am335x_evm/u-boot.img of=/dev/mmcblkX
++
++The am335x_evm supports multiple targets (BeagleBone, BeagleBone
++Black, BeagleBone Green, PocketBeagle) and can be installed to the
++same offsets, but the first partition should start at 4MB (sector
++8192) rather than the typical 1MB (sector 2048), as it is large enough
++to overlap with the start of the partition.
++
++On OpenPandora:
++
++ modprobe nand_omap2 mtdblock
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/omap3_pandora/u-boot.bin of=/dev/mtdblock1
++ -- Vagrant Cascadian <vagrant@debian.org>, Thu, 16 May 2019 20:57:30 -0700
--- /dev/null
--- /dev/null
++doc/README.nokia_rx51
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets omap
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-omap binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-omap binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-omap binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-omap: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++=== DragonBoard 410c ===
++
++You can use fastboot (from the android-tools-fastboot package) to
++boot U-Boot or flash U-Boot on your DragonBoard 410c. Connect your
++PC via a USB cable to the micro-USB port on the DragonBoard. Hold
++the volume down (-) button (S4) and turn on the device to go into
++fastboot mode.
++
++You have two options: you can load U-Boot without flashing it (for
++example to test U-Boot) or you can flash it to the device.
++
++In order to load U-Boot without flashing it, run this command:
++
++ fastboot boot /usr/lib/u-boot/dragonboard410c/u-boot.img
++
++In order to flash U-Boot to the boot partition, run:
++
++ fastboot flash boot /usr/lib/u-boot/dragonboard410c/u-boot.img
++
++You have to reset your device after "fastboot flash boot" to start
++U-Boot.
++
++When U-Boot starts, it will try to boot from attached devices in
++the following order:
++
++* USB
++* External SD card
++* Internal SD card (eMMC)
++
++At the moment, there's no graphics support, so you will only see the
++U-Boot output if you have the optional serial console adapter.
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets qcom
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-qcom binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-qcom binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-qcom binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-qcom: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++
++Booting a qemu/kvm guest with u-boot
++====================================
++
++To boot a qemu guest with u-boot, start qemu-system with the '-bios
++u-boot.bin' option. Use the full path to the u-boot.bin file that corresponds
++with the archicture you are trying to boot.
++
++
++Booting from disk
++-----------------
++
++To allow a qemu guest to boot from disk, you need a u-boot config file on the
++disk. There is no need to install u-boot in the guest, as you are passing
++u-boot directly to qemu. The u-boot config file can be automatically created
++by installing the u-boot-menu package. Alternatively, the flash-kernel package
++can also create u-boot config files, but it currently doesn't recognise qemu
++guests.
++
++
++Netboot
++-------
++
++u-boot supports the e1000 network driver to boot from the network. Please note
++that u-boot will initially output "Net: No ethernet found.", before
++continuing with the netboot.
++
++
++Device tree
++-----------
++
++On architectures where a device tree file is needed to boot, qemu will
++generate the device tree based on the virtual hardware that is configured.
++u-boot should be able to find this data at the default address where u-boot
++looks for this data (${fdt_addr}, so you should use that address in your
++u-boot script.
++
++
++Examples
++========
++
++TODO
++
++
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets qemu
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-qemu binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-qemu binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-qemu binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-qemu: description-synopsis-starts-with-article
++
++
++# These are binary firmware blobs
++u-boot-qemu binary: arch-independent-package-contains-binary-or-object usr/lib/u-boot/*/uboot.elf
--- /dev/null
--- /dev/null
++u-boot (2017.07+dfsg1-2) unstable; urgency=medium
++
++ The firefly-rk3288 target now requires using the instructions for
++ BACK_TO_BROM.
++
++ -- Vagrant Cascadian <vagrant@debian.org> Thu, 27 Jul 2017 23:34:43 -0400
--- /dev/null
--- /dev/null
++== Installation ==
++
++On most rockchip platforms, u-boot can be installed to microSD:
++
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/BOARD/idbloader.img of=/dev/DEVICE seek=64
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/BOARD/u-boot.img of=/dev/DEVICE seek=16384
++
++Where device is the raw device name of the microSD card or USB to
++microSD adapter.
++
++In order to get it to boot from microSD, it may require overwriting
++the vendor-supplied u-boot that ships with the board.
++
++See README.rockchip for more information.
--- /dev/null
--- /dev/null
++doc/README.rockchip
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets rockchip
++cp arch/arm/mach-rockchip/make_fit_atf.py debian/build/rockchip_make_fit_atf
++sed -i -e 's,/usr/bin/env python.*,/usr/bin/python3,g' debian/build/rockchip_make_fit_atf
++echo debian/build/rockchip_make_fit_atf /usr/bin/
++echo debian/bin/u-boot-install-rockchip /usr/bin/
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-rockchip binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-rockchip binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-rockchip binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-rockchip: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++== Installation ==
++
++The raspberry pi targets can be installed by copying u-boot.bin to the
++FAT partition of the raspberry pi boot firmware:
++
++ mkdir -p /boot/fat
++ mount /dev/mmcblk0p1 /boot/fat
++ cp -vb /usr/lib/u-boot/TARGET/u-boot.bin /boot/fat/
++
++Then specify the u-boot.bin as the kernel to load in config.txt on the
++FAT partition:
++
++ kernel u-boot.bin
++
++It should then support booting off of MMC and USB devices with serial
++console or HDMI with USB keyboard.
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets rpi
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-rpi binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-rpi binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-rpi binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-rpi: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++doc/board/sifive/fu540.rst
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets sifive
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-sifive binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-sifive binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-sifive binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-sifive: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++== Installation ==
++
++At this point, you must install U-Boot to flash yourself.
++
++Many sunxi boards (Bananapi, Cubieboard) can be written to SD directly:
++
++ dd conv=fsync,notrunc if=/usr/lib/u-boot/BOARD/u-boot-sunxi-with-spl.bin of=/dev/mmcblkX bs=1024 seek=8
++
++Pine64 plus can be installed using the u-boot-install-sunxi utility.
--- /dev/null
--- /dev/null
++board/sunxi/README.sunxi64
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets sunxi
++
++echo debian/bin/u-boot-install-sunxi /usr/bin/
--- /dev/null
--- /dev/null
++usr/bin/u-boot-install-sunxi usr/bin/u-boot-install-sunxi64
++usr/share/man/man8/u-boot-install-sunxi.8.gz usr/share/man/man8/u-boot-install-sunxi64.8.gz
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-sunxi binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-sunxi binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-sunxi binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-sunxi: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++debian/manpages/u-boot-install-sunxi.8
--- /dev/null
--- /dev/null
++== Installation ==
++
++At this point, you must install U-Boot to flash yourself from a host
++system using the Linux_For_Tegra tools from NVIDIA's developer portal:
++https://developer.nvidia.com/embedded/linux-tegra-archive
++
++=== Jetson TK1 ===
++
++sudo ./flash.sh -L /usr/lib/u-boot/jetson-tk1/u-boot-dtb-tegra.bin jetson-tk1 mmcblk1p1
++
++Please note that L4T R19.3 is currently required (the image does not
++boot if flashed with L4T R21.1 through R21.4).
++
++=== Jetson TX1 ===
++
++sudo ./flash.sh -L /usr/lib/u-boot/p2371-2180/u-boot-dtb.bin jetson-tx1 mmcblk0p1
++
++=== TODO ===
++
++TODO: Figure out how to do this with tools within Debian,
++e.g. tegrarcm and cbootimage.
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets tegra
--- /dev/null
--- /dev/null
++usr/lib/u-boot/p2371-2180/uboot.elf usr/lib/u-boot/p2371-2180/u-boot
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot-tegra binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot-tegra binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot-tegra binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot-tegra: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++debian/build/tools/config
--- /dev/null
--- /dev/null
++# example env configs
++debian/env-configs/*.config
++tools/env/fw_env.config
--- /dev/null
--- /dev/null
++debian/build/tools/tools/dumpimage usr/bin
++debian/build/tools/tools/kwboot usr/bin
++debian/build/tools/tools/mkenvimage usr/bin
++debian/build/tools/tools/mkimage usr/bin
++debian/build/tools/tools/mksunxiboot usr/bin
--- /dev/null
--- /dev/null
++doc/kwboot.1
++doc/mkimage.1
--- /dev/null
--- /dev/null
++== Installation ==
++
++At this point, you must install U-Boot to flash yourself.
++
++Some examples using mtd-utils:
++
++SheevaPlug:
++
++ sudo flash_erase /dev/mtd0 0 0
++ sudo nandwrite -p /dev/mtd0 /usr/lib/u-boot/sheevaplug/u-boot.kwb
++
++GuruPlug:
++
++ sudo flash_erase /dev/mtd0 0 0
++ sudo nandwrite -p /dev/mtd0 /usr/lib/u-boot/guruplug/u-boot.kwb
++
++DreamPlug:
++
++ At this point you cannot write to the SPI/NOR flash from Linux,
++ so you will need to replace U-Boot from within U-Boot.
--- /dev/null
--- /dev/null
++#!/bin/sh
++debian/bin/u-boot-install-targets -
--- /dev/null
--- /dev/null
++
++# There are no file conflicts across architectures for u-boot, as each
++# target is only installed on a single architecture. In theory, some
++# targets could be built on multiple architectures, but could instead install
++# the package for the architecture needed.
++u-boot binary: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/*/uboot.elf
++
++# These bootloaders need to be statically linked.
++u-boot binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
++
++# These are bootloader binaries, and have no external dependency information
++u-boot binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
++
++u-boot: description-synopsis-starts-with-article
++
--- /dev/null
--- /dev/null
++-----BEGIN PGP PUBLIC KEY BLOCK-----
++
++mQINBFa6LR0BEADFtvXxGZs3oNvPUIqoYJ8/eEgbdZeCBuogNKRRlagfvWTQFUep
++QUg2KGT3wri0XfBIILpYKjIdGpnqcIwlVsf9i/A1aoINEAibg0wVYYL6H9WkTJto
++q1iP4uMTX1eD9Fj7i/u900MfXUikdVrmKVgejdOuVWgSif35uuwvW/TMWd91kDAZ
++YuUlf4bD01fDtoxF1OIwhvadbpxMAxHD7087sdYAs/4K4dfbMNW8gabtay2lRY8J
++aRWbNFrUFpte/vnQ/fUISOx/40IGpwv+CjegUW0acDnVMhm/upRkKn+eUXilFIYq
++E8N4LCrRmx8R3GoI33Dc6YZ+Bmj4UdauqU7WWgsvcA96Bp9gHnjr/kcrEd0qe03Q
++tNOD1POChcbMUDukZVWeLX0APVVk9grEEk+x3GbT1udIC1IWlcO394M/ntH4lIph
++A+TqU+k+ICoDxnaoay/XGBar8syN2hdgimaaKQ1vADmihaE1c2Nhfvq3vo/cHar2
++Z4i8+0WVsdvWwTvn/AHO8QNVC/KYHRE06J0CQJAdBrfDwDxapILGhrpQPTmZlWJH
++w7ttoyHswQH/1xzKeS7jmF4OfHcG4GiBEpYXMe2XE8erhREJKr2txsdU9Ui9LJ2S
++azxCrn5s2R0riFyLfw9WVK7dioeixXGuzDz1Ke4rMhD2tMQ4JQHY0LqVswARAQAB
++tCBUaG9tYXMgUmluaSA8dHJpbmlAa29uc3Vsa28uY29tPokCPgQTAQIAKAIbAwYL
++CQgHAwIGFQgCCQoLBBYCAwECHgECF4AFAlqBs6IFCQeJ7YUACgkQh/n2NdMddlLf
++Jg//VDBD03tgd4t1tnhViXf4jiipMnLm/onkmpnVxIOYMdZ9zsXWj3MjR5wgjXp3
++DIJsSVVITPHDQYNXgfXwB6WpaTa8Sg07ZhY9YEDnjnaxHb9Lf1x9bav4hW+aNw5f
++4OOSbVv3GB5+0/+UjrgfkN5Ne0623yQIb5kQ9rWibXJeTENVYrmyaabuRQ9QpKNj
++Z3/RSudim45DEEp46qG1Jk+ewntrDftgRn1IbUSDjZGmPqCLrBgPsVVmy/uSlIyH
++IW3TBR6is4RU3H0zS1/NI4a/vB5/Z538V99xlZtYNhmYAs13Me9TuSh8mMZVwWIy
++GA2Wnb+POzAg7SW2kZrYzhSlRvkkdta12JtkgBkrQebCFmg9rRSvw3iM/1JJKqyd
++mJ/YkjxRt69Z5RYgPKLtKO2hSM3QRTXz6g8Ean66GWkZEsYjjybgavwDRhlcKniL
++EaqrUhTyKRdyFjB/zb+/0CJMah6PIjRYZNcirKSrwt9HtSFRTVQ3LPG0gEtya1r1
++Q/Yy/P/xpXIgGv/+qpraMY4oy4dTjhXmYUYbZJy9xULFI7WP1evi4657pMzxZL7V
++qjKx5cpLvY5HlJ5eKqUPWpSuWoUHdWWHCAf//neAP/3TJqTwgzZLHUlMEbJGjJMX
++hGc7MSWNHUAMIGqns4hBzoSCfHdCSzda0U14UYj2p4UJDPeZAY0EXkQhQQEMALsK
++4nHNuoF3goR1gGIhV5tAa7qM2QG7s9sMcmkmOZDs3413zLDKJA6COxDXUsv8l7kw
++BjoFYhDg1J0HLtFzMdJEkTO06LjpneljczHWZLt4x2faevJ1roxWuq/ktOmR2Kzg
++iQnxRLRkiG2GICs1FD+JXqL+EziyaED8UVTVoDSNAzx6nj/KRNBf/V3iNfLmJ92+
++aq5aByCVopNBjVCQlXrGG4rRlFomXK377rjwDQ51ln78GNj4vGUd7gLYKn5sHP4Q
++ESgyiSwrgsV/VwMdjEXgMhqW2yQpNuWkwBI12ol0vcZAWs9uK97rZU6bbTnF6hi1
++8UlJFXBhfToYO77l6/+FV6FIBbinruB/z62ogAdI6s3jLUkp8/A/ksL6mr2EnmWB
++kJHKDBd5Vjxu+xu/upYj6kM+MzJbb7dDXO2MnORteEfaHn1RVxivY84MrrrcNUn8
++ywqu8umgc5ZmpaanF3bdiN5pbZUH1qLr1pqJt/fw31546a9miRxMW8YR9xJCpwAR
++AQABtCBUaG9tYXMgUmluaSA8dHJpbmlAa29uc3Vsa28uY29tPokB1AQTAQoAPhYh
++BBo8f3Dgj6sXB4CbvxR8Of+WNLcsBQJeRCFBAhsDBQkDwmcABQsJCAcCBhUKCQgL
++AgQWAgMBAh4BAheAAAoJEBR8Of+WNLcsrRsMALNb1ncgOK5/VC8XalJPun51poZF
++nJoYZNifUdmq/kiYHf8TMuFMFASrDowW5tntRONE1BHNfaJqlhduKyqzNn0QX6Gf
++QmLwwgHVEnC1+9tzsf6bYpww7222UlqLobzZr4M0sKTSmDFFejs+TcREjZTTRrFs
++WGoSura1gvLOsDce26hT00P6ck7fQiEfJiT84N9v2rN3GBpsFhlRx11NNOWIHdlk
++L5pgNvlJ5eAj3qQ3F4+opdIddKeuyoiidn7GLJ+bh7RGAZa573sWBGy5De+zpTne
++ie96B9+NjV4sbHEfqcGdKVZdfBsa+7wzFe9EIa//zFwqsF/hxJUVlG+30xor9YUz
++a5tz43ZZFzGMFHWe33Fp+2RragI3AVjbeRIfnYdcjNBLAjWAiHZmYYPz7A1sCzCu
++gn+Ol1WjAblbFOJ67qKYjx0+FEsc9EODO5oa1ws9mxXtxxKnsUO5Y7aszbzm6/xC
++RUI3QdOE4iuns6doq0LZx5uOOP520aVYXhqETLkBjQReRCFBAQwA37LpOxPvGiBh
++QJaA3B/Kj524UN0YTFDSveyoKrSo7NPEFzBiRTDYWdhLgBSitemPRdQxoTjzhJ2z
++P8igW/v0D+RKeDq6Jbc4h7WRJla5Va83ZeUviTg1PVAgXmIQShtVFXceLsqYfz+L
++sBDNZlsQeZrze4DkOBRx1kYcvO/KStPgI9P0GkNAyOIjdY7Wd01UFCJEmYCQRq7Q
++ZUwq3SUaA4hz1Wqy36eTW5uVCSq38z62kZaRuYkYBVdt1ik/V8yTYQa7k6F451PD
++/nfoexrSkMB6+tHOC5m48yRH1SUZnLl+3X+JxRdHP6YCD8wdMIcc1QW2XtrsEP4M
++HBI2GCeZuh8NC/6QZtRrVmAnY4YLW5mRmGQlXTa/RK7oJ9QhC9uYWTAp+c8Wsb1H
++Np3ohO0rjE9YQ4cRmpSoJJ0U6b2AxN6eTG4A/phNp6kt2gsFCu6WJo6nPUl3EKmb
++V+5rlRQkWDKu0cKjVfyjBVhl0NYrf4RW6sXVzIq7Lv7jnzHIjxC3ABEBAAGJAbwE
++GAEKACYWIQQaPH9w4I+rFweAm78UfDn/ljS3LAUCXkQhQQIbDAUJA8JnAAAKCRAU
++fDn/ljS3LBs+C/9lQ23fw8RuNKHfglzvNo2U8F/gFZOqZWhHbE6x7aPs3jiVOl//
++Ipqs2Rw0+Se5O71vtu7UXC+gizGMS7G+69p2q9AEBhOSpa4mLABx4HR8J5+c3HPT
++LPj83dEutdqLNWPwyhx8uFOjda5DWcoRFbrretSbAUeDUe0CJsTuPuZDmXgid07l
++Kq/5CkZZkTPc+ib6n2hkKcVjMJ35Oa7zeuuA/1sgAIrj6JFSOBH5eno9OC/tpYYH
++utIsykpIwSs4SZ81iBIwrK4FJa1mCrcGFl25XDnXzVpwiRTVlKQy0gmEqTNQKKGW
++AjsOU6uH9hUzpN6krjgLsro8mtBkXNgcCsbGaowEvPnyaZYXGhJyMNpA7hc/jbOS
++0vFMdFb1VzdMCREM0Z3YddiebhaCF8dW+TNYcye8W152XR73cm4cYaHLSc/Rcuhf
++luWtkn8QB14bwjVuYJnSVXxVF3ReqHgx8QKgjt4dmTx3TtJqRrupksMpoEgQmGlo
++he5TLyi8HUmIpNc=
++=mIYF
++-----END PGP PUBLIC KEY BLOCK-----
--- /dev/null
--- /dev/null
++version=4
++
++opts=dversionmangle=auto,\
++ pgpmode=auto,\
++ repacksuffix=+dfsg,\
++ uversionmangle=s/-rc/~rc/ \
++https://ftp.denx.de/pub/@PACKAGE@/ \
++@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@