Import u-boot_2019.01+dfsg-7.debian.tar.xz
authorVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
[dgit import tarball u-boot 2019.01+dfsg-7 u-boot_2019.01+dfsg-7.debian.tar.xz]

94 files changed:
bin/generate-qcom [new file with mode: 0755]
bin/generate-rksd [new file with mode: 0755]
bin/u-boot-install-sunxi64 [new file with mode: 0755]
bin/u-boot-install-targets [new file with mode: 0755]
bin/update-lintian-overrides [new file with mode: 0755]
bin/update-substvars [new file with mode: 0755]
changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
env-configs/efikamx.config [new file with mode: 0644]
env-configs/guruplug.config [new file with mode: 0644]
env-configs/kurobox_pro.config [new file with mode: 0644]
env-configs/linkstation-mini.config [new file with mode: 0644]
env-configs/linkstation_pro_live.config [new file with mode: 0644]
env-configs/lsmipsel.config [new file with mode: 0644]
env-configs/lsppchg.config [new file with mode: 0644]
env-configs/mx6cuboxi.config [new file with mode: 0644]
env-configs/openmoko_gta01.config [new file with mode: 0644]
env-configs/openmoko_gta02.config [new file with mode: 0644]
env-configs/openrd.config [new file with mode: 0644]
env-configs/qnap_ts101.config [new file with mode: 0644]
env-configs/qnap_ts109-209.config [new file with mode: 0644]
env-configs/qnap_ts119-219.config [new file with mode: 0644]
env-configs/sheevaplug.config [new file with mode: 0644]
env-configs/udoo_quad.config [new file with mode: 0644]
env-configs/wandboard.config [new file with mode: 0644]
manpages/fw_printenv.8 [new file with mode: 0644]
manpages/fw_setenv.8 [new file with mode: 0644]
manpages/u-boot-install-sunxi64.8 [new file with mode: 0644]
patches/Makefile-add-kwb-target-to-all.patch [new file with mode: 0644]
patches/add-debian-revision-to-u-boot-version [new file with mode: 0644]
patches/am57xx/omap5_distro_bootcmd [new file with mode: 0644]
patches/arndale/board-spl-rule.diff [new file with mode: 0644]
patches/dreamplug/ARM-kirkwood-add-spi0-alias-for-dreamplug.patch [new file with mode: 0644]
patches/dreamplug/Commit-ARM-CPU-arm926ejs-Consolidate-cache-routines-.patch [new file with mode: 0644]
patches/ensure-config-sandbox-for-make-env.patch [new file with mode: 0644]
patches/exynos/0001-arm-config-fix-default-console-only-to-specify-the-d.patch [new file with mode: 0644]
patches/exynos/0002-Fix-spelling-of-download.patch [new file with mode: 0644]
patches/mx53loco [new file with mode: 0644]
patches/n900-bootz-raw-initrd.diff [new file with mode: 0644]
patches/no-force-CROSS_COMPILE-powerpc.diff [new file with mode: 0644]
patches/pocketbeagle/0001-ti-Add-device-tree-for-am335x-pocketbeagle.patch [new file with mode: 0644]
patches/pocketbeagle/0002-ti-Add-am335x-pocketbeagle-to-am335x_evm_defconfig.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
patches/sh4-fix-linker-name-prefix.patch [new file with mode: 0644]
patches/sunxi/sun50i_i2c_init.patch [new file with mode: 0644]
patches/sunxi/teres-i.patch [new file with mode: 0644]
patches/test-imagetools-test-fixes [new file with mode: 0644]
patches/tools-generic-builds.patch [new file with mode: 0644]
patches/upstream/0001-Fix-typo-missmatched-mismatched.patch [new file with mode: 0644]
patches/upstream/Fix-ext4-block-group-descriptor-sizing.patch [new file with mode: 0644]
patches/upstream/fs-ext4-Unmount-FS-in-do_fs_type.patch [new file with mode: 0644]
patches/upstream/lib-uuid-Fix-unseeded-PRNG-on-RANDOM_UUID-y.patch [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
source/include-binaries [new file with mode: 0644]
targets [new file with mode: 0644]
u-boot-amlogic.install [new file with mode: 0755]
u-boot-amlogic.lintian-overrides [new file with mode: 0644]
u-boot-exynos.install [new file with mode: 0755]
u-boot-exynos.lintian-overrides [new file with mode: 0644]
u-boot-imx.README.Debian [new file with mode: 0644]
u-boot-imx.install [new file with mode: 0755]
u-boot-imx.links [new file with mode: 0644]
u-boot-imx.lintian-overrides [new file with mode: 0644]
u-boot-mvebu.install [new file with mode: 0755]
u-boot-mvebu.lintian-overrides [new file with mode: 0644]
u-boot-omap.README.Debian [new file with mode: 0644]
u-boot-omap.install [new file with mode: 0755]
u-boot-omap.lintian-overrides [new file with mode: 0644]
u-boot-qcom.README.Debian [new file with mode: 0644]
u-boot-qcom.install [new file with mode: 0755]
u-boot-qcom.lintian-overrides [new file with mode: 0644]
u-boot-rockchip.NEWS [new file with mode: 0644]
u-boot-rockchip.README.Debian [new file with mode: 0644]
u-boot-rockchip.install [new file with mode: 0755]
u-boot-rockchip.lintian-overrides [new file with mode: 0644]
u-boot-rpi.README.Debian [new file with mode: 0644]
u-boot-rpi.install [new file with mode: 0755]
u-boot-rpi.lintian-overrides [new file with mode: 0644]
u-boot-sunxi.README.Debian [new file with mode: 0644]
u-boot-sunxi.install [new file with mode: 0755]
u-boot-sunxi.lintian-overrides [new file with mode: 0644]
u-boot-tegra.README.Debian [new file with mode: 0644]
u-boot-tegra.install [new file with mode: 0755]
u-boot-tegra.links [new file with mode: 0755]
u-boot-tegra.lintian-overrides [new file with mode: 0644]
u-boot-tools.install [new file with mode: 0755]
u-boot-tools.links [new file with mode: 0644]
u-boot.README.Debian [new file with mode: 0644]
u-boot.install [new file with mode: 0755]
u-boot.lintian-overrides [new file with mode: 0644]
upstream/signing-key.asc [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/bin/generate-qcom b/bin/generate-qcom
new file mode 100755 (executable)
index 0000000..a4b2731
--- /dev/null
@@ -0,0 +1,32 @@
+#!/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}"
+
diff --git a/bin/generate-rksd b/bin/generate-rksd
new file mode 100755 (executable)
index 0000000..b8dd207
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+set -x
+set -e
+builddir="$1"
+platform="$2"
+subarch="$3"
+platform_cpu=$(grep CONFIG_ROCKCHIP_RK configs/${platform}_defconfig)
+case $platform_cpu in
+    *3399=y) platform_cpu_type=rk3399 ;;
+    *3288=y) platform_cpu_type=rk3288 ;;
+esac
+
+${builddir}/tools/mkimage -T rksd -n ${platform_cpu_type} \
+    -d ${builddir}/spl/u-boot-spl.bin \
+    ${builddir}/u-boot-spl.rksd
+echo ${builddir}/u-boot-spl.rksd /usr/lib/u-boot/${platform}/ \
+    >> debian/build/targets.${subarch}
+
+if grep ^CONFIG_SPL_ROCKCHIP_BACK_TO_BROM=y configs/${platform}_defconfig ; then
+   cat ${builddir}/u-boot-spl.rksd ${builddir}/u-boot.bin > ${builddir}/u-boot.rksd
+   echo ${builddir}/u-boot.rksd /usr/lib/u-boot/${platform}/ \
+       >> debian/build/targets.${subarch}
+fi
diff --git a/bin/u-boot-install-sunxi64 b/bin/u-boot-install-sunxi64
new file mode 100755 (executable)
index 0000000..fca9fc4
--- /dev/null
@@ -0,0 +1,87 @@
+#!/bin/sh
+set -e
+
+dtmodel="/sys/firmware/devicetree/base/model"
+if [ -z "$TARGET" ] && [ -f "${dtmodel}" ]; then
+       case $(cat "${dtmodel}") in
+               Pinebook) TARGET="/usr/lib/u-boot/pinebook" ;;
+               Pine64+) TARGET="/usr/lib/u-boot/pine64_plus" ;;
+               "Pine64 LTS") TARGET="/usr/lib/u-boot/pine64-lts" ;;
+               "Olimex A64-Olinuxino") TARGET="/usr/lib/u-boot/a64-olinuxino/" ;;
+               "Olimex A64 Teres-I") TARGET="/usr/lib/u-boot/teres_i/" ;;
+               "OrangePi Zero Plus2") TARGET="/usr/lib/u-boot/orangepi_zero_plus2/" ;;
+               "FriendlyARM NanoPi NEO 2") TARGET="/usr/lib/u-boot/nanopi_neo2/" ;;
+       esac
+fi
+
+atf="/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin"
+if [ -z "$BL31" ] && [ -f "${atf}" ]; then
+       BL31="${atf}"
+fi
+
+TARGET=${TARGET:-"/usr/lib/u-boot/pine64_plus"}
+BL31=${BL31:-"/usr/lib/atf/sun50iw1p1/bl31.bin"}
+FIT_GENERATOR=${FIT_GENERATOR:-"mksunxi_fit_atf"}
+
+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")"
+DIR="$(mktemp -d)"
+trap 'rm -rf "$DIR"' 0
+# Build tools get confused by paths, thus let's copy all the pieces into
+# one dir.
+
+if [ ! -w "$DEV" ] && [ -z "$FORCE" ]; then
+    echo >&2 "$0: device/image ($DEV) not accessible via abs path?!?"
+    exit 1
+fi
+
+cd "$DIR"
+if [ -z "$FORCE" ]; then
+    # A very simple sanity check.  GPT mandates a "protective MBR" so this works
+    # even with GPT partitioning.
+    printf '%b' '\0125\0252' >mbr-sign
+    if ! cmp -s -i 0:510 -n 2 mbr-sign "$DEV"; then
+       echo >&2 "$0: device/image ($DEV) has no MBR partition table"
+       exit 1
+    fi
+
+    # But, on sunxi64, spl will trample upon GPT.
+    printf "EFI PART" >gpt-sign
+    if cmp -s -i 0:512 -n 8 gpt-sign "$DEV"; then
+       echo >&2 "$0: device/image ($DEV) uses GPT partition table, unusable on sunxi64"
+       exit 1
+    fi
+fi
+
+cp -p $TARGET/*.dtb $TARGET/*.bin .
+BL31=$BL31 \
+    $FIT_GENERATOR *.dtb > u-boot.its
+mkimage -f u-boot.its u-boot.itb
+echo "Writing sunxi-spl"
+dd conv=notrunc if=sunxi-spl.bin of="$DEV" bs=8k seek=1
+echo "Writing u-boot FIT image"
+dd conv=notrunc if=u-boot.itb of="$DEV" bs=8k seek=5
+sync "$DEV"
diff --git a/bin/u-boot-install-targets b/bin/u-boot-install-targets
new file mode 100755 (executable)
index 0000000..d5e996e
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+target=$1
+docs="$2"
+subarch_install_file="debian/build/targets.${target}"
+if [ -f "${subarch_install_file}" ]; then
+    cat "${subarch_install_file}"
+fi
+for doc in ${docs} ; do
+    echo ${doc} /usr/share/doc/u-boot-${target}/
+done
diff --git a/bin/update-lintian-overrides b/bin/update-lintian-overrides
new file mode 100755 (executable)
index 0000000..c6788e9
--- /dev/null
@@ -0,0 +1,47 @@
+#!/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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf"
+    done | LC_ALL=C sort -u >> ${overrides}
+
+    cat >>${overrides}<<EOF
+
+${package}: description-synopsis-starts-with-article
+
+EOF
+done
diff --git a/bin/update-substvars b/bin/update-substvars
new file mode 100755 (executable)
index 0000000..d50a839
--- /dev/null
@@ -0,0 +1,12 @@
+#!/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
+done
diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..72c72b4
--- /dev/null
+++ b/changelog
@@ -0,0 +1,1873 @@
+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
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..0369d02
--- /dev/null
+++ b/control
@@ -0,0 +1,207 @@
+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:
+ bc,
+ bison,
+ debhelper-compat (= 11),
+ device-tree-compiler,
+ dpkg-dev (>= 1.17.14),
+ flex,
+ libfdt-dev:native [arm64],
+ libc6:arm64 [arm64] <cross>,
+ libc6:armhf [armhf] <cross>,
+ libc6:armel [armel] <cross>,
+ libpython-dev:native [armhf arm64],
+ python:any [armhf arm64],
+ skales:native [arm64],
+ swig [armhf arm64],
+ lzop [armhf] <!cross> | lzop:native [armhf] <cross>,
+Standards-Version: 4.3.0
+Homepage: http://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]
+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-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
+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
+Depends: ${misc:Depends}
+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-tools
+Architecture: linux-any
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: device-tree-compiler
+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 the mkimage program, which allows generation of U-Boot
+ images in various formats, and the fw_printenv and fw_setenv programs to read
+ and modify U-Boot's environment.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..fb52d96
--- /dev/null
+++ b/copyright
@@ -0,0 +1,409 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Das U-Boot
+Source: ftp://ftp.denx.de/pub/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/configs/T1040QDS.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
+
+Files: include/pcmcia/yenta.h
+Copyright: 1999 David A. Hinds. All Rights Reserved
+License: MPL-GPL
+
+License: MPL-GPL
+ * The contents of this file are subject to the Mozilla Public License
+ * Version 1.1 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License
+ * at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and
+ * limitations under the License.
+ *
+ * The initial developer of the original code is David A. Hinds
+ * <dahinds@users.sourceforge.net>.  Portions created by David A. Hinds
+ * are Copyright (C) 1999 David A. Hinds.  All Rights Reserved.
+ *
+ * Alternatively, the contents of this file may be used under the
+ * terms of the GNU General Public License version 2 (the "GPL"), in
+ * which case the provisions of the GPL are applicable instead of the
+ * above.  If you wish to allow the use of your version of this file
+ * only under the terms of the GPL and not to allow others to use
+ * your version of this file under the MPL, indicate your decision by
+ * deleting the provisions above and replace them with the notice and
+ * other provisions required by the GPL.  If you do not delete the
+ * provisions above, a recipient may use your version of this file
+ * under either the MPL or the 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'.
diff --git a/env-configs/efikamx.config b/env-configs/efikamx.config
new file mode 100644 (file)
index 0000000..1aedc96
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/guruplug.config b/env-configs/guruplug.config
new file mode 100644 (file)
index 0000000..1432d29
--- /dev/null
@@ -0,0 +1,7 @@
+# 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
diff --git a/env-configs/kurobox_pro.config b/env-configs/kurobox_pro.config
new file mode 100644 (file)
index 0000000..83b6c6a
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/linkstation-mini.config b/env-configs/linkstation-mini.config
new file mode 100644 (file)
index 0000000..92ce9de
--- /dev/null
@@ -0,0 +1,7 @@
+# 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
diff --git a/env-configs/linkstation_pro_live.config b/env-configs/linkstation_pro_live.config
new file mode 100644 (file)
index 0000000..83b6c6a
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/lsmipsel.config b/env-configs/lsmipsel.config
new file mode 100644 (file)
index 0000000..abd8bcb
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/lsppchg.config b/env-configs/lsppchg.config
new file mode 100644 (file)
index 0000000..4ccc576
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/mx6cuboxi.config b/env-configs/mx6cuboxi.config
new file mode 100644 (file)
index 0000000..a4bd774
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/openmoko_gta01.config b/env-configs/openmoko_gta01.config
new file mode 100644 (file)
index 0000000..7fd45e3
--- /dev/null
@@ -0,0 +1,7 @@
+# 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
diff --git a/env-configs/openmoko_gta02.config b/env-configs/openmoko_gta02.config
new file mode 100644 (file)
index 0000000..1faa2f1
--- /dev/null
@@ -0,0 +1,7 @@
+# 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
diff --git a/env-configs/openrd.config b/env-configs/openrd.config
new file mode 100644 (file)
index 0000000..e4f0d64
--- /dev/null
@@ -0,0 +1,13 @@
+# 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
diff --git a/env-configs/qnap_ts101.config b/env-configs/qnap_ts101.config
new file mode 100644 (file)
index 0000000..181c54b
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/qnap_ts109-209.config b/env-configs/qnap_ts109-209.config
new file mode 100644 (file)
index 0000000..4024e08
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/qnap_ts119-219.config b/env-configs/qnap_ts119-219.config
new file mode 100644 (file)
index 0000000..98505a9
--- /dev/null
@@ -0,0 +1,11 @@
+# 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
diff --git a/env-configs/sheevaplug.config b/env-configs/sheevaplug.config
new file mode 100644 (file)
index 0000000..b9faa7f
--- /dev/null
@@ -0,0 +1,13 @@
+# 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
diff --git a/env-configs/udoo_quad.config b/env-configs/udoo_quad.config
new file mode 100644 (file)
index 0000000..9ffdf9f
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/env-configs/wandboard.config b/env-configs/wandboard.config
new file mode 100644 (file)
index 0000000..1d5a977
--- /dev/null
@@ -0,0 +1,9 @@
+# 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
diff --git a/manpages/fw_printenv.8 b/manpages/fw_printenv.8
new file mode 100644 (file)
index 0000000..a288852
--- /dev/null
@@ -0,0 +1,31 @@
+.\" Copyright © 2008 Per Andersson <avtobiff@gmail.com>
+.\" This man page is covered by the GNU General Public License (GPLv2 or higher).
+.TH fw_printenv 8 "August 2008" "Debian Project" ""
+
+.SH NAME
+fw_printenv \- Tool for printing environment for the bootloader U-Boot
+
+.SH SYNOPSIS
+fw_printenv [ \fB\-n\fP \fIname\fP ] [ \fIname\fP \fI...\fP ]
+
+.SH DESCRIPTION
+\fIfw_printenv\fP is a simple tool for printing the environment for the
+bootloader U-Boot. All environment variables matching the names given as
+arguments are shown. If \fIfw_printenv\fP is called without any arguments the
+entire environment is printed.
+
+.SH OPTIONS
+.IP \fB\-n\fP
+If the \fBn\fP flag is set \fIfw_printenv\fP only prints the value of the supplied variable \fIname\fP.
+
+.SH FILES
+.IP \fB/etc/fw_env.config\fP
+Configuration file for fw_printenv.
+
+.SH SEE ALSO
+fw_setenv(8)
+
+.SH AUTHOR
+Wolfgang Denk <wd@denx.de>
+.PP
+This manual page was written by Per Andersson <avtobiff@gmail.com>
diff --git a/manpages/fw_setenv.8 b/manpages/fw_setenv.8
new file mode 100644 (file)
index 0000000..5a5114a
--- /dev/null
@@ -0,0 +1,27 @@
+.\" Copyright © 2008 Per Andersson <avtobiff@gmail.com>
+.\" This man page is covered by the GNU General Public License (GPLv2 or higher).
+.TH fw_setenv 8 "August 2008" "Debian Project" ""
+
+.SH NAME
+fw_setenv \- Tool for modifying the environment for the bootloader U\-Boot
+
+.SH SYNOPSIS
+fw_setenv \fIname\fP [ \fIvalue\fP ]
+
+.SH DESCRIPTION
+\fIfw_setenv\fP is a simple tool for modifying either the environment for the
+bootloader U-Boot. If the variable already is set in the environment it is
+updated, otherwise it is created and set. If only one argument is given,
+variable name, the corresponding variable is deleted.
+
+.SH FILES
+.IP \fB/etc/fw_env.config\fP
+Configuration file for fw_setenv.
+
+.SH SEE ALSO
+fw_printenv(8)
+
+.SH AUTHOR
+Wolfgang Denk <wd@denx.de>
+.PP
+This manual page was written by Per Andersson <avtobiff@gmail.com>
diff --git a/manpages/u-boot-install-sunxi64.8 b/manpages/u-boot-install-sunxi64.8
new file mode 100644 (file)
index 0000000..49464a5
--- /dev/null
@@ -0,0 +1,34 @@
+.TH u-boot-install-sunxi64 8 2018-03-17 u-boot
+.SH NAME
+u-boot-install-sunxi64 \- install u-boot+ATF for sunxi64 (Allwinner) devices
+.SH SYNOPSIS
+.B u-boot-install-sunxi64
+.RI [ -f ]
+.I card-device-or-image-file
+.SH DESCRIPTION
+This tool prepares a combined u-boot+ATF setup and writes it to the disk (or
+possibly a disk image), allowing the machine to boot.  The u-bootage 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!).
+.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 sunxi64 devices (spl is written at
+offset 16384 while GPT occupies bytes [512..33280) ) but this option lets
+you trample upon them anyway.
+.SH CAVEATS
+It has been so far tested only on Pine64+.  If appropriate DTBs are provided,
+it \fImay\fR work on Pinebook, SoPine, other A64 devices, or possibly even H5.
+Reports are welcome!
diff --git a/patches/Makefile-add-kwb-target-to-all.patch b/patches/Makefile-add-kwb-target-to-all.patch
new file mode 100644 (file)
index 0000000..01c2f40
--- /dev/null
@@ -0,0 +1,14 @@
+Add u-boot.kwb to "make all" target on Kirkwood.
+
+Index: u-boot/Makefile
+===================================================================
+--- u-boot.orig/Makefile
++++ u-boot/Makefile
+@@ -799,6 +799,7 @@ ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.im
+ endif
+ endif
+ ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin
++ALL-$(CONFIG_KIRKWOOD) += u-boot.kwb
+ ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb
+ ifeq ($(CONFIG_SPL_FRAMEWORK),y)
+ ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb.img
diff --git a/patches/add-debian-revision-to-u-boot-version b/patches/add-debian-revision-to-u-boot-version
new file mode 100644 (file)
index 0000000..8e6bccd
--- /dev/null
@@ -0,0 +1,16 @@
+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.
+
+Index: u-boot/Makefile
+===================================================================
+--- u-boot.orig/Makefile
++++ u-boot/Makefile
+@@ -350,7 +350,7 @@ KBUILD_AFLAGS   := -D__ASSEMBLY__
+ # 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
diff --git a/patches/am57xx/omap5_distro_bootcmd b/patches/am57xx/omap5_distro_bootcmd
new file mode 100644 (file)
index 0000000..10a9e2c
--- /dev/null
@@ -0,0 +1,36 @@
+Enable distro_bootcmd support (doc/README.distro) for omap5 targets.
+
+Index: u-boot/include/configs/ti_omap5_common.h
+===================================================================
+--- u-boot.orig/include/configs/ti_omap5_common.h
++++ u-boot/include/configs/ti_omap5_common.h
+@@ -58,6 +58,21 @@
+ #include <environment/ti/boot.h>
+ #include <environment/ti/mmc.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 \
+@@ -66,6 +81,7 @@
+       DEFAULT_FDT_TI_ARGS \
+       DFUARGS \
+       NETARGS \
++      BOOTENV \
+ /*
+  * SPL related defines.  The Public RAM memory map the ROM defines the
diff --git a/patches/arndale/board-spl-rule.diff b/patches/arndale/board-spl-rule.diff
new file mode 100644 (file)
index 0000000..66e9ae6
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Add spl/arndale-spl.bin rule
+Author: Ian Campbell <ijc@debian.org>
+
+Index: u-boot/Makefile
+===================================================================
+--- u-boot.orig/Makefile
++++ u-boot/Makefile
+@@ -1406,6 +1406,9 @@ spl/u-boot-spl.sfp: spl/u-boot-spl
+ 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
diff --git a/patches/dreamplug/ARM-kirkwood-add-spi0-alias-for-dreamplug.patch b/patches/dreamplug/ARM-kirkwood-add-spi0-alias-for-dreamplug.patch
new file mode 100644 (file)
index 0000000..b95229b
--- /dev/null
@@ -0,0 +1,34 @@
+From 10caadd1a26a508d330c4f9c6f8eb966f42dbd22 Mon Sep 17 00:00:00 2001
+From: Chris Packham <judge.packham@gmail.com>
+Date: Thu, 28 Feb 2019 20:53:23 +1300
+Subject: [PATCH] ARM: kirkwood: add spi0 alias for dreamplug
+
+The conversion to DM_SPI managed to break accessing the environment on
+dreamplug. This is because the environment code relies on being to able
+to select the SPI device based on the sequence number. Add an alias so
+that the spi0 bus gets sequence number 0.
+
+Reported-by: Leigh Brown <leigh@solinno.co.uk>
+Signed-off-by: Chris Packham <judge.packham@gmail.com>
+---
+ arch/arm/dts/kirkwood-dreamplug.dts | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/arch/arm/dts/kirkwood-dreamplug.dts b/arch/arm/dts/kirkwood-dreamplug.dts
+index a647a65c20..ccd74dd7fb 100644
+--- a/arch/arm/dts/kirkwood-dreamplug.dts
++++ b/arch/arm/dts/kirkwood-dreamplug.dts
+@@ -18,6 +18,10 @@
+               stdout-path = &uart0;
+       };
++      aliases {
++              spi0 = &spi0;
++      };
++
+       ocp@f1000000 {
+               pinctrl: pin-controller@10000 {
+                       pmx_led_bluetooth: pmx-led-bluetooth {
+-- 
+2.20.1
+
diff --git a/patches/dreamplug/Commit-ARM-CPU-arm926ejs-Consolidate-cache-routines-.patch b/patches/dreamplug/Commit-ARM-CPU-arm926ejs-Consolidate-cache-routines-.patch
new file mode 100644 (file)
index 0000000..da08c38
--- /dev/null
@@ -0,0 +1,66 @@
+From 655659a4d8505402e08510e827608fc19f58ac19 Mon Sep 17 00:00:00 2001
+From: Leigh Brown <leigh@solinno.co.uk>
+Date: Wed, 27 Feb 2019 11:32:16 +0000
+Subject: [PATCH] Commit "ARM: CPU: arm926ejs: Consolidate cache routines to
+ common file" breaks u-boot on Dreamplug
+
+Hello,
+
+Vagrant Cascadian asked for people to test the version of u-boot packaged
+for Debian Buster.  I tested u-boot on my Dreamplug and found it was not
+working correctly.  I raised a bug for Debian[1] but I have also tested
+with the mainline version of u-boot and found the same issues.
+
+The first issue is that the following commit caused u-boot to no longer
+be able to access usb storage on the Dreamplug:
+
+commit 93b283d49f933f95f3a6f40762936f454ac655a8
+Author: Adam Ford <aford173@gmail.com>
+Date:   Thu Aug 16 13:23:11 2018 -0500
+
+    ARM: CPU: arm926ejs: Consolidate cache routines to common file
+
+    Four different boards had different options for enabling cache
+    that were virtually all the same.  This consolidates these
+    common functions into arch/arm/cpu/arm926ejs/cache.c
+
+    This also has the positive side-effect of enabling cache on
+    the Davinci (da850) boards.
+
+    Signed-off-by: Adam Ford <aford173@gmail.com>
+    [trini: Add mach-at91 to the list of consolidations]
+    Signed-off-by: Tom Rini <trini@konsulko.com>
+
+I don't have much knowledge of ARM caching, but the following patch makes
+it work again on my Dreamplug.
+---
+ arch/arm/mach-kirkwood/cpu.c | 1 -
+ include/configs/dreamplug.h  | 2 ++
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c
+index d54de53f31..8a065d73ae 100644
+--- a/arch/arm/mach-kirkwood/cpu.c
++++ b/arch/arm/mach-kirkwood/cpu.c
+@@ -291,7 +291,6 @@ int arch_misc_init(void)
+       temp |= (1 << 22);
+       writefr_extra_feature_reg(temp);
+-      icache_enable();
+       /* Change reset vector to address 0x0 */
+       temp = get_cr();
+       set_cr(temp & ~CR_V);
+diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
+index f4d717213c..6348935c68 100644
+--- a/include/configs/dreamplug.h
++++ b/include/configs/dreamplug.h
+@@ -79,4 +79,6 @@
+ #define CONFIG_SYS_ATA_IDE0_OFFSET    MV_SATA_PORT0_OFFSET
+ #endif /*CONFIG_MVSATA_IDE*/
++#define CONFIG_SYS_DCACHE_OFF
++
+ #endif /* _CONFIG_DREAMPLUG_H */
+-- 
+2.20.1
+
diff --git a/patches/ensure-config-sandbox-for-make-env.patch b/patches/ensure-config-sandbox-for-make-env.patch
new file mode 100644 (file)
index 0000000..f611ce9
--- /dev/null
@@ -0,0 +1,18 @@
+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...
+
+Index: u-boot/include/configs/sandbox.h
+===================================================================
+--- u-boot.orig/include/configs/sandbox.h
++++ u-boot/include/configs/sandbox.h
+@@ -74,6 +74,9 @@
+       func(HOST, host, 1) \
+       func(HOST, host, 0)
++#ifndef CONFIG_SANDBOX
++#define CONFIG_SANDBOX 1
++#endif
+ #include <config_distro_bootcmd.h>
+ #define CONFIG_KEEP_SERVERADDR
diff --git a/patches/exynos/0001-arm-config-fix-default-console-only-to-specify-the-d.patch b/patches/exynos/0001-arm-config-fix-default-console-only-to-specify-the-d.patch
new file mode 100644 (file)
index 0000000..db2dcda
--- /dev/null
@@ -0,0 +1,209 @@
+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(-)
+
+diff --git a/board/samsung/common/bootscripts/autoboot.cmd b/board/samsung/common/bootscripts/autoboot.cmd
+index 11c724c4e09..e0c691e6656 100644
+--- a/board/samsung/common/bootscripts/autoboot.cmd
++++ b/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 "
+diff --git a/board/samsung/common/bootscripts/bootzimg.cmd b/board/samsung/common/bootscripts/bootzimg.cmd
+index 2fb4c163a73..ea4bec47646 100644
+--- a/board/samsung/common/bootscripts/bootzimg.cmd
++++ b/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;
+diff --git a/board/samsung/common/dfu_sample_env.txt b/board/samsung/common/dfu_sample_env.txt
+index d6ee8a228a8..cbd788ec670 100644
+--- a/board/samsung/common/dfu_sample_env.txt
++++ b/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
+diff --git a/include/configs/odroid.h b/include/configs/odroid.h
+index c3520bb15f4..ad77242e380 100644
+--- a/include/configs/odroid.h
++++ b/include/configs/odroid.h
+@@ -40,7 +40,7 @@
+ /* Console configuration */
+ #define CONFIG_BOOTCOMMAND            "run distro_bootcmd ; run autoboot"
+-#define CONFIG_DEFAULT_CONSOLE                "console=ttySAC1,115200n8\0"
++#define CONFIG_DEFAULT_CONSOLE                "ttySAC1,115200n8"
+ #define CONFIG_SYS_INIT_SP_ADDR       (CONFIG_SYS_LOAD_ADDR \
+                                       - GENERATED_GBL_DATA_SIZE)
+@@ -157,7 +157,7 @@
+               "elif test -e mmc 0 uImage; then; " \
+                       "run boot_uimg;" \
+               "fi;\0" \
+-      "console=" CONFIG_DEFAULT_CONSOLE \
++      "console=" CONFIG_DEFAULT_CONSOLE "\0" \
+       "mmcbootdev=0\0" \
+       "mmcbootpart=1\0" \
+       "mmcrootdev=0\0" \
+diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
+index 0337c264752..b44f58ed150 100644
+--- a/include/configs/odroid_xu3.h
++++ b/include/configs/odroid_xu3.h
+@@ -30,7 +30,7 @@
+ #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_LOAD_ADDR - 0x1000000)
+-#define CONFIG_DEFAULT_CONSOLE                "console=ttySAC2,115200n8\0"
++#define CONFIG_DEFAULT_CONSOLE                "ttySAC2,115200n8"
+ /* USB */
+ #define CONFIG_USB_EHCI_EXYNOS
+@@ -100,7 +100,7 @@
+       MEM_LAYOUT_ENV_SETTINGS \
+       BOOTENV \
+       "rootfstype=ext4\0" \
+-      "console=" CONFIG_DEFAULT_CONSOLE \
++      "console=" CONFIG_DEFAULT_CONSOLE "\0"\
+       "fdtfile=exynos5422-odroidxu3.dtb\0" \
+       "boardname=odroidxu3\0" \
+       "mmcbootdev=0\0" \
+diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
+index ff634d91dd4..87ddc20a528 100644
+--- a/include/configs/s5p_goni.h
++++ b/include/configs/s5p_goni.h
+@@ -87,7 +87,7 @@
+ #define CONFIG_BOOTCOMMAND    "run mmcboot"
+-#define CONFIG_DEFAULT_CONSOLE        "console=ttySAC2,115200n8\0"
++#define CONFIG_DEFAULT_CONSOLE        "ttySAC2,115200n8"
+ #define CONFIG_RAMDISK_BOOT   "root=/dev/ram0 rw rootfstype=ext4" \
+               " ${console} ${meminfo}"
+@@ -134,7 +134,7 @@
+       "bootchart=set opts init=/sbin/bootchartd; run bootcmd\0" \
+       "verify=n\0" \
+       "rootfstype=ext4\0" \
+-      "console=" CONFIG_DEFAULT_CONSOLE \
++      "console=" CONFIG_DEFAULT_CONSOLE "\0"\
+       "meminfo=mem=80M mem=256M@0x40000000 mem=128M@0x50000000\0" \
+       "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x30007FC0 uImage\0" \
+       "mmcdev=0\0" \
+diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h
+index 832032da185..999bdd1676f 100644
+--- a/include/configs/s5pc210_universal.h
++++ b/include/configs/s5pc210_universal.h
+@@ -27,7 +27,7 @@
+ /* Console configuration */
+ #define CONFIG_BOOTCOMMAND            "run mmcboot"
+-#define CONFIG_DEFAULT_CONSOLE                "console=ttySAC1,115200n8\0"
++#define CONFIG_DEFAULT_CONSOLE                "ttySAC1,115200n8"
+ #define CONFIG_SYS_INIT_SP_ADDR       (CONFIG_SYS_LOAD_ADDR \
+                                       - GENERATED_GBL_DATA_SIZE)
+@@ -108,7 +108,7 @@
+       "mmcoops=mmc read 0 0x40000000 0x40 8; md 0x40000000 0x400\0" \
+       "verify=n\0" \
+       "rootfstype=ext4\0" \
+-      "console=" CONFIG_DEFAULT_CONSOLE \
++      "console=" CONFIG_DEFAULT_CONSOLE "\0" \
+       "mtdparts=" CONFIG_MTDPARTS_DEFAULT \
+       "mbrparts=" MBRPARTS_DEFAULT \
+       "meminfo=crashkernel=32M@0x50000000\0" \
+diff --git a/include/configs/trats.h b/include/configs/trats.h
+index af8e8ce3b6c..223fce49a71 100644
+--- a/include/configs/trats.h
++++ b/include/configs/trats.h
+@@ -36,7 +36,7 @@
+ #define CONFIG_MACH_TYPE              MACH_TYPE_TRATS
+ #define CONFIG_BOOTCOMMAND            "run autoboot"
+-#define CONFIG_DEFAULT_CONSOLE                "console=ttySAC2,115200n8\0"
++#define CONFIG_DEFAULT_CONSOLE                "ttySAC2,115200n8"
+ #define CONFIG_SYS_INIT_SP_ADDR       (CONFIG_SYS_LOAD_ADDR \
+                                       - GENERATED_GBL_DATA_SIZE)
+@@ -120,7 +120,7 @@
+       "mmcoops=mmc read 0 0x40000000 0x40 8; md 0x40000000 0x400\0" \
+       "verify=n\0" \
+       "rootfstype=ext4\0" \
+-      "console=" CONFIG_DEFAULT_CONSOLE \
++      "console=" CONFIG_DEFAULT_CONSOLE "\0" \
+       "meminfo=crashkernel=32M@0x50000000\0" \
+       "nfsroot=/nfsroot/arm\0" \
+       "bootblock=" CONFIG_BOOTBLOCK "\0" \
+diff --git a/include/configs/trats2.h b/include/configs/trats2.h
+index 9c6b2bbc8d6..f1e4cbad30d 100644
+--- a/include/configs/trats2.h
++++ b/include/configs/trats2.h
+@@ -34,7 +34,7 @@
+ /* Console configuration */
+ #define CONFIG_BOOTCOMMAND            "run autoboot"
+-#define CONFIG_DEFAULT_CONSOLE                "console=ttySAC2,115200n8\0"
++#define CONFIG_DEFAULT_CONSOLE                "ttySAC2,115200n8"
+ #define CONFIG_SYS_INIT_SP_ADDR       (CONFIG_SYS_LOAD_ADDR \
+                                       - GENERATED_GBL_DATA_SIZE)
+@@ -103,7 +103,7 @@
+       "boottrace=setenv opts initcall_debug; run bootcmd\0" \
+       "verify=n\0" \
+       "rootfstype=ext4\0" \
+-      "console=" CONFIG_DEFAULT_CONSOLE \
++      "console=" CONFIG_DEFAULT_CONSOLE "\0" \
+       "kernelname=uImage\0" \
+       "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x40007FC0 " \
+               "${kernelname}\0" \
+-- 
+2.19.1
+
diff --git a/patches/exynos/0002-Fix-spelling-of-download.patch b/patches/exynos/0002-Fix-spelling-of-download.patch
new file mode 100644 (file)
index 0000000..2a5b5b5
--- /dev/null
@@ -0,0 +1,27 @@
+From abccccf77af19599ce03317a13f70910087d817e Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagrant@debian.org>
+Date: Thu, 28 Feb 2019 19:53:43 -0800
+Subject: [PATCH] Fix spelling of download.
+
+Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
+---
+
+ cmd/thordown.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmd/thordown.c b/cmd/thordown.c
+index ce3660d174..19ae6721d1 100644
+--- a/cmd/thordown.c
++++ b/cmd/thordown.c
+@@ -65,7 +65,7 @@ done:
+ U_BOOT_CMD(thordown, CONFIG_SYS_MAXARGS, 1, do_thor_down,
+          "TIZEN \"THOR\" downloader",
+          "<USB_controller> <interface> <dev>\n"
+-         "  - device software upgrade via LTHOR TIZEN dowload\n"
++         "  - device software upgrade via LTHOR TIZEN download\n"
+          "    program via <USB_controller> on device <dev>,\n"
+          "    attached to interface <interface>\n"
+ );
+-- 
+2.11.0
+
diff --git a/patches/mx53loco b/patches/mx53loco
new file mode 100644 (file)
index 0000000..331bf24
--- /dev/null
@@ -0,0 +1,14 @@
+Enables support for ext4, the "load" command, and using bootz with raw initrds.
+
+Index: u-boot/configs/mx53loco_defconfig
+===================================================================
+--- u-boot.orig/configs/mx53loco_defconfig
++++ u-boot/configs/mx53loco_defconfig
+@@ -20,6 +20,7 @@ CONFIG_CMD_DHCP=y
+ 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_IS_IN_MMC=y
diff --git a/patches/n900-bootz-raw-initrd.diff b/patches/n900-bootz-raw-initrd.diff
new file mode 100644 (file)
index 0000000..171fa1a
--- /dev/null
@@ -0,0 +1,17 @@
+Enable booting of zImage/vmlinuz and initrd without requiring the use of
+mkimage to create uImage/uInitrd.
+
+Index: u-boot/include/configs/nokia_rx51.h
+===================================================================
+--- u-boot.orig/include/configs/nokia_rx51.h
++++ u-boot/include/configs/nokia_rx51.h
+@@ -160,6 +160,9 @@
+ #define PART6_OFFS                    0x004c0000
+ #define PART6_MASK                    0x00000000
++#define CONFIG_CMD_BOOTZ       /* boot zImage                  */
++#define CONFIG_SUPPORT_RAW_INITRD
++
+ #ifdef ONENAND_SUPPORT
+ #define CONFIG_SYS_ONENAND_BASE               ONENAND_MAP
diff --git a/patches/no-force-CROSS_COMPILE-powerpc.diff b/patches/no-force-CROSS_COMPILE-powerpc.diff
new file mode 100644 (file)
index 0000000..3e6935c
--- /dev/null
@@ -0,0 +1,18 @@
+Debian typically builds natively, so disable forced use of
+cross-compile.
+
+Index: u-boot/arch/powerpc/config.mk
+===================================================================
+--- u-boot.orig/arch/powerpc/config.mk
++++ u-boot/arch/powerpc/config.mk
+@@ -3,10 +3,6 @@
+ # (C) Copyright 2000-2010
+ # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+-ifeq ($(CROSS_COMPILE),)
+-CROSS_COMPILE := ppc_8xx-
+-endif
+-
+ CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
+ LDFLAGS_FINAL += --gc-sections
+ LDFLAGS_FINAL += --bss-plt
diff --git a/patches/pocketbeagle/0001-ti-Add-device-tree-for-am335x-pocketbeagle.patch b/patches/pocketbeagle/0001-ti-Add-device-tree-for-am335x-pocketbeagle.patch
new file mode 100644 (file)
index 0000000..43943d7
--- /dev/null
@@ -0,0 +1,401 @@
+From 59a1df084f4a47e98d31cdc483a514575d8ff676 Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagrant@debian.org>
+Date: Mon, 29 Apr 2019 16:12:29 -0700
+Subject: [PATCH 1/2] ti: Add device-tree for am335x-pocketbeagle.
+
+Add device-tree files from linux 5.1-rc7 needed to complete support
+for PocketBeagle.
+
+Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
+Reviewed-by: Tom Rini <trini@konsulko.com>
+---
+ arch/arm/dts/Makefile                   |   1 +
+ arch/arm/dts/am335x-osd335x-common.dtsi | 124 +++++++++++++
+ arch/arm/dts/am335x-pocketbeagle.dts    | 237 ++++++++++++++++++++++++
+ 3 files changed, 362 insertions(+)
+ create mode 100644 arch/arm/dts/am335x-osd335x-common.dtsi
+ create mode 100644 arch/arm/dts/am335x-pocketbeagle.dts
+
+Index: u-boot/arch/arm/dts/Makefile
+===================================================================
+--- u-boot.orig/arch/arm/dts/Makefile
++++ u-boot/arch/arm/dts/Makefile
+@@ -190,6 +190,7 @@ dtb-$(CONFIG_AM33XX) += am335x-boneblack
+       am335x-evmsk.dtb \
+       am335x-bonegreen.dtb \
+       am335x-icev2.dtb \
++      am335x-pocketbeagle.dtb \
+       am335x-pxm50.dtb \
+       am335x-rut.dtb \
+       am335x-pdu001.dtb \
+Index: u-boot/arch/arm/dts/am335x-osd335x-common.dtsi
+===================================================================
+--- /dev/null
++++ u-boot/arch/arm/dts/am335x-osd335x-common.dtsi
+@@ -0,0 +1,124 @@
++// SPDX-License-Identifier: GPL-2.0
++/*
++ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
++ *
++ * Author: Robert Nelson <robertcnelson@gmail.com>
++ */
++
++/ {
++      cpus {
++              cpu@0 {
++                      cpu0-supply = <&dcdc2_reg>;
++              };
++      };
++
++      memory@80000000 {
++              device_type = "memory";
++              reg = <0x80000000 0x20000000>; /* 512 MB */
++      };
++};
++
++&cpu0_opp_table {
++      /*
++      * Octavo Systems:
++      * The EFUSE_SMA register is not programmed for any of the AM335x wafers
++      * we get and we are not programming them during our production test.
++      * Therefore, from a DEVICE_ID revision point of view, the silicon looks
++      * like it is Revision 2.1.  However, from an EFUSE_SMA point of view for
++      * the HW OPP table, the silicon looks like it is Revision 1.0 (ie the
++      * EFUSE_SMA register reads as all zeros).
++      */
++      oppnitro-1000000000 {
++              opp-supported-hw = <0x06 0x0100>;
++      };
++};
++
++&am33xx_pinmux {
++      i2c0_pins: pinmux-i2c0-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0)       /* (C17) I2C0_SDA.I2C0_SDA */
++                      AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0)       /* (C16) I2C0_SCL.I2C0_SCL */
++              >;
++      };
++};
++
++&i2c0 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&i2c0_pins>;
++
++      status = "okay";
++      clock-frequency = <400000>;
++
++      tps: tps@24 {
++              reg = <0x24>;
++      };
++};
++
++/include/ "tps65217.dtsi"
++
++&tps {
++      interrupts = <7>; /* NMI */
++      interrupt-parent = <&intc>;
++
++      ti,pmic-shutdown-controller;
++
++      pwrbutton {
++              interrupts = <2>;
++              status = "okay";
++      };
++
++      regulators {
++              dcdc1_reg: regulator@0 {
++                      regulator-name = "vdds_dpr";
++                      regulator-always-on;
++              };
++
++              dcdc2_reg: regulator@1 {
++                      /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
++                      regulator-name = "vdd_mpu";
++                      regulator-min-microvolt = <925000>;
++                      regulator-max-microvolt = <1351500>;
++                      regulator-boot-on;
++                      regulator-always-on;
++              };
++
++              dcdc3_reg: regulator@2 {
++                      /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
++                      regulator-name = "vdd_core";
++                      regulator-min-microvolt = <925000>;
++                      regulator-max-microvolt = <1150000>;
++                      regulator-boot-on;
++                      regulator-always-on;
++              };
++
++              ldo1_reg: regulator@3 {
++                      regulator-name = "vio,vrtc,vdds";
++                      regulator-always-on;
++              };
++
++              ldo2_reg: regulator@4 {
++                      regulator-name = "vdd_3v3aux";
++                      regulator-always-on;
++              };
++
++              ldo3_reg: regulator@5 {
++                      regulator-name = "vdd_1v8";
++                      regulator-min-microvolt = <1800000>;
++                      regulator-max-microvolt = <1800000>;
++                      regulator-always-on;
++              };
++
++              ldo4_reg: regulator@6 {
++                      regulator-name = "vdd_3v3a";
++                      regulator-always-on;
++              };
++      };
++};
++
++&aes {
++      status = "okay";
++};
++
++&sham {
++      status = "okay";
++};
+Index: u-boot/arch/arm/dts/am335x-pocketbeagle.dts
+===================================================================
+--- /dev/null
++++ u-boot/arch/arm/dts/am335x-pocketbeagle.dts
+@@ -0,0 +1,237 @@
++// SPDX-License-Identifier: GPL-2.0
++/*
++ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
++ *
++ * Author: Robert Nelson <robertcnelson@gmail.com>
++ */
++/dts-v1/;
++
++#include "am33xx.dtsi"
++#include "am335x-osd335x-common.dtsi"
++
++/ {
++      model = "TI AM335x PocketBeagle";
++      compatible = "ti,am335x-pocketbeagle", "ti,am335x-bone", "ti,am33xx";
++
++      chosen {
++              stdout-path = &uart0;
++      };
++
++      leds {
++              pinctrl-names = "default";
++              pinctrl-0 = <&usr_leds_pins>;
++
++              compatible = "gpio-leds";
++
++              usr0 {
++                      label = "beaglebone:green:usr0";
++                      gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
++                      linux,default-trigger = "heartbeat";
++                      default-state = "off";
++              };
++
++              usr1 {
++                      label = "beaglebone:green:usr1";
++                      gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
++                      linux,default-trigger = "mmc0";
++                      default-state = "off";
++              };
++
++              usr2 {
++                      label = "beaglebone:green:usr2";
++                      gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
++                      linux,default-trigger = "cpu0";
++                      default-state = "off";
++              };
++
++              usr3 {
++                      label = "beaglebone:green:usr3";
++                      gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
++                      default-state = "off";
++              };
++      };
++
++      vmmcsd_fixed: fixedregulator0 {
++              compatible = "regulator-fixed";
++              regulator-name = "vmmcsd_fixed";
++              regulator-min-microvolt = <3300000>;
++              regulator-max-microvolt = <3300000>;
++      };
++};
++
++&am33xx_pinmux {
++      i2c2_pins: pinmux-i2c2-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE3)       /* (D17) uart1_rtsn.I2C2_SCL */
++                      AM33XX_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE3)       /* (D18) uart1_ctsn.I2C2_SDA */
++              >;
++      };
++
++      ehrpwm0_pins: pinmux-ehrpwm0-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* (A13) mcasp0_aclkx.ehrpwm0A */
++              >;
++      };
++
++      ehrpwm1_pins: pinmux-ehrpwm1-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE6)    /* (U14) gpmc_a2.ehrpwm1A */
++              >;
++      };
++
++      mmc0_pins: pinmux-mmc0-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7)              /* (C15) spi0_cs1.gpio0[6] */
++                      AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0)       /* (G16) mmc0_dat0.mmc0_dat0 */
++                      AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0)       /* (G15) mmc0_dat1.mmc0_dat1 */
++                      AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0)       /* (F18) mmc0_dat2.mmc0_dat2 */
++                      AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0)       /* (F17) mmc0_dat3.mmc0_dat3 */
++                      AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0)       /* (G18) mmc0_cmd.mmc0_cmd */
++                      AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0)       /* (G17) mmc0_clk.mmc0_clk */
++                      AM33XX_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4)              /* (B12) mcasp0_aclkr.mmc0_sdwp */
++              >;
++      };
++
++      spi0_pins: pinmux-spi0-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0)       /* (A17) spi0_sclk.spi0_sclk */
++                      AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0)       /* (B17) spi0_d0.spi0_d0 */
++                      AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0)       /* (B16) spi0_d1.spi0_d1 */
++                      AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0)       /* (A16) spi0_cs0.spi0_cs0 */
++              >;
++      };
++
++      spi1_pins: pinmux-spi1-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x964, PIN_INPUT_PULLUP | MUX_MODE4)       /* (C18) eCAP0_in_PWM0_out.spi1_sclk */
++                      AM33XX_IOPAD(0x968, PIN_INPUT_PULLUP | MUX_MODE4)       /* (E18) uart0_ctsn.spi1_d0 */
++                      AM33XX_IOPAD(0x96c, PIN_INPUT_PULLUP | MUX_MODE4)       /* (E17) uart0_rtsn.spi1_d1 */
++                      AM33XX_IOPAD(0x9b0, PIN_INPUT_PULLUP | MUX_MODE4)       /* (A15) xdma_event_intr0.spi1_cs1 */
++              >;
++      };
++
++      usr_leds_pins: pinmux-usr-leds-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x854, PIN_OUTPUT | MUX_MODE7)             /* (V15) gpmc_a5.gpio1[21] - USR_LED_0 */
++                      AM33XX_IOPAD(0x858, PIN_OUTPUT | MUX_MODE7)             /* (U15) gpmc_a6.gpio1[22] - USR_LED_1 */
++                      AM33XX_IOPAD(0x85c, PIN_OUTPUT | MUX_MODE7)             /* (T15) gpmc_a7.gpio1[23] - USR_LED_2 */
++                      AM33XX_IOPAD(0x860, PIN_OUTPUT | MUX_MODE7)             /* (V16) gpmc_a8.gpio1[24] - USR_LED_3 */
++              >;
++      };
++
++      uart0_pins: pinmux-uart0-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0)       /* (E15) uart0_rxd.uart0_rxd */
++                      AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* (E16) uart0_txd.uart0_txd */
++              >;
++      };
++
++      uart4_pins: pinmux-uart4-pins {
++              pinctrl-single,pins = <
++                      AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE6)       /* (T17) gpmc_wait0.uart4_rxd */
++                      AM33XX_IOPAD(0x874, PIN_OUTPUT_PULLDOWN | MUX_MODE6)    /* (U17) gpmc_wpn.uart4_txd */
++              >;
++      };
++};
++
++&epwmss0 {
++      status = "okay";
++};
++
++&ehrpwm0 {
++      status = "okay";
++      pinctrl-names = "default";
++      pinctrl-0 = <&ehrpwm0_pins>;
++};
++
++&epwmss1 {
++      status = "okay";
++};
++
++&ehrpwm1 {
++      status = "okay";
++      pinctrl-names = "default";
++      pinctrl-0 = <&ehrpwm1_pins>;
++};
++
++&i2c0 {
++      eeprom: eeprom@50 {
++              compatible = "atmel,24c256";
++              reg = <0x50>;
++      };
++};
++
++&i2c2 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&i2c2_pins>;
++
++      status = "okay";
++      clock-frequency = <400000>;
++};
++
++&mmc1 {
++      status = "okay";
++      vmmc-supply = <&vmmcsd_fixed>;
++      bus-width = <4>;
++      pinctrl-names = "default";
++      pinctrl-0 = <&mmc0_pins>;
++      cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
++};
++
++&rtc {
++      system-power-controller;
++};
++
++&tscadc {
++      status = "okay";
++      adc {
++              ti,adc-channels = <0 1 2 3 4 5 6 7>;
++              ti,chan-step-avg = <16 16 16 16 16 16 16 16>;
++              ti,chan-step-opendelay = <0x98 0x98 0x98 0x98 0x98 0x98 0x98 0x98>;
++              ti,chan-step-sampledelay = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
++      };
++};
++
++&uart0 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&uart0_pins>;
++
++      status = "okay";
++};
++
++&uart4 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&uart4_pins>;
++
++      status = "okay";
++};
++
++&usb {
++      status = "okay";
++};
++
++&usb_ctrl_mod {
++      status = "okay";
++};
++
++&usb0_phy {
++      status = "okay";
++};
++
++&usb0 {
++      status = "okay";
++      dr_mode = "otg";
++};
++
++&usb1_phy {
++      status = "okay";
++};
++
++&usb1 {
++      status = "okay";
++      dr_mode = "host";
++};
++
++&cppi41dma  {
++      status = "okay";
++};
diff --git a/patches/pocketbeagle/0002-ti-Add-am335x-pocketbeagle-to-am335x_evm_defconfig.patch b/patches/pocketbeagle/0002-ti-Add-am335x-pocketbeagle-to-am335x_evm_defconfig.patch
new file mode 100644 (file)
index 0000000..544bbe2
--- /dev/null
@@ -0,0 +1,26 @@
+From 88471ca344570cf3b31026174044bccb45689119 Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagrant@debian.org>
+Date: Mon, 29 Apr 2019 16:12:30 -0700
+Subject: [PATCH 2/2] ti: Add am335x-pocketbeagle to am335x_evm_defconfig.
+
+Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.
+
+Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
+Reviewed-by: Tom Rini <trini@konsulko.com>
+---
+ configs/am335x_evm_defconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: u-boot/configs/am335x_evm_defconfig
+===================================================================
+--- u-boot.orig/configs/am335x_evm_defconfig
++++ u-boot/configs/am335x_evm_defconfig
+@@ -24,7 +24,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0
+ # CONFIG_SPL_EFI_PARTITION is not set
+ CONFIG_OF_CONTROL=y
+ CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
+-CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
++CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
+ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
+ # CONFIG_BLK is not set
+ CONFIG_BOOTCOUNT_LIMIT=y
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..ad63b23
--- /dev/null
@@ -0,0 +1,36 @@
+add-debian-revision-to-u-boot-version
+no-force-CROSS_COMPILE-powerpc.diff
+tools-generic-builds.patch
+Makefile-add-kwb-target-to-all.patch
+
+mx53loco
+
+n900-bootz-raw-initrd.diff
+
+arndale/board-spl-rule.diff
+
+sh4-fix-linker-name-prefix.patch
+
+ensure-config-sandbox-for-make-env.patch
+
+am57xx/omap5_distro_bootcmd
+
+test-imagetools-test-fixes
+
+upstream/fs-ext4-Unmount-FS-in-do_fs_type.patch
+upstream/0001-Fix-typo-missmatched-mismatched.patch
+upstream/Fix-ext4-block-group-descriptor-sizing.patch
+upstream/lib-uuid-Fix-unseeded-PRNG-on-RANDOM_UUID-y.patch
+
+exynos/0001-arm-config-fix-default-console-only-to-specify-the-d.patch
+exynos/0002-Fix-spelling-of-download.patch
+
+# Patches to fix https://bugs.debian.org/923379
+dreamplug/ARM-kirkwood-add-spi0-alias-for-dreamplug.patch
+dreamplug/Commit-ARM-CPU-arm926ejs-Consolidate-cache-routines-.patch
+
+sunxi/sun50i_i2c_init.patch
+sunxi/teres-i.patch
+
+pocketbeagle/0001-ti-Add-device-tree-for-am335x-pocketbeagle.patch
+pocketbeagle/0002-ti-Add-am335x-pocketbeagle-to-am335x_evm_defconfig.patch
diff --git a/patches/sh4-fix-linker-name-prefix.patch b/patches/sh4-fix-linker-name-prefix.patch
new file mode 100644 (file)
index 0000000..f3ad016
--- /dev/null
@@ -0,0 +1,32 @@
+Description: sh4-fix-linker-name-prefix.patch
+ u-boot currently fails to build from source on sh4 since the
+ linker name prefix defined in arch/sh/config.mk is outdated.
+ On current Debian installations, the binaries of the GNU
+ toolchain are named using the triplett scheme
+ $arch-$kernel-$toolchain. Thus, on sh4, the proper name
+ is "sh4-linux-gnu-ld" instead of "sh4-linux-ld". This
+ patch updates build configuration on sh4 to reflect that.
+
+---
+
+Origin: Debian
+Bug: (none yet)
+Bug-Debian: https://bugs.debian.org/771747
+Bug-Ubuntu: (none)
+Forwarded: (not yet)
+Reviewed-By: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+Last-Update: 2014-12-10
+
+Index: u-boot/arch/sh/config.mk
+===================================================================
+--- u-boot.orig/arch/sh/config.mk
++++ u-boot/arch/sh/config.mk
+@@ -4,7 +4,7 @@
+ # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ ifeq ($(CROSS_COMPILE),)
+-CROSS_COMPILE := sh4-linux-
++CROSS_COMPILE := sh4-linux-gnu-
+ endif
+ CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000
diff --git a/patches/sunxi/sun50i_i2c_init.patch b/patches/sunxi/sun50i_i2c_init.patch
new file mode 100644 (file)
index 0000000..725e73b
--- /dev/null
@@ -0,0 +1,71 @@
+Description: add i2c initialization for sun50i
+ To use TWI0/1/2 the user can select CONFIG_I2C#_ENABLE.
+ However even the controller is enabled, the mux for the pins
+ are not set.
+ .
+ This patch follows the existing mux method. Since the pads are
+ different, separate check is added for each i2c.
+ .
+ Tested with A64-SOM204 board.
+Author: Stefan Mavrodiev <stefan@olimex.com>
+Tested-by: Jonas Smedegaard <dr@jones.dk>
+Origin: https://git.denx.de/?p=u-boot.git;a=commit;h=da1ae59
+Last-Update: 2019-04-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/arch/arm/include/asm/arch-sunxi/gpio.h
++++ b/arch/arm/include/asm/arch-sunxi/gpio.h
+@@ -176,6 +176,7 @@
+ #define SUN5I_GPE_SDC2                3
+ #define SUN8I_GPE_TWI2                3
++#define SUN50I_GPE_TWI2               3
+ #define SUNXI_GPF_SDC0                2
+ #define SUNXI_GPF_UART0               4
+@@ -193,8 +194,10 @@
+ #define SUN4I_GPH_SDC1                5
+ #define SUN6I_GPH_TWI0                2
+ #define SUN8I_GPH_TWI0                2
++#define SUN50I_GPH_TWI0               2
+ #define SUN6I_GPH_TWI1                2
+ #define SUN8I_GPH_TWI1                2
++#define SUN50I_GPH_TWI1               2
+ #define SUN6I_GPH_TWI2                2
+ #define SUN6I_GPH_UART0               2
+ #define SUN9I_GPH_UART0               2
+--- a/board/sunxi/board.c
++++ b/board/sunxi/board.c
+@@ -98,6 +98,10 @@
+       sunxi_gpio_set_cfgpin(SUNXI_GPH(2), SUN8I_GPH_TWI0);
+       sunxi_gpio_set_cfgpin(SUNXI_GPH(3), SUN8I_GPH_TWI0);
+       clock_twi_onoff(0, 1);
++#elif defined(CONFIG_MACH_SUN50I)
++      sunxi_gpio_set_cfgpin(SUNXI_GPH(0), SUN50I_GPH_TWI0);
++      sunxi_gpio_set_cfgpin(SUNXI_GPH(1), SUN50I_GPH_TWI0);
++      clock_twi_onoff(0, 1);
+ #endif
+ #endif
+@@ -120,6 +124,10 @@
+       sunxi_gpio_set_cfgpin(SUNXI_GPH(4), SUN8I_GPH_TWI1);
+       sunxi_gpio_set_cfgpin(SUNXI_GPH(5), SUN8I_GPH_TWI1);
+       clock_twi_onoff(1, 1);
++#elif defined(CONFIG_MACH_SUN50I)
++      sunxi_gpio_set_cfgpin(SUNXI_GPH(2), SUN50I_GPH_TWI1);
++      sunxi_gpio_set_cfgpin(SUNXI_GPH(3), SUN50I_GPH_TWI1);
++      clock_twi_onoff(1, 1);
+ #endif
+ #endif
+@@ -142,6 +150,10 @@
+       sunxi_gpio_set_cfgpin(SUNXI_GPE(12), SUN8I_GPE_TWI2);
+       sunxi_gpio_set_cfgpin(SUNXI_GPE(13), SUN8I_GPE_TWI2);
+       clock_twi_onoff(2, 1);
++#elif defined(CONFIG_MACH_SUN50I)
++      sunxi_gpio_set_cfgpin(SUNXI_GPE(14), SUN50I_GPE_TWI2);
++      sunxi_gpio_set_cfgpin(SUNXI_GPE(15), SUN50I_GPE_TWI2);
++      clock_twi_onoff(2, 1);
+ #endif
+ #endif
diff --git a/patches/sunxi/teres-i.patch b/patches/sunxi/teres-i.patch
new file mode 100644 (file)
index 0000000..d99f7e6
--- /dev/null
@@ -0,0 +1,368 @@
+Description: add support for Olimex Teres-I
+  * sun50i-a64-teres-i.dts is copied verbatim from Linux 5.0.
+  * other files are adapted from pinebook files.
+ .
+ Internal keyboard is known broken
+ (seems to be because the keyboard firmware loads a bootloader first,
+ and then disconnects bootloader and connect real keyboard).
+ External ones connected to the USB port work fine.
+Author: Vasily Khoruzhick <anarsoul@gmail.com>
+Tested-by: Jonas Smedegaard <dr@jones.dk>
+Origin: https://git.denx.de/?p=u-boot.git;a=commit;h=997b857
+Last-Update: 2019-05-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/arch/arm/dts/Makefile
++++ b/arch/arm/dts/Makefile
+@@ -415,7 +415,8 @@
+       sun50i-a64-pine64-plus.dtb \
+       sun50i-a64-pine64.dtb \
+       sun50i-a64-pinebook.dtb \
+-      sun50i-a64-sopine-baseboard.dtb
++      sun50i-a64-sopine-baseboard.dtb \
++      sun50i-a64-teres-i.dtb
+ dtb-$(CONFIG_MACH_SUN9I) += \
+       sun9i-a80-optimus.dtb \
+       sun9i-a80-cubieboard4.dtb \
+--- /dev/null
++++ b/arch/arm/dts/sun50i-a64-teres-i.dts
+@@ -0,0 +1,270 @@
++/*
++ * Copyright (C) Harald Geyer <harald@ccbib.org>
++ * based on sun50i-a64-olinuxino.dts by Jagan Teki <jteki@openedev.com>
++ *
++ * SPDX-License-Identifier: (GPL-2.0 OR MIT)
++ */
++
++/dts-v1/;
++
++#include "sun50i-a64.dtsi"
++
++#include <dt-bindings/gpio/gpio.h>
++#include <dt-bindings/input/input.h>
++#include <dt-bindings/pwm/pwm.h>
++
++/ {
++      model = "Olimex A64 Teres-I";
++      compatible = "olimex,a64-teres-i", "allwinner,sun50i-a64";
++
++      aliases {
++              serial0 = &uart0;
++      };
++
++      chosen {
++              stdout-path = "serial0:115200n8";
++
++              framebuffer-lcd {
++                      eDP25-supply = <&reg_dldo2>;
++                      eDP12-supply = <&reg_dldo3>;
++              };
++      };
++
++      gpio-keys {
++              compatible = "gpio-keys";
++
++              lid-switch {
++                      label = "Lid Switch";
++                      gpios = <&r_pio 0 8 GPIO_ACTIVE_LOW>; /* PL8 */
++                      linux,input-type = <EV_SW>;
++                      linux,code = <SW_LID>;
++                      wakeup-source;
++              };
++      };
++
++      leds {
++              compatible = "gpio-leds";
++
++              capslock {
++                      label = "teres-i:green:capslock";
++                      gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; /* PC7 */
++              };
++
++              numlock {
++                      label = "teres-i:green:numlock";
++                      gpios = <&pio 2 4 GPIO_ACTIVE_HIGH>; /* PC4 */
++              };
++      };
++
++      reg_usb1_vbus: usb1-vbus {
++              compatible = "regulator-fixed";
++              regulator-name = "usb1-vbus";
++              regulator-min-microvolt = <5000000>;
++              regulator-max-microvolt = <5000000>;
++              enable-active-high;
++              gpio = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
++              status = "okay";
++      };
++
++      wifi_pwrseq: wifi_pwrseq {
++              compatible = "mmc-pwrseq-simple";
++              reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
++      };
++};
++
++&ehci1 {
++      status = "okay";
++};
++
++
++/* The ANX6345 eDP-bridge is on i2c0. There is no linux (mainline)
++ * driver for this chip at the moment, the bootloader initializes it.
++ * However it can be accessed with the i2c-dev driver from user space.
++ */
++&i2c0 {
++      clock-frequency = <100000>;
++      pinctrl-names = "default";
++      pinctrl-0 = <&i2c0_pins>;
++      status = "okay";
++};
++
++&mmc0 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&mmc0_pins>;
++      vmmc-supply = <&reg_dcdc1>;
++      cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
++      disable-wp;
++      bus-width = <4>;
++      status = "okay";
++};
++
++&mmc1 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&mmc1_pins>;
++      vmmc-supply = <&reg_aldo2>;
++      vqmmc-supply = <&reg_dldo4>;
++      mmc-pwrseq = <&wifi_pwrseq>;
++      bus-width = <4>;
++      non-removable;
++      status = "okay";
++
++      rtl8723bs: wifi@1 {
++              reg = <1>;
++              interrupt-parent = <&r_pio>;
++              interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* PL3 */
++              interrupt-names = "host-wake";
++      };
++};
++
++&mmc2 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&mmc2_pins>;
++      vmmc-supply = <&reg_dcdc1>;
++      vqmmc-supply = <&reg_dcdc1>;
++      bus-width = <8>;
++      non-removable;
++      cap-mmc-hw-reset;
++      status = "okay";
++};
++
++&ohci1 {
++      status = "okay";
++};
++
++&r_rsb {
++      status = "okay";
++
++      axp803: pmic@3a3 {
++              compatible = "x-powers,axp803";
++              reg = <0x3a3>;
++              interrupt-parent = <&r_intc>;
++              interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
++              wakeup-source;
++      };
++};
++
++#include "axp803.dtsi"
++
++&reg_aldo1 {
++      regulator-always-on;
++      regulator-min-microvolt = <2800000>;
++      regulator-max-microvolt = <2800000>;
++      regulator-name = "vcc-pe";
++};
++
++&reg_aldo2 {
++      regulator-always-on;
++      regulator-min-microvolt = <3300000>;
++      regulator-max-microvolt = <3300000>;
++      regulator-name = "vcc-pl";
++};
++
++&reg_aldo3 {
++      regulator-always-on;
++      regulator-min-microvolt = <3000000>;
++      regulator-max-microvolt = <3000000>;
++      regulator-name = "vcc-pll-avcc";
++};
++
++&reg_dcdc1 {
++      regulator-always-on;
++      regulator-min-microvolt = <3300000>;
++      regulator-max-microvolt = <3300000>;
++      regulator-name = "vcc-3v3";
++};
++
++&reg_dcdc2 {
++      regulator-always-on;
++      regulator-min-microvolt = <1040000>;
++      regulator-max-microvolt = <1300000>;
++      regulator-name = "vdd-cpux";
++};
++
++/* DCDC3 is polyphased with DCDC2 */
++
++&reg_dcdc5 {
++      regulator-always-on;
++      regulator-min-microvolt = <1500000>;
++      regulator-max-microvolt = <1500000>;
++      regulator-name = "vcc-ddr3";
++};
++
++&reg_dcdc6 {
++      regulator-always-on;
++      regulator-min-microvolt = <1100000>;
++      regulator-max-microvolt = <1100000>;
++      regulator-name = "vdd-sys";
++};
++
++&reg_dldo1 {
++      regulator-min-microvolt = <3300000>;
++      regulator-max-microvolt = <3300000>;
++      regulator-name = "vcc-hdmi";
++};
++
++&reg_dldo2 {
++      regulator-min-microvolt = <2500000>;
++      regulator-max-microvolt = <2500000>;
++      regulator-name = "vcc-pd";
++};
++
++&reg_dldo3 {
++      regulator-min-microvolt = <1200000>;
++      regulator-max-microvolt = <1200000>;
++      regulator-name = "vdd-edp";
++};
++
++&reg_dldo4 {
++      regulator-min-microvolt = <3300000>;
++      regulator-max-microvolt = <3300000>;
++      regulator-name = "vcc-wifi-io";
++};
++
++&reg_eldo1 {
++      regulator-min-microvolt = <1800000>;
++      regulator-max-microvolt = <1800000>;
++      regulator-name = "cpvdd";
++};
++
++&reg_eldo2 {
++      regulator-min-microvolt = <1800000>;
++      regulator-max-microvolt = <1800000>;
++      regulator-name = "vcc-dvdd-csi";
++};
++
++&reg_fldo1 {
++      regulator-min-microvolt = <1200000>;
++      regulator-max-microvolt = <1200000>;
++      regulator-name = "vcc-1v2-hsic";
++};
++
++/*
++ * The A64 chip cannot work without this regulator off, although
++ * it seems to be only driving the AR100 core.
++ * Maybe we don't still know well about CPUs domain.
++ */
++&reg_fldo2 {
++      regulator-always-on;
++      regulator-min-microvolt = <1100000>;
++      regulator-max-microvolt = <1100000>;
++      regulator-name = "vdd-cpus";
++};
++
++&reg_rtc_ldo {
++      regulator-name = "vcc-rtc";
++};
++
++&simplefb_hdmi {
++      vcc-hdmi-supply = <&reg_dldo1>;
++};
++
++&uart0 {
++      pinctrl-names = "default";
++      pinctrl-0 = <&uart0_pb_pins>;
++      status = "okay";
++};
++
++&usbphy {
++      usb1_vbus-supply = <&reg_usb1_vbus>;
++      status = "okay";
++};
+--- /dev/null
++++ b/configs/teres_i_defconfig
+@@ -0,0 +1,22 @@
++CONFIG_ARM=y
++CONFIG_ARCH_SUNXI=y
++CONFIG_SPL=y
++CONFIG_MACH_SUN50I=y
++CONFIG_DRAM_CLK=552
++CONFIG_DRAM_ZQ=3881949
++CONFIG_MMC_SUNXI_SLOT_EXTRA=2
++CONFIG_USB1_VBUS_PIN="PL7"
++CONFIG_I2C0_ENABLE=y
++# CONFIG_CMD_FLASH is not set
++# CONFIG_SPL_DOS_PARTITION is not set
++# CONFIG_SPL_EFI_PARTITION is not set
++CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-teres-i"
++CONFIG_DM_REGULATOR=y
++CONFIG_DM_REGULATOR_FIXED=y
++CONFIG_DM_PWM=y
++CONFIG_PWM_SUNXI=y
++CONFIG_USB_EHCI_HCD=y
++CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
++# CONFIG_USB_GADGET is not set
++CONFIG_VIDEO_BRIDGE=y
++CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y
+--- /dev/null
++++ b/arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi
+@@ -0,0 +1,41 @@
++// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
++/*
++ * Copyright (C) 2019 Vasily Khoruzhick <anarsoul@gmail.com>
++ *
++ */
++
++#include "sunxi-u-boot.dtsi"
++
++/ {
++      vdd_bl: regulator@0 {
++              compatible = "regulator-fixed";
++              regulator-name = "bl-3v3";
++              regulator-min-microvolt = <3300000>;
++              regulator-max-microvolt = <3300000>;
++              gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
++              enable-active-high;
++      };
++
++      backlight: backlight {
++              compatible = "pwm-backlight";
++              pwms = <&pwm 0 50000 0>;
++              brightness-levels = <0 5 10 15 20 30 40 55 70 85 100>;
++              default-brightness-level = <2>;
++              enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */
++              power-supply = <&vdd_bl>;
++      };
++};
++
++/* The ANX6345 eDP-bridge is on i2c */
++&i2c0 {
++      anx6345: edp-bridge@38 {
++              compatible = "analogix,anx6345";
++              reg = <0x38>;
++              reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
++              status = "okay";
++      };
++};
++
++&pwm {
++      status = "okay";
++};
diff --git a/patches/test-imagetools-test-fixes b/patches/test-imagetools-test-fixes
new file mode 100644 (file)
index 0000000..e9e3322
--- /dev/null
@@ -0,0 +1,75 @@
+This patch allows testing in an alternate directory and also detects
+failures to execute commands, treating that as a failure.
+
+Index: u-boot/test/image/test-imagetools.sh
+===================================================================
+--- u-boot.orig/test/image/test-imagetools.sh
++++ u-boot/test/image/test-imagetools.sh
+@@ -12,7 +12,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
+@@ -95,7 +95,7 @@ create_multi_image()
+       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."
+ }
+@@ -103,10 +103,10 @@ create_multi_image()
+ extract_multi_image()
+ {
+       echo -e "\nExtracting multi-file image contents..."
+-      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 0 ${DATAFILE0}
+-      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 1 ${DATAFILE1}
+-      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 2 ${DATAFILE2}
+-      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 2 ${DATAFILE2} -o ${TEST_OUT}
++      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 0 ${DATAFILE0} || exit 1
++      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 1 ${DATAFILE1} || exit 1
++      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 2 ${DATAFILE2} || exit 1
++      do_cmd ${DUMPIMAGE} -T multi -i ${IMAGE_MULTI} -p 2 ${DATAFILE2} -o ${TEST_OUT} || exit 1
+       echo "done."
+ }
+@@ -159,7 +159,7 @@ create_fit_image()
+       " > ${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."
+ }
+@@ -167,10 +167,10 @@ create_fit_image()
+ extract_fit_image()
+ {
+       echo -e "\nExtracting FIT image contents..."
+-      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 0 ${DATAFILE0}
+-      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 1 ${DATAFILE1}
+-      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 2 ${DATAFILE2}
+-      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 2 ${DATAFILE2} -o ${TEST_OUT}
++      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 0 ${DATAFILE0} || exit 1
++      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 1 ${DATAFILE1} || exit 1
++      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 2 ${DATAFILE2} || exit 1
++      do_cmd ${DUMPIMAGE} -T flat_dt -i ${IMAGE_FIT_ITB} -p 2 ${DATAFILE2} -o ${TEST_OUT} || exit 1
+       echo "done."
+ }
+@@ -182,8 +182,8 @@ list_image()
+       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."
+ }
diff --git a/patches/tools-generic-builds.patch b/patches/tools-generic-builds.patch
new file mode 100644 (file)
index 0000000..8f173e0
--- /dev/null
@@ -0,0 +1,16 @@
+Description: Enable generic tools build
+Author: Hector Oron <zumbi@debian.org>
+
+Index: u-boot/tools/Makefile
+===================================================================
+--- u-boot.orig/tools/Makefile
++++ u-boot/tools/Makefile
+@@ -54,7 +54,7 @@ HOSTCFLAGS_xway-swap-bytes.o := -pedanti
+ 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
diff --git a/patches/upstream/0001-Fix-typo-missmatched-mismatched.patch b/patches/upstream/0001-Fix-typo-missmatched-mismatched.patch
new file mode 100644 (file)
index 0000000..dc40db6
--- /dev/null
@@ -0,0 +1,27 @@
+From bb5835bc018dc8d7cc4d7abf0ef0521be5093985 Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagrant@debian.org>
+Date: Tue, 8 Jan 2019 13:10:23 -0800
+Subject: [PATCH] Fix typo: missmatched -> mismatched.
+
+Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
+Reviewed-by: Peng Fan <peng.fan@nxp.com>
+---
+ tools/imx8image.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/imx8image.c b/tools/imx8image.c
+index 0d856b9d94..435f308b99 100644
+--- a/tools/imx8image.c
++++ b/tools/imx8image.c
+@@ -674,7 +674,7 @@ static int get_container_image_start_pos(image_t *image_stack, uint32_t align)
+                       fclose(fd);
+                       if (header.tag != IVT_HEADER_TAG_B0) {
+-                              fprintf(stderr, "header tag missmatched \n");
++                              fprintf(stderr, "header tag mismatched \n");
+                               exit(EXIT_FAILURE);
+                       } else {
+                               file_off +=
+-- 
+2.11.0
+
diff --git a/patches/upstream/Fix-ext4-block-group-descriptor-sizing.patch b/patches/upstream/Fix-ext4-block-group-descriptor-sizing.patch
new file mode 100644 (file)
index 0000000..54c1609
--- /dev/null
@@ -0,0 +1,64 @@
+Origin: https://git.denx.de/?p=u-boot.git;a=commit;h=febbc583319b567fe3d83e521cc2ace9be8d1501
+Applied-Upstream: v2019.07-rc1
+Debian-Bug: https://bugs.debian.org/928800
+From: Benjamin Lim <jarsp.ctf@gmail.com>
+Date: Fri, 29 Mar 2019 07:29:45 -0400
+Subject: [PATCH] Fix ext4 block group descriptor sizing
+
+Ext4 allows for arbitrarily sized block group descriptors when 64-bit
+addressing is enabled, which was previously not properly supported. This
+patch dynamically allocates a chunk of memory of the correct size.
+
+Signed-off-by: Benjamin Lim <jarsp.ctf@gmail.com>
+---
+ fs/ext4/ext4_common.c | 19 +++++++++++++++----
+ 1 file changed, 15 insertions(+), 4 deletions(-)
+
+diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c
+index feffbfa9a9..464c33d0d7 100644
+--- a/fs/ext4/ext4_common.c
++++ b/fs/ext4/ext4_common.c
+@@ -1587,7 +1587,7 @@ static int ext4fs_blockgroup
+ int ext4fs_read_inode(struct ext2_data *data, int ino, struct ext2_inode *inode)
+ {
+-      struct ext2_block_group blkgrp;
++      struct ext2_block_group *blkgrp;
+       struct ext2_sblock *sblock = &data->sblock;
+       struct ext_filesystem *fs = get_fs();
+       int log2blksz = get_fs()->dev_desc->log2blksz;
+@@ -1595,17 +1595,28 @@ int ext4fs_read_inode(struct ext2_data *data, int ino, struct ext2_inode *inode)
+       long int blkno;
+       unsigned int blkoff;
++      /* Allocate blkgrp based on gdsize (for 64-bit support). */
++      blkgrp = zalloc(get_fs()->gdsize);
++      if (!blkgrp)
++              return 0;
++
+       /* It is easier to calculate if the first inode is 0. */
+       ino--;
+       status = ext4fs_blockgroup(data, ino / le32_to_cpu
+-                                 (sblock->inodes_per_group), &blkgrp);
+-      if (status == 0)
++                                 (sblock->inodes_per_group), blkgrp);
++      if (status == 0) {
++              free(blkgrp);
+               return 0;
++      }
+       inodes_per_block = EXT2_BLOCK_SIZE(data) / fs->inodesz;
+-      blkno = ext4fs_bg_get_inode_table_id(&blkgrp, fs) +
++      blkno = ext4fs_bg_get_inode_table_id(blkgrp, fs) +
+           (ino % le32_to_cpu(sblock->inodes_per_group)) / inodes_per_block;
+       blkoff = (ino % inodes_per_block) * fs->inodesz;
++
++      /* Free blkgrp as it is no longer required. */
++      free(blkgrp);
++
+       /* Read the inode. */
+       status = ext4fs_devread((lbaint_t)blkno << (LOG2_BLOCK_SIZE(data) -
+                               log2blksz), blkoff,
+-- 
+2.20.1
+
diff --git a/patches/upstream/fs-ext4-Unmount-FS-in-do_fs_type.patch b/patches/upstream/fs-ext4-Unmount-FS-in-do_fs_type.patch
new file mode 100644 (file)
index 0000000..57a1d7c
--- /dev/null
@@ -0,0 +1,42 @@
+From e531c6731b697fc524b54697caebf235a4a69e8d Mon Sep 17 00:00:00 2001
+From: Marek Vasut <marek.vasut+renesas@gmail.com>
+Date: Wed, 6 Feb 2019 13:19:29 +0100
+Subject: [PATCH] fs: ext4: Unmount FS in do_fs_type()
+
+Unlike other generic FS accessors, fs_get_info() does not call fs_close()
+at the end of it's operation. Thus, using fs_get_info() in do_fs_type()
+without calling fs_close() causes potential memory leak by creating new
+filesystem structures on each call of do_fs_type().
+
+The test case to trigger this problem is as follows. It is required to
+have ext4 filesystem on the first partition of the SDMMC device, since
+ext4 requires stateful mount and causes memory allocation.
+=> while true ; do mmc rescan ; fstype mmc 1 ; done
+Eventually, the mounting of ext4 will fail due to malloc failures
+and the filesystem will not be correctly detected.
+
+This patch fixes the problem by adding the missing fs_close().
+
+Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
+Cc: Simon Glass <sjg@chromium.org>
+Cc: Tom Rini <trini@konsulko.com>
+---
+ fs/fs.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/fs/fs.c b/fs/fs.c
+index 0e9c2f1062..c5c35ebf5f 100644
+--- a/fs/fs.c
++++ b/fs/fs.c
+@@ -801,6 +801,8 @@ int do_fs_type(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+       else
+               printf("%s\n", info->name);
++      fs_close();
++
+       return CMD_RET_SUCCESS;
+ }
+-- 
+2.20.1
+
diff --git a/patches/upstream/lib-uuid-Fix-unseeded-PRNG-on-RANDOM_UUID-y.patch b/patches/upstream/lib-uuid-Fix-unseeded-PRNG-on-RANDOM_UUID-y.patch
new file mode 100644 (file)
index 0000000..52cf16e
--- /dev/null
@@ -0,0 +1,97 @@
+Origin: https://git.denx.de/?p=u-boot.git;a=commit;h=4ccf678f37731d8ec09eae8dca5f4cbe84132a52
+Applied-Upstream: v2019.07-rc1+
+Debian-Bug: https://bugs.debian.org/928557
+From: Eugeniu Rosca <erosca@de.adit-jv.com>
+Date: Thu, 2 May 2019 14:27:06 +0200
+Subject: [PATCH] lib: uuid: Fix unseeded PRNG on RANDOM_UUID=y
+
+The random uuid values (enabled via CONFIG_RANDOM_UUID=y) on our
+platform are always the same. Below is consistent on each cold boot:
+
+ => ### interrupt autoboot
+ => env default -a; gpt write mmc 1 $partitions; print uuid_gpt_misc
+ ...
+ uuid_gpt_misc=d117f98e-6f2c-d04b-a5b2-331a19f91cb2
+ => env default -a; gpt write mmc 1 $partitions; print uuid_gpt_misc
+ ...
+ uuid_gpt_misc=ad5ec4b6-2d9f-8544-9417-fe3bd1c9b1b3
+ => env default -a; gpt write mmc 1 $partitions; print uuid_gpt_misc
+ ...
+ uuid_gpt_misc=cceb0b18-39cb-d547-9db7-03b405fa77d4
+ => env default -a; gpt write mmc 1 $partitions; print uuid_gpt_misc
+ ...
+ uuid_gpt_misc=d4981a2b-0478-544e-9607-7fd3c651068d
+ => env default -a; gpt write mmc 1 $partitions; print uuid_gpt_misc
+ ...
+ uuid_gpt_misc=6d6c9a36-e919-264d-a9ee-bd00379686c7
+
+While the uuids do change on every 'gpt write' command, the values
+appear to be taken from the same pool, in the same order.
+
+Assuming U-Boot with RANDOM_UUID=y is deployed on a large number of
+devices, all those devices would essentially expose the same UUID,
+breaking the assumption of system/RFS/application designers who rely
+on UUID as being globally unique (e.g. a database using UUID as key
+would alias/mix up entries/records due to duplicated UUID).
+
+The root cause seems to be simply _not_ seeding PRNG before generating
+a random value. It turns out this belongs to an established class of
+PRNG-specific problems, commonly known as "unseeded randomness", for
+which I am able to find below bugs/CVE/CWE:
+ - https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-0285
+   ("CVE-2015-0285 openssl: handshake with unseeded PRNG")
+ - https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-9019
+   ("CVE-2015-9019 libxslt: math.random() in xslt uses unseeded
+   randomness")
+ - https://cwe.mitre.org/data/definitions/336.html
+   ("CWE-336: Same Seed in Pseudo-Random Number Generator (PRNG)")
+
+The first revision [1] of this patch updated the seed based on the
+output of get_timer(), similar to [4].
+
+There are two problems with this approach:
+ - get_timer() has a poor _ms_ resolution
+ - when gen_rand_uuid() is called in a loop, get_timer() returns the
+   same result, leading to the same seed being passed to srand(),
+   leading to the same uuid being generated for several partitions
+   with different names
+
+The above drawbacks have been addressed in the second version [2].
+In its third revision (current), the patch reworded the description
+and summary line to emphasize it is a *fix* rather than an improvement.
+
+Testing [3] consisted of running 'gpt write mmc 1 $partitions' in a
+loop on R-Car3 for several minutes, collecting 8844 randomly generated
+UUIDS. Two consecutive cold boots are concatenated in the log.
+As a result, all uuid values are unique (scripted check).
+
+Thanks to Roman, who reported the issue and provided support in fixing.
+
+[1] https://patchwork.ozlabs.org/patch/1091802/
+[2] https://patchwork.ozlabs.org/patch/1092945/
+[3] https://gist.github.com/erosca/2820be9d554f76b982edd48474d0e7ca
+[4] commit da384a9d7628 ("net: rename and refactor eth_rand_ethaddr() function")
+
+Reported-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
+Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
+Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
+---
+ lib/uuid.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/uuid.c b/lib/uuid.c
+index fa20ee39fc..2d4d6ef7e4 100644
+--- a/lib/uuid.c
++++ b/lib/uuid.c
+@@ -238,6 +238,8 @@ void gen_rand_uuid(unsigned char *uuid_bin)
+       unsigned int *ptr = (unsigned int *)&uuid;
+       int i;
++      srand(get_ticks() + rand());
++
+       /* Set all fields randomly */
+       for (i = 0; i < sizeof(struct uuid) / sizeof(*ptr); i++)
+               *(ptr + i) = cpu_to_be32(rand());
+-- 
+2.20.1
+
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..79efd37
--- /dev/null
+++ b/rules
@@ -0,0 +1,120 @@
+#!/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
+
+# support parallel build using DEB_BUILD_OPTIONS=parallel=N
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  DEB_UBOOT_FLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+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))
+
+%:
+       dh $@
+
+configs/novena-rawsd_defconfig:
+       sed -e 's,CONFIG_SPL_FAT_SUPPORT=y,# CONFIG_SPL_FAT_SUPPORT is not set,' \
+               configs/novena_defconfig > configs/novena-rawsd_defconfig
+
+override_dh_auto_build: TOOLSDIR := debian/build/tools
+override_dh_auto_build: configs/novena-rawsd_defconfig
+       set -e; sed -n 's/^$(DEB_HOST_ARCH)[[:space:]]\+//p' debian/targets \
+           | while read subarch platform targets; do \
+               builddir=debian/build/$$platform; \
+               case $$platform in \
+                       novena-rawsd) targets="$$targets" ;\
+                               ;; \
+                       *) targets="$$targets uboot.elf" ;\
+                               ;; \
+               esac;\
+                       maketargets="all" ;\
+               case $$subarch in \
+                       -) subpackage="u-boot" ;\
+                               ;; \
+                       *) subpackage="u-boot-$$subarch" ;\
+                               ;; \
+               esac;\
+               mkdir -p $$builddir; \
+               $(MAKE) V=$(VERBOSE) O=$$builddir $${platform}_defconfig; \
+               $(MAKE) V=$(VERBOSE) $(DEB_UBOOT_FLAGS) O=$$builddir $${maketargets}; \
+               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; \
+           case $${subarch} in \
+               rockchip) \
+                       debian/bin/generate-rksd $$builddir $$platform $$subarch; \
+                       ;; \
+               qcom) \
+                       debian/bin/generate-qcom $$builddir $$platform $$subarch; \
+                       ;; \
+               esac; \
+       done
+
+       # Load dummy config
+       echo CONFIG_SYS_TEXT_BASE=0 > configs/tools_defconfig
+       $(MAKE) V=$(VERBOSE) O=$(TOOLSDIR) CROSS_COMPILE=$(CROSS_COMPILE) tools_defconfig
+       cp $(TOOLSDIR)/.config $(TOOLSDIR)/config
+       # board-independent tools
+       $(MAKE) V=$(VERBOSE) O=$(TOOLSDIR) $(DEB_UBOOT_FLAGS) \
+               CROSS_COMPILE=$(CROSS_COMPILE) \
+               CROSS_BUILD_TOOLS=$(cross_build_tools) \
+               NO_SDL=1 \
+           tools-only
+       $(MAKE) V=$(VERBOSE) O=$(TOOLSDIR) $(DEB_UBOOT_FLAGS) \
+               CROSS_COMPILE=$(CROSS_COMPILE) \
+               NO_SDL=1 \
+           envtools
+       $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment --remove-section=.note $(TOOLSDIR)/tools/env/fw_printenv
+       $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment --remove-section=.note $(TOOLSDIR)/tools/mkimage
+       $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment --remove-section=.note $(TOOLSDIR)/tools/mkenvimage
+       $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment --remove-section=.note $(TOOLSDIR)/tools/kwboot
+       $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment --remove-section=.note $(TOOLSDIR)/tools/mksunxiboot
+       $(CROSS_COMPILE)strip --strip-unneeded --remove-section=.comment --remove-section=.note $(TOOLSDIR)/tools/dumpimage
+
+override_dh_auto_test:
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+       # only run tests on native builds
+       BASEDIR=debian/build/tools test/image/test-imagetools.sh
+endif
+
+override_dh_clean:
+       rm -rf debian/build/
+       rm -f configs/tools_defconfig
+       rm -f configs/novena-rawsd_defconfig
+       dh_clean
+
+override_dh_gencontrol:
+       debian/bin/update-substvars
+       dh_gencontrol
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/source/include-binaries b/source/include-binaries
new file mode 100644 (file)
index 0000000..41233fc
--- /dev/null
@@ -0,0 +1,2 @@
+tools/logos/solidrun.bmp
+debian/upstream/signing-key.pgp
diff --git a/targets b/targets
new file mode 100644 (file)
index 0000000..1ea57bd
--- /dev/null
+++ b/targets
@@ -0,0 +1,231 @@
+# 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.imx
+
+# Hector Oron <zumbi@debian.org>
+armhf  imx             nitrogen6q      u-boot.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
+
+# Vagrant Cascadian <vagrant@debian.org>
+armhf  omap            omap3_pandora   u-boot.bin
+
+# 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 spl/u-boot-spl.bin
+
+# 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
+
+# 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
+
+# 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
+
+# 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
+
+# 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  u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-firefly.dtb
+
+# Vagrant Cascadian <vagrant@debian.org>
+arm64  rockchip        puma-rk3399  u-boot.img u-boot.bin u-boot-nodtb.bin spl/u-boot-spl.bin arch/arm/dts/rk3399-puma-ddr1333.dtb arch/arm/dts/rk3399-puma-ddr1600.dtb arch/arm/dts/rk3399-puma-ddr1866.dtb
+
+# Ryan Finnie <ryan@finnie.org>
+arm64  rpi             rpi_3           u-boot.bin
+
+# Rodrigo Exterckötter Tjäder <rodrigo@tjader.xyz>
+arm64  sunxi           a64-olinuxino   u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-olinuxino.dtb
+
+# Domenico Andreoli <cavok@debian.org>
+arm64  sunxi           nanopi_neo2     u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-h5-nanopi-neo2.dtb
+
+# Frederic Danis <frederic.danis@collabora.com>
+arm64  sunxi           orangepi_zero_plus2     u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dtb
+
+# Vagrant Cascadian <vagrant@debian.org>
+arm64  sunxi           pine64_plus     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
+
+# Sunil Mohan Adapa <sunil@medhas.org>
+arm64  sunxi           pine64-lts      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
+
+# Vagrant Cascadian <vagrant@debian.org>
+arm64  sunxi           pinebook        u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pinebook.dtb
+
+# Jonas Smedegaard <dr@jones.dk>
+arm64  sunxi           teres_i         u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-teres-i.dtb
+
+# Vagrant Cascadian <vagrant@debian.org>
+arm64  tegra           p2371-2180      u-boot.bin
+
+avr32  -               hammerhead      u-boot.img
+
+mips   -               qemu_mips       u-boot.bin
+
+sh4    -               r2dplus         u-boot.bin
+
+sh4    -               sh7785lcr_32bit u-boot.bin
diff --git a/u-boot-amlogic.install b/u-boot-amlogic.install
new file mode 100755 (executable)
index 0000000..682b8aa
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets amlogic "board/amlogic/odroid-c2/README.odroid-c2 board/amlogic/odroid-c2/README.nanopi-k2 board/amlogic/p212/README.khadas-vim board/amlogic/p212/README.libretech-cc board/amlogic/q200/README.khadas-vim2"
diff --git a/u-boot-amlogic.lintian-overrides b/u-boot-amlogic.lintian-overrides
new file mode 100644 (file)
index 0000000..8e5acc4
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-amlogic: description-synopsis-starts-with-article
+
diff --git a/u-boot-exynos.install b/u-boot-exynos.install
new file mode 100755 (executable)
index 0000000..ebff56a
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets exynos "doc/README.odroid"
diff --git a/u-boot-exynos.lintian-overrides b/u-boot-exynos.lintian-overrides
new file mode 100644 (file)
index 0000000..4d32d8e
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-exynos: description-synopsis-starts-with-article
+
diff --git a/u-boot-imx.README.Debian b/u-boot-imx.README.Debian
new file mode 100644 (file)
index 0000000..2a5d0ac
--- /dev/null
@@ -0,0 +1,21 @@
+== 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
+
+== U-Boot environment tools ==
+
+fw_printenv / fw_setenv read /etc/fw_env.config for configuration.
diff --git a/u-boot-imx.install b/u-boot-imx.install
new file mode 100755 (executable)
index 0000000..cc4eb34
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets imx
diff --git a/u-boot-imx.links b/u-boot-imx.links
new file mode 100644 (file)
index 0000000..17b4464
--- /dev/null
@@ -0,0 +1,2 @@
+/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
diff --git a/u-boot-imx.lintian-overrides b/u-boot-imx.lintian-overrides
new file mode 100644 (file)
index 0000000..ff65d27
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-imx: description-synopsis-starts-with-article
+
diff --git a/u-boot-mvebu.install b/u-boot-mvebu.install
new file mode 100755 (executable)
index 0000000..40de60a
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets mvebu "doc/README.marvell"
diff --git a/u-boot-mvebu.lintian-overrides b/u-boot-mvebu.lintian-overrides
new file mode 100644 (file)
index 0000000..d46cbb0
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-mvebu: description-synopsis-starts-with-article
+
diff --git a/u-boot-omap.README.Debian b/u-boot-omap.README.Debian
new file mode 100644 (file)
index 0000000..422bbc9
--- /dev/null
@@ -0,0 +1,17 @@
+== 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_boneblack/MLO of=/dev/mmcblkX
+ dd conv=fsync,notrunc seek=768 if=/usr/lib/u-boot/am335x_boneblack/u-boot.img of=/dev/mmcblkX
+
+On OpenPandora:
+
+ modprobe nand_omap2 mtdblock
+ dd conv=fsync,notrunc if=/usr/lib/u-boot/omap3_pandora/u-boot.bin of=/dev/mtdblock1
+
+== U-Boot environment tools ==
+
+fw_printenv / fw_setenv read /etc/fw_env.config for configuration.
diff --git a/u-boot-omap.install b/u-boot-omap.install
new file mode 100755 (executable)
index 0000000..a28a041
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets omap "doc/README.nokia_rx51"
diff --git a/u-boot-omap.lintian-overrides b/u-boot-omap.lintian-overrides
new file mode 100644 (file)
index 0000000..588f0aa
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-omap: description-synopsis-starts-with-article
+
diff --git a/u-boot-qcom.README.Debian b/u-boot-qcom.README.Debian
new file mode 100644 (file)
index 0000000..dc2ac34
--- /dev/null
@@ -0,0 +1,31 @@
+=== 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.
diff --git a/u-boot-qcom.install b/u-boot-qcom.install
new file mode 100755 (executable)
index 0000000..0ff7e5b
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets qcom
diff --git a/u-boot-qcom.lintian-overrides b/u-boot-qcom.lintian-overrides
new file mode 100644 (file)
index 0000000..b17194a
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-qcom: description-synopsis-starts-with-article
+
diff --git a/u-boot-rockchip.NEWS b/u-boot-rockchip.NEWS
new file mode 100644 (file)
index 0000000..35cdf01
--- /dev/null
@@ -0,0 +1,6 @@
+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
diff --git a/u-boot-rockchip.README.Debian b/u-boot-rockchip.README.Debian
new file mode 100644 (file)
index 0000000..1c329a5
--- /dev/null
@@ -0,0 +1,13 @@
+== Installation ==
+
+The Firefly-RK3288 u-boot can be installed to microSD:
+
+  dd conv=fsync,notrunc if=/usr/lib/u-boot/firefly-rk3288/u-boot.rksd of=/dev/DEVICE seek=64
+
+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.
diff --git a/u-boot-rockchip.install b/u-boot-rockchip.install
new file mode 100755 (executable)
index 0000000..73ddfc2
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets rockchip "doc/README.rockchip"
diff --git a/u-boot-rockchip.lintian-overrides b/u-boot-rockchip.lintian-overrides
new file mode 100644 (file)
index 0000000..eeb97d6
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-rockchip: description-synopsis-starts-with-article
+
diff --git a/u-boot-rpi.README.Debian b/u-boot-rpi.README.Debian
new file mode 100644 (file)
index 0000000..c9d0207
--- /dev/null
@@ -0,0 +1,16 @@
+== 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.
diff --git a/u-boot-rpi.install b/u-boot-rpi.install
new file mode 100755 (executable)
index 0000000..36cbec1
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets rpi
diff --git a/u-boot-rpi.lintian-overrides b/u-boot-rpi.lintian-overrides
new file mode 100644 (file)
index 0000000..29ff4b3
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-rpi: description-synopsis-starts-with-article
+
diff --git a/u-boot-sunxi.README.Debian b/u-boot-sunxi.README.Debian
new file mode 100644 (file)
index 0000000..643d308
--- /dev/null
@@ -0,0 +1,13 @@
+== 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-sunxi64 utility.
+
+== U-Boot environment tools ==
+
+fw_printenv / fw_setenv read /etc/fw_env.config for configuration.
diff --git a/u-boot-sunxi.install b/u-boot-sunxi.install
new file mode 100755 (executable)
index 0000000..833ce20
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets sunxi "board/sunxi/README.sunxi64"
+cp board/sunxi/mksunxi_fit_atf.sh debian/build/mksunxi_fit_atf
+echo debian/build/mksunxi_fit_atf /usr/bin/
+
+echo debian/bin/u-boot-install-sunxi64 /usr/bin/
+echo debian/manpages/u-boot-install-sunxi64.8 /usr/share/man/man8/
diff --git a/u-boot-sunxi.lintian-overrides b/u-boot-sunxi.lintian-overrides
new file mode 100644 (file)
index 0000000..78b0ee4
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-sunxi: description-synopsis-starts-with-article
+
diff --git a/u-boot-tegra.README.Debian b/u-boot-tegra.README.Debian
new file mode 100644 (file)
index 0000000..3b2e35b
--- /dev/null
@@ -0,0 +1,25 @@
+== 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.
+
+== U-Boot environment tools ==
+
+fw_printenv / fw_setenv read /etc/fw_env.config for configuration.
diff --git a/u-boot-tegra.install b/u-boot-tegra.install
new file mode 100755 (executable)
index 0000000..15b8ab9
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets tegra
diff --git a/u-boot-tegra.links b/u-boot-tegra.links
new file mode 100755 (executable)
index 0000000..49fabfc
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case $DEB_HOST_GNU_TYPE in
+  aarch64-linux-gnu)
+    echo /usr/lib/u-boot/p2371-2180/uboot.elf /usr/lib/u-boot/p2371-2180/u-boot
+    ;;
+esac
diff --git a/u-boot-tegra.lintian-overrides b/u-boot-tegra.lintian-overrides
new file mode 100644 (file)
index 0000000..9e49748
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot-tegra: description-synopsis-starts-with-article
+
diff --git a/u-boot-tools.install b/u-boot-tools.install
new file mode 100755 (executable)
index 0000000..3de15cd
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+builddir=debian/build/tools
+for tool in dumpimage mkimage mkenvimage mksunxiboot kwboot env/fw_printenv ; do
+    echo ${builddir}/tools/${tool} /usr/bin/
+done
+
+# install config
+echo ${builddir}/config /usr/share/doc/u-boot-tools/
+
+echo doc/mkimage.1 /usr/share/man/man1/
+echo doc/kwboot.1 /usr/share/man/man1/
+
+# manpages
+echo debian/manpages/fw_printenv.8 /usr/share/man/man8/
+echo debian/manpages/fw_setenv.8 /usr/share/man/man8/
+
+# example env configs
+for env_config in debian/env-configs/*.config tools/env/fw_env.config ; do
+       echo ${env_config} /usr/share/doc/u-boot-tools/examples/
+done
diff --git a/u-boot-tools.links b/u-boot-tools.links
new file mode 100644 (file)
index 0000000..92f5a6c
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/fw_printenv /usr/bin/fw_setenv
diff --git a/u-boot.README.Debian b/u-boot.README.Debian
new file mode 100644 (file)
index 0000000..943b53d
--- /dev/null
@@ -0,0 +1,25 @@
+== 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.
+
+== U-Boot environment tools ==
+
+fw_printenv / fw_setenv read /etc/fw_env.config for configuration.
+
diff --git a/u-boot.install b/u-boot.install
new file mode 100755 (executable)
index 0000000..aff6d5d
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets -
diff --git a/u-boot.lintian-overrides b/u-boot.lintian-overrides
new file mode 100644 (file)
index 0000000..3370760
--- /dev/null
@@ -0,0 +1,15 @@
+
+# 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-lib-without-dependency-information usr/lib/u-boot/*/uboot.elf
+
+u-boot: description-synopsis-starts-with-article
+
diff --git a/upstream/signing-key.asc b/upstream/signing-key.asc
new file mode 100644 (file)
index 0000000..f4211d1
--- /dev/null
@@ -0,0 +1,51 @@
+-----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
+hGc7MSWNHUAMIGqns4hBzoSCfHdCSzda0U14UYj2p4UJDPe5Ag0EVrotHQEQAM2f
+YOXpiBo3rJ/6nWbWu5b31N0sv5u78cRUUgdfdY0UhBnwWD3v3C8c4oRbUhkQP95R
+IkB3Bja5u/cxQZcYbJvmNivZXt1cic9E7n7PzhAM5bslBlf0OLPNrL53F0B1kf5i
+ds1xgk4P2y98ssq5jwzIz9w6TGbFa0tzS3Uh9RL80f3kPpT9sJ7dcT409YURpBiB
+1OI19eo9DEdXWuRANAxS7qQy59mK9ZbkVhOVuDNr7ksBEBY/zEJSSHCyB9riu+bl
+tKENg+z381C0y9ka0A+sw9BiNhXvcbfvx5WW0bSMc+8Sf/spQN5rQb4uSXFIKUCB
+PXCZ5FBKTlLhC4MXdpwkfUYFPIyhv+Qkq/EXGRdKDVOEkSPTuGwx1n9Qg9hMHell
+hEAwg5iA2NhAt5WB2xKYTEAWFki/ETiuKdoY5u+t0yw9mILyL4NwsegFmhZwHrVU
+8/tirEzHeucI/X6nsKC+R1XlIilRnbGlb3bpR2ejPguO3RsrWTxUhqGdpqyRIBWJ
+nb3qK3LQz+uRBdIz9xvgsG36fH+GXVuLZU6J5Znn+hXXOXcyPFP2mqekHSxItwKM
+iiyMhj0nIF5m9ynOl8wVR9S0dF0J1z6ZZUUOQETnHKP2F6grfJP2sVtQw1v0CRbi
+huVm2aPjh1Ja2Pun6wURrMy16Nv5CbVjwqXkffS9ABEBAAGJAiUEGAECAA8CGwwF
+AlqBs+4FCQeJ7dEACgkQh/n2NdMddlIk2g//cyQGF+kioRxerFDzm0EgqcYjAN5P
+aU8wPJ9tkl7kAMru91d2Cc2C+pZmC26b8rq1BVB+JRRzDcu4vXyz9sx0A7wqRfaI
+SxFWB6pDtcIOni322zBY9krVtcgR1i9rjrW42ZJytGKVc+TeS/F4JREKMdfMqh2N
+ganfmxqtdiy8ciJZp1mMPfgWgxBjn+qSCi8w0FeeUD7Ov53hFbVXR9S3xTNtC5zP
+QJVAexFbV3a60faMojyEMVuWBvJef6lQKO2jRke09lCqvJVq3jvVQKGifQnnG1Jt
+2QT+ZEFpvgDHBThR3fUgSWaz0dHiW2GtHl8LOPriY1RtEQ/3hSz+EdfqZRfyTILd
+bTgxiDIrMG9rmCVX7fbqaYcddhw6TjWFThI85thEvOOGwhMM90WjIEMrDc0z/eim
+cE9gR1mGdNMW5+KFjtgT7Qo6KCc84E0fsclbZ+jthVyrUBqOf6Ectd5gnneliDVu
+jkARNprBFRmTdJsMKQ9VSTbvd9ll21zHgyOI0kTPGeJ9dSsIn+firpZq1TOHRqvU
+55fkqb2yAoPaXDws0JXzOGBvrHpIuDwGPwEfUTcq5ARoGBh3hohXkwuYS/Stx6Sq
+0UHBiVHvl4UTOYRlrdeqAM0n8+DmbTq9ozicFGmBjdfgl1LTnq/cVDXEtX0dZClC
+MhLNGjpISFkf/IQ=
+=LjcZ
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..04454db
--- /dev/null
+++ b/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=pasv,repack,compression=xz,repacksuffix=+dfsg,uversionmangle=s/-rc/~rc/g,dversionmangle=s/\+dfsg.*//g,pgpsigurlmangle=s%$%.sig% \
+ftp://ftp.denx.de/pub/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@