From: Vagrant Cascadian Date: Sun, 9 Dec 2018 07:16:44 +0000 (+0000) Subject: Import u-boot_2018.11+dfsg-2.debian.tar.xz X-Git-Tag: archive/raspbian/2020.07+dfsg-2+rpi1^2^2^2^2^2^2^2^2^2^2^2^2^2~19^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=efb28da70a582679b1e91a3d2ce898a8da2d29f4;p=u-boot.git Import u-boot_2018.11+dfsg-2.debian.tar.xz [dgit import tarball u-boot 2018.11+dfsg-2 u-boot_2018.11+dfsg-2.debian.tar.xz] --- efb28da70a582679b1e91a3d2ce898a8da2d29f4 diff --git a/bin/generate-qcom b/bin/generate-qcom new file mode 100755 index 000000000..a4b27316d --- /dev/null +++ b/bin/generate-qcom @@ -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 index 000000000..b8dd2075f --- /dev/null +++ b/bin/generate-rksd @@ -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 index 000000000..5285033fe --- /dev/null +++ b/bin/u-boot-install-sunxi64 @@ -0,0 +1,83 @@ +#!/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" ;; + "Olimex A64-Olinuxino") TARGET="/usr/lib/u-boot/a64-olinuxino/" ;; + 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 index 000000000..d5e996eea --- /dev/null +++ b/bin/u-boot-install-targets @@ -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 index 000000000..46bd4d72f --- /dev/null +++ b/bin/update-lintian-overrides @@ -0,0 +1,46 @@ +#!/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}<> ${overrides} + + cat >>${overrides}<> ${overrides} + + cat >>${overrides}<debian/${package}.lintian-overrides<> debian/${package}.substvars +done diff --git a/changelog b/changelog new file mode 100644 index 000000000..69de64555 --- /dev/null +++ b/changelog @@ -0,0 +1,1767 @@ +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 02 Jan 2012 17:49:39 -0500 + +u-boot (2011.09-2) unstable; urgency=low + + * Patch from Pino Toscano to build on the Hurd. + closes: #648295. + * Drop gr_xc3s_1500 target. + * Add build-arch and build-indep targets to debian/rules. + + -- Clint Adams 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 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 Sat, 06 Aug 2011 13:42:52 -0400 + +u-boot (2011.06-3) unstable; urgency=low + + * Add DreamPlug support. + + -- Clint Adams 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 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 Sat, 02 Jul 2011 19:25:28 -0400 + +u-boot (2011.06~rc3-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Sat, 20 Nov 2010 18:20:40 -0500 + +u-boot (2010.09-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams Wed, 29 Sep 2010 00:06:25 -0400 + +u-boot (2010.09~rc2-1) unstable; urgency=low + + * New upstrem release candidate. + + -- Clint Adams 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 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 Sat, 11 Sep 2010 00:43:04 -0400 + +u-boot (2010.06-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams 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 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 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 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 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 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 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 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 Mon, 31 May 2010 19:29:40 -0400 + +u-boot (2010.03-1) unstable; urgency=low + + * Initial packaging. closes: #583605. + + -- Clint Adams Fri, 28 May 2010 16:20:39 -0400 diff --git a/compat b/compat new file mode 100644 index 000000000..b4de39476 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +11 diff --git a/control b/control new file mode 100644 index 000000000..7c36ef2b9 --- /dev/null +++ b/control @@ -0,0 +1,207 @@ +Source: u-boot +Section: admin +Priority: optional +Maintainer: Vagrant Cascadian +Uploaders: Loïc Minier , Clint Adams +Build-Depends: + bc, + bison, + debhelper (>= 11), + device-tree-compiler, + dpkg-dev (>= 1.17.14), + flex, + libfdt-dev:native [arm64], + libc6:arm64 [arm64] , + libc6:armhf [armhf] , + libc6:armel [armel] , + libpython-dev:native [armhf arm64], + python:any [armhf arm64], + skales:native [arm64], + swig [armhf arm64], + lzop [armhf] | lzop:native [armhf] , +Standards-Version: 4.2.1 +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 index 000000000..fb52d96a8 --- /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 + 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 + 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. / 2006-2007 Nokia Corporation + 2005, Seagate Technology LLC / 2008 Stefan Roese , 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. + 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 / 2008 Sascha Hauer, Pengutronix / 2009 Ilya Yanok, + 2006 Thomas Gleixner + 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. / 2010, by Texas Instruments + 2008,2009 STMicroelectronics / 2010 Joakim Axelsson / 2009 Alessandro Rubini + 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 + 2008 Atmel Corporation / 2013 Jagannadha Sutradharudu Teki, Xilinx Inc + 2008 by Texas Instruments / 2008 Mentor Graphics Corporation + 2008 Dave S.r.l. + 2008 Extreme Engineering Solutions, Inc + 2008 Freescale Semiconductor, Inc + 2008 Jean-Christophe PLAGNIOL-VILLARD / 2004-2007 ARM Limited + 2008 Kim B. Heino / 2009 + 2008 Qstreams Networks, Inc + 2008 Samsung Electronics / 2008-2009 Stefan Roese , DENX Software Engineering + 2008 STMicroelectronics / 2010 Joakim Axelsson / 2009 Alessandro Rubini + 2008 Yoshihiro Shimoda + 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 + 2009 MontaVista Software, Inc. / 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 + 2010, Thomas Chou + 2010 Thomas Chou / 2008-2009 Avionic Design GmbH / 2007-2008 Avionic Design Development GmbH + 2010 Thomas Chou / 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 + 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 + 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 + 2006 David Gibson, IBM Corporation + 2012 Kim Phillips, Freescale Semiconductor + 2010-2013 Freescale Semiconductor, Inc + 2013 Marek Vasut + 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 + 2009, Texas Instruments, Incorporated +License: GPL-2+ + +Files: debian/* +Copyright: Clint Adams + Joey Hess + Marc Singer + Per Andersson + Vagrant Cascadian + Loïc Minier + Adam Borowski +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. +License: GPL-2 + +Files: net/dns.c + include/slre.h + lib/slre.c +Copyright: 2008 Pieter Voorthuijsen + 2004-2005 Sergey Lyubka + 2009 Robin Getz ] +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 + * . 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 index 000000000..1aedc9615 --- /dev/null +++ b/env-configs/efikamx.config @@ -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 index 000000000..1432d297e --- /dev/null +++ b/env-configs/guruplug.config @@ -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 index 000000000..83b6c6ac5 --- /dev/null +++ b/env-configs/kurobox_pro.config @@ -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 index 000000000..92ce9de2d --- /dev/null +++ b/env-configs/linkstation-mini.config @@ -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 index 000000000..83b6c6ac5 --- /dev/null +++ b/env-configs/linkstation_pro_live.config @@ -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 index 000000000..abd8bcb50 --- /dev/null +++ b/env-configs/lsmipsel.config @@ -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 index 000000000..4ccc5769c --- /dev/null +++ b/env-configs/lsppchg.config @@ -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 index 000000000..a4bd77459 --- /dev/null +++ b/env-configs/mx6cuboxi.config @@ -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 index 000000000..7fd45e398 --- /dev/null +++ b/env-configs/openmoko_gta01.config @@ -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 index 000000000..1faa2f1f8 --- /dev/null +++ b/env-configs/openmoko_gta02.config @@ -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 index 000000000..e4f0d6470 --- /dev/null +++ b/env-configs/openrd.config @@ -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 index 000000000..181c54b8c --- /dev/null +++ b/env-configs/qnap_ts101.config @@ -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 index 000000000..4024e080c --- /dev/null +++ b/env-configs/qnap_ts109-209.config @@ -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 index 000000000..98505a933 --- /dev/null +++ b/env-configs/qnap_ts119-219.config @@ -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 index 000000000..b9faa7f36 --- /dev/null +++ b/env-configs/sheevaplug.config @@ -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 index 000000000..9ffdf9f28 --- /dev/null +++ b/env-configs/udoo_quad.config @@ -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 index 000000000..1d5a97789 --- /dev/null +++ b/env-configs/wandboard.config @@ -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 index 000000000..a288852bc --- /dev/null +++ b/manpages/fw_printenv.8 @@ -0,0 +1,31 @@ +.\" Copyright © 2008 Per Andersson +.\" 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 +.PP +This manual page was written by Per Andersson diff --git a/manpages/fw_setenv.8 b/manpages/fw_setenv.8 new file mode 100644 index 000000000..5a5114ab1 --- /dev/null +++ b/manpages/fw_setenv.8 @@ -0,0 +1,27 @@ +.\" Copyright © 2008 Per Andersson +.\" 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 +.PP +This manual page was written by Per Andersson diff --git a/manpages/u-boot-install-sunxi64.8 b/manpages/u-boot-install-sunxi64.8 new file mode 100644 index 000000000..49464a5a7 --- /dev/null +++ b/manpages/u-boot-install-sunxi64.8 @@ -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 index 000000000..01c2f4099 --- /dev/null +++ b/patches/Makefile-add-kwb-target-to-all.patch @@ -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 index 000000000..8e6bccdb0 --- /dev/null +++ b/patches/add-debian-revision-to-u-boot-version @@ -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 index 000000000..10a9e2c2e --- /dev/null +++ b/patches/am57xx/omap5_distro_bootcmd @@ -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 + #include + ++#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 ++ + #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 index 000000000..66e9ae65c --- /dev/null +++ b/patches/arndale/board-spl-rule.diff @@ -0,0 +1,17 @@ +Description: Add spl/arndale-spl.bin rule +Author: Ian Campbell + +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/ensure-config-sandbox-for-make-env.patch b/patches/ensure-config-sandbox-for-make-env.patch new file mode 100644 index 000000000..f611ce9a1 --- /dev/null +++ b/patches/ensure-config-sandbox-for-make-env.patch @@ -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 + + #define CONFIG_KEEP_SERVERADDR diff --git a/patches/mipsel-native-endianness.diff b/patches/mipsel-native-endianness.diff new file mode 100644 index 000000000..a65639258 --- /dev/null +++ b/patches/mipsel-native-endianness.diff @@ -0,0 +1,54 @@ +[MIPS] Fix little-endian build with non-ELDK toolchains + +We've been in trouble for a long time when cross compiling with non-ELDK +toolchains. This is caused by -EB passed to CPPFLAGS incorrectly, by the +lack of an endian specifier to LDFLAGS, and by wrong OUTPUT_FORMATs. + +We're going to implement two workarounds. One is the endianness specifier +bugfix not to pass -EB / -EL to CPPFLAGS unless ELDK toolchain is used. +Note that ELDK and non-ELDK toolchains know their default endianness, so +the endianness specifier may not be necessary in principle. + +The other is removal of OUTPUT_FORMAT in *.lds files. If we have this, +it doesn't work unless an endianness specifier is added to LDFLAGS. As +we haven't added that to LDFLAGS so far, it must have not worked properly, +except ELDK; I don't know why and how ELDK works, though. + +With these two changes, all objects will be generated and linked in the +toolchain's default endianness. Then MAKEALL mips_el will work even with +non-ELDK toolchain. + +Note that Linux/MIPS kernel has CONFIG_CPU_BIG_ENDIAN and +CONFIG_CPU_LITTLE_ENDIAN alternatives to allow users to compile kernels +with a toolchain for the other endianness. But U-Boot does not have such +feature for now, and it's another story. + +Signed-off-by: Shinya Kuribayashi +--- + board/dbau1x00/u-boot.lds | 4 ---- + board/gth2/u-boot.lds | 4 ---- + board/incaip/u-boot.lds | 4 ---- + board/pb1x00/u-boot.lds | 4 ---- + board/purple/u-boot.lds | 4 ---- + board/qemu-mips/u-boot.lds | 4 ---- + board/tb0229/u-boot.lds | 2 -- + cpu/mips/config.mk | 8 -------- + examples/mips.lds | 4 ---- + mips_config.mk | 26 ++++++++++++++++++++++++++ + 10 files changed, 26 insertions(+), 38 deletions(-) + +Index: u-boot/examples/standalone/mips.lds +=================================================================== +--- u-boot.orig/examples/standalone/mips.lds ++++ u-boot/examples/standalone/mips.lds +@@ -4,10 +4,6 @@ + * Wolfgang Denk Engineering, + */ + +-/* +-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips") +-*/ +-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips") + OUTPUT_ARCH(mips) + SECTIONS + { diff --git a/patches/mx53loco b/patches/mx53loco new file mode 100644 index 000000000..331bf249b --- /dev/null +++ b/patches/mx53loco @@ -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 index 000000000..171fa1a94 --- /dev/null +++ b/patches/n900-bootz-raw-initrd.diff @@ -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 index 000000000..3e6935c15 --- /dev/null +++ b/patches/no-force-CROSS_COMPILE-powerpc.diff @@ -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/pinebook/0003-sunxi-A64-Update-.dts-.dtsi-files.patch b/patches/pinebook/0003-sunxi-A64-Update-.dts-.dtsi-files.patch new file mode 100644 index 000000000..9d0a08c8b --- /dev/null +++ b/patches/pinebook/0003-sunxi-A64-Update-.dts-.dtsi-files.patch @@ -0,0 +1,1485 @@ +From 1b39a1834ed182bbd8036a5cd74a9ea111fa4691 Mon Sep 17 00:00:00 2001 +From: Andre Przywara +Date: Mon, 29 Oct 2018 00:56:47 +0000 +Subject: [PATCH 03/13] sunxi: A64: Update .dts/.dtsi files +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree: +commit 679294497be31596e1c9c61507746d72b6b05f26 +Author: Rodrigo Exterckötter Tjäder +Date: Wed Sep 26 19:48:24 2018 +0000 + arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay + +Signed-off-by: Andre Przywara +Acked-by: Maxime Ripard +Reviewed-by: Jagan Teki +--- + arch/arm/dts/sun50i-a64-amarula-relic.dts | 168 +++++++++++++- + arch/arm/dts/sun50i-a64-bananapi-m64.dts | 34 ++- + arch/arm/dts/sun50i-a64-nanopi-a64.dts | 89 +++++++- + arch/arm/dts/sun50i-a64-olinuxino.dts | 103 ++++++++- + arch/arm/dts/sun50i-a64-orangepi-win.dts | 179 ++++++++++++++- + arch/arm/dts/sun50i-a64-pine64.dts | 32 ++- + arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 32 ++- + arch/arm/dts/sun50i-a64-sopine.dtsi | 15 ++ + arch/arm/dts/sun50i-a64.dtsi | 313 +++++++++++++++++++++++++-- + 9 files changed, 920 insertions(+), 45 deletions(-) + +diff --git a/arch/arm/dts/sun50i-a64-amarula-relic.dts b/arch/arm/dts/sun50i-a64-amarula-relic.dts +index f3b4e93ece..6cb2b7f0c8 100644 +--- a/arch/arm/dts/sun50i-a64-amarula-relic.dts ++++ b/arch/arm/dts/sun50i-a64-amarula-relic.dts +@@ -22,11 +22,11 @@ + stdout-path = "serial0:115200n8"; + }; + +- reg_vcc3v3: vcc3v3 { +- compatible = "regulator-fixed"; +- regulator-name = "vcc3v3"; +- regulator-min-microvolt = <3300000>; +- regulator-max-microvolt = <3300000>; ++ wifi_pwrseq: wifi-pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ clocks = <&rtc 1>; ++ clock-names = "ext_clock"; ++ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* WL-PMU-EN: PL2 */ + }; + }; + +@@ -34,10 +34,34 @@ + status = "okay"; + }; + ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dcdc1>; ++ /* ++ * Schematic shows both dldo4 and eldo1 connected for vcc-io-wifi, but ++ * dldo4 connection shows DNP(Do Not Populate) and eldo1 connected with ++ * 0Ohm register to vcc-io-wifi so eldo1 is used. ++ */ ++ vqmmc-supply = <®_eldo1>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++ ++ brcmf: wifi@1 { ++ reg = <1>; ++ compatible = "brcm,bcm4329-fmac"; ++ interrupt-parent = <&r_pio>; ++ interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* WL-WAKE-AP: PL3 */ ++ interrupt-names = "host-wake"; ++ }; ++}; ++ + &mmc2 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; +- vmmc-supply = <®_vcc3v3>; ++ vmmc-supply = <®_dcdc1>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; +@@ -48,9 +72,138 @@ + 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>; ++ x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */ ++ }; ++}; ++ ++#include "axp803.dtsi" ++ ++®_aldo1 { ++ regulator-always-on; ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ regulator-name = "avdd-csi"; ++}; ++ ++®_aldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-pl"; ++}; ++ ++®_aldo3 { ++ regulator-always-on; ++ regulator-min-microvolt = <3000000>; ++ regulator-max-microvolt = <3000000>; ++ regulator-name = "vcc-pll-avcc"; ++}; ++ ++®_dcdc1 { ++ regulator-always-on; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-3v3"; ++}; ++ ++®_dcdc2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1040000>; ++ regulator-max-microvolt = <1300000>; ++ regulator-name = "vdd-cpux"; ++}; ++ ++/* DCDC3 is polyphased with DCDC2 */ ++ ++®_dcdc5 { ++ regulator-always-on; ++ regulator-min-microvolt = <1500000>; ++ regulator-max-microvolt = <1500000>; ++ regulator-name = "vcc-dram"; ++}; ++ ++®_dcdc6 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-sys"; ++}; ++ ++®_dldo1 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-hdmi-dsi-sensor"; ++}; ++ ++®_dldo2 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-mipi"; ++}; ++ ++®_dldo3 { ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ regulator-name = "dovdd-csi"; ++}; ++ ++®_dldo4 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-wifi-io"; ++}; ++ ++®_drivevbus { ++ regulator-name = "usb0-vbus"; ++ status = "okay"; ++}; ++ ++®_eldo1 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "cpvdd"; ++}; ++ ++®_eldo3 { ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "dvdd-csi"; ++}; ++ ++®_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. ++ */ ++®_fldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-cpus"; ++}; ++ ++®_rtc_ldo { ++ regulator-name = "vcc-rtc"; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +@@ -61,5 +214,6 @@ + + &usbphy { + usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ ++ usb0_vbus-supply = <®_drivevbus>; + status = "okay"; + }; +diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts b/arch/arm/dts/sun50i-a64-bananapi-m64.dts +index 0716b14411..ef1c90401b 100644 +--- a/arch/arm/dts/sun50i-a64-bananapi-m64.dts ++++ b/arch/arm/dts/sun50i-a64-bananapi-m64.dts +@@ -60,6 +60,17 @@ + stdout-path = "serial0:115200n8"; + }; + ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ + leds { + compatible = "gpio-leds"; + +@@ -86,6 +97,10 @@ + }; + }; + ++&de { ++ status = "okay"; ++}; ++ + &ehci0 { + status = "okay"; + }; +@@ -103,6 +118,17 @@ + status = "okay"; + }; + ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; +@@ -151,7 +177,7 @@ + + &mmc2 { + pinctrl-names = "default"; +- pinctrl-0 = <&mmc2_pins>; ++ pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>; + vmmc-supply = <®_dcdc1>; + bus-width = <8>; + non-removable; +@@ -296,9 +322,13 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-nanopi-a64.dts b/arch/arm/dts/sun50i-a64-nanopi-a64.dts +index e2dce48fa2..31884dbc88 100644 +--- a/arch/arm/dts/sun50i-a64-nanopi-a64.dts ++++ b/arch/arm/dts/sun50i-a64-nanopi-a64.dts +@@ -51,12 +51,44 @@ + compatible = "friendlyarm,nanopi-a64", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; ++ ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ ++ leds { ++ compatible = "gpio-leds"; ++ ++ blue { ++ label = "nanopi-a64:blue:status"; ++ gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ ++ }; ++ }; ++ ++ wifi_pwrseq: wifi_pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ clocks = <&rtc 1>; ++ clock-names = "ext_clock"; ++ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ ++ }; ++}; ++ ++&de { ++ status = "okay"; + }; + + &ehci0 { +@@ -67,6 +99,26 @@ + status = "okay"; + }; + ++&emac { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&rgmii_pins>; ++ phy-mode = "rgmii"; ++ phy-handle = <&ext_rgmii_phy>; ++ phy-supply = <®_dcdc1>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + /* i2c1 connected with gpio headers like pine64, bananapi */ + &i2c1 { + pinctrl-names = "default"; +@@ -78,6 +130,13 @@ + bias-pull-up; + }; + ++&mdio { ++ ext_rgmii_phy: ethernet-phy@1 { ++ compatible = "ethernet-phy-ieee802.3-c22"; ++ reg = <7>; ++ }; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; +@@ -88,6 +147,24 @@ + status = "okay"; + }; + ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dcdc1>; ++ vqmmc-supply = <®_dldo4>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++ ++ rtl8189etv: wifi@1 { ++ reg = <1>; ++ interrupt-parent = <&r_pio>; ++ interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* PL3 */ ++ interrupt-names = "host-wake"; ++ }; ++}; ++ + &ohci0 { + status = "okay"; + }; +@@ -125,9 +202,9 @@ + + ®_dcdc1 { + regulator-always-on; +- regulator-min-microvolt = <3000000>; +- regulator-max-microvolt = <3000000>; +- regulator-name = "vcc-3v"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-3v3"; + }; + + ®_dcdc2 { +@@ -195,9 +272,13 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-olinuxino.dts b/arch/arm/dts/sun50i-a64-olinuxino.dts +index 3b3081b10e..f7a4bccaa5 100644 +--- a/arch/arm/dts/sun50i-a64-olinuxino.dts ++++ b/arch/arm/dts/sun50i-a64-olinuxino.dts +@@ -51,6 +51,7 @@ + compatible = "olimex,a64-olinuxino", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; + }; + +@@ -58,12 +59,74 @@ + stdout-path = "serial0:115200n8"; + }; + ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ ++ reg_usb1_vbus: usb1-vbus { ++ compatible = "regulator-fixed"; ++ regulator-name = "usb1-vbus"; ++ regulator-min-microvolt = <5000000>; ++ regulator-max-microvolt = <5000000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&pio 6 9 GPIO_ACTIVE_HIGH>; /* PG9 */ ++ status = "okay"; ++ }; ++ + wifi_pwrseq: wifi_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ + }; + }; + ++&de { ++ status = "okay"; ++}; ++ ++&ehci0 { ++ status = "okay"; ++}; ++ ++&ehci1 { ++ status = "okay"; ++}; ++ ++&emac { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&rgmii_pins>; ++ phy-mode = "rgmii"; ++ phy-handle = <&ext_rgmii_phy>; ++ phy-supply = <®_dcdc1>; ++ allwinner,tx-delay-ps = <600>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ ++&mdio { ++ ext_rgmii_phy: ethernet-phy@1 { ++ compatible = "ethernet-phy-ieee802.3-c22"; ++ reg = <1>; ++ }; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; +@@ -92,6 +155,14 @@ + }; + }; + ++&ohci0 { ++ status = "okay"; ++}; ++ ++&ohci1 { ++ status = "okay"; ++}; ++ + &r_rsb { + status = "okay"; + +@@ -100,6 +171,7 @@ + reg = <0x3a3>; + interrupt-parent = <&r_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; ++ x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */ + }; + }; + +@@ -142,10 +214,14 @@ + + /* DCDC3 is polyphased with DCDC2 */ + ++/* ++ * The board uses DDR3L DRAM chips. 1.36V is the closest to the nominal ++ * 1.35V that the PMIC can drive. ++ */ + ®_dcdc5 { + regulator-always-on; +- regulator-min-microvolt = <1500000>; +- regulator-max-microvolt = <1500000>; ++ regulator-min-microvolt = <1360000>; ++ regulator-max-microvolt = <1360000>; + regulator-name = "vcc-ddr3"; + }; + +@@ -180,6 +256,11 @@ + regulator-name = "vcc-wifi-io"; + }; + ++®_drivevbus { ++ regulator-name = "usb0-vbus"; ++ status = "okay"; ++}; ++ + ®_eldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; +@@ -214,8 +295,24 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; ++ status = "okay"; ++}; ++ ++&usb_otg { ++ dr_mode = "otg"; ++ status = "okay"; ++}; ++ ++&usbphy { + status = "okay"; ++ usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ ++ usb0_vbus-supply = <®_drivevbus>; ++ usb1_vbus-supply = <®_usb1_vbus>; + }; +diff --git a/arch/arm/dts/sun50i-a64-orangepi-win.dts b/arch/arm/dts/sun50i-a64-orangepi-win.dts +index bf42690a33..b0c64f7579 100644 +--- a/arch/arm/dts/sun50i-a64-orangepi-win.dts ++++ b/arch/arm/dts/sun50i-a64-orangepi-win.dts +@@ -1,5 +1,6 @@ + /* + * Copyright (C) 2017 Jagan Teki ++ * Copyright (C) 2017-2018 Samuel Holland + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual +@@ -51,23 +52,127 @@ + compatible = "xunlong,orangepi-win", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; ++ serial1 = &uart1; ++ serial2 = &uart2; ++ serial3 = &uart3; ++ serial4 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; ++ ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ ++ leds { ++ compatible = "gpio-leds"; ++ ++ status { ++ label = "orangepi:green:status"; ++ gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ ++ }; ++ }; ++ ++ reg_gmac_3v3: gmac-3v3 { ++ compatible = "regulator-fixed"; ++ regulator-name = "gmac-3v3"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&pio 3 14 GPIO_ACTIVE_HIGH>; /* PD14 */ ++ status = "okay"; ++ }; ++ ++ reg_usb1_vbus: usb1-vbus { ++ compatible = "regulator-fixed"; ++ regulator-name = "usb1-vbus"; ++ regulator-min-microvolt = <5000000>; ++ regulator-max-microvolt = <5000000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&pio 3 7 GPIO_ACTIVE_HIGH>; /* PD7 */ ++ status = "okay"; ++ }; ++ ++ wifi_pwrseq: wifi_pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ reset-gpios = <&r_pio 0 8 GPIO_ACTIVE_LOW>; /* PL8 */ ++ }; ++}; ++ ++&de { ++ status = "okay"; ++}; ++ ++&ehci0 { ++ status = "okay"; + }; + + &ehci1 { + status = "okay"; + }; + ++&emac { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&rgmii_pins>; ++ phy-mode = "rgmii"; ++ phy-handle = <&ext_rgmii_phy>; ++ phy-supply = <®_gmac_3v3>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ ++&mdio { ++ ext_rgmii_phy: ethernet-phy@1 { ++ compatible = "ethernet-phy-ieee802.3-c22"; ++ reg = <1>; ++ }; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + vmmc-supply = <®_dcdc1>; +- cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; ++ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ ++ disable-wp; ++ bus-width = <4>; ++ status = "okay"; ++}; ++ ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dldo2>; ++ vqmmc-supply = <®_dldo4>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++}; ++ ++&ohci0 { + status = "okay"; + }; + +@@ -89,9 +194,8 @@ + #include "axp803.dtsi" + + ®_aldo1 { +- regulator-always-on; +- regulator-min-microvolt = <1800000>; +- regulator-max-microvolt = <3300000>; ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; + regulator-name = "afvcc-csi"; + }; + +@@ -163,12 +267,23 @@ + regulator-name = "vcc-wifi-io"; + }; + ++®_drivevbus { ++ regulator-name = "usb0-vbus"; ++ status = "okay"; ++}; ++ + ®_eldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "cpvdd"; + }; + ++®_eldo3 { ++ regulator-min-microvolt = <1500000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "dvdd-csi"; ++}; ++ + ®_fldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; +@@ -191,13 +306,65 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ ++&spi0 { ++ status = "okay"; ++ ++ spi-flash@0 { ++ compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; ++ reg = <0>; ++ spi-max-frequency = <80000000>; ++ m25p,fast-read; ++ status = "okay"; ++ }; ++}; ++ ++/* On debug connector */ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +-&usbphy { ++/* Bluetooth */ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; ++ status = "okay"; ++}; ++ ++/* On Pi-2 connector, RTS/CTS optional */ ++&uart2 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart2_pins>; ++ status = "disabled"; ++}; ++ ++/* On Pi-2 connector, RTS/CTS optional */ ++&uart3 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart3_pins>; ++ status = "disabled"; ++}; ++ ++/* On Pi-2 connector (labeled for SPI1), RTS/CTS optional */ ++&uart4 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart4_pins>; ++ status = "disabled"; ++}; ++ ++&usb_otg { ++ dr_mode = "otg"; + status = "okay"; + }; + ++&usbphy { ++ usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ ++ usb0_vbus-supply = <®_drivevbus>; ++ usb1_vbus-supply = <®_usb1_vbus>; ++ status = "okay"; ++}; +diff --git a/arch/arm/dts/sun50i-a64-pine64.dts b/arch/arm/dts/sun50i-a64-pine64.dts +index a75825798a..c077b6c1f4 100644 +--- a/arch/arm/dts/sun50i-a64-pine64.dts ++++ b/arch/arm/dts/sun50i-a64-pine64.dts +@@ -62,6 +62,21 @@ + chosen { + stdout-path = "serial0:115200n8"; + }; ++ ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++}; ++ ++&de { ++ status = "okay"; + }; + + &ehci0 { +@@ -82,6 +97,17 @@ + + }; + ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; +@@ -229,6 +255,10 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + /* On Euler connector */ + &spdif { + status = "disabled"; +@@ -237,7 +267,7 @@ + /* On Exp and Euler connectors */ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-sopine-baseboard.dts b/arch/arm/dts/sun50i-a64-sopine-baseboard.dts +index abe179de35..53fcc9098d 100644 +--- a/arch/arm/dts/sun50i-a64-sopine-baseboard.dts ++++ b/arch/arm/dts/sun50i-a64-sopine-baseboard.dts +@@ -61,6 +61,17 @@ + stdout-path = "serial0:115200n8"; + }; + ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ + reg_vcc1v8: vcc1v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc1v8"; +@@ -69,6 +80,10 @@ + }; + }; + ++&de { ++ status = "okay"; ++}; ++ + &ehci0 { + status = "okay"; + }; +@@ -86,6 +101,17 @@ + status = "okay"; + }; + ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + &mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; +@@ -134,9 +160,13 @@ + regulator-name = "vcc-wifi"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-sopine.dtsi b/arch/arm/dts/sun50i-a64-sopine.dtsi +index 43418bd881..6723b8695e 100644 +--- a/arch/arm/dts/sun50i-a64-sopine.dtsi ++++ b/arch/arm/dts/sun50i-a64-sopine.dtsi +@@ -45,6 +45,8 @@ + + #include "sun50i-a64.dtsi" + ++#include ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; +@@ -52,6 +54,7 @@ + non-removable; + disable-wp; + bus-width = <4>; ++ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ + status = "okay"; + }; + +@@ -66,6 +69,18 @@ + }; + }; + ++&spi0 { ++ status = "okay"; ++ ++ flash@0 { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ compatible = "jedec,spi-nor"; ++ reg = <0>; ++ spi-max-frequency = <40000000>; ++ }; ++}; ++ + #include "axp803.dtsi" + + ®_aldo2 { +diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi +index 7a083637c4..f3a66f8882 100644 +--- a/arch/arm/dts/sun50i-a64.dtsi ++++ b/arch/arm/dts/sun50i-a64.dtsi +@@ -43,9 +43,12 @@ + */ + + #include ++#include + #include + #include + #include ++#include ++#include + + / { + interrupt-parent = <&gic>; +@@ -57,17 +60,21 @@ + #size-cells = <1>; + ranges; + +-/* +- * The pipeline mixer0-lcd0 depends on clock CLK_MIXER0 from DE2 CCU. +- * However there is no support for this clock on A64 yet, so we depend +- * on the upstream clocks here to keep them (and thus CLK_MIXER0) up. +- */ + simplefb_lcd: framebuffer-lcd { + compatible = "allwinner,simple-framebuffer", + "simple-framebuffer"; + allwinner,pipeline = "mixer0-lcd0"; + clocks = <&ccu CLK_TCON0>, +- <&ccu CLK_DE>, <&ccu CLK_BUS_DE>; ++ <&display_clocks CLK_MIXER0>; ++ status = "disabled"; ++ }; ++ ++ simplefb_hdmi: framebuffer-hdmi { ++ compatible = "allwinner,simple-framebuffer", ++ "simple-framebuffer"; ++ allwinner,pipeline = "mixer1-lcd1-hdmi"; ++ clocks = <&display_clocks CLK_MIXER1>, ++ <&ccu CLK_TCON1>, <&ccu CLK_HDMI>; + status = "disabled"; + }; + }; +@@ -81,6 +88,7 @@ + device_type = "cpu"; + reg = <0>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; + + cpu1: cpu@1 { +@@ -88,6 +96,7 @@ + device_type = "cpu"; + reg = <1>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; + + cpu2: cpu@2 { +@@ -95,6 +104,7 @@ + device_type = "cpu"; + reg = <2>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; + + cpu3: cpu@3 { +@@ -102,7 +112,20 @@ + device_type = "cpu"; + reg = <3>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; ++ ++ L2: l2-cache { ++ compatible = "cache"; ++ cache-level = <2>; ++ }; ++ }; ++ ++ de: display-engine { ++ compatible = "allwinner,sun50i-a64-display-engine"; ++ allwinner,pipelines = <&mixer0>, ++ <&mixer1>; ++ status = "disabled"; + }; + + osc24M: osc24M_clk { +@@ -168,10 +191,92 @@ + #size-cells = <1>; + ranges; + ++ de2@1000000 { ++ compatible = "allwinner,sun50i-a64-de2"; ++ reg = <0x1000000 0x400000>; ++ allwinner,sram = <&de2_sram 1>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ranges = <0 0x1000000 0x400000>; ++ ++ display_clocks: clock@0 { ++ compatible = "allwinner,sun50i-a64-de2-clk"; ++ reg = <0x0 0x100000>; ++ clocks = <&ccu CLK_DE>, ++ <&ccu CLK_BUS_DE>; ++ clock-names = "mod", ++ "bus"; ++ resets = <&ccu RST_BUS_DE>; ++ #clock-cells = <1>; ++ #reset-cells = <1>; ++ }; ++ ++ mixer0: mixer@100000 { ++ compatible = "allwinner,sun50i-a64-de2-mixer-0"; ++ reg = <0x100000 0x100000>; ++ clocks = <&display_clocks CLK_BUS_MIXER0>, ++ <&display_clocks CLK_MIXER0>; ++ clock-names = "bus", ++ "mod"; ++ resets = <&display_clocks RST_MIXER0>; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mixer0_out: port@1 { ++ reg = <1>; ++ ++ mixer0_out_tcon0: endpoint { ++ remote-endpoint = <&tcon0_in_mixer0>; ++ }; ++ }; ++ }; ++ }; ++ ++ mixer1: mixer@200000 { ++ compatible = "allwinner,sun50i-a64-de2-mixer-1"; ++ reg = <0x200000 0x100000>; ++ clocks = <&display_clocks CLK_BUS_MIXER1>, ++ <&display_clocks CLK_MIXER1>; ++ clock-names = "bus", ++ "mod"; ++ resets = <&display_clocks RST_MIXER1>; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mixer1_out: port@1 { ++ reg = <1>; ++ ++ mixer1_out_tcon1: endpoint { ++ remote-endpoint = <&tcon1_in_mixer1>; ++ }; ++ }; ++ }; ++ }; ++ }; ++ + syscon: syscon@1c00000 { +- compatible = "allwinner,sun50i-a64-system-controller", +- "syscon"; ++ compatible = "allwinner,sun50i-a64-system-control"; + reg = <0x01c00000 0x1000>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ranges; ++ ++ sram_c: sram@18000 { ++ compatible = "mmio-sram"; ++ reg = <0x00018000 0x28000>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ranges = <0 0x00018000 0x28000>; ++ ++ de2_sram: sram-section@0 { ++ compatible = "allwinner,sun50i-a64-sram-c"; ++ reg = <0x0000 0x28000>; ++ }; ++ }; + }; + + dma: dma-controller@1c02000 { +@@ -185,6 +290,75 @@ + #dma-cells = <1>; + }; + ++ tcon0: lcd-controller@1c0c000 { ++ compatible = "allwinner,sun50i-a64-tcon-lcd", ++ "allwinner,sun8i-a83t-tcon-lcd"; ++ reg = <0x01c0c000 0x1000>; ++ interrupts = ; ++ clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>; ++ clock-names = "ahb", "tcon-ch0"; ++ clock-output-names = "tcon-pixel-clock"; ++ resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>; ++ reset-names = "lcd", "lvds"; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ tcon0_in: port@0 { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ reg = <0>; ++ ++ tcon0_in_mixer0: endpoint@0 { ++ reg = <0>; ++ remote-endpoint = <&mixer0_out_tcon0>; ++ }; ++ }; ++ ++ tcon0_out: port@1 { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ reg = <1>; ++ }; ++ }; ++ }; ++ ++ tcon1: lcd-controller@1c0d000 { ++ compatible = "allwinner,sun50i-a64-tcon-tv", ++ "allwinner,sun8i-a83t-tcon-tv"; ++ reg = <0x01c0d000 0x1000>; ++ interrupts = ; ++ clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>; ++ clock-names = "ahb", "tcon-ch1"; ++ resets = <&ccu RST_BUS_TCON1>; ++ reset-names = "lcd"; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ tcon1_in: port@0 { ++ reg = <0>; ++ ++ tcon1_in_mixer1: endpoint { ++ remote-endpoint = <&mixer1_out_tcon1>; ++ }; ++ }; ++ ++ tcon1_out: port@1 { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ reg = <1>; ++ ++ tcon1_out_hdmi: endpoint@1 { ++ reg = <1>; ++ remote-endpoint = <&hdmi_in_tcon1>; ++ }; ++ }; ++ }; ++ }; ++ + mmc0: mmc@1c0f000 { + compatible = "allwinner,sun50i-a64-mmc"; + reg = <0x01c0f000 0x1000>; +@@ -227,6 +401,11 @@ + #size-cells = <0>; + }; + ++ sid: eeprom@1c14000 { ++ compatible = "allwinner,sun50i-a64-sid"; ++ reg = <0x1c14000 0x400>; ++ }; ++ + usb_otg: usb@1c19000 { + compatible = "allwinner,sun8i-a33-musb"; + reg = <0x01c19000 0x0400>; +@@ -356,7 +535,7 @@ + }; + + mmc2_pins: mmc2-pins { +- pins = "PC1", "PC5", "PC6", "PC8", "PC9", ++ pins = "PC5", "PC6", "PC8", "PC9", + "PC10","PC11", "PC12", "PC13", + "PC14", "PC15", "PC16"; + function = "mmc2"; +@@ -364,6 +543,18 @@ + bias-pull-up; + }; + ++ mmc2_ds_pin: mmc2-ds-pin { ++ pins = "PC1"; ++ function = "mmc2"; ++ drive-strength = <30>; ++ bias-pull-up; ++ }; ++ ++ pwm_pin: pwm_pin { ++ pins = "PD22"; ++ function = "pwm"; ++ }; ++ + rmii_pins: rmii_pins { + pins = "PD10", "PD11", "PD13", "PD14", "PD17", + "PD18", "PD19", "PD20", "PD22", "PD23"; +@@ -394,7 +585,7 @@ + function = "spi1"; + }; + +- uart0_pins_a: uart0 { ++ uart0_pb_pins: uart0-pb-pins { + pins = "PB8", "PB9"; + function = "uart0"; + }; +@@ -474,15 +665,6 @@ + status = "disabled"; + }; + +- pwm: pwm@1c21400 { +- compatible = "allwinner,sun50i-a64-pwm", +- "allwinner,sun5i-a13-pwm"; +- reg = <0x01c21400 0x8>; +- clocks = <&osc24M>; +- #pwm-cells = <3>; +- status = "disabled"; +- }; +- + uart0: serial@1c28000 { + compatible = "snps,dw-apb-uart"; + reg = <0x01c28000 0x400>; +@@ -617,8 +799,6 @@ + clocks = <&ccu CLK_BUS_EMAC>; + clock-names = "stmmaceth"; + status = "disabled"; +- #address-cells = <1>; +- #size-cells = <0>; + + mdio: mdio { + compatible = "snps,dwmac-mdio"; +@@ -638,11 +818,69 @@ + #interrupt-cells = <3>; + }; + ++ pwm: pwm@1c21400 { ++ compatible = "allwinner,sun50i-a64-pwm", ++ "allwinner,sun5i-a13-pwm"; ++ reg = <0x01c21400 0x400>; ++ clocks = <&osc24M>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pwm_pin>; ++ #pwm-cells = <3>; ++ status = "disabled"; ++ }; ++ ++ hdmi: hdmi@1ee0000 { ++ compatible = "allwinner,sun50i-a64-dw-hdmi", ++ "allwinner,sun8i-a83t-dw-hdmi"; ++ reg = <0x01ee0000 0x10000>; ++ reg-io-width = <1>; ++ interrupts = ; ++ clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, ++ <&ccu CLK_HDMI>; ++ clock-names = "iahb", "isfr", "tmds"; ++ resets = <&ccu RST_BUS_HDMI1>; ++ reset-names = "ctrl"; ++ phys = <&hdmi_phy>; ++ phy-names = "hdmi-phy"; ++ status = "disabled"; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ hdmi_in: port@0 { ++ reg = <0>; ++ ++ hdmi_in_tcon1: endpoint { ++ remote-endpoint = <&tcon1_out_hdmi>; ++ }; ++ }; ++ ++ hdmi_out: port@1 { ++ reg = <1>; ++ }; ++ }; ++ }; ++ ++ hdmi_phy: hdmi-phy@1ef0000 { ++ compatible = "allwinner,sun50i-a64-hdmi-phy"; ++ reg = <0x01ef0000 0x10000>; ++ clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, ++ <&ccu 7>; ++ clock-names = "bus", "mod", "pll-0"; ++ resets = <&ccu RST_BUS_HDMI0>; ++ reset-names = "phy"; ++ #phy-cells = <0>; ++ }; ++ + rtc: rtc@1f00000 { + compatible = "allwinner,sun6i-a31-rtc"; + reg = <0x01f00000 0x54>; + interrupts = , + ; ++ clock-output-names = "rtc-osc32k", "rtc-osc32k-out"; ++ clocks = <&osc32k>; ++ #clock-cells = <1>; + }; + + r_intc: interrupt-controller@1f00c00 { +@@ -664,6 +902,29 @@ + #reset-cells = <1>; + }; + ++ r_i2c: i2c@1f02400 { ++ compatible = "allwinner,sun50i-a64-i2c", ++ "allwinner,sun6i-a31-i2c"; ++ reg = <0x01f02400 0x400>; ++ interrupts = ; ++ clocks = <&r_ccu CLK_APB0_I2C>; ++ resets = <&r_ccu RST_APB0_I2C>; ++ status = "disabled"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ }; ++ ++ r_pwm: pwm@1f03800 { ++ compatible = "allwinner,sun50i-a64-pwm", ++ "allwinner,sun5i-a13-pwm"; ++ reg = <0x01f03800 0x400>; ++ clocks = <&osc24M>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&r_pwm_pin>; ++ #pwm-cells = <3>; ++ status = "disabled"; ++ }; ++ + r_pio: pinctrl@1f02c00 { + compatible = "allwinner,sun50i-a64-r-pinctrl"; + reg = <0x01f02c00 0x400>; +@@ -675,6 +936,16 @@ + interrupt-controller; + #interrupt-cells = <3>; + ++ r_i2c_pl89_pins: r-i2c-pl89-pins { ++ pins = "PL8", "PL9"; ++ function = "s_i2c"; ++ }; ++ ++ r_pwm_pin: pwm { ++ pins = "PL10"; ++ function = "s_pwm"; ++ }; ++ + r_rsb_pins: rsb { + pins = "PL0", "PL1"; + function = "s_rsb"; +-- +2.11.0 + diff --git a/patches/pinebook/0004-sunxi-A64-Re-add-syscon-to-DT-node.patch b/patches/pinebook/0004-sunxi-A64-Re-add-syscon-to-DT-node.patch new file mode 100644 index 000000000..9289645be --- /dev/null +++ b/patches/pinebook/0004-sunxi-A64-Re-add-syscon-to-DT-node.patch @@ -0,0 +1,38 @@ +From ababb5920e8992c9bb7956df3cc85dc68d27dfe8 Mon Sep 17 00:00:00 2001 +From: Andre Przywara +Date: Mon, 29 Oct 2018 00:56:48 +0000 +Subject: [PATCH 04/13] sunxi: A64: Re-add syscon to DT node + +The sun50i-a64.dtsi changes introduced in Linux v4.19-rc1 changed the +compatible name for the syscon controller, dropping the generic "syscon" +fallback. Using this new DT node will make the Ethernet driver in every +older kernel (or non-Linux kernels) fail to initialise the MAC device. + +To allow booting distribution kernels (from installer images via UEFI, +for instance), re-add the syscon compatible string as a fallback. This +works with both older and newer kernels. + +Signed-off-by: Andre Przywara +Acked-by: Maxime Ripard +Reviewed-by: Jagan Teki +--- + arch/arm/dts/sun50i-a64.dtsi | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi +index f3a66f8882..ff41abc96a 100644 +--- a/arch/arm/dts/sun50i-a64.dtsi ++++ b/arch/arm/dts/sun50i-a64.dtsi +@@ -259,7 +259,8 @@ + }; + + syscon: syscon@1c00000 { +- compatible = "allwinner,sun50i-a64-system-control"; ++ compatible = "allwinner,sun50i-a64-system-control", ++ "syscon"; + reg = <0x01c00000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; +-- +2.11.0 + diff --git a/patches/pinebook/0007-mmc-sunxi-add-support-for-automatic-delay-calibratio.patch b/patches/pinebook/0007-mmc-sunxi-add-support-for-automatic-delay-calibratio.patch new file mode 100644 index 000000000..118bdf8e0 --- /dev/null +++ b/patches/pinebook/0007-mmc-sunxi-add-support-for-automatic-delay-calibratio.patch @@ -0,0 +1,98 @@ +From 20940ef2a397446a209350900d3bd618c3fd5b94 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:28 -0800 +Subject: [PATCH 07/13] mmc: sunxi: add support for automatic delay calibration + +A64 and H6 support automatic delay calibration and Linux driver uses it +instead of hardcoded delays. Add support for it to u-boot driver. + +Fixes eMMC instability on Pinebook + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Reviewed-by: Andre Przywara +Cc: Vagrant Cascadian +Reviewed-by: Jagan Teki +--- + arch/arm/include/asm/arch-sunxi/mmc.h | 6 +++++- + drivers/mmc/sunxi_mmc.c | 21 ++++++++++++++++++++- + 2 files changed, 25 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/include/asm/arch-sunxi/mmc.h b/arch/arm/include/asm/arch-sunxi/mmc.h +index d98c53faaa..f2deafddd2 100644 +--- a/arch/arm/include/asm/arch-sunxi/mmc.h ++++ b/arch/arm/include/asm/arch-sunxi/mmc.h +@@ -46,7 +46,9 @@ struct sunxi_mmc { + u32 cbda; /* 0x94 */ + u32 res2[26]; + #if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_MACH_SUN50I_H6) +- u32 res3[64]; ++ u32 res3[17]; ++ u32 samp_dl; ++ u32 res4[46]; + #endif + u32 fifo; /* 0x100 / 0x200 FIFO access address */ + }; +@@ -130,5 +132,7 @@ struct sunxi_mmc { + #define SUNXI_MMC_COMMON_CLK_GATE (1 << 16) + #define SUNXI_MMC_COMMON_RESET (1 << 18) + ++#define SUNXI_MMC_CAL_DL_SW_EN (0x1 << 7) ++ + struct mmc *sunxi_mmc_init(int sdc_no); + #endif /* _SUNXI_MMC_H */ +diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c +index 39f15eb423..147eb9b4d5 100644 +--- a/drivers/mmc/sunxi_mmc.c ++++ b/drivers/mmc/sunxi_mmc.c +@@ -99,11 +99,16 @@ static int mmc_set_mod_clk(struct sunxi_mmc_priv *priv, unsigned int hz) + { + unsigned int pll, pll_hz, div, n, oclk_dly, sclk_dly; + bool new_mode = false; ++ bool calibrate = false; + u32 val = 0; + + if (IS_ENABLED(CONFIG_MMC_SUNXI_HAS_NEW_MODE) && (priv->mmc_no == 2)) + new_mode = true; + ++#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN50I_H6) ++ calibrate = true; ++#endif ++ + /* + * The MMC clock has an extra /2 post-divider when operating in the new + * mode. +@@ -174,7 +179,11 @@ static int mmc_set_mod_clk(struct sunxi_mmc_priv *priv, unsigned int hz) + val = CCM_MMC_CTRL_MODE_SEL_NEW; + setbits_le32(&priv->reg->ntsr, SUNXI_MMC_NTSR_MODE_SEL_NEW); + #endif +- } else { ++ } else if (!calibrate) { ++ /* ++ * Use hardcoded delay values if controller doesn't support ++ * calibration ++ */ + val = CCM_MMC_CTRL_OCLK_DLY(oclk_dly) | + CCM_MMC_CTRL_SCLK_DLY(sclk_dly); + } +@@ -228,6 +237,16 @@ static int mmc_config_clock(struct sunxi_mmc_priv *priv, struct mmc *mmc) + rval &= ~SUNXI_MMC_CLK_DIVIDER_MASK; + writel(rval, &priv->reg->clkcr); + ++#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN50I_H6) ++ /* A64 supports calibration of delays on MMC controller and we ++ * have to set delay of zero before starting calibration. ++ * Allwinner BSP driver sets a delay only in the case of ++ * using HS400 which is not supported by mainline U-Boot or ++ * Linux at the moment ++ */ ++ writel(SUNXI_MMC_CAL_DL_SW_EN, &priv->reg->samp_dl); ++#endif ++ + /* Re-enable Clock */ + rval |= SUNXI_MMC_CLK_ENABLE; + writel(rval, &priv->reg->clkcr); +-- +2.11.0 + diff --git a/patches/pinebook/0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch b/patches/pinebook/0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch new file mode 100644 index 000000000..8c6ca8a99 --- /dev/null +++ b/patches/pinebook/0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch @@ -0,0 +1,50 @@ +From 8336a43792a103c13d939b3925cb75322911f7fb Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:29 -0800 +Subject: [PATCH 08/13] dm: video: bridge: don't fail to activate bridge if + reset or sleep GPIO is missing + +Both GPIOs are optional, so we shouldn't fail if any is missing. +Without this fix reset is not deasserted if sleep GPIO is missing. + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Reviewed-by: Andre Przywara +Cc: Vagrant Cascadian +--- + drivers/video/bridge/video-bridge-uclass.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +diff --git a/drivers/video/bridge/video-bridge-uclass.c b/drivers/video/bridge/video-bridge-uclass.c +index cd4959cc71..5fecb4cfd5 100644 +--- a/drivers/video/bridge/video-bridge-uclass.c ++++ b/drivers/video/bridge/video-bridge-uclass.c +@@ -106,13 +106,19 @@ static int video_bridge_pre_probe(struct udevice *dev) + int video_bridge_set_active(struct udevice *dev, bool active) + { + struct video_bridge_priv *uc_priv = dev_get_uclass_priv(dev); +- int ret; ++ int ret = 0; + + debug("%s: %d\n", __func__, active); +- ret = dm_gpio_set_value(&uc_priv->sleep, !active); +- if (ret) +- return ret; +- if (active) { ++ if (uc_priv->sleep.dev) { ++ ret = dm_gpio_set_value(&uc_priv->sleep, !active); ++ if (ret) ++ return ret; ++ } ++ ++ if (!active) ++ return 0; ++ ++ if (uc_priv->reset.dev) { + ret = dm_gpio_set_value(&uc_priv->reset, true); + if (ret) + return ret; +-- +2.11.0 + diff --git a/patches/pinebook/0009-sun50i-A64-add-support-for-R_I2C-controller.patch b/patches/pinebook/0009-sun50i-A64-add-support-for-R_I2C-controller.patch new file mode 100644 index 000000000..824a16b9d --- /dev/null +++ b/patches/pinebook/0009-sun50i-A64-add-support-for-R_I2C-controller.patch @@ -0,0 +1,70 @@ +From 31a4ac4d79d75baeede3edfa95515fd4169ef502 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:30 -0800 +Subject: [PATCH 09/13] sun50i: A64: add support for R_I2C controller + +Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has +two groups of pinmuxes on PL bank, so it's called R_I2C. + +Add support for this I2C controller and the pinmux which doesn't conflict +with RSB. + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Cc: Vagrant Cascadian +Acked-by: Jagan Teki +--- + arch/arm/include/asm/arch-sunxi/gpio.h | 1 + + arch/arm/mach-sunxi/Kconfig | 1 + + board/sunxi/board.c | 6 ++++++ + 3 files changed, 8 insertions(+) + +diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h +index 6a5eafc3d3..2daf23f6f5 100644 +--- a/arch/arm/include/asm/arch-sunxi/gpio.h ++++ b/arch/arm/include/asm/arch-sunxi/gpio.h +@@ -211,6 +211,7 @@ enum sunxi_gpio_number { + #define SUN8I_H3_GPL_R_TWI 2 + #define SUN8I_A23_GPL_R_TWI 3 + #define SUN8I_GPL_R_UART 2 ++#define SUN50I_GPL_R_TWI 2 + + #define SUN9I_GPN_R_RSB 3 + +diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig +index 6277abc3cc..560dc9b25d 100644 +--- a/arch/arm/mach-sunxi/Kconfig ++++ b/arch/arm/mach-sunxi/Kconfig +@@ -278,6 +278,7 @@ config MACH_SUN50I + select ARM64 + select DM_I2C + select PHY_SUN4I_USB ++ select SUN6I_PRCM + select SUNXI_DE2 + select SUNXI_GEN_SUN6I + select SUPPORT_SPL +diff --git a/board/sunxi/board.c b/board/sunxi/board.c +index b196d48674..64ccbc7245 100644 +--- a/board/sunxi/board.c ++++ b/board/sunxi/board.c +@@ -168,10 +168,16 @@ void i2c_init_board(void) + #endif + + #ifdef CONFIG_R_I2C_ENABLE ++#ifdef CONFIG_MACH_SUN50I ++ clock_twi_onoff(5, 1); ++ sunxi_gpio_set_cfgpin(SUNXI_GPL(8), SUN50I_GPL_R_TWI); ++ sunxi_gpio_set_cfgpin(SUNXI_GPL(9), SUN50I_GPL_R_TWI); ++#else + clock_twi_onoff(5, 1); + sunxi_gpio_set_cfgpin(SUNXI_GPL(0), SUN8I_H3_GPL_R_TWI); + sunxi_gpio_set_cfgpin(SUNXI_GPL(1), SUN8I_H3_GPL_R_TWI); + #endif ++#endif + } + + #if defined(CONFIG_ENV_IS_IN_MMC) && defined(CONFIG_ENV_IS_IN_FAT) +-- +2.11.0 + diff --git a/patches/pinebook/0010-sunxi-DT-add-support-for-Pinebook.patch b/patches/pinebook/0010-sunxi-DT-add-support-for-Pinebook.patch new file mode 100644 index 000000000..48c004fdf --- /dev/null +++ b/patches/pinebook/0010-sunxi-DT-add-support-for-Pinebook.patch @@ -0,0 +1,388 @@ +From b972831c3cd24f3c9bb0995ed61db8f8239f3391 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:31 -0800 +Subject: [PATCH 10/13] sunxi: DT: add support for Pinebook + +Pinebook is a laptop produced by Pine64, with USB-connected keyboard, +USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP +bridge from Analogix. + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Cc: Vagrant Cascadian +Reviewed-by: Jagan Teki +--- + arch/arm/dts/Makefile | 1 + + arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi | 15 ++ + arch/arm/dts/sun50i-a64-pinebook.dts | 294 +++++++++++++++++++++++++++ + configs/pinebook_defconfig | 22 ++ + 4 files changed, 332 insertions(+) + create mode 100644 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi + create mode 100644 arch/arm/dts/sun50i-a64-pinebook.dts + create mode 100644 configs/pinebook_defconfig + +diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile +index 3093c1185e..eae6b9ee5d 100644 +--- a/arch/arm/dts/Makefile ++++ b/arch/arm/dts/Makefile +@@ -406,6 +406,7 @@ dtb-$(CONFIG_MACH_SUN50I) += \ + sun50i-a64-orangepi-win.dtb \ + sun50i-a64-pine64-plus.dtb \ + sun50i-a64-pine64.dtb \ ++ sun50i-a64-pinebook.dtb \ + sun50i-a64-sopine-baseboard.dtb + dtb-$(CONFIG_MACH_SUN9I) += \ + sun9i-a80-optimus.dtb \ +diff --git a/arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi b/arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi +new file mode 100644 +index 0000000000..a99b7171d0 +--- /dev/null ++++ b/arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi +@@ -0,0 +1,15 @@ ++// SPDX-License-Identifier: (GPL-2.0+ OR MIT) ++/* ++ * Copyright (C) 2018 Vasily Khoruzhick ++ * ++ */ ++ ++/* The ANX6345 eDP-bridge is on r_i2c */ ++&r_i2c { ++ anx6345: edp-bridge@38 { ++ compatible = "analogix,anx6345"; ++ reg = <0x38>; ++ reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ ++ status = "okay"; ++ }; ++}; +diff --git a/arch/arm/dts/sun50i-a64-pinebook.dts b/arch/arm/dts/sun50i-a64-pinebook.dts +new file mode 100644 +index 0000000000..ec537c5297 +--- /dev/null ++++ b/arch/arm/dts/sun50i-a64-pinebook.dts +@@ -0,0 +1,294 @@ ++// SPDX-License-Identifier: (GPL-2.0+ OR MIT) ++/* ++ * Copyright (C) 2017 Icenowy Zheng ++ * Copyright (C) 2018 Vasily Khoruzhick ++ * ++ */ ++ ++/dts-v1/; ++ ++#include "sun50i-a64.dtsi" ++ ++#include ++#include ++#include ++ ++/ { ++ model = "Pinebook"; ++ compatible = "pine64,pinebook", "allwinner,sun50i-a64"; ++ ++ aliases { ++ serial0 = &uart0; ++ ethernet0 = &rtl8723cs; ++ }; ++ ++ 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>; ++ }; ++ ++ chosen { ++ stdout-path = "serial0:115200n8"; ++ ++ framebuffer-lcd { ++ panel-supply = <®_dc1sw>; ++ dvdd25-supply = <®_dldo2>; ++ dvdd12-supply = <®_fldo1>; ++ }; ++ }; ++ ++ gpio_keys { ++ compatible = "gpio-keys"; ++ ++ lid_switch { ++ label = "Lid Switch"; ++ gpios = <&r_pio 0 12 GPIO_ACTIVE_LOW>; /* PL12 */ ++ linux,input-type = ; ++ linux,code = ; ++ linux,can-disable; ++ wakeup-source; ++ }; ++ }; ++ ++ reg_vcc3v3: vcc3v3 { ++ compatible = "regulator-fixed"; ++ regulator-name = "vcc3v3"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ }; ++ ++ wifi_pwrseq: wifi_pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ ++ }; ++}; ++ ++&ehci0 { ++ phys = <&usbphy 0>; ++ phy-names = "usb"; ++ status = "okay"; ++}; ++ ++&ehci1 { ++ status = "okay"; ++}; ++ ++&mmc0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc0_pins>; ++ vmmc-supply = <®_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 = <®_dldo4>; ++ vqmmc-supply = <®_eldo1>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++ ++ rtl8723cs: wifi@1 { ++ reg = <1>; ++ }; ++}; ++ ++&mmc2 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>; ++ vmmc-supply = <®_dcdc1>; ++ vqmmc-supply = <®_eldo1>; ++ bus-width = <8>; ++ non-removable; ++ cap-mmc-hw-reset; ++ mmc-hs200-1_8v; ++ status = "okay"; ++}; ++ ++&ohci0 { ++ phys = <&usbphy 0>; ++ phy-names = "usb"; ++ status = "okay"; ++}; ++ ++&ohci1 { ++ status = "okay"; ++}; ++ ++&pwm { ++ 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>; ++ }; ++}; ++ ++/* The ANX6345 eDP-bridge is on r_i2c */ ++&r_i2c { ++ clock-frequency = <100000>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&r_i2c_pl89_pins>; ++ status = "okay"; ++}; ++ ++#include "axp803.dtsi" ++ ++®_aldo1 { ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ regulator-name = "vcc-csi"; ++}; ++ ++®_aldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-pl"; ++}; ++ ++®_aldo3 { ++ regulator-always-on; ++ regulator-min-microvolt = <2700000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-pll-avcc"; ++}; ++ ++®_dc1sw { ++ regulator-name = "vcc-lcd"; ++}; ++ ++®_dcdc1 { ++ regulator-always-on; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-3v3"; ++}; ++ ++®_dcdc2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1000000>; ++ regulator-max-microvolt = <1300000>; ++ regulator-name = "vdd-cpux"; ++}; ++ ++/* DCDC3 is polyphased with DCDC2 */ ++ ++®_dcdc5 { ++ regulator-always-on; ++ regulator-min-microvolt = <1200000>; ++ regulator-max-microvolt = <1200000>; ++ regulator-name = "vcc-dram"; ++}; ++ ++®_dcdc6 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-sys"; ++}; ++ ++®_dldo1 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-hdmi"; ++}; ++ ++®_dldo2 { ++ regulator-min-microvolt = <2500000>; ++ regulator-max-microvolt = <2500000>; ++ regulator-name = "vcc-edp"; ++}; ++ ++®_dldo3 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "avdd-csi"; ++}; ++ ++®_dldo4 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-wifi"; ++}; ++ ++®_eldo1 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "cpvdd"; ++}; ++ ++®_eldo3 { ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "vdd-1v8-csi"; ++}; ++ ++®_fldo1 { ++ regulator-min-microvolt = <1200000>; ++ regulator-max-microvolt = <1200000>; ++ regulator-name = "vcc-1v2-hsic"; ++}; ++ ++®_fldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-cpus"; ++}; ++ ++®_ldo_io0 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-usb"; ++ status = "okay"; ++}; ++ ++®_rtc_ldo { ++ regulator-name = "vcc-rtc"; ++}; ++ ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pb_pins>; ++ status = "okay"; ++}; ++ ++&usb_otg { ++ dr_mode = "host"; ++}; ++ ++&usbphy { ++ usb0_vbus-supply = <®_ldo_io0>; ++ usb1_vbus-supply = <®_ldo_io0>; ++ status = "okay"; ++}; +diff --git a/configs/pinebook_defconfig b/configs/pinebook_defconfig +new file mode 100644 +index 0000000000..5294dbd2eb +--- /dev/null ++++ b/configs/pinebook_defconfig +@@ -0,0 +1,22 @@ ++CONFIG_ARM=y ++CONFIG_ARCH_SUNXI=y ++CONFIG_SPL=y ++CONFIG_MACH_SUN50I=y ++CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y ++CONFIG_DRAM_CLK=552 ++CONFIG_DRAM_ZQ=3881949 ++CONFIG_MMC_SUNXI_SLOT_EXTRA=2 ++CONFIG_R_I2C_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-pinebook" ++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 +-- +2.11.0 + diff --git a/patches/series b/patches/series new file mode 100644 index 000000000..88b811fc1 --- /dev/null +++ b/patches/series @@ -0,0 +1,28 @@ +add-debian-revision-to-u-boot-version +mipsel-native-endianness.diff +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 + +# Patches to enable Pinebook support from sunxi maintainer tree: +# git://git.denx.de/u-boot-sunxi.git +pinebook/0003-sunxi-A64-Update-.dts-.dtsi-files.patch +pinebook/0004-sunxi-A64-Re-add-syscon-to-DT-node.patch +pinebook/0007-mmc-sunxi-add-support-for-automatic-delay-calibratio.patch +pinebook/0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch +pinebook/0009-sun50i-A64-add-support-for-R_I2C-controller.patch +pinebook/0010-sunxi-DT-add-support-for-Pinebook.patch diff --git a/patches/sh4-fix-linker-name-prefix.patch b/patches/sh4-fix-linker-name-prefix.patch new file mode 100644 index 000000000..f3ad01680 --- /dev/null +++ b/patches/sh4-fix-linker-name-prefix.patch @@ -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 +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/test-imagetools-test-fixes b/patches/test-imagetools-test-fixes new file mode 100644 index 000000000..e9e33220c --- /dev/null +++ b/patches/test-imagetools-test-fixes @@ -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 index 000000000..8f173e003 --- /dev/null +++ b/patches/tools-generic-builds.patch @@ -0,0 +1,16 @@ +Description: Enable generic tools build +Author: Hector Oron + +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/rules b/rules new file mode 100755 index 000000000..358dc5004 --- /dev/null +++ b/rules @@ -0,0 +1,109 @@ +#!/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 $@ + +override_dh_auto_build: TOOLSDIR := debian/build/tools +override_dh_auto_build: + set -e; sed -n 's/^$(DEB_HOST_ARCH)[[:space:]]\+//p' debian/targets \ + | while read subarch platform targets; do \ + builddir=debian/build/$$platform; \ + targets="$$targets uboot.elf" ;\ + 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 \ + $$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 --remove-section=.comment $(TOOLSDIR)/tools/env/fw_printenv + $(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/mkimage + $(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/mkenvimage + $(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/kwboot + $(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/mksunxiboot + $(CROSS_COMPILE)strip --remove-section=.comment $(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 + dh_clean + +override_dh_gencontrol: + debian/bin/update-substvars + dh_gencontrol diff --git a/source/format b/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/source/include-binaries b/source/include-binaries new file mode 100644 index 000000000..41233fca5 --- /dev/null +++ b/source/include-binaries @@ -0,0 +1,2 @@ +tools/logos/solidrun.bmp +debian/upstream/signing-key.pgp diff --git a/targets b/targets new file mode 100644 index 000000000..70ee5b90a --- /dev/null +++ b/targets @@ -0,0 +1,197 @@ +# ARCH subarch platform target +# -------------------------------------------- +armel - dockstar u-boot.kwb + +# Ian Campbell +armel - dreamplug u-boot.kwb + +# drEagle +armel - guruplug u-boot.kwb + +# Vagrant Cascadian , rpi B 256M +armel rpi rpi u-boot.bin + +# drEagle +# Rick Thomas +armel - sheevaplug u-boot.kwb + +armhf exynos arndale u-boot.bin spl/arndale-spl.bin + +# Joost van Zwieten , Odroid-U3 +armhf exynos odroid u-boot.bin + +# Vagrant Cascadian , Odroid-XU4 +armhf exynos odroid-xu3 u-boot.bin + +# Marek Vasut +armhf imx dh_imx6 u-boot-with-spl.imx + +# Robert Nelson +armhf imx mx53loco u-boot.imx + +# Steve Langasek , CuBox-i4 +# Vagrant Cascadian , CuBox-i4pro, Cubox-i4x4, hummingboard-i1, hummingboard-i2ex +# Rainer Dorsch , CuBox-i2u (i2u-300-d) +# Rick Thomas , Cubox-i4x4, Cubox-i4PRO +armhf imx mx6cuboxi u-boot.img SPL + +# Hector Oron +armhf imx nitrogen6q u-boot.imx + +# Tony Mancill +armhf imx novena u-boot.img SPL + +# Michael Fladischer +armhf imx udoo u-boot.img SPL + +# Vagrant Cascadian +armhf imx usbarmory u-boot.imx + +# Vagrant Cascadian +# Robert Nelson +armhf imx wandboard u-boot.img SPL + +# Vagrant Cascadian +# Andrew M.A. Cater +armhf omap am335x_boneblack u-boot.img MLO + +# Vagrant Cascadian +armhf omap am57xx_evm u-boot.img MLO + +# Ben Hutchings +armhf omap dra7xx_evm u-boot.img MLO + +# Robert Nelson +armhf omap igep00x0 u-boot.img MLO + +armhf omap nokia_rx51 u-boot.bin + +# Robert Nelson +armhf omap omap3_beagle u-boot.img MLO + +# Vagrant Cascadian +armhf omap omap3_pandora u-boot.bin + +# Robert Nelson +armhf omap omap4_panda u-boot.img MLO + +# Vagrant Cascadian , Raspberry PI 2B +armhf rpi rpi_2 u-boot.bin + +# Ryan Finnie +armhf rpi rpi_3_32b u-boot.bin + +# Christian Kastner +armhf sunxi A10-OLinuXino-Lime u-boot-sunxi-with-spl.bin + +# Benedikt Wildenhain +armhf sunxi A10s-OLinuXino-M u-boot-sunxi-with-spl.bin + +# Karsten Merker +armhf sunxi A20-Olimex-SOM-EVB u-boot-sunxi-with-spl.bin + +# Christian Kastner +armhf sunxi A20-OLinuXino-Lime u-boot-sunxi-with-spl.bin + +# Karsten Merker +armhf sunxi A20-OLinuXino-Lime2 u-boot-sunxi-with-spl.bin + +# Andreas B. Mundt +armhf sunxi A20-OLinuXino-Lime2-eMMC u-boot-sunxi-with-spl.bin + +# Arne Ploese +armhf sunxi A20-OLinuXino_MICRO u-boot-sunxi-with-spl.bin + +# Ian Campbell +# Vagrant Cascadian +armhf sunxi Bananapi u-boot-sunxi-with-spl.bin + +# Karsten Merker +armhf sunxi Bananapro u-boot-sunxi-with-spl.bin + +# Vagrant Cascadian +armhf sunxi CHIP u-boot-sunxi-with-spl.bin + +# Vagrant Cascadian +armhf sunxi Cubieboard u-boot-sunxi-with-spl.bin + +# Ian Campbell +# Karsten Merker +armhf sunxi Cubieboard2 u-boot-sunxi-with-spl.bin + +# Vagrant Cascadian +armhf sunxi Cubieboard4 u-boot-sunxi-with-spl.bin + +# Ian Campbell +# Robert Nelson +# Karsten Merker +armhf sunxi Cubietruck u-boot-sunxi-with-spl.bin + +# Vagrant Cascadian +armhf sunxi Cubietruck_plus u-boot-sunxi-with-spl.bin + +# Vagrant Cascadian +armhf sunxi Lamobo_R1 u-boot-sunxi-with-spl.bin + +# Robert Hegner +armhf sunxi Linksprite_pcDuino u-boot-sunxi-with-spl.bin + +# Patrice Go +armhf sunxi Linksprite_pcDuino3 u-boot-sunxi-with-spl.bin + +# Jochen Sprickerhof +armhf sunxi Mini-X u-boot-sunxi-with-spl.bin + +# Paul Tagliamonte +armhf sunxi nanopi_neo u-boot-sunxi-with-spl.bin + +# Vagrant Cascadian , Orange PI Plus2 +armhf sunxi orangepi_plus u-boot-sunxi-with-spl.bin + +# Mateusz Łukasik , Orange PI Zero +armhf sunxi orangepi_zero u-boot-sunxi-with-spl.bin + +# Bernhard +armhf sunxi Sinovoip_BPI_M3 u-boot-sunxi-with-spl.bin + +# Ian Campbell +armhf tegra jetson-tk1 u-boot-tegra.bin + +# Vagrant Cascadian +arm64 amlogic odroid-c2 u-boot.bin + +# Riku Voipio +arm64 qcom dragonboard410c u-boot.bin +arm64 qcom dragonboard820c u-boot.bin + +# Ryan Finnie +arm64 rpi rpi_3 u-boot.bin + +# Rodrigo Exterckötter Tjäder +arm64 sunxi a64-olinuxino u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-olinuxino.dtb + +# Vagrant Cascadian +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 + +# Vagrant Cascadian +arm64 sunxi pinebook u-boot.bin spl/sunxi-spl.bin u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pinebook.dtb + +# Martin Michlmayr +arm64 tegra p2371-2180 u-boot.bin + +# Vagrant Cascadian +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 +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 + +# Vagrant Cascadian +arm64 mvebu mvebu_espressobin-88f3720 u-boot.bin arch/arm/dts/armada-3720-espressobin.dtb + +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 index 000000000..c0f60094e --- /dev/null +++ b/u-boot-amlogic.install @@ -0,0 +1,2 @@ +#!/bin/sh +debian/bin/u-boot-install-targets amlogic "board/amlogic/odroid-c2/README" diff --git a/u-boot-amlogic.lintian-overrides b/u-boot-amlogic.lintian-overrides new file mode 100644 index 000000000..8d66fc4aa --- /dev/null +++ b/u-boot-amlogic.lintian-overrides @@ -0,0 +1,14 @@ + +# 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 [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/odroid-c2/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-amlogic [arm64]: statically-linked-binary usr/lib/u-boot/odroid-c2/uboot.elf + +u-boot-amlogic: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-amlogic: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-exynos.install b/u-boot-exynos.install new file mode 100755 index 000000000..ebff56afc --- /dev/null +++ b/u-boot-exynos.install @@ -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 index 000000000..538723c83 --- /dev/null +++ b/u-boot-exynos.lintian-overrides @@ -0,0 +1,18 @@ + +# 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 [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/arndale/uboot.elf +u-boot-exynos [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/odroid/uboot.elf +u-boot-exynos [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/odroid-xu3/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-exynos [armhf]: statically-linked-binary usr/lib/u-boot/arndale/uboot.elf +u-boot-exynos [armhf]: statically-linked-binary usr/lib/u-boot/odroid/uboot.elf +u-boot-exynos [armhf]: statically-linked-binary usr/lib/u-boot/odroid-xu3/uboot.elf + +u-boot-exynos: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-exynos: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-imx.README.Debian b/u-boot-imx.README.Debian new file mode 100644 index 000000000..2a5d0ac6c --- /dev/null +++ b/u-boot-imx.README.Debian @@ -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 index 000000000..cc4eb34ec --- /dev/null +++ b/u-boot-imx.install @@ -0,0 +1,2 @@ +#!/bin/sh +debian/bin/u-boot-install-targets imx diff --git a/u-boot-imx.lintian-overrides b/u-boot-imx.lintian-overrides new file mode 100644 index 000000000..102771000 --- /dev/null +++ b/u-boot-imx.lintian-overrides @@ -0,0 +1,28 @@ + +# 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 [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/dh_imx6/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/mx53loco/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/mx6cuboxi/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/nitrogen6q/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/novena/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/udoo/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/usbarmory/uboot.elf +u-boot-imx [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/wandboard/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/dh_imx6/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/mx53loco/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/mx6cuboxi/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/nitrogen6q/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/novena/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/udoo/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/usbarmory/uboot.elf +u-boot-imx [armhf]: statically-linked-binary usr/lib/u-boot/wandboard/uboot.elf + +u-boot-imx: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-imx: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-mvebu.install b/u-boot-mvebu.install new file mode 100755 index 000000000..40de60aa0 --- /dev/null +++ b/u-boot-mvebu.install @@ -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 index 000000000..5653ecc5f --- /dev/null +++ b/u-boot-mvebu.lintian-overrides @@ -0,0 +1,14 @@ + +# 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 [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/mvebu_espressobin-88f3720/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-mvebu [arm64]: statically-linked-binary usr/lib/u-boot/mvebu_espressobin-88f3720/uboot.elf + +u-boot-mvebu: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-mvebu: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-omap.README.Debian b/u-boot-omap.README.Debian new file mode 100644 index 000000000..0ecf9adfe --- /dev/null +++ b/u-boot-omap.README.Debian @@ -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 if=/usr/lib/u-boot/am335x_boneblack/MLO of=/dev/mmcblkX count=1 seek=1 bs=128k + dd conv=fsync,notrunc if=/usr/lib/u-boot/am335x_boneblack/u-boot.img of=/dev/mmcblkX count=2 seek=1 bs=384k + +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 index 000000000..a28a041c5 --- /dev/null +++ b/u-boot-omap.install @@ -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 index 000000000..7c1a3e0be --- /dev/null +++ b/u-boot-omap.lintian-overrides @@ -0,0 +1,28 @@ + +# 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 [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/am335x_boneblack/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/am57xx_evm/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/dra7xx_evm/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/igep00x0/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/nokia_rx51/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/omap3_beagle/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/omap3_pandora/uboot.elf +u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/omap4_panda/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/am335x_boneblack/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/am57xx_evm/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/dra7xx_evm/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/igep00x0/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/nokia_rx51/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/omap3_beagle/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/omap3_pandora/uboot.elf +u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/omap4_panda/uboot.elf + +u-boot-omap: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-omap: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-qcom.README.Debian b/u-boot-qcom.README.Debian new file mode 100644 index 000000000..dc2ac34ec --- /dev/null +++ b/u-boot-qcom.README.Debian @@ -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 index 000000000..0ff7e5bfa --- /dev/null +++ b/u-boot-qcom.install @@ -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 index 000000000..86b2589a0 --- /dev/null +++ b/u-boot-qcom.lintian-overrides @@ -0,0 +1,16 @@ + +# 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 [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/dragonboard410c/uboot.elf +u-boot-qcom [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/dragonboard820c/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-qcom [arm64]: statically-linked-binary usr/lib/u-boot/dragonboard410c/uboot.elf +u-boot-qcom [arm64]: statically-linked-binary usr/lib/u-boot/dragonboard820c/uboot.elf + +u-boot-qcom: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-qcom: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-rockchip.NEWS b/u-boot-rockchip.NEWS new file mode 100644 index 000000000..35cdf01db --- /dev/null +++ b/u-boot-rockchip.NEWS @@ -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 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 index 000000000..1c329a5a2 --- /dev/null +++ b/u-boot-rockchip.README.Debian @@ -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 index 000000000..73ddfc2f3 --- /dev/null +++ b/u-boot-rockchip.install @@ -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 index 000000000..2bea0ce72 --- /dev/null +++ b/u-boot-rockchip.lintian-overrides @@ -0,0 +1,16 @@ + +# 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 [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/firefly-rk3399/uboot.elf +u-boot-rockchip [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/puma-rk3399/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-rockchip [arm64]: statically-linked-binary usr/lib/u-boot/firefly-rk3399/uboot.elf +u-boot-rockchip [arm64]: statically-linked-binary usr/lib/u-boot/puma-rk3399/uboot.elf + +u-boot-rockchip: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-rockchip: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-rpi.README.Debian b/u-boot-rpi.README.Debian new file mode 100644 index 000000000..c9d0207ae --- /dev/null +++ b/u-boot-rpi.README.Debian @@ -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 index 000000000..36cbec135 --- /dev/null +++ b/u-boot-rpi.install @@ -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 index 000000000..045432cfa --- /dev/null +++ b/u-boot-rpi.lintian-overrides @@ -0,0 +1,20 @@ + +# 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 [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi/uboot.elf +u-boot-rpi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi_2/uboot.elf +u-boot-rpi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi_3_32b/uboot.elf +u-boot-rpi [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi_3/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-rpi [armel]: statically-linked-binary usr/lib/u-boot/rpi/uboot.elf +u-boot-rpi [armhf]: statically-linked-binary usr/lib/u-boot/rpi_2/uboot.elf +u-boot-rpi [armhf]: statically-linked-binary usr/lib/u-boot/rpi_3_32b/uboot.elf +u-boot-rpi [arm64]: statically-linked-binary usr/lib/u-boot/rpi_3/uboot.elf + +u-boot-rpi: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-rpi: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-sunxi.README.Debian b/u-boot-sunxi.README.Debian new file mode 100644 index 000000000..643d308ff --- /dev/null +++ b/u-boot-sunxi.README.Debian @@ -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 index 000000000..833ce2094 --- /dev/null +++ b/u-boot-sunxi.install @@ -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 index 000000000..5936bcae8 --- /dev/null +++ b/u-boot-sunxi.lintian-overrides @@ -0,0 +1,64 @@ + +# 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 [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A10-OLinuXino-Lime/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A10s-OLinuXino-M/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A20-Olimex-SOM-EVB/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A20-OLinuXino-Lime/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A20-OLinuXino-Lime2/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A20-OLinuXino-Lime2-eMMC/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/A20-OLinuXino_MICRO/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Bananapi/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Bananapro/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/CHIP/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Cubieboard/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Cubieboard2/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Cubieboard4/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Cubietruck/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Cubietruck_plus/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Lamobo_R1/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Linksprite_pcDuino/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Linksprite_pcDuino3/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Mini-X/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/nanopi_neo/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/orangepi_plus/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/orangepi_zero/uboot.elf +u-boot-sunxi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/Sinovoip_BPI_M3/uboot.elf +u-boot-sunxi [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/a64-olinuxino/uboot.elf +u-boot-sunxi [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/pine64_plus/uboot.elf +u-boot-sunxi [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/pinebook/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A10-OLinuXino-Lime/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A10s-OLinuXino-M/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A20-Olimex-SOM-EVB/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A20-OLinuXino-Lime/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A20-OLinuXino-Lime2/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A20-OLinuXino-Lime2-eMMC/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/A20-OLinuXino_MICRO/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Bananapi/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Bananapro/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/CHIP/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Cubieboard/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Cubieboard2/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Cubieboard4/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Cubietruck/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Cubietruck_plus/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Lamobo_R1/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Linksprite_pcDuino/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Linksprite_pcDuino3/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Mini-X/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/nanopi_neo/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/orangepi_plus/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/orangepi_zero/uboot.elf +u-boot-sunxi [armhf]: statically-linked-binary usr/lib/u-boot/Sinovoip_BPI_M3/uboot.elf +u-boot-sunxi [arm64]: statically-linked-binary usr/lib/u-boot/a64-olinuxino/uboot.elf +u-boot-sunxi [arm64]: statically-linked-binary usr/lib/u-boot/pine64_plus/uboot.elf +u-boot-sunxi [arm64]: statically-linked-binary usr/lib/u-boot/pinebook/uboot.elf + +u-boot-sunxi: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-sunxi: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-tegra.README.Debian b/u-boot-tegra.README.Debian new file mode 100644 index 000000000..3b2e35b67 --- /dev/null +++ b/u-boot-tegra.README.Debian @@ -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 index 000000000..15b8ab96d --- /dev/null +++ b/u-boot-tegra.install @@ -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 index 000000000..49fabfc10 --- /dev/null +++ b/u-boot-tegra.links @@ -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 index 000000000..4186db971 --- /dev/null +++ b/u-boot-tegra.lintian-overrides @@ -0,0 +1,16 @@ + +# 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 [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/jetson-tk1/uboot.elf +u-boot-tegra [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/p2371-2180/uboot.elf + +# These bootloaders need to be statically linked. +u-boot-tegra [armhf]: statically-linked-binary usr/lib/u-boot/jetson-tk1/uboot.elf +u-boot-tegra [arm64]: statically-linked-binary usr/lib/u-boot/p2371-2180/uboot.elf + +u-boot-tegra: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot-tegra: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot-tools.install b/u-boot-tools.install new file mode 100755 index 000000000..3de15cd36 --- /dev/null +++ b/u-boot-tools.install @@ -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 index 000000000..92f5a6cbc --- /dev/null +++ b/u-boot-tools.links @@ -0,0 +1 @@ +/usr/bin/fw_printenv /usr/bin/fw_setenv diff --git a/u-boot-tools.lintian-overrides b/u-boot-tools.lintian-overrides new file mode 100644 index 000000000..3a1aba05b --- /dev/null +++ b/u-boot-tools.lintian-overrides @@ -0,0 +1,2 @@ +# Synopsys is the name of a company, not a misspelling. +u-boot-tools: spelling-error-in-copyright Synopsys Synopsis diff --git a/u-boot.README.Debian b/u-boot.README.Debian new file mode 100644 index 000000000..943b53df8 --- /dev/null +++ b/u-boot.README.Debian @@ -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 index 000000000..aff6d5de5 --- /dev/null +++ b/u-boot.install @@ -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 index 000000000..7d2f5594c --- /dev/null +++ b/u-boot.lintian-overrides @@ -0,0 +1,28 @@ + +# 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 [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/dockstar/uboot.elf +u-boot [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/dreamplug/uboot.elf +u-boot [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/guruplug/uboot.elf +u-boot [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/sheevaplug/uboot.elf +u-boot [avr32]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/hammerhead/uboot.elf +u-boot [mips]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/qemu_mips/uboot.elf +u-boot [sh4]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/r2dplus/uboot.elf +u-boot [sh4]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/sh7785lcr_32bit/uboot.elf + +# These bootloaders need to be statically linked. +u-boot [armel]: statically-linked-binary usr/lib/u-boot/dockstar/uboot.elf +u-boot [armel]: statically-linked-binary usr/lib/u-boot/dreamplug/uboot.elf +u-boot [armel]: statically-linked-binary usr/lib/u-boot/guruplug/uboot.elf +u-boot [armel]: statically-linked-binary usr/lib/u-boot/sheevaplug/uboot.elf +u-boot [avr32]: statically-linked-binary usr/lib/u-boot/hammerhead/uboot.elf +u-boot [mips]: statically-linked-binary usr/lib/u-boot/qemu_mips/uboot.elf +u-boot [sh4]: statically-linked-binary usr/lib/u-boot/r2dplus/uboot.elf +u-boot [sh4]: statically-linked-binary usr/lib/u-boot/sh7785lcr_32bit/uboot.elf + +u-boot: description-synopsis-starts-with-article + +# Synopsys is the name of a company, not a misspelling. +u-boot: spelling-error-in-copyright Synopsys Synopsis diff --git a/upstream/signing-key.asc b/upstream/signing-key.asc new file mode 100644 index 000000000..06eef03f0 --- /dev/null +++ b/upstream/signing-key.asc @@ -0,0 +1,52 @@ +-----BEGIN PGP ARMORED FILE----- +Comment: Use "gpg --dearmor" for unpacking + +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 ARMORED FILE----- diff --git a/watch b/watch new file mode 100644 index 000000000..04454db6a --- /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@