From: Vagrant Cascadian Date: Tue, 28 Jun 2016 07:38:27 +0000 (+0000) Subject: u-boot (2016.03+dfsg1-6) unstable; urgency=medium X-Git-Tag: archive/raspbian/2016.11+dfsg1-3+rpi1^2^2^2^2^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4c6c25901dab400491b4dc031d03b6012e985909;p=u-boot.git 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! [dgit import unpatched u-boot 2016.03+dfsg1-6] --- 4c6c25901dab400491b4dc031d03b6012e985909 diff --cc debian/bin/u-boot-install-targets index 000000000,000000000..d5e996eea new file mode 100755 --- /dev/null +++ b/debian/bin/u-boot-install-targets @@@ -1,0 -1,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 --cc debian/bin/update-lintian-overrides index 000000000,000000000..46bd4d72f new file mode 100755 --- /dev/null +++ b/debian/bin/update-lintian-overrides @@@ -1,0 -1,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 --cc debian/changelog index 000000000,000000000..8e91e5c51 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,1179 @@@ ++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 --cc debian/compat index 000000000,000000000..f11c82a4c new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++9 diff --cc debian/control index 000000000,000000000..3200ee23a new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,147 @@@ ++Source: u-boot ++Section: admin ++Priority: optional ++Maintainer: Vagrant Cascadian ++Uploaders: Loïc Minier , Clint Adams ++Build-Depends: debhelper (>= 9.20141010), bc, device-tree-compiler, dpkg-dev (>= 1.17.14), u-boot-tools (>= 2015.10) [armhf] ++Standards-Version: 3.9.8 ++Homepage: http://www.denx.de/wiki/U-Boot/ ++Vcs-Git: https://anonscm.debian.org/git/collab-maint/u-boot.git ++Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/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-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-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 ++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 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-rockchip ++Architecture: armhf ++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 ++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} ++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 --cc debian/copyright index 000000000,000000000..df7eb425a new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,411 @@@ ++Format: http://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: *fpgadata* ++ arch/powerpc/cpu/mpc8xx/upatch.c ++ 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/fdt.h ++ include/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/cpu/armv7/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 ++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: include/libfdt.h ++ include/fdt.h ++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 --cc debian/env-configs/efikamx.config index 000000000,000000000..1aedc9615 new file mode 100644 --- /dev/null +++ b/debian/env-configs/efikamx.config @@@ -1,0 -1,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 --cc debian/env-configs/guruplug.config index 000000000,000000000..1432d297e new file mode 100644 --- /dev/null +++ b/debian/env-configs/guruplug.config @@@ -1,0 -1,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 --cc debian/env-configs/kurobox_pro.config index 000000000,000000000..83b6c6ac5 new file mode 100644 --- /dev/null +++ b/debian/env-configs/kurobox_pro.config @@@ -1,0 -1,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 --cc debian/env-configs/linkstation-mini.config index 000000000,000000000..92ce9de2d new file mode 100644 --- /dev/null +++ b/debian/env-configs/linkstation-mini.config @@@ -1,0 -1,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 --cc debian/env-configs/linkstation_pro_live.config index 000000000,000000000..83b6c6ac5 new file mode 100644 --- /dev/null +++ b/debian/env-configs/linkstation_pro_live.config @@@ -1,0 -1,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 --cc debian/env-configs/lsmipsel.config index 000000000,000000000..abd8bcb50 new file mode 100644 --- /dev/null +++ b/debian/env-configs/lsmipsel.config @@@ -1,0 -1,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 --cc debian/env-configs/lsppchg.config index 000000000,000000000..4ccc5769c new file mode 100644 --- /dev/null +++ b/debian/env-configs/lsppchg.config @@@ -1,0 -1,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 --cc debian/env-configs/mx6cuboxi.config index 000000000,000000000..a4bd77459 new file mode 100644 --- /dev/null +++ b/debian/env-configs/mx6cuboxi.config @@@ -1,0 -1,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 --cc debian/env-configs/openmoko_gta01.config index 000000000,000000000..7fd45e398 new file mode 100644 --- /dev/null +++ b/debian/env-configs/openmoko_gta01.config @@@ -1,0 -1,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 --cc debian/env-configs/openmoko_gta02.config index 000000000,000000000..1faa2f1f8 new file mode 100644 --- /dev/null +++ b/debian/env-configs/openmoko_gta02.config @@@ -1,0 -1,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 --cc debian/env-configs/openrd.config index 000000000,000000000..e4f0d6470 new file mode 100644 --- /dev/null +++ b/debian/env-configs/openrd.config @@@ -1,0 -1,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 --cc debian/env-configs/qnap_ts101.config index 000000000,000000000..181c54b8c new file mode 100644 --- /dev/null +++ b/debian/env-configs/qnap_ts101.config @@@ -1,0 -1,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 --cc debian/env-configs/qnap_ts109-209.config index 000000000,000000000..4024e080c new file mode 100644 --- /dev/null +++ b/debian/env-configs/qnap_ts109-209.config @@@ -1,0 -1,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 --cc debian/env-configs/qnap_ts119-219.config index 000000000,000000000..98505a933 new file mode 100644 --- /dev/null +++ b/debian/env-configs/qnap_ts119-219.config @@@ -1,0 -1,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 --cc debian/env-configs/sheevaplug.config index 000000000,000000000..b9faa7f36 new file mode 100644 --- /dev/null +++ b/debian/env-configs/sheevaplug.config @@@ -1,0 -1,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 --cc debian/env-configs/udoo_quad.config index 000000000,000000000..9ffdf9f28 new file mode 100644 --- /dev/null +++ b/debian/env-configs/udoo_quad.config @@@ -1,0 -1,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 --cc debian/env-configs/wandboard.config index 000000000,000000000..1d5a97789 new file mode 100644 --- /dev/null +++ b/debian/env-configs/wandboard.config @@@ -1,0 -1,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 --cc debian/manpages/fw_printenv.8 index 000000000,000000000..a288852bc new file mode 100644 --- /dev/null +++ b/debian/manpages/fw_printenv.8 @@@ -1,0 -1,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 --cc debian/manpages/fw_setenv.8 index 000000000,000000000..5a5114ab1 new file mode 100644 --- /dev/null +++ b/debian/manpages/fw_setenv.8 @@@ -1,0 -1,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 --cc debian/patches/ARM-OMAP3-Revamp-IGEP-default-configuration.diff index 000000000,000000000..6cd7624db new file mode 100644 --- /dev/null +++ b/debian/patches/ARM-OMAP3-Revamp-IGEP-default-configuration.diff @@@ -1,0 -1,0 +1,89 @@@ ++From ebdb222b0d65bcc050e3f0fd6e97faf17fb3eae4 Mon Sep 17 00:00:00 2001 ++Sender: Loïc Minier ++From: Enric Balletbo i Serra ++Date: Wed, 23 Feb 2011 14:35:41 +0100 ++Subject: [PATCH] ARM: OMAP3: Revamp IGEP default configuration ++MIME-Version: 1.0 ++Content-Type: text/plain; charset=UTF-8 ++Content-Transfer-Encoding: 8bit ++ ++The default IGEP configuration doesn't do anything useful; using some ++boot.scr search logic like BeagleBoard is much more useful. ++ ++Signed-off-by: Loïc Minier ++--- ++ include/configs/igep0020.h | 55 ++++++++++++++++++++++++++++++++++++++++--- ++ 1 files changed, 51 insertions(+), 4 deletions(-) ++ ++diff --git a/include/configs/igep0020.h b/include/configs/igep0020.h ++index c19ecc0..2466562 100644 ++--- a/include/configs/igep0020.h +++++ b/include/configs/igep0020.h ++@@ -130,13 +130,60 @@ ++ #define CONFIG_TWL4030_POWER 1 ++ ++ /* Environment information */ ++-#define CONFIG_BOOTCOMMAND \ ++- "mmc init 0 ; fatload mmc 0 0x80000000 setup.ini ; source \0" ++- ++ #define CONFIG_BOOTDELAY 3 ++ ++ #define CONFIG_EXTRA_ENV_SETTINGS \ ++- "usbtty=cdc_acm\0" +++ "loadaddr=0x82000000\0" \ +++ "usbtty=cdc_acm\0" \ +++ "console=ttyS2,115200n8\0" \ +++ "mpurate=500\0" \ +++ "vram=12M\0" \ +++ "dvimode=1024x768MR-16@60\0" \ +++ "defaultdisplay=dvi\0" \ +++ "mmcdev=0\0" \ +++ "mmcroot=/dev/mmcblk0p2 rw\0" \ +++ "mmcrootfstype=ext3 rootwait\0" \ +++ "nandroot=/dev/mtdblock4 rw\0" \ +++ "nandrootfstype=jffs2\0" \ +++ "mmcargs=setenv bootargs console=${console} " \ +++ "mpurate=${mpurate} " \ +++ "vram=${vram} " \ +++ "omapfb.mode=dvi:${dvimode} " \ +++ "omapfb.debug=y " \ +++ "omapdss.def_disp=${defaultdisplay} " \ +++ "root=${mmcroot} " \ +++ "rootfstype=${mmcrootfstype}\0" \ +++ "nandargs=setenv bootargs console=${console} " \ +++ "mpurate=${mpurate} " \ +++ "vram=${vram} " \ +++ "omapfb.mode=dvi:${dvimode} " \ +++ "omapfb.debug=y " \ +++ "omapdss.def_disp=${defaultdisplay} " \ +++ "root=${nandroot} " \ +++ "rootfstype=${nandrootfstype}\0" \ +++ "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \ +++ "bootscript=echo Running bootscript from mmc ...; " \ +++ "source ${loadaddr}\0" \ +++ "loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \ +++ "mmcboot=echo Booting from mmc ...; " \ +++ "run mmcargs; " \ +++ "bootm ${loadaddr}\0" \ +++ "nandboot=echo Booting from nand ...; " \ +++ "run nandargs; " \ +++ "nand read ${loadaddr} 280000 400000; " \ +++ "bootm ${loadaddr}\0" \ +++ +++#define CONFIG_BOOTCOMMAND \ +++ "if mmc rescan ${mmcdev}; then " \ +++ "if run loadbootscript; then " \ +++ "run bootscript; " \ +++ "else " \ +++ "if run loaduimage; then " \ +++ "run mmcboot; " \ +++ "else run nandboot; " \ +++ "fi; " \ +++ "fi; " \ +++ "else run nandboot; fi" ++ ++ #define CONFIG_AUTO_COMPLETE 1 ++ ++-- ++1.7.2.3 ++ diff --cc debian/patches/Makefile-add-kwb-target-to-all.patch index 000000000,000000000..35852eb98 new file mode 100644 --- /dev/null +++ b/debian/patches/Makefile-add-kwb-target-to-all.patch @@@ -1,0 -1,0 +1,14 @@@ ++Add u-boot.kwb to "make all" target on Kirkwood. ++ ++Index: u-boot/Makefile ++=================================================================== ++--- u-boot.orig/Makefile +++++ u-boot/Makefile ++@@ -743,6 +743,7 @@ endif ++ ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin ++ ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img ++ 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 --cc debian/patches/add-debian-revision-to-u-boot-version index 000000000,000000000..8e6bccdb0 new file mode 100644 --- /dev/null +++ b/debian/patches/add-debian-revision-to-u-boot-version @@@ -1,0 -1,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 --cc debian/patches/am57xx/omap5_distro_bootcmd index 000000000,000000000..903844309 new file mode 100644 --- /dev/null +++ b/debian/patches/am57xx/omap5_distro_bootcmd @@@ -1,0 -1,0 +1,49 @@@ ++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 ++@@ -67,6 +67,18 @@ ++ #define DFUARGS ++ #endif ++ +++#define BOOT_TARGET_DEVICES(func) \ +++ func(MMC, mmc, 0) \ +++ func(MMC, mmc, 1) \ +++ func(PXE, pxe, na) \ +++ func(DHCP, dhcp, na) +++ +++#define CONFIG_BOOTCOMMAND \ +++ "run findfdt; " \ +++ "run distro_bootcmd" +++ +++#include +++ ++ #ifndef CONFIG_SPL_BUILD ++ #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG ++ #define CONFIG_EXTRA_ENV_SETTINGS \ ++@@ -122,24 +134,10 @@ ++ "loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \ ++ DFUARGS \ ++ NETARGS \ +++ BOOTENV ++ ++- ++-#define CONFIG_BOOTCOMMAND \ ++- "if test ${dofastboot} -eq 1; then " \ ++- "echo Boot fastboot requested, resetting dofastboot ...;" \ ++- "setenv dofastboot 0; saveenv;" \ ++- "echo Booting into fastboot ...; fastboot 0;" \ ++- "fi;" \ ++- "run findfdt; " \ ++- "run mmcboot;" \ ++- "setenv mmcdev 1; " \ ++- "setenv bootpart 1:2; " \ ++- "setenv mmcroot /dev/mmcblk0p2 rw; " \ ++- "run mmcboot;" \ ++- "" ++ #endif ++ ++- ++ /* ++ * SPL related defines. The Public RAM memory map the ROM defines the ++ * area between 0x40300000 and 0x4031E000 as a download area for OMAP5 diff --cc debian/patches/arndale/board-spl-rule.diff index 000000000,000000000..cce002a2d new file mode 100644 --- /dev/null +++ b/debian/patches/arndale/board-spl-rule.diff @@@ -1,0 -1,0 +1,17 @@@ ++Description: Add spl/arndale-spl.bin rule ++Author: Ian Campbell ++ ++Index: u-boot/Makefile ++=================================================================== ++--- u-boot.orig/Makefile +++++ u-boot/Makefile ++@@ -1339,6 +1339,9 @@ spl/u-boot-spl-dtb.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 ++ $(Q)$(MAKE) obj=tpl -f $(srctree)/scripts/Makefile.spl all ++ diff --cc debian/patches/beagleboneblack/usb-mass-storage.patch index 000000000,000000000..91dee67cd new file mode 100644 --- /dev/null +++ b/debian/patches/beagleboneblack/usb-mass-storage.patch @@@ -1,0 -1,0 +1,19 @@@ ++Index: u-boot/include/configs/am335x_evm.h ++=================================================================== ++--- u-boot.orig/include/configs/am335x_evm.h +++++ u-boot/include/configs/am335x_evm.h ++@@ -338,12 +338,8 @@ ++ #endif ++ ++ #ifdef CONFIG_USB_MUSB_GADGET ++-/* Removing USB gadget and can be enabled adter adding support usb DM */ ++-#ifndef CONFIG_DM_ETH ++-#define CONFIG_USB_ETHER ++-#define CONFIG_USB_ETH_RNDIS ++-#define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00" ++-#endif /* CONFIG_DM_ETH */ +++#define CONFIG_CMD_USB_MASS_STORAGE +++#define CONFIG_USB_FUNCTION_MASS_STORAGE ++ ++ /* USB TI's IDs */ ++ #define CONFIG_G_DNL_VENDOR_NUM 0x0451 diff --cc debian/patches/ensure-config-sandbox-for-make-env.patch index 000000000,000000000..5d2937ed0 new file mode 100644 --- /dev/null +++ b/debian/patches/ensure-config-sandbox-for-make-env.patch @@@ -1,0 -1,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 ++@@ -127,6 +127,9 @@ ++ ++ #define CONFIG_BOOTCOMMAND "" ++ +++#ifndef CONFIG_SANDBOX +++#define CONFIG_SANDBOX 1 +++#endif ++ #include ++ ++ #define CONFIG_KEEP_SERVERADDR diff --cc debian/patches/firefly/0001-Revert-rockchip-rk3288-correct-sdram-setting.patch index 000000000,000000000..2603ad127 new file mode 100644 --- /dev/null +++ b/debian/patches/firefly/0001-Revert-rockchip-rk3288-correct-sdram-setting.patch @@@ -1,0 -1,0 +1,58 @@@ ++From 3ff226557fcff7affa2fbad9bcef63eb742c27ad Mon Sep 17 00:00:00 2001 ++From: Vagrant Cascadian ++Date: Fri, 15 Apr 2016 13:34:26 -0700 ++Subject: [PATCH] Revert "rockchip: rk3288: correct sdram setting" ++ ++This reverts commit b5788dc0dd9570e98552833767f4373db965985d. ++ ++Ram size is incorrectly reported as 512MB on a firefly-rk3288 board ++with 2GB of ram. Reverting this patch displays the full amount of ram. ++ ++Series-to: u-boot ++--- ++ arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 14 +++++++------- ++ 1 file changed, 7 insertions(+), 7 deletions(-) ++ ++diff --git a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c b/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c ++index 71330cb..2e21282 100644 ++--- a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c +++++ b/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c ++@@ -561,14 +561,14 @@ static void dram_all_config(const struct dram_info *dram, ++ &sdram_params->ch[chan]; ++ ++ sys_reg |= info->row_3_4 << SYS_REG_ROW_3_4_SHIFT(chan); ++- sys_reg |= 1 << SYS_REG_CHINFO_SHIFT(chan); +++ sys_reg |= chan << SYS_REG_CHINFO_SHIFT(chan); ++ sys_reg |= (info->rank - 1) << SYS_REG_RANK_SHIFT(chan); ++ sys_reg |= (info->col - 9) << SYS_REG_COL_SHIFT(chan); ++- sys_reg |= info->bk == 3 ? 0 : 1 << SYS_REG_BK_SHIFT(chan); +++ sys_reg |= info->bk == 3 ? 1 << SYS_REG_BK_SHIFT(chan) : 0; ++ sys_reg |= (info->cs0_row - 13) << SYS_REG_CS0_ROW_SHIFT(chan); ++ sys_reg |= (info->cs1_row - 13) << SYS_REG_CS1_ROW_SHIFT(chan); ++- sys_reg |= (2 >> info->bw) << SYS_REG_BW_SHIFT(chan); ++- sys_reg |= (2 >>info->dbw) << SYS_REG_DBW_SHIFT(chan); +++ sys_reg |= info->bw << SYS_REG_BW_SHIFT(chan); +++ sys_reg |= info->dbw << SYS_REG_DBW_SHIFT(chan); ++ ++ dram_cfg_rbc(&dram->chan[chan], chan, sdram_params); ++ } ++@@ -720,13 +720,13 @@ size_t sdram_size_mb(struct rk3288_pmu *pmu) ++ rank = 1 + (sys_reg >> SYS_REG_RANK_SHIFT(ch) & ++ SYS_REG_RANK_MASK); ++ col = 9 + (sys_reg >> SYS_REG_COL_SHIFT(ch) & SYS_REG_COL_MASK); ++- bk = 3 - ((sys_reg >> SYS_REG_BK_SHIFT(ch)) & SYS_REG_BK_MASK) ; +++ bk = sys_reg & (1 << SYS_REG_BK_SHIFT(ch)) ? 3 : 0; ++ cs0_row = 13 + (sys_reg >> SYS_REG_CS0_ROW_SHIFT(ch) & ++ SYS_REG_CS0_ROW_MASK); ++ cs1_row = 13 + (sys_reg >> SYS_REG_CS1_ROW_SHIFT(ch) & ++ SYS_REG_CS1_ROW_MASK); ++- bw = (2 >> (sys_reg >> SYS_REG_BW_SHIFT(ch)) & ++- SYS_REG_BW_MASK); +++ bw = (sys_reg >> SYS_REG_BW_SHIFT(ch)) & +++ SYS_REG_BW_MASK; ++ row_3_4 = sys_reg >> SYS_REG_ROW_3_4_SHIFT(ch) & ++ SYS_REG_ROW_3_4_MASK; ++ ++-- ++2.1.4 ++ diff --cc debian/patches/fix-typo-comment index 000000000,000000000..4a221269c new file mode 100644 --- /dev/null +++ b/debian/patches/fix-typo-comment @@@ -1,0 -1,0 +1,13 @@@ ++Index: u-boot/tools/env/fw_env_main.c ++=================================================================== ++--- u-boot.orig/tools/env/fw_env_main.c +++++ u-boot/tools/env/fw_env_main.c ++@@ -93,7 +93,7 @@ void usage_setenv(void) ++ "\n" ++ "Script Syntax:\n" ++ " key [space] value\n" ++- " lines starting with '#' are treated as commment\n" +++ " lines starting with '#' are treated as comment\n" ++ "\n" ++ " A variable without value will be deleted. Any number of spaces are\n" ++ " allowed between key and value. Space inside of the value is treated\n" diff --cc debian/patches/fix-typo-supported index 000000000,000000000..486c96440 new file mode 100644 --- /dev/null +++ b/debian/patches/fix-typo-supported @@@ -1,0 -1,0 +1,26 @@@ ++Index: u-boot/board/hisilicon/hikey/hikey.c ++=================================================================== ++--- u-boot.orig/board/hisilicon/hikey/hikey.c +++++ u-boot/board/hisilicon/hikey/hikey.c ++@@ -76,7 +76,7 @@ static const struct pl01x_serial_platdat ++ #elif CONFIG_CONS_INDEX == 4 ++ .base = HI6220_UART3_BASE, ++ #else ++-#error "Unsuported console index value." +++#error "Unsupported console index value." ++ #endif ++ .type = TYPE_PL011, ++ .clock = 19200000 ++Index: u-boot/fs/fat/fat_write.c ++=================================================================== ++--- u-boot.orig/fs/fat/fat_write.c +++++ u-boot/fs/fat/fat_write.c ++@@ -1136,7 +1136,7 @@ int file_fat_write(const char *filename, ++ loff_t maxsize, loff_t *actwrite) ++ { ++ if (offset != 0) { ++- printf("Error: non zero offset is currently not suported.\n"); +++ printf("Error: non zero offset is currently not supported.\n"); ++ return -1; ++ } ++ diff --cc debian/patches/fix-typo-transferred index 000000000,000000000..a2f05cd0c new file mode 100644 --- /dev/null +++ b/debian/patches/fix-typo-transferred @@@ -1,0 -1,0 +1,241 @@@ ++Index: u-boot/arch/powerpc/cpu/mpc8xx/spi.c ++=================================================================== ++--- u-boot.orig/arch/powerpc/cpu/mpc8xx/spi.c +++++ u-boot/arch/powerpc/cpu/mpc8xx/spi.c ++@@ -455,7 +455,7 @@ ssize_t spi_xfer (size_t count) ++ * ++ * The Serial Peripheral Interface (SPI) is tested in the local loopback mode. ++ * The interface is configured accordingly and several packets ++- * are transfered. The configurable test parameters are: +++ * are transferred. The configurable test parameters are: ++ * TEST_MIN_LENGTH - minimum size of packet to transfer ++ * TEST_MAX_LENGTH - maximum size of packet to transfer ++ * TEST_NUM - number of tests ++Index: u-boot/arch/sparc/cpu/leon3/usb_uhci.c ++=================================================================== ++--- u-boot.orig/arch/sparc/cpu/leon3/usb_uhci.c +++++ u-boot/arch/sparc/cpu/leon3/usb_uhci.c ++@@ -55,7 +55,7 @@ ++ * For Interrupt transfers USB_MAX_TEMP_INT_TD Transfer descriptor are available. They ++ * will be inserted after the appropriate (depending the interval setting) skeleton TD. ++ * If an interrupt has been detected the dev->irqhandler is called. The status and number ++- * of transfered bytes is stored in dev->irq_status resp. dev->irq_act_len. If the +++ * of transferred bytes is stored in dev->irq_status resp. dev->irq_act_len. If the ++ * dev->irqhandler returns 0, the interrupt TD is removed and disabled. If an 1 is returned, ++ * the interrupt TD will be reactivated. ++ * ++@@ -229,7 +229,7 @@ unsigned long usb_uhci_td_stat(unsigned ++ return result; ++ } ++ ++-/* get the status and the transfered len of a td chain. +++/* get the status and the transferred len of a td chain. ++ * called from the completion handler ++ */ ++ int usb_get_td_status(uhci_td_t * td, struct usb_device *dev) ++@@ -247,7 +247,7 @@ int usb_get_td_status(uhci_td_t * td, st ++ stat = usb_uhci_td_stat(temp); ++ info = swap_32((unsigned long)READ32(&mytd->info)); ++ if (((info & 0xff) != USB_PID_SETUP) && (((info >> 21) & 0x7ff) != 0x7ff) && (temp & 0x7FF) != 0x7ff) { /* if not setup and not null data pack */ ++- dev->act_len += (temp & 0x7FF) + 1; /* the transfered len is act_len + 1 */ +++ dev->act_len += (temp & 0x7FF) + 1; /* the transferred len is act_len + 1 */ ++ } ++ if (stat) { /* status no ok */ ++ dev->status = stat; ++@@ -621,7 +621,7 @@ void usb_check_int_chain(void) ++ if ((td->dev_ptr != 0L) && !(status & TD_CTRL_ACTIVE)) { ++ /* td is not active and a device is assigned -> call irqhandler */ ++ dev = (struct usb_device *)td->dev_ptr; ++- dev->irq_act_len = ((status & 0x7FF) == 0x7FF) ? 0 : (status & 0x7FF) + 1; /* transfered length */ +++ dev->irq_act_len = ((status & 0x7FF) == 0x7FF) ? 0 : (status & 0x7FF) + 1; /* transferred length */ ++ dev->irq_status = usb_uhci_td_stat(status); /* get status */ ++ res = dev->irq_handle(dev); /* call irqhandler */ ++ if (res == 1) { ++Index: u-boot/board/mpl/common/usb_uhci.c ++=================================================================== ++--- u-boot.orig/board/mpl/common/usb_uhci.c +++++ u-boot/board/mpl/common/usb_uhci.c ++@@ -52,7 +52,7 @@ ++ * For Interrupt transfers USB_MAX_TEMP_INT_TD Transfer descriptor are available. They ++ * will be inserted after the appropriate (depending the interval setting) skeleton TD. ++ * If an interrupt has been detected the dev->irqhandler is called. The status and number ++- * of transfered bytes is stored in dev->irq_status resp. dev->irq_act_len. If the +++ * of transferred bytes is stored in dev->irq_status resp. dev->irq_act_len. If the ++ * dev->irqhandler returns 0, the interrupt TD is removed and disabled. If an 1 is returned, ++ * the interrupt TD will be reactivated. ++ * ++@@ -156,7 +156,7 @@ unsigned long usb_uhci_td_stat(unsigned ++ return result; ++ } ++ ++-/* get the status and the transfered len of a td chain. +++/* get the status and the transferred len of a td chain. ++ * called from the completion handler ++ */ ++ int usb_get_td_status(uhci_td_t *td,struct usb_device *dev) ++@@ -177,7 +177,7 @@ int usb_get_td_status(uhci_td_t *td,stru ++ (((info >> 21) & 0x7ff)!= 0x7ff) && ++ (temp & 0x7FF)!=0x7ff) ++ { /* if not setup and not null data pack */ ++- dev->act_len+=(temp & 0x7FF) + 1; /* the transfered len is act_len + 1 */ +++ dev->act_len+=(temp & 0x7FF) + 1; /* the transferred len is act_len + 1 */ ++ } ++ if(stat) { /* status no ok */ ++ dev->status=stat; ++@@ -533,7 +533,7 @@ void usb_check_int_chain(void) ++ if((td->dev_ptr!=0L) && !(status & TD_CTRL_ACTIVE)) { ++ /* td is not active and a device is assigned -> call irqhandler */ ++ dev=(struct usb_device *)td->dev_ptr; ++- dev->irq_act_len=((status & 0x7FF)==0x7FF) ? 0 : (status & 0x7FF) + 1; /* transfered length */ +++ dev->irq_act_len=((status & 0x7FF)==0x7FF) ? 0 : (status & 0x7FF) + 1; /* transferred length */ ++ dev->irq_status=usb_uhci_td_stat(status); /* get status */ ++ res=dev->irq_handle(dev); /* call irqhandler */ ++ if(res==1) { ++Index: u-boot/cmd/fdc.c ++=================================================================== ++--- u-boot.orig/cmd/fdc.c +++++ u-boot/cmd/fdc.c ++@@ -459,7 +459,7 @@ retryrw: ++ break; ++ } ++ if((c&0xC0)==0x80) { /* output */ ++- PRINTF("Transfer error transfered: at %ld, MSR=%02X\n",i,c); +++ PRINTF("Transfer error transferred: at %ld, MSR=%02X\n",i,c); ++ if(i>6) { ++ for(ii=0;ii<7;ii++) { ++ pCMD->result[ii]=bufferw[(i-7+ii)]; ++Index: u-boot/common/usb.c ++=================================================================== ++--- u-boot.orig/common/usb.c +++++ u-boot/common/usb.c ++@@ -210,7 +210,7 @@ int usb_submit_int_msg(struct usb_device ++ * clear keyboards LEDs). For data transfers, (storage transfers) we don't ++ * allow control messages with 0 timeout, by previousely resetting the flag ++ * asynch_allowed (usb_disable_asynch(1)). ++- * returns the transfered length if OK or -1 if error. The transfered length +++ * returns the transferred length if OK or -1 if error. The transferred length ++ * and the current status are stored in the dev->act_len and dev->status. ++ */ ++ int usb_control_msg(struct usb_device *dev, unsigned int pipe, ++Index: u-boot/common/usb_storage.c ++=================================================================== ++--- u-boot.orig/common/usb_storage.c +++++ u-boot/common/usb_storage.c ++@@ -599,7 +599,7 @@ static int usb_stor_CBI_get_status(ccb * ++ us->ip_wanted = 0; ++ return USB_STOR_TRANSPORT_ERROR; ++ } ++- debug("Got interrupt data 0x%x, transfered %d status 0x%lX\n", +++ debug("Got interrupt data 0x%x, transferred %d status 0x%lX\n", ++ us->ip_data, us->pusb_dev->irq_act_len, ++ us->pusb_dev->irq_status); ++ /* UFI gives us ASC and ASCQ, like a request sense */ ++Index: u-boot/doc/README.POST ++=================================================================== ++--- u-boot.orig/doc/README.POST +++++ u-boot/doc/README.POST ++@@ -494,7 +494,7 @@ This test will verify the following ALU ++ This group will contain: b, bl, bc. ++ ++ The first 2 instructions (b, bl) will be verified by jumping to ++- a fixed address and checking whether control was transfered to +++ a fixed address and checking whether control was transferred to ++ that very point. For the bl instruction the value of the link ++ register will be checked as well (using mfspr). To verify the bc ++ instruction various combinations of the BI/BO fields, the CTR ++Index: u-boot/doc/device-tree-bindings/spi/spi-bus.txt ++=================================================================== ++--- u-boot.orig/doc/device-tree-bindings/spi/spi-bus.txt +++++ u-boot/doc/device-tree-bindings/spi/spi-bus.txt ++@@ -63,7 +63,7 @@ contain the following properties. ++ a header byte before reading data from the slave. ++ ++ Some SPI controllers and devices support Dual and Quad SPI transfer mode. ++-It allows data in SPI system transfered in 2 wires(DUAL) or 4 wires(QUAD). +++It allows data in SPI system transferred in 2 wires(DUAL) or 4 wires(QUAD). ++ Now the value that spi-tx-bus-width and spi-rx-bus-width can receive is ++ only 1(SINGLE), 2(DUAL) and 4(QUAD). ++ Dual/Quad mode is not allowed when 3-wire mode is used. ++Index: u-boot/doc/kwboot.1 ++=================================================================== ++--- u-boot.orig/doc/kwboot.1 +++++ u-boot/doc/kwboot.1 ++@@ -20,7 +20,7 @@ must conform to Marvell's BootROM firmwa ++ Following power-up or a system reset, system BootROM code polls the ++ UART for a brief period of time, sensing a handshake message which ++ initiates an image upload. This program sends this boot message until ++-it receives a positive acknowledgement. The image is transfered using +++it receives a positive acknowledgement. The image is transferred using ++ Xmodem. ++ ++ Additionally, this program implements a minimal terminal mode, which ++Index: u-boot/drivers/block/sym53c8xx.c ++=================================================================== ++--- u-boot.orig/drivers/block/sym53c8xx.c +++++ u-boot/drivers/block/sym53c8xx.c ++@@ -657,7 +657,7 @@ void scsi_issue(ccb *pccb) ++ /* struct pccb must be set-up correctly */ ++ retrycnt=0; ++ PRINTF("ID %d issue cmd %02X\n",pccb->target,pccb->cmd[0]); ++- pccb->trans_bytes=0; /* no bytes transfered yet */ +++ pccb->trans_bytes=0; /* no bytes transferred yet */ ++ scsi_set_script(pccb); /* fill in SCRIPT */ ++ scsi_int_mask=STO | UDC | MA; /* | CMP; / * Interrupts which are enabled */ ++ script_int_mask=0xff; /* enable all Ints */ ++@@ -712,7 +712,7 @@ retry: ++ for(i=0;i<3;i++) ++ int_stat[i]=0; /* delete all int status */ ++ retrycnt++; ++- PRINTF("ID: %X Phase Missmatch Retry %d Phase %02X transfered %lx\n", +++ PRINTF("ID: %X Phase Missmatch Retry %d Phase %02X transferred %lx\n", ++ pccb->target,retrycnt,scsi_read_byte(SBCL),pccb->trans_bytes); ++ scsi_write_dsp(phys_to_bus(&script_cmd[4])); /* start retry script */ ++ goto retry; ++Index: u-boot/drivers/fpga/stratixII.c ++=================================================================== ++--- u-boot.orig/drivers/fpga/stratixII.c +++++ u-boot/drivers/fpga/stratixII.c ++@@ -130,7 +130,7 @@ int StratixII_ps_fpp_load (Altera_desc * ++ /* 3.1 check stratix has not signaled us an error */ ++ if (fns->status (cookie) != 1) { ++ printf ++- ("\n%s(%d) Stratix failed (byte transfered till failure 0x%x)\n", +++ ("\n%s(%d) Stratix failed (byte transferred till failure 0x%x)\n", ++ __FUNCTION__, __LINE__, bytecount); ++ fns->abort (cookie); ++ return FPGA_FAIL; ++Index: u-boot/include/usb.h ++=================================================================== ++--- u-boot.orig/include/usb.h +++++ u-boot/include/usb.h ++@@ -130,7 +130,7 @@ struct usb_device { ++ int string_langid; /* language ID for strings */ ++ int (*irq_handle)(struct usb_device *dev); ++ unsigned long irq_status; ++- int irq_act_len; /* transfered bytes */ +++ int irq_act_len; /* transferred bytes */ ++ void *privptr; ++ /* ++ * Child devices - if this is a hub device ++@@ -138,7 +138,7 @@ struct usb_device { ++ */ ++ unsigned long status; ++ unsigned long int_pending; /* 1 bit per ep, used by int_queue */ ++- int act_len; /* transfered bytes */ +++ int act_len; /* transferred bytes */ ++ int maxchild; /* Number of ports if hub */ ++ int portnr; /* Port number, 1=first */ ++ #ifndef CONFIG_DM_USB ++Index: u-boot/post/lib_powerpc/b.c ++=================================================================== ++--- u-boot.orig/post/lib_powerpc/b.c +++++ u-boot/post/lib_powerpc/b.c ++@@ -12,7 +12,7 @@ ++ * Branch instructions: b, bl, bc ++ * ++ * The first 2 instructions (b, bl) are verified by jumping ++- * to a fixed address and checking whether control was transfered +++ * to a fixed address and checking whether control was transferred ++ * to that very point. For the bl instruction the value of the ++ * link register is checked as well (using mfspr). ++ * To verify the bc instruction various combinations of the BI/BO diff --cc debian/patches/hurd.diff index 000000000,000000000..546e5fbb2 new file mode 100644 --- /dev/null +++ b/debian/patches/hurd.diff @@@ -1,0 -1,0 +1,20 @@@ ++--- a/include/compiler.h +++++ b/include/compiler.h ++@@ -15,7 +15,7 @@ ++ defined(__sun__) || \ ++ defined(__APPLE__) ++ # include ++-#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__) +++#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__) || defined(__GLIBC__) ++ # include ++ #endif ++ ++@@ -41,7 +41,7 @@ ++ #define O_BINARY 0 ++ #endif ++ ++-#ifdef __linux__ +++#if defined(__linux__) || defined(__GLIBC__) ++ # include ++ # include ++ #elif defined(__MACH__) || defined(__FreeBSD__) diff --cc debian/patches/mipsel-native-endianness.diff index 000000000,000000000..48fbc894a new file mode 100644 --- /dev/null +++ b/debian/patches/mipsel-native-endianness.diff @@@ -1,0 -1,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 ++@@ -5,10 +5,6 @@ ++ * SPDX-License-Identifier: GPL-2.0+ ++ */ ++ ++-/* ++-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips") ++-*/ ++-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips") ++ OUTPUT_ARCH(mips) ++ SECTIONS ++ { diff --cc debian/patches/mksunxiboot-spl.patch index 000000000,000000000..49d443e3b new file mode 100644 --- /dev/null +++ b/debian/patches/mksunxiboot-spl.patch @@@ -1,0 -1,0 +1,14 @@@ ++Use a relative path to include the sunxi spl header, which allows ++mksunxiboot to build on any arch. ++ ++--- a/tools/mksunxiboot.c +++++ b/tools/mksunxiboot.c ++@@ -15,7 +15,7 @@ ++ #include ++ #include ++ #include ++-#include "asm/arch/spl.h" +++#include "../arch/arm/include/asm/arch-sunxi/spl.h" ++ ++ #define STAMP_VALUE 0x5F0A6C39 ++ diff --cc debian/patches/mx53loco index 000000000,000000000..7aa1b7c4c new file mode 100644 --- /dev/null +++ b/debian/patches/mx53loco @@@ -1,0 -1,0 +1,14 @@@ ++Enables support for ext4, the "load" command, and using bootz with raw initrds. ++ ++Index: u-boot/include/configs/mx53loco.h ++=================================================================== ++--- u-boot.orig/include/configs/mx53loco.h +++++ u-boot/include/configs/mx53loco.h ++@@ -46,6 +46,7 @@ ++ #define CONFIG_CMD_FS_GENERIC ++ #define CONFIG_CMD_FAT ++ #define CONFIG_CMD_EXT2 +++#define CONFIG_CMD_EXT4 ++ #define CONFIG_DOS_PARTITION ++ ++ /* Eth Configs */ diff --cc debian/patches/mx6cuboxi/serial_console_speed.patch index 000000000,000000000..b482a2272 new file mode 100644 --- /dev/null +++ b/debian/patches/mx6cuboxi/serial_console_speed.patch @@@ -1,0 -1,0 +1,13 @@@ ++Index: u-boot/include/configs/mx6cuboxi.h ++=================================================================== ++--- u-boot.orig/include/configs/mx6cuboxi.h +++++ u-boot/include/configs/mx6cuboxi.h ++@@ -99,7 +99,7 @@ ++ "initrd_high=0xffffffff\0" \ ++ "fdt_high=0xffffffff\0" \ ++ "ip_dyn=yes\0" \ ++- "console=" CONFIG_CONSOLE_DEV "\0" \ +++ "console=" CONFIG_CONSOLE_DEV ",115200\0" \ ++ "bootm_size=0x10000000\0" \ ++ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ ++ "update_sd_firmware=" \ diff --cc debian/patches/n900-bootz-raw-initrd.diff index 000000000,000000000..eb7dda5ed new file mode 100644 --- /dev/null +++ b/debian/patches/n900-bootz-raw-initrd.diff @@@ -1,0 -1,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 2014-05-13 15:05:59.000000000 -0700 +++++ u-boot/include/configs/nokia_rx51.h 2014-05-13 15:07:43.213088875 -0700 ++@@ -136,6 +136,9 @@ ++ #define CONFIG_CMD_BOOTMENU /* ANSI terminal Boot Menu */ ++ #define CONFIG_CMD_CLEAR /* ANSI terminal clear screen command */ ++ +++#define CONFIG_CMD_BOOTZ /* boot zImage */ +++#define CONFIG_SUPPORT_RAW_INITRD +++ ++ #ifdef ONENAND_SUPPORT ++ ++ #define CONFIG_CMD_ONENAND /* ONENAND support */ diff --cc debian/patches/no-force-CROSS_COMPILE-powerpc.diff index 000000000,000000000..f4ec66e82 new file mode 100644 --- /dev/null +++ b/debian/patches/no-force-CROSS_COMPILE-powerpc.diff @@@ -1,0 -1,0 +1,15 @@@ ++Index: u-boot/arch/powerpc/config.mk ++=================================================================== ++--- u-boot.orig/arch/powerpc/config.mk +++++ u-boot/arch/powerpc/config.mk ++@@ -5,10 +5,6 @@ ++ # SPDX-License-Identifier: GPL-2.0+ ++ # ++ ++-ifeq ($(CROSS_COMPILE),) ++-CROSS_COMPILE := ppc_8xx- ++-endif ++- ++ CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 ++ LDFLAGS_FINAL += --gc-sections ++ LDFLAGS_FINAL += --bss-plt diff --cc debian/patches/odroid/0001-Convert-odroid-to-use-distro_bootcmd.patch index 000000000,000000000..9447bce90 new file mode 100644 --- /dev/null +++ b/debian/patches/odroid/0001-Convert-odroid-to-use-distro_bootcmd.patch @@@ -1,0 -1,0 +1,64 @@@ ++From cfe02ff5b8c68b2108a91a9fc6f5309834d5d411 Mon Sep 17 00:00:00 2001 ++From: Vagrant Cascadian ++Date: Sat, 28 May 2016 16:08:39 -0700 ++Subject: [PATCH] Convert odroid to use distro_bootcmd. ++ ++--- ++ include/configs/odroid.h | 23 +++++++++++++++++++---- ++ 1 file changed, 19 insertions(+), 4 deletions(-) ++ ++Index: u-boot/include/configs/odroid.h ++=================================================================== ++--- u-boot.orig/include/configs/odroid.h +++++ u-boot/include/configs/odroid.h ++@@ -49,9 +49,7 @@ ++ #define CONFIG_CMD_BOOTZ ++ #define CONFIG_FIT ++ #define CONFIG_FIT_VERBOSE ++-#define CONFIG_BOOTARGS "Please use defined boot" ++-#define CONFIG_BOOTCOMMAND "run autoboot" ++-#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" +++#define CONFIG_DEFAULT_CONSOLE "ttySAC1,115200n8\0" ++ ++ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR \ ++ - GENERATED_GBL_DATA_SIZE) ++@@ -93,6 +91,20 @@ ++ "bl2 raw 0x1f 0x1d;" \ ++ "tzsw raw 0x83f 0x138\0" ++ +++#define BOOT_TARGET_DEVICES(func) \ +++ func(MMC, mmc, 1) \ +++ func(MMC, mmc, 0) +++ +++#include +++ +++#define MEM_LAYOUT_ENV_SETTINGS \ +++ "bootm_size=0x10000000\0" \ +++ "kernel_addr_r=0x42000000\0" \ +++ "fdt_addr_r=0x43000000\0" \ +++ "ramdisk_addr_r=0x43300000\0" \ +++ "scriptaddr=0x50000000\0" \ +++ "pxefile_addr_r=0x51000000\0" +++ ++ /* ++ * Bootable media layout: ++ * dev: SD eMMC(part boot) ++@@ -171,7 +183,6 @@ ++ "mmcbootpart=1\0" \ ++ "mmcrootdev=0\0" \ ++ "mmcrootpart=2\0" \ ++- "bootdelay=0\0" \ ++ "dfu_alt_system="CONFIG_DFU_ALT \ ++ "dfu_alt_info=Please reset the board\0" \ ++ "consoleon=set console console=ttySAC1,115200n8; save; reset\0" \ ++@@ -179,7 +190,9 @@ ++ "initrdname=uInitrd\0" \ ++ "initrdaddr=42000000\0" \ ++ "scriptaddr=0x42000000\0" \ ++- "fdtaddr=40800000\0" +++ "fdtaddr=40800000\0" \ +++ MEM_LAYOUT_ENV_SETTINGS \ +++ BOOTENV ++ ++ /* I2C */ ++ #define CONFIG_CMD_I2C diff --cc debian/patches/series index 000000000,000000000..fe37f2b23 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,42 @@@ ++add-debian-revision-to-u-boot-version ++mipsel-native-endianness.diff ++no-force-CROSS_COMPILE-powerpc.diff ++tools-generic-builds.patch ++tools-only-in-no-dot-config-targets.diff ++Makefile-add-kwb-target-to-all.patch ++hurd.diff ++ ++udoo/udoo_quad-support.patch ++udoo/udoo-standardized-variables ++ ++mx53loco ++ ++n900-bootz-raw-initrd.diff ++ ++beagleboneblack/usb-mass-storage.patch ++ ++arndale/board-spl-rule.diff ++ ++sh4-fix-linker-name-prefix.patch ++ ++ensure-config-sandbox-for-make-env.patch ++mksunxiboot-spl.patch ++ ++mx6cuboxi/serial_console_speed.patch ++ ++am57xx/omap5_distro_bootcmd ++fix-typo-supported ++fix-typo-comment ++fix-typo-transferred ++ ++upstream/sunxi/0001-sunxi-Fix-gmac-not-working-due-to-cpu_eth_init-no-lo.patch ++ ++firefly/0001-Revert-rockchip-rk3288-correct-sdram-setting.patch ++ ++upstream/ti-common/0001-ARM-omap-common-Add-standard-access-for-board-descri.patch ++upstream/ti-common/0002-ti-common-dra7-Add-standard-access-for-board-descrip.patch ++upstream/am57xx/0001-board-ti-AM57xx-Add-detection-logic-for-AM57xx-evm.patch ++odroid/0001-Convert-odroid-to-use-distro_bootcmd.patch ++ ++upstream/submitted/reproducible/0001-Use-C-locale-when-setting-CC_VERSION_STRING-and-LD_V.patch ++upstream/sunxi/0002-sunxi-Enable-LDO3-and-LDO4-at-2.8V-on-OLinuxIno-Lime.patch diff --cc debian/patches/sh4-fix-linker-name-prefix.patch index 000000000,000000000..943db2466 new file mode 100644 --- /dev/null +++ b/debian/patches/sh4-fix-linker-name-prefix.patch @@@ -1,0 -1,0 +1,30 @@@ ++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 ++ ++--- u-boot-2014.10+dfsg1.orig/arch/sh/config.mk +++++ u-boot-2014.10+dfsg1/arch/sh/config.mk ++@@ -6,7 +6,7 @@ ++ # ++ ++ ifeq ($(CROSS_COMPILE),) ++-CROSS_COMPILE := sh4-linux- +++CROSS_COMPILE := sh4-linux-gnu- ++ endif ++ ++ CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000 diff --cc debian/patches/tools-generic-builds.patch index 000000000,000000000..e7f9bf9f3 new file mode 100644 --- /dev/null +++ b/debian/patches/tools-generic-builds.patch @@@ -1,0 -1,0 +1,14 @@@ ++Description: Enable generic tools build ++Author: Hector Oron ++ ++--- u-boot-2014.10~rc2+dfsg1.orig/tools/Makefile +++++ u-boot-2014.10~rc2+dfsg1/tools/Makefile ++@@ -52,7 +52,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 ++ ++ FIT_SIG_OBJS-$(CONFIG_FIT_SIGNATURE) := common/image-sig.o diff --cc debian/patches/tools-only-in-no-dot-config-targets.diff index 000000000,000000000..044fafb75 new file mode 100644 --- /dev/null +++ b/debian/patches/tools-only-in-no-dot-config-targets.diff @@@ -1,0 -1,0 +1,21 @@@ ++Revert upstream commit c7ad5cbb1ef2c33883f0fa7d0455095004fd306d: ++ ++ Makefile: drop "tools-only" from no-dot-config-targets ++ ++This indirectly pulls in a build-dependency on libssl-dev used for FIT ++image support, and possibly GPL/OpenSSL licensing incompatibility ++issues. ++ ++Index: u-boot/Makefile ++=================================================================== ++--- u-boot.orig/Makefile +++++ u-boot/Makefile ++@@ -411,7 +411,7 @@ timestamp_h := include/generated/timesta ++ ++ no-dot-config-targets := clean clobber mrproper distclean \ ++ help %docs check% coccicheck \ ++- ubootversion backup +++ ubootversion backup tools-only ++ ++ config-targets := 0 ++ mixed-targets := 0 diff --cc debian/patches/udoo/udoo-standardized-variables index 000000000,000000000..6947254e9 new file mode 100644 --- /dev/null +++ b/debian/patches/udoo/udoo-standardized-variables @@@ -1,0 -1,0 +1,28 @@@ ++Adds standardized variables, fdtfile, fdt_addr_r, ramdisk_addr_r and ++kernel_addr_r. ++ ++Index: u-boot/include/configs/udoo.h ++=================================================================== ++--- u-boot.orig/include/configs/udoo.h +++++ u-boot/include/configs/udoo.h ++@@ -74,6 +74,9 @@ ++ "initrd_high=0xffffffff\0" \ ++ "fdt_file=undefined\0" \ ++ "fdt_addr=0x18000000\0" \ +++ "fdt_addr_r=0x18000000\0" \ +++ "ramdisk_addr_r=0x13000000\0" \ +++ "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \ ++ "boot_fdt=try\0" \ ++ "ip_dyn=yes\0" \ ++ "mmcdev=0\0" \ ++@@ -146,8 +149,10 @@ ++ "fi;\0" \ ++ "findfdt=" \ ++ "if test $board_rev = MX6Q ; then " \ +++ "setenv fdtfile imx6q-udoo.dtb; " \ ++ "setenv fdt_file imx6q-udoo.dtb; fi; " \ ++ "if test $board_rev = MX6DL ; then " \ +++ "setenv fdt_file imx6dl-udoo.dtb; " \ ++ "setenv fdt_file imx6dl-udoo.dtb; fi; " \ ++ "if test $fdt_file = undefined; then " \ ++ "echo WARNING: Could not determine dtb to use; fi; \0" diff --cc debian/patches/udoo/udoo_quad-support.patch index 000000000,000000000..ffb186a11 new file mode 100644 --- /dev/null +++ b/debian/patches/udoo/udoo_quad-support.patch @@@ -1,0 -1,0 +1,78 @@@ ++Description: Features and sane scripts for UDOO board ++ Enable the following features: ++ * Ext4 ++ * Generic FS (load) ++ * Raw initramfs ++ Tweak scripts to: ++ * use generic "load" command to load files from FS. ++ * provide "loadzimage" macro. ++ * account for different locations of boot script file. ++Author: Michael Fladischer ++Last-Update: 2014-07-01 ++Forwarded: no ++ ++Index: u-boot/include/configs/udoo.h ++=================================================================== ++--- u-boot.orig/include/configs/udoo.h +++++ u-boot/include/configs/udoo.h ++@@ -95,11 +95,15 @@ ++ "fi\0" \ ++ "mmcargs=setenv bootargs console=${console},${baudrate} " \ ++ "root=${mmcroot}\0" \ +++ "loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} uEnv.txt\0" \ +++ "importbootenv=echo Importing environment from mmc (uEnv.txt)...; " \ +++ "env import -t $loadaddr $filesize\0" \ ++ "loadbootscript=" \ ++ "load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ ++ "bootscript=echo Running bootscript from mmc ...; " \ ++ "source\0" \ ++ "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ +++ "loadzimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} zImage\0" \ ++ "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ ++ "mmcboot=echo Booting from mmc ...; " \ ++ "run mmcargs; " \ ++@@ -149,17 +153,33 @@ ++ "echo WARNING: Could not determine dtb to use; fi; \0" ++ ++ #define CONFIG_BOOTCOMMAND \ ++- "run findfdt; " \ ++- "mmc dev ${mmcdev}; if mmc rescan; then " \ ++- "if run loadbootscript; then " \ ++- "run bootscript; " \ ++- "else " \ ++- "if run loadimage; then " \ ++- "run mmcboot; " \ ++- "else run netboot; " \ ++- "fi; " \ ++- "fi; " \ ++- "else run netboot; fi" +++ "run findfdt; " \ +++ "mmc dev ${mmcdev};" \ +++ "if mmc rescan; then " \ +++ "echo SD/MMC found on device ${mmcdev};" \ +++ "if run loadbootenv; then " \ +++ "run importbootenv;" \ +++ "fi;" \ +++ "echo Checking if uenvcmd is set ...;" \ +++ "if test -n $uenvcmd; then " \ +++ "echo Running uenvcmd ...;" \ +++ "run uenvcmd;" \ +++ "fi;" \ +++ "if run loadbootscript; then " \ +++ "echo Running boot script ${script} ...;" \ +++ "run bootscript; " \ +++ "fi;" \ +++ "setenv script /boot/${script};" \ +++ "if run loadbootscript; then " \ +++ "echo Running boot script ${script} ...;" \ +++ "run bootscript; " \ +++ "fi;" \ +++ "echo Running default loadzimage ...;" \ +++ "if run loadzimage; then " \ +++ "run loadfdt;" \ +++ "run mmcboot;" \ +++ "fi;" \ +++ "fi;" ++ ++ /* Print Buffer Size */ ++ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) diff --cc debian/patches/upstream/am57xx/0001-board-ti-AM57xx-Add-detection-logic-for-AM57xx-evm.patch index 000000000,000000000..3497f11c9 new file mode 100644 --- /dev/null +++ b/debian/patches/upstream/am57xx/0001-board-ti-AM57xx-Add-detection-logic-for-AM57xx-evm.patch @@@ -1,0 -1,0 +1,196 @@@ ++From 212f96f6bd968f4359fff188d44157125cf24447 Mon Sep 17 00:00:00 2001 ++From: "Kipisz, Steven" ++Date: Wed, 24 Feb 2016 12:30:58 -0600 ++Subject: [PATCH] board: ti: AM57xx: Add detection logic for AM57xx-evm ++ ++Current AM57xx evm supports both BeagleBoard-X15 ++(http://beagleboard.org/x15) and AM57xx EVM ++(http://www.ti.com/tool/tmdxevm5728). ++ ++The AM572x EValuation Module(EVM) provides an affordable platform to ++quickly start evaluation of Sitara. ARM Cortex-A15 AM57x Processors ++(AM5728, AM5726, AM5718, AM5716) and accelerate development for HMI, ++machine vision, networking, medical imaging and many other industrial ++applications. This EVM is based on the same BeagleBoard-X15 Chassis ++and adds mPCIe, mSATA, LCD, touchscreen, Camera, push button and TI's ++wlink8 offering. ++ ++Since the EEPROM contents are compatible between the BeagleBoard-X15 and ++the AM57xx-evm, we add support for the detection logic to enable ++support for various user programmable scripting capability. ++ ++NOTE: U-boot configuration is currently a superset of AM57xx evm and ++BeagleBoard-X15 and no additional configuration tweaking is needed. ++ ++This change also sets up the stage for future support of TI AM57xx EVMs ++to the same base bootloader build. ++ ++Signed-off-by: Steve Kipisz ++Signed-off-by: Lokesh Vutla ++Signed-off-by: Nishanth Menon ++Reviewed-by: Tom Rini ++--- ++ arch/arm/cpu/armv7/omap5/Kconfig | 1 + ++ board/ti/am57xx/Kconfig | 2 ++ ++ board/ti/am57xx/board.c | 70 ++++++++++++++++++++++++++++++++++++++- ++ include/configs/am57xx_evm.h | 4 +++ ++ include/configs/ti_omap5_common.h | 2 ++ ++ 5 files changed, 78 insertions(+), 1 deletion(-) ++ ++diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig ++index bfa264e..f265b34 100644 ++--- a/arch/arm/cpu/armv7/omap5/Kconfig +++++ b/arch/arm/cpu/armv7/omap5/Kconfig ++@@ -15,6 +15,7 @@ config TARGET_DRA7XX_EVM ++ ++ config TARGET_BEAGLE_X15 ++ bool "BeagleBoard X15" +++ select TI_I2C_BOARD_DETECT ++ ++ endchoice ++ ++diff --git a/board/ti/am57xx/Kconfig b/board/ti/am57xx/Kconfig ++index bdb7795..17745ff 100644 ++--- a/board/ti/am57xx/Kconfig +++++ b/board/ti/am57xx/Kconfig ++@@ -9,4 +9,6 @@ config SYS_VENDOR ++ config SYS_CONFIG_NAME ++ default "am57xx_evm" ++ +++source "board/ti/common/Kconfig" +++ ++ endif ++diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c ++index 042f9ab..d712ab0 100644 ++--- a/board/ti/am57xx/board.c +++++ b/board/ti/am57xx/board.c ++@@ -30,8 +30,12 @@ ++ #include ++ #include ++ +++#include "../common/board_detect.h" ++ #include "mux_data.h" ++ +++#define board_is_x15() board_ti_is("BBRDX15_") +++#define board_is_am572x_evm() board_ti_is("AM572PM_") +++ ++ #ifdef CONFIG_DRIVER_TI_CPSW ++ #include ++ #endif ++@@ -41,8 +45,10 @@ DECLARE_GLOBAL_DATA_PTR; ++ /* GPIO 7_11 */ ++ #define GPIO_DDR_VTT_EN 203 ++ +++#define SYSINFO_BOARD_NAME_MAX_LEN 45 +++ ++ const struct omap_sysinfo sysinfo = { ++- "Board: BeagleBoard x15\n" +++ "Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN\n" ++ }; ++ ++ static const struct dmm_lisa_map_regs beagle_x15_lisa_regs = { ++@@ -246,6 +252,66 @@ struct vcores_data beagle_x15_volts = { ++ .iva.pmic = &tps659038, ++ }; ++ +++#ifdef CONFIG_SPL_BUILD +++/* No env to setup for SPL */ +++static inline void setup_board_eeprom_env(void) { } +++ +++/* Override function to read eeprom information */ +++void do_board_detect(void) +++{ +++ int rc; +++ +++ rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS, +++ CONFIG_EEPROM_CHIP_ADDRESS); +++ if (rc) +++ printf("ti_i2c_eeprom_init failed %d\n", rc); +++} +++ +++#else /* CONFIG_SPL_BUILD */ +++ +++/* Override function to read eeprom information: actual i2c read done by SPL*/ +++void do_board_detect(void) +++{ +++ char *bname = NULL; +++ int rc; +++ +++ rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS, +++ CONFIG_EEPROM_CHIP_ADDRESS); +++ if (rc) +++ printf("ti_i2c_eeprom_init failed %d\n", rc); +++ +++ if (board_is_x15()) +++ bname = "BeagleBoard X15"; +++ else if (board_is_am572x_evm()) +++ bname = "AM572x EVM"; +++ +++ if (bname) +++ snprintf(sysinfo.board_string, SYSINFO_BOARD_NAME_MAX_LEN, +++ "Board: %s REV %s\n", bname, board_ti_get_rev()); +++} +++ +++static void setup_board_eeprom_env(void) +++{ +++ char *name = "beagle_x15"; +++ int rc; +++ +++ rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS, +++ CONFIG_EEPROM_CHIP_ADDRESS); +++ if (rc) +++ goto invalid_eeprom; +++ +++ if (board_is_am572x_evm()) +++ name = "am57xx_evm"; +++ else +++ printf("Unidentified board claims %s in eeprom header\n", +++ board_ti_get_name()); +++ +++invalid_eeprom: +++ set_board_info_env(name); +++} +++ +++#endif /* CONFIG_SPL_BUILD */ +++ ++ void hw_data_init(void) ++ { ++ *prcm = &dra7xx_prcm; ++@@ -265,6 +331,8 @@ int board_init(void) ++ int board_late_init(void) ++ { ++ init_sata(0); +++ setup_board_eeprom_env(); +++ ++ /* ++ * DEV_CTRL.DEV_ON = 1 please - else palmas switches off in 8 seconds ++ * This is the POWERHOLD-in-Low behavior. ++diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h ++index 6308cab..1fffdb1 100644 ++--- a/include/configs/am57xx_evm.h +++++ b/include/configs/am57xx_evm.h ++@@ -88,4 +88,8 @@ ++ #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ ++ CONFIG_SYS_SCSI_MAX_LUN) ++ +++/* EEPROM */ +++#define CONFIG_EEPROM_CHIP_ADDRESS 0x50 +++#define CONFIG_EEPROM_BUS_ADDRESS 0 +++ ++ #endif /* __CONFIG_AM57XX_EVM_H */ ++diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h ++index d164e6a..d373cbc 100644 ++--- a/include/configs/ti_omap5_common.h +++++ b/include/configs/ti_omap5_common.h ++@@ -117,6 +117,8 @@ ++ "setenv fdtfile dra72-evm.dtb; fi;" \ ++ "if test $board_name = beagle_x15; then " \ ++ "setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ +++ "if test $board_name = am57xx_evm; then " \ +++ "setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ ++ "if test $fdtfile = undefined; then " \ ++ "echo WARNING: Could not determine device tree to use; fi; \0" \ ++ "loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \ ++-- ++2.1.4 ++ diff --cc debian/patches/upstream/submitted/reproducible/0001-Use-C-locale-when-setting-CC_VERSION_STRING-and-LD_V.patch index 000000000,000000000..f5ccf1149 new file mode 100644 --- /dev/null +++ b/debian/patches/upstream/submitted/reproducible/0001-Use-C-locale-when-setting-CC_VERSION_STRING-and-LD_V.patch @@@ -1,0 -1,0 +1,50 @@@ ++From 1453a1fdf1d5f98a8b40d1e61cb3e8370ca060c9 Mon Sep 17 00:00:00 2001 ++From: Vagrant Cascadian ++Date: Sun, 12 Jun 2016 05:18:48 -0700 ++Subject: [PATCH] Use C locale when setting CC_VERSION_STRING and ++ LD_VERSION_STRING. ++ ++The output reported may be locale-dependent, which results in ++unreproducible builds. ++ ++ $ LANG=C ld --version | head -n 1 ++ GNU ld (GNU Binutils for Debian) 2.26 ++ ++ $ LANG=it_CH.UTF-8 ld --version | head -n 1 ++ ld di GNU (GNU Binutils for Debian) 2.26 ++ ++Forcing LC_ALL=C ensures the output is consistant regardless of the ++build environment. ++ ++Thanks to HW42 for debugging the issue: ++ ++ https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html ++ ++For more information about reproducible builds: ++ ++ https://reproducible-builds.org/ ++ ++Series-to: u-boot ++Series-cc: HW42 , reproducible-builds@lists.alioth.debian.org ++--- ++ Makefile | 4 ++-- ++ 1 file changed, 2 insertions(+), 2 deletions(-) ++ ++diff --git a/Makefile b/Makefile ++index 0f7d6f3..14e09d4 100644 ++--- a/Makefile +++++ b/Makefile ++@@ -1269,8 +1269,8 @@ prepare: prepare0 ++ define filechk_version.h ++ (echo \#define PLAIN_VERSION \"$(UBOOTRELEASE)\"; \ ++ echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; \ ++- echo \#define CC_VERSION_STRING \"$$($(CC) --version | head -n 1)\"; \ ++- echo \#define LD_VERSION_STRING \"$$($(LD) --version | head -n 1)\"; ) +++ echo \#define CC_VERSION_STRING \"$$(LC_ALL=C $(CC) --version | head -n 1)\"; \ +++ echo \#define LD_VERSION_STRING \"$$(LC_ALL=C $(LD) --version | head -n 1)\"; ) ++ endef ++ ++ # The SOURCE_DATE_EPOCH mechanism requires a date that behaves like GNU date. ++-- ++2.1.4 ++ diff --cc debian/patches/upstream/sunxi/0001-sunxi-Fix-gmac-not-working-due-to-cpu_eth_init-no-lo.patch index 000000000,000000000..afc1d504f new file mode 100644 --- /dev/null +++ b/debian/patches/upstream/sunxi/0001-sunxi-Fix-gmac-not-working-due-to-cpu_eth_init-no-lo.patch @@@ -1,0 -1,0 +1,138 @@@ ++From fc8991c61c393ce6a9d3dfc97cb56dbbd9e8cbba Mon Sep 17 00:00:00 2001 ++From: Hans de Goede ++Date: Thu, 17 Mar 2016 13:53:03 +0100 ++Subject: [PATCH] sunxi: Fix gmac not working due to cpu_eth_init no longer ++ being called ++ ++cpu_eth_init is no longer called for dm enabled eth drivers, this ++was causing the sunxi gmac eth controller to no longer work in u-boot. ++ ++This commit fixes this by calling the clock, reset and pinmux setup ++function from s_init() and enabling the phy power pin (if any) from ++board_init(). ++ ++The enabling of phy power cannot be done from s_init because it uses dm ++and dm is not ready yet at this point. ++ ++Note that the mdelay is dropped as the phy gets enabled much earlier ++now, so it is no longer needed. ++ ++Signed-off-by: Hans de Goede ++Acked-by: Ian Campbell ++Tested-by: Karsten Merker ++Tested-by: Michael Haas ++--- ++ arch/arm/cpu/armv7/sunxi/board.c | 28 +--------------------------- ++ arch/arm/include/asm/arch-sunxi/sys_proto.h | 6 +++++- ++ board/sunxi/board.c | 5 +++++ ++ board/sunxi/gmac.c | 14 +------------- ++ 4 files changed, 12 insertions(+), 41 deletions(-) ++ ++diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c ++index e80785b..7653148 100644 ++--- a/arch/arm/cpu/armv7/sunxi/board.c +++++ b/arch/arm/cpu/armv7/sunxi/board.c ++@@ -152,6 +152,7 @@ void s_init(void) ++ timer_init(); ++ gpio_init(); ++ i2c_init_board(); +++ eth_init_board(); ++ } ++ ++ #ifdef CONFIG_SPL_BUILD ++@@ -259,30 +260,3 @@ void enable_caches(void) ++ dcache_enable(); ++ } ++ #endif ++- ++-#ifdef CONFIG_CMD_NET ++-/* ++- * Initializes on-chip ethernet controllers. ++- * to override, implement board_eth_init() ++- */ ++-int cpu_eth_init(bd_t *bis) ++-{ ++- __maybe_unused int rc; ++- ++-#ifdef CONFIG_MACPWR ++- gpio_request(CONFIG_MACPWR, "macpwr"); ++- gpio_direction_output(CONFIG_MACPWR, 1); ++- mdelay(200); ++-#endif ++- ++-#ifdef CONFIG_SUNXI_GMAC ++- rc = sunxi_gmac_initialize(bis); ++- if (rc < 0) { ++- printf("sunxi: failed to initialize gmac\n"); ++- return rc; ++- } ++-#endif ++- ++- return 0; ++-} ++-#endif ++diff --git a/arch/arm/include/asm/arch-sunxi/sys_proto.h b/arch/arm/include/asm/arch-sunxi/sys_proto.h ++index 9df3744..a373319 100644 ++--- a/arch/arm/include/asm/arch-sunxi/sys_proto.h +++++ b/arch/arm/include/asm/arch-sunxi/sys_proto.h ++@@ -24,6 +24,10 @@ void sdelay(unsigned long); ++ void return_to_fel(uint32_t lr, uint32_t sp); ++ ++ /* Board / SoC level designware gmac init */ ++-int sunxi_gmac_initialize(bd_t *bis); +++#if !defined CONFIG_SPL_BUILD && defined CONFIG_SUNXI_GMAC +++void eth_init_board(void); +++#else +++static inline void eth_init_board(void) {} +++#endif ++ ++ #endif ++diff --git a/board/sunxi/board.c b/board/sunxi/board.c ++index 80eae9c..e16718f 100644 ++--- a/board/sunxi/board.c +++++ b/board/sunxi/board.c ++@@ -90,6 +90,11 @@ int board_init(void) ++ if (ret) ++ return ret; ++ +++#ifdef CONFIG_MACPWR +++ gpio_request(CONFIG_MACPWR, "macpwr"); +++ gpio_direction_output(CONFIG_MACPWR, 1); +++#endif +++ ++ /* Uses dm gpio code so do this here and not in i2c_init_board() */ ++ return soft_i2c_board_init(); ++ } ++diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c ++index 4e222d8..69eb8ff 100644 ++--- a/board/sunxi/gmac.c +++++ b/board/sunxi/gmac.c ++@@ -6,7 +6,7 @@ ++ #include ++ #include ++ ++-int sunxi_gmac_initialize(bd_t *bis) +++void eth_init_board(void) ++ { ++ int pin; ++ struct sunxi_ccm_reg *const ccm = ++@@ -79,16 +79,4 @@ int sunxi_gmac_initialize(bd_t *bis) ++ for (pin = SUNXI_GPA(26); pin <= SUNXI_GPA(27); pin++) ++ sunxi_gpio_set_cfgpin(pin, SUN6I_GPA_GMAC); ++ #endif ++- ++-#ifdef CONFIG_DM_ETH ++- return 0; ++-#else ++-# ifdef CONFIG_RGMII ++- return designware_initialize(SUNXI_GMAC_BASE, PHY_INTERFACE_MODE_RGMII); ++-# elif defined CONFIG_GMII ++- return designware_initialize(SUNXI_GMAC_BASE, PHY_INTERFACE_MODE_GMII); ++-# else ++- return designware_initialize(SUNXI_GMAC_BASE, PHY_INTERFACE_MODE_MII); ++-# endif ++-#endif ++ } ++-- ++2.1.4 ++ diff --cc debian/patches/upstream/sunxi/0002-sunxi-Enable-LDO3-and-LDO4-at-2.8V-on-OLinuxIno-Lime.patch index 000000000,000000000..ad65b2a98 new file mode 100644 --- /dev/null +++ b/debian/patches/upstream/sunxi/0002-sunxi-Enable-LDO3-and-LDO4-at-2.8V-on-OLinuxIno-Lime.patch @@@ -1,0 -1,0 +1,49 @@@ ++From affa020559bca31d6531e19cb1f009c22705a73d Mon Sep 17 00:00:00 2001 ++From: Hans de Goede ++Date: Thu, 31 Mar 2016 14:38:14 +0200 ++Subject: [PATCH 2/2] sunxi: Enable LDO3 and LDO4 at 2.8V on OLinuxIno Lime ++ boards ++ ++LDO3 and LDO4 are used to power port E resp. port G, which are exposed ++on gpio headers, so enable them at 2.8V as specified in the schematic. ++ ++Signed-off-by: Hans de Goede ++--- ++ configs/A10-OLinuXino-Lime_defconfig | 2 ++ ++ configs/A20-OLinuXino-Lime2_defconfig | 2 ++ ++ configs/A20-OLinuXino-Lime_defconfig | 2 ++ ++ 3 files changed, 6 insertions(+) ++ ++Index: u-boot/configs/A10-OLinuXino-Lime_defconfig ++=================================================================== ++--- u-boot.orig/configs/A10-OLinuXino-Lime_defconfig +++++ u-boot/configs/A10-OLinuXino-Lime_defconfig ++@@ -13,4 +13,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHC ++ # CONFIG_CMD_FLASH is not set ++ # CONFIG_CMD_FPGA is not set ++ CONFIG_CMD_GPIO=y +++CONFIG_AXP_ALDO3_VOLT=2800 +++CONFIG_AXP_ALDO4_VOLT=2800 ++ CONFIG_USB_EHCI_HCD=y ++Index: u-boot/configs/A20-OLinuXino-Lime2_defconfig ++=================================================================== ++--- u-boot.orig/configs/A20-OLinuXino-Lime2_defconfig +++++ u-boot/configs/A20-OLinuXino-Lime2_defconfig ++@@ -14,4 +14,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGM ++ # CONFIG_CMD_FPGA is not set ++ CONFIG_CMD_GPIO=y ++ CONFIG_ETH_DESIGNWARE=y +++CONFIG_AXP_ALDO3_VOLT=2800 +++CONFIG_AXP_ALDO4_VOLT=2800 ++ CONFIG_USB_EHCI_HCD=y ++Index: u-boot/configs/A20-OLinuXino-Lime_defconfig ++=================================================================== ++--- u-boot.orig/configs/A20-OLinuXino-Lime_defconfig +++++ u-boot/configs/A20-OLinuXino-Lime_defconfig ++@@ -12,4 +12,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHC ++ # CONFIG_CMD_FPGA is not set ++ CONFIG_CMD_GPIO=y ++ CONFIG_ETH_DESIGNWARE=y +++CONFIG_AXP_ALDO3_VOLT=2800 +++CONFIG_AXP_ALDO4_VOLT=2800 ++ CONFIG_USB_EHCI_HCD=y diff --cc debian/patches/upstream/ti-common/0001-ARM-omap-common-Add-standard-access-for-board-descri.patch index 000000000,000000000..33ab5b8b1 new file mode 100644 --- /dev/null +++ b/debian/patches/upstream/ti-common/0001-ARM-omap-common-Add-standard-access-for-board-descri.patch @@@ -1,0 -1,0 +1,500 @@@ ++From 0bea813d0018303610ec487314003c21f0116a21 Mon Sep 17 00:00:00 2001 ++From: Lokesh Vutla ++Date: Wed, 24 Feb 2016 12:30:54 -0600 ++Subject: [PATCH 1/2] ARM: omap-common: Add standard access for board ++ description EEPROM ++ ++Several TI EVMs have EEPROM that can contain board description information ++such as revision, DDR definition, serial number, etc. In just about all ++cases, these EEPROM are on the I2C bus and provides us the opportunity ++to centralize the generic operations involved. ++ ++The on-board EEPROM on the BeagleBone Black, BeagleBone, AM335x EVM, ++AM43x GP EVM, AM57xx-evm, BeagleBoard-X15 share the same format. ++However, DRA-7* EVMs, OMAP4SDP use a modified format. ++ ++We hence introduce logic which is generic between these platforms ++without enforcing any specific format. This allows the boards to use the ++relevant format for operations that they might choose. ++ ++This module will compile for all TI SoC based boards when ++CONFIG_TI_I2C_BOARD_DETECT is enabled to have optimal build times for ++platforms that require this support. ++ ++It is important to note that this logic is fundamental to the board ++configuration process such as DDR configuration which is needed in ++SPL, hence cannot be part of the standard u-boot driver model (which ++is available later in the process). Hence, to aid efficiency, the ++eeprom contents are copied over to SRAM scratchpad memory area at the ++first invocation to retrieve data. ++ ++To prevent churn with cases such as DRA7, where eeprom format maybe ++incompatible, we introduce a generic common format in eeprom which ++is made available over accessor functions for usage. ++ ++Special handling for BBG1 EEPROM had to be introduced thanks to the ++weird eeprom rev contents used. ++ ++The follow on patches introduce the use of this library for AM335x, ++AM437x, and AM57xx. ++ ++Signed-off-by: Lokesh Vutla ++Signed-off-by: Steve Kipisz ++Signed-off-by: Roger Quadros ++Signed-off-by: Nishanth Menon ++Reviewed-by: Tom Rini ++--- ++ arch/arm/include/asm/omap_common.h | 4 +- ++ board/ti/common/Kconfig | 5 + ++ board/ti/common/Makefile | 6 + ++ board/ti/common/board_detect.c | 254 +++++++++++++++++++++++++++++++++++++ ++ board/ti/common/board_detect.h | 140 ++++++++++++++++++++ ++ 5 files changed, 408 insertions(+), 1 deletion(-) ++ ++diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h ++index d773b04..aef3126 100644 ++--- a/arch/arm/include/asm/omap_common.h +++++ b/arch/arm/include/asm/omap_common.h ++@@ -713,7 +713,9 @@ static inline u8 is_dra72x(void) ++ #define OMAP_SRAM_SCRATCH_VCORES_PTR (SRAM_SCRATCH_SPACE_ADDR + 0x1C) ++ #define OMAP_SRAM_SCRATCH_SYS_CTRL (SRAM_SCRATCH_SPACE_ADDR + 0x20) ++ #define OMAP_SRAM_SCRATCH_BOOT_PARAMS (SRAM_SCRATCH_SPACE_ADDR + 0x24) ++-#define OMAP5_SRAM_SCRATCH_SPACE_END (SRAM_SCRATCH_SPACE_ADDR + 0x28) +++#define OMAP_SRAM_SCRATCH_BOARD_EEPROM_START (SRAM_SCRATCH_SPACE_ADDR + 0x28) +++#define OMAP_SRAM_SCRATCH_BOARD_EEPROM_END (SRAM_SCRATCH_SPACE_ADDR + 0x200) +++#define OMAP_SRAM_SCRATCH_SPACE_END (OMAP_SRAM_SCRATCH_BOARD_EEPROM_END) ++ ++ /* Boot parameters */ ++ #define DEVICE_DATA_OFFSET 0x18 ++diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig ++new file mode 100644 ++index 0000000..adf73ab ++--- /dev/null +++++ b/board/ti/common/Kconfig ++@@ -0,0 +1,5 @@ +++config TI_I2C_BOARD_DETECT +++ bool "Support for Board detection for TI platforms" +++ help +++ Support for detection board information on Texas Instrument's +++ Evaluation Boards which have I2C based EEPROM detection ++diff --git a/board/ti/common/Makefile b/board/ti/common/Makefile ++new file mode 100644 ++index 0000000..7170eac ++--- /dev/null +++++ b/board/ti/common/Makefile ++@@ -0,0 +1,6 @@ +++# Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ +++# +++# SPDX-License-Identifier: GPL-2.0+ +++# +++ +++obj-${CONFIG_TI_I2C_BOARD_DETECT} += board_detect.o ++diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c ++new file mode 100644 ++index 0000000..6cf4859 ++--- /dev/null +++++ b/board/ti/common/board_detect.c ++@@ -0,0 +1,254 @@ +++/* +++ * Library to support early TI EVM EEPROM handling +++ * +++ * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ +++ * Lokesh Vutla +++ * Steve Kipisz +++ * +++ * SPDX-License-Identifier: GPL-2.0+ +++ */ +++ +++#include +++#include +++#include +++ +++#include "board_detect.h" +++ +++/** +++ * ti_i2c_eeprom_init - Initialize an i2c bus and probe for a device +++ * @i2c_bus: i2c bus number to initialize +++ * @dev_addr: Device address to probe for +++ * +++ * Return: 0 on success or corresponding error on failure. +++ */ +++static int __maybe_unused ti_i2c_eeprom_init(int i2c_bus, int dev_addr) +++{ +++ int rc; +++ +++ if (i2c_bus >= 0) { +++ rc = i2c_set_bus_num(i2c_bus); +++ if (rc) +++ return rc; +++ } +++ +++ return i2c_probe(dev_addr); +++} +++ +++/** +++ * ti_i2c_eeprom_read - Read data from an EEPROM +++ * @dev_addr: The device address of the EEPROM +++ * @offset: Offset to start reading in the EEPROM +++ * @ep: Pointer to a buffer to read into +++ * @epsize: Size of buffer +++ * +++ * Return: 0 on success or corresponding result of i2c_read +++ */ +++static int __maybe_unused ti_i2c_eeprom_read(int dev_addr, int offset, +++ uchar *ep, int epsize) +++{ +++ return i2c_read(dev_addr, offset, 2, ep, epsize); +++} +++ +++/** +++ * ti_eeprom_string_cleanup() - Handle eeprom programming errors +++ * @s: eeprom string (should be NULL terminated) +++ * +++ * Some Board manufacturers do not add a NULL termination at the +++ * end of string, instead some binary information is kludged in, hence +++ * convert the string to just printable characters of ASCII chart. +++ */ +++static void __maybe_unused ti_eeprom_string_cleanup(char *s) +++{ +++ int i, l; +++ +++ l = strlen(s); +++ for (i = 0; i < l; i++, s++) +++ if (*s < ' ' || *s > '~') { +++ *s = 0; +++ break; +++ } +++} +++ +++__weak void gpi2c_init(void) +++{ +++} +++ +++static int __maybe_unused ti_i2c_eeprom_get(int bus_addr, int dev_addr, +++ u32 header, u32 size, uint8_t *ep) +++{ +++ u32 byte, hdr_read; +++ int rc; +++ +++ gpi2c_init(); +++ rc = ti_i2c_eeprom_init(bus_addr, dev_addr); +++ if (rc) +++ return rc; +++ +++ /* +++ * Read the header first then only read the other contents. +++ */ +++ byte = 2; +++ rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, 4); +++ if (rc) +++ return rc; +++ +++ /* Corrupted data??? */ +++ if (hdr_read != header) { +++ rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, 4); +++ /* +++ * read the eeprom header using i2c again, but use only a +++ * 1 byte address (some legacy boards need this..) +++ */ +++ byte = 1; +++ if (rc) +++ rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, +++ 4); +++ if (rc) +++ return rc; +++ } +++ if (hdr_read != header) +++ return -1; +++ +++ rc = i2c_read(dev_addr, 0x0, byte, ep, size); +++ if (rc) +++ return rc; +++ +++ return 0; +++} +++ +++int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr) +++{ +++ int rc; +++ struct ti_am_eeprom am_ep; +++ struct ti_common_eeprom *ep; +++ +++ ep = TI_EEPROM_DATA; +++ if (ep->header == TI_EEPROM_HEADER_MAGIC) +++ goto already_read; +++ +++ /* Initialize with a known bad marker for i2c fails.. */ +++ ep->header = TI_DEAD_EEPROM_MAGIC; +++ ep->name[0] = 0x0; +++ ep->version[0] = 0x0; +++ ep->serial[0] = 0x0; +++ +++ rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, +++ sizeof(am_ep), (uint8_t *)&am_ep); +++ if (rc) +++ return rc; +++ +++ ep->header = am_ep.header; +++ strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); +++ ti_eeprom_string_cleanup(ep->name); +++ +++ /* BeagleBone Green '1' eeprom, board_rev: 0x1a 0x00 0x00 0x00 */ +++ if (am_ep.version[0] == 0x1a && am_ep.version[1] == 0x00 && +++ am_ep.version[2] == 0x00 && am_ep.version[3] == 0x00) +++ strlcpy(ep->version, "BBG1", TI_EEPROM_HDR_REV_LEN + 1); +++ else +++ strlcpy(ep->version, am_ep.version, TI_EEPROM_HDR_REV_LEN + 1); +++ ti_eeprom_string_cleanup(ep->version); +++ strlcpy(ep->serial, am_ep.serial, TI_EEPROM_HDR_SERIAL_LEN + 1); +++ ti_eeprom_string_cleanup(ep->serial); +++ strlcpy(ep->config, am_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); +++ ti_eeprom_string_cleanup(ep->config); +++ +++ memcpy(ep->mac_addr, am_ep.mac_addr, +++ TI_EEPROM_HDR_NO_OF_MAC_ADDR * TI_EEPROM_HDR_ETH_ALEN); +++ +++already_read: +++ return 0; +++} +++ +++bool __maybe_unused board_ti_is(char *name_tag) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header == TI_DEAD_EEPROM_MAGIC) +++ return false; +++ return !strncmp(ep->name, name_tag, TI_EEPROM_HDR_NAME_LEN); +++} +++ +++bool __maybe_unused board_ti_rev_is(char *rev_tag, int cmp_len) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ int l; +++ +++ if (ep->header == TI_DEAD_EEPROM_MAGIC) +++ return false; +++ +++ l = cmp_len > TI_EEPROM_HDR_REV_LEN ? TI_EEPROM_HDR_REV_LEN : cmp_len; +++ return !strncmp(ep->version, rev_tag, l); +++} +++ +++char * __maybe_unused board_ti_get_rev(void) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header == TI_DEAD_EEPROM_MAGIC) +++ return NULL; +++ +++ return ep->version; +++} +++ +++char * __maybe_unused board_ti_get_config(void) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header == TI_DEAD_EEPROM_MAGIC) +++ return NULL; +++ +++ return ep->config; +++} +++ +++char * __maybe_unused board_ti_get_name(void) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header == TI_DEAD_EEPROM_MAGIC) +++ return NULL; +++ +++ return ep->name; +++} +++ +++void __maybe_unused +++board_ti_get_eth_mac_addr(int index, +++ u8 mac_addr[TI_EEPROM_HDR_ETH_ALEN]) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header == TI_DEAD_EEPROM_MAGIC) +++ goto fail; +++ +++ if (index < 0 || index >= TI_EEPROM_HDR_NO_OF_MAC_ADDR) +++ goto fail; +++ +++ memcpy(mac_addr, ep->mac_addr[index], TI_EEPROM_HDR_ETH_ALEN); +++ return; +++ +++fail: +++ memset(mac_addr, 0, TI_EEPROM_HDR_ETH_ALEN); +++} +++ +++void __maybe_unused set_board_info_env(char *name) +++{ +++ char *unknown = "unknown"; +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (name) +++ setenv("board_name", name); +++ else if (ep->name) +++ setenv("board_name", ep->name); +++ else +++ setenv("board_name", unknown); +++ +++ if (ep->version) +++ setenv("board_rev", ep->version); +++ else +++ setenv("board_rev", unknown); +++ +++ if (ep->serial) +++ setenv("board_serial", ep->serial); +++ else +++ setenv("board_serial", unknown); +++} ++diff --git a/board/ti/common/board_detect.h b/board/ti/common/board_detect.h ++new file mode 100644 ++index 0000000..c17ab34 ++--- /dev/null +++++ b/board/ti/common/board_detect.h ++@@ -0,0 +1,140 @@ +++/* +++ * Library to support early TI EVM EEPROM handling +++ * +++ * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com +++ * +++ * SPDX-License-Identifier: GPL-2.0+ +++ */ +++ +++#ifndef __BOARD_DETECT_H +++#define __BOARD_DETECT_H +++ +++/* TI EEPROM MAGIC Header identifier */ +++#define TI_EEPROM_HEADER_MAGIC 0xEE3355AA +++#define TI_DEAD_EEPROM_MAGIC 0xADEAD12C +++ +++#define TI_EEPROM_HDR_NAME_LEN 8 +++#define TI_EEPROM_HDR_REV_LEN 4 +++#define TI_EEPROM_HDR_SERIAL_LEN 12 +++#define TI_EEPROM_HDR_CONFIG_LEN 32 +++#define TI_EEPROM_HDR_NO_OF_MAC_ADDR 3 +++#define TI_EEPROM_HDR_ETH_ALEN 6 +++ +++/** +++ * struct ti_am_eeprom - This structure holds data read in from the +++ * AM335x, AM437x, AM57xx TI EVM EEPROMs. +++ * @header: This holds the magic number +++ * @name: The name of the board +++ * @version: Board revision +++ * @serial: Board serial number +++ * @config: Reserved +++ * @mac_addr: Any MAC addresses written in the EEPROM +++ * +++ * The data is this structure is read from the EEPROM on the board. +++ * It is used for board detection which is based on name. It is used +++ * to configure specific TI boards. This allows booting of multiple +++ * TI boards with a single MLO and u-boot. +++ */ +++struct ti_am_eeprom { +++ unsigned int header; +++ char name[TI_EEPROM_HDR_NAME_LEN]; +++ char version[TI_EEPROM_HDR_REV_LEN]; +++ char serial[TI_EEPROM_HDR_SERIAL_LEN]; +++ char config[TI_EEPROM_HDR_CONFIG_LEN]; +++ char mac_addr[TI_EEPROM_HDR_NO_OF_MAC_ADDR][TI_EEPROM_HDR_ETH_ALEN]; +++} __attribute__ ((__packed__)); +++ +++/** +++ * struct ti_common_eeprom - Null terminated, usable EEPROM contents. +++ * header: Magic number +++ * @name: NULL terminated name +++ * @version: NULL terminated version +++ * @serial: NULL terminated serial number +++ * @config: NULL terminated Board specific config options +++ * @mac_addr: MAC addresses +++ */ +++struct ti_common_eeprom { +++ u32 header; +++ char name[TI_EEPROM_HDR_NAME_LEN + 1]; +++ char version[TI_EEPROM_HDR_REV_LEN + 1]; +++ char serial[TI_EEPROM_HDR_SERIAL_LEN + 1]; +++ char config[TI_EEPROM_HDR_CONFIG_LEN + 1]; +++ char mac_addr[TI_EEPROM_HDR_NO_OF_MAC_ADDR][TI_EEPROM_HDR_ETH_ALEN]; +++}; +++ +++#define TI_EEPROM_DATA ((struct ti_common_eeprom *)\ +++ OMAP_SRAM_SCRATCH_BOARD_EEPROM_START) +++ +++/** +++ * ti_i2c_eeprom_am_get() - Consolidated eeprom data collection for AM* TI EVMs +++ * @bus_addr: I2C bus address +++ * @dev_addr: I2C slave address +++ * +++ * ep in SRAM is populated by the this AM generic function that consolidates +++ * the basic initialization logic common across all AM* platforms. +++ */ +++int ti_i2c_eeprom_am_get(int bus_addr, int dev_addr); +++ +++/** +++ * board_ti_is() - Board detection logic for TI EVMs +++ * @name_tag: Tag used in eeprom for the board +++ * +++ * Return: false if board information does not match OR eeprom wasn't read. +++ * true otherwise +++ */ +++bool board_ti_is(char *name_tag); +++ +++/** +++ * board_ti_rev_is() - Compare board revision for TI EVMs +++ * @rev_tag: Revision tag to check in eeprom +++ * @cmp_len: How many chars to compare? +++ * +++ * NOTE: revision information is often messed up (hence the str len match) :( +++ * +++ * Return: false if board information does not match OR eeprom was'nt read. +++ * true otherwise +++ */ +++bool board_ti_rev_is(char *rev_tag, int cmp_len); +++ +++/** +++ * board_ti_get_rev() - Get board revision for TI EVMs +++ * +++ * Return: NULL if eeprom was'nt read. +++ * Board revision otherwise +++ */ +++char *board_ti_get_rev(void); +++ +++/** +++ * board_ti_get_config() - Get board config for TI EVMs +++ * +++ * Return: NULL if eeprom was'nt read. +++ * Board config otherwise +++ */ +++char *board_ti_get_config(void); +++ +++/** +++ * board_ti_get_name() - Get board name for TI EVMs +++ * +++ * Return: NULL if eeprom was'nt read. +++ * Board name otherwise +++ */ +++char *board_ti_get_name(void); +++ +++/** +++ * board_ti_get_eth_mac_addr() - Get Ethernet MAC address from EEPROM MAC list +++ * @index: 0 based index within the list of MAC addresses +++ * @mac_addr: MAC address contained at the index is returned here +++ * +++ * Does not sanity check the mac_addr. Whatever is stored in EEPROM is returned. +++ */ +++void board_ti_get_eth_mac_addr(int index, u8 mac_addr[TI_EEPROM_HDR_ETH_ALEN]); +++ +++/** +++ * set_board_info_env() - Setup commonly used board information environment vars +++ * @name: Name of the board +++ * +++ * If name is NULL, default_name is used. +++ */ +++void set_board_info_env(char *name); +++ +++#endif /* __BOARD_DETECT_H */ ++-- ++2.1.4 ++ diff --cc debian/patches/upstream/ti-common/0002-ti-common-dra7-Add-standard-access-for-board-descrip.patch index 000000000,000000000..a78997887 new file mode 100644 --- /dev/null +++ b/debian/patches/upstream/ti-common/0002-ti-common-dra7-Add-standard-access-for-board-descrip.patch @@@ -1,0 -1,0 +1,198 @@@ ++From d3b98a9eb9415578c563ed3a989fefeaa1ec9d6d Mon Sep 17 00:00:00 2001 ++From: Lokesh Vutla ++Date: Tue, 8 Mar 2016 09:18:04 +0530 ++Subject: [PATCH 2/2] ti: common: dra7: Add standard access for board ++ description EEPROM ++ ++DRA7 EVM revH and later EVMs have EEPROM populated that can contain board ++description information such as name, revision, DDR definition, etc. Adding ++support for this EEPROM format. ++ ++Acked-by: Nishanth Menon ++Reviewed-by: Tom Rini ++Signed-off-by: Lokesh Vutla ++--- ++ board/ti/common/board_detect.c | 64 ++++++++++++++++++++++++++++++++++++++++++ ++ board/ti/common/board_detect.h | 56 ++++++++++++++++++++++++++++++++++++ ++ 2 files changed, 120 insertions(+) ++ ++diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c ++index 6cf4859..e0ae1a5 100644 ++--- a/board/ti/common/board_detect.c +++++ b/board/ti/common/board_detect.c ++@@ -160,6 +160,50 @@ already_read: ++ return 0; ++ } ++ +++int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr) +++{ +++ int rc, offset = 0; +++ struct dra7_eeprom dra7_ep; +++ struct ti_common_eeprom *ep; +++ +++ ep = TI_EEPROM_DATA; +++ if (ep->header == DRA7_EEPROM_HEADER_MAGIC) +++ goto already_read; +++ +++ /* Initialize with a known bad marker for i2c fails.. */ +++ ep->header = 0xADEAD12C; +++ ep->name[0] = 0x0; +++ ep->version[0] = 0x0; +++ ep->serial[0] = 0x0; +++ ep->emif1_size = 0; +++ ep->emif2_size = 0; +++ +++ rc = ti_i2c_eeprom_get(bus_addr, dev_addr, DRA7_EEPROM_HEADER_MAGIC, +++ sizeof(dra7_ep), (uint8_t *)&dra7_ep); +++ if (rc) +++ return rc; +++ +++ ep->header = dra7_ep.header; +++ strlcpy(ep->name, dra7_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); +++ ti_eeprom_string_cleanup(ep->name); +++ +++ offset = dra7_ep.version_major - 1; +++ +++ /* Rev F is skipped */ +++ if (offset >= 5) +++ offset = offset + 1; +++ snprintf(ep->version, TI_EEPROM_HDR_REV_LEN + 1, "%c.%d", +++ 'A' + offset, dra7_ep.version_minor); +++ ti_eeprom_string_cleanup(ep->version); +++ ep->emif1_size = (u64)dra7_ep.emif1_size; +++ ep->emif2_size = (u64)dra7_ep.emif2_size; +++ strlcpy(ep->config, dra7_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); +++ ti_eeprom_string_cleanup(ep->config); +++ +++already_read: +++ return 0; +++} +++ ++ bool __maybe_unused board_ti_is(char *name_tag) ++ { ++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; ++@@ -230,6 +274,26 @@ fail: ++ memset(mac_addr, 0, TI_EEPROM_HDR_ETH_ALEN); ++ } ++ +++u64 __maybe_unused board_ti_get_emif1_size(void) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header != DRA7_EEPROM_HEADER_MAGIC) +++ return 0; +++ +++ return ep->emif1_size; +++} +++ +++u64 __maybe_unused board_ti_get_emif2_size(void) +++{ +++ struct ti_common_eeprom *ep = TI_EEPROM_DATA; +++ +++ if (ep->header != DRA7_EEPROM_HEADER_MAGIC) +++ return 0; +++ +++ return ep->emif2_size; +++} +++ ++ void __maybe_unused set_board_info_env(char *name) ++ { ++ char *unknown = "unknown"; ++diff --git a/board/ti/common/board_detect.h b/board/ti/common/board_detect.h ++index c17ab34..eb17f6f 100644 ++--- a/board/ti/common/board_detect.h +++++ b/board/ti/common/board_detect.h ++@@ -44,6 +44,37 @@ struct ti_am_eeprom { ++ char mac_addr[TI_EEPROM_HDR_NO_OF_MAC_ADDR][TI_EEPROM_HDR_ETH_ALEN]; ++ } __attribute__ ((__packed__)); ++ +++/* DRA7 EEPROM MAGIC Header identifier */ +++#define DRA7_EEPROM_HEADER_MAGIC 0xAA5533EE +++#define DRA7_EEPROM_HDR_NAME_LEN 16 +++#define DRA7_EEPROM_HDR_CONFIG_LEN 4 +++ +++/** +++ * struct dra7_eeprom - This structure holds data read in from the DRA7 EVM +++ * EEPROMs. +++ * @header: This holds the magic number +++ * @name: The name of the board +++ * @version_major: Board major version +++ * @version_minor: Board minor version +++ * @config: Board specific config options +++ * @emif1_size: Size of DDR attached to EMIF1 +++ * @emif2_size: Size of DDR attached to EMIF2 +++ * +++ * The data is this structure is read from the EEPROM on the board. +++ * It is used for board detection which is based on name. It is used +++ * to configure specific DRA7 boards. This allows booting of multiple +++ * DRA7 boards with a single MLO and u-boot. +++ */ +++struct dra7_eeprom { +++ u32 header; +++ char name[DRA7_EEPROM_HDR_NAME_LEN]; +++ u16 version_major; +++ u16 version_minor; +++ char config[DRA7_EEPROM_HDR_CONFIG_LEN]; +++ u32 emif1_size; +++ u32 emif2_size; +++} __attribute__ ((__packed__)); +++ ++ /** ++ * struct ti_common_eeprom - Null terminated, usable EEPROM contents. ++ * header: Magic number ++@@ -52,6 +83,8 @@ struct ti_am_eeprom { ++ * @serial: NULL terminated serial number ++ * @config: NULL terminated Board specific config options ++ * @mac_addr: MAC addresses +++ * @emif1_size: Size of the ddr available on emif1 +++ * @emif2_size: Size of the ddr available on emif2 ++ */ ++ struct ti_common_eeprom { ++ u32 header; ++@@ -60,6 +93,8 @@ struct ti_common_eeprom { ++ char serial[TI_EEPROM_HDR_SERIAL_LEN + 1]; ++ char config[TI_EEPROM_HDR_CONFIG_LEN + 1]; ++ char mac_addr[TI_EEPROM_HDR_NO_OF_MAC_ADDR][TI_EEPROM_HDR_ETH_ALEN]; +++ u64 emif1_size; +++ u64 emif2_size; ++ }; ++ ++ #define TI_EEPROM_DATA ((struct ti_common_eeprom *)\ ++@@ -76,6 +111,13 @@ struct ti_common_eeprom { ++ int ti_i2c_eeprom_am_get(int bus_addr, int dev_addr); ++ ++ /** +++ * ti_i2c_eeprom_dra7_get() - Consolidated eeprom data for DRA7 TI EVMs +++ * @bus_addr: I2C bus address +++ * @dev_addr: I2C slave address +++ */ +++int ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr); +++ +++/** ++ * board_ti_is() - Board detection logic for TI EVMs ++ * @name_tag: Tag used in eeprom for the board ++ * ++@@ -130,6 +172,20 @@ char *board_ti_get_name(void); ++ void board_ti_get_eth_mac_addr(int index, u8 mac_addr[TI_EEPROM_HDR_ETH_ALEN]); ++ ++ /** +++ * board_ti_get_emif1_size() - Get size of the DDR on emif1 for TI EVMs +++ * +++ * Return: NULL if eeprom was'nt read or emif1_size is not available. +++ */ +++u64 board_ti_get_emif1_size(void); +++ +++/** +++ * board_ti_get_emif2_size() - Get size of the DDR on emif2 for TI EVMs +++ * +++ * Return: NULL if eeprom was'nt read or emif2_size is not available. +++ */ +++u64 board_ti_get_emif2_size(void); +++ +++/** ++ * set_board_info_env() - Setup commonly used board information environment vars ++ * @name: Name of the board ++ * ++-- ++2.1.4 ++ diff --cc debian/rules index 000000000,000000000..3ce330378 new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,96 @@@ ++#!/usr/bin/make -f ++ ++DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ++DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ++DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ++export DEBIAN_REVISION ?= $(shell dpkg-parsechangelog --show-field Version | sed -e 's,.*+dfsg,+dfsg,') ++export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog --count 1 --show-field Date)" +%s) ++ ++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 ++ ++# 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 $@ --parallel ++ ++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" ;\ ++ mkdir -p $$builddir; \ ++ $(MAKE) O=$$builddir $${platform}_defconfig; \ ++ $(MAKE) $(DEB_UBOOT_FLAGS) O=$$builddir all; \ ++ install -m 644 $$builddir/u-boot $$builddir/uboot.elf; \ ++ $(CROSS_COMPILE)strip --remove-section=.comment \ ++ $$builddir/uboot.elf; \ ++ 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 ; \ ++ case $${subarch} in \ ++ rockchip) \ ++ mkimage=$$builddir/tools/mkimage; \ ++ test -x /usr/bin/mkimage && mkimage=/usr/bin/mkimage; \ ++ $$mkimage -T rksd -n rk3288 \ ++ -d $$builddir/spl/u-boot-spl-dtb.bin $$builddir/u-boot-spl-dtb.rksd; \ ++ echo $$builddir/u-boot-spl-dtb.rksd /usr/lib/u-boot/$$platform/ \ ++ >> debian/build/targets.$$subarch; \ ++ ;; \ ++ esac; \ ++ done ++ ++ # Avoid requirement for .config ++ mkdir -p $(TOOLSDIR)/include/config ++ touch $(TOOLSDIR)/include/config/auto.conf ++ # Load dummy config ++ $(MAKE) O=$(TOOLSDIR) CROSS_COMPILE=$(CROSS_COMPILE) sandbox_defconfig ++ # board-independent tools ++ $(MAKE) O=$(TOOLSDIR) $(DEB_UBOOT_FLAGS) \ ++ CROSS_COMPILE=$(CROSS_COMPILE) \ ++ CROSS_BUILD_TOOLS=$(cross_build_tools) \ ++ NO_SDL=1 \ ++ tools-only ++ $(MAKE) O=$(TOOLSDIR) $(DEB_UBOOT_FLAGS) \ ++ CROSS_COMPILE=$(CROSS_COMPILE) \ ++ NO_SDL=1 \ ++ env ++ $(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: ++ # skip tests. ++ ++override_dh_clean: ++ rm -rf debian/build/ ++ dh_clean ++ ++override_dh_gencontrol: ++ debian/bin/update-substvars ++ dh_gencontrol ++ ++get-orig-source: ++ # Use uscan from the devscripts package to download new ++ # tarball, remove files incompatible with the DFSG (see ++ # Files-Excluded in debian/copyright), and repack with xz ++ # compression. ++ uscan --download --repack --compression=xz diff --cc debian/source/format index 000000000,000000000..163aaf8d8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/source/include-binaries index 000000000,000000000..7f449d558 new file mode 100644 --- /dev/null +++ b/debian/source/include-binaries @@@ -1,0 -1,0 +1,1 @@@ ++tools/logos/solidrun.bmp diff --cc debian/targets index 000000000,000000000..54c51deb8 new file mode 100644 --- /dev/null +++ b/debian/targets @@@ -1,0 -1,0 +1,156 @@@ ++# ARCH subarch platform target ++# -------------------------------------------- ++armel - dockstar u-boot.kwb ++ ++# Ian Campbell ++armel - dreamplug u-boot.kwb ++ ++# drEagle ++armel - guruplug u-boot.kwb ++ ++# Albert ARIBAUD ++armel - openrd_base u-boot.kwb ++ ++# Rick Thomas ++# Albert ARIBAUD ++armel - openrd_client u-boot.kwb ++ ++# Rick Thomas ++# Philip Hands ++armel - openrd_ultimate u-boot.kwb ++ ++# Vagrant Cascadian , rpi B 256M ++armel rpi rpi u-boot.bin ++ ++# drEagle ++# Rick Thomas ++armel - sheevaplug u-boot.kwb ++ ++# Ian Campbell ++armhf exynos arndale u-boot-dtb.bin spl/arndale-spl.bin ++ ++# Joost van Zwieten , Odroid-U3 ++armhf exynos odroid u-boot-dtb.bin ++ ++# Vagrant Cascadian , Odroid-XU4 ++armhf exynos odroid-xu3 u-boot-dtb.bin ++ ++# Robert Nelson ++armhf imx mx53loco u-boot.imx ++ ++# Steve Langasek , CuBox-i4 ++# Vagrant Cascadian , CuBox-i4, hummingboard-i1, hummingboard-i2ex ++# Rainer Dorsch , CuBox-i2u (i2u-300-d) ++armhf imx mx6cuboxi u-boot.img spl/u-boot-spl.bin SPL ++ ++# Hector Oron ++armhf imx nitrogen6q u-boot.imx ++ ++# Tony Mancill ++armhf imx novena u-boot.img spl/u-boot-spl.bin SPL ++ ++# Michael Fladischer ++armhf imx udoo u-boot.img spl/u-boot-spl.bin SPL ++ ++# Vagrant Cascadian ++armhf imx usbarmory u-boot.imx ++ ++# Vagrant Cascadian ++# Robert Nelson ++armhf imx wandboard u-boot.img spl/u-boot-spl.bin SPL ++ ++# Ian Campbell ++armhf tegra jetson-tk1 u-boot-dtb-tegra.bin ++ ++# Vagrant Cascadian ++# Andrew M.A. Cater ++armhf omap am335x_boneblack u-boot.img spl/u-boot-spl.bin MLO ++ ++# Vagrant Cascadian ++armhf omap am57xx_evm u-boot-dtb.img spl/u-boot-spl.bin MLO ++ ++# Ben Hutchings ++armhf omap dra74_evm u-boot.img spl/u-boot-spl.bin MLO ++ ++# Robert Nelson ++armhf omap igep0020 u-boot.img spl/u-boot-spl.bin MLO ++ ++armhf omap nokia_rx51 u-boot.bin ++ ++# Robert Nelson ++armhf omap omap3_beagle u-boot.img spl/u-boot-spl.bin MLO ++ ++# Robert Nelson ++armhf omap omap4_panda u-boot.img spl/u-boot-spl.bin MLO ++ ++# Emilio Pozuelo Monfort ++# Sjoerd Simons ++armhf rockchip firefly-rk3288 u-boot-dtb.img spl/u-boot-spl-dtb.bin ++ ++# Vagrant Cascadian , Raspberry PI 2B ++armhf rpi rpi_2 u-boot.bin ++ ++# Joey Hess ++# 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 ++ ++# 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 Cubieboard u-boot-sunxi-with-spl.bin ++ ++# Philip Rinn ++# Ian Campbell ++# Karsten Merker ++armhf sunxi Cubieboard2 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 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 ++ ++# Vagrant Cascadian , Orange PI Plus2 ++armhf sunxi orangepi_plus u-boot-sunxi-with-spl.bin ++ ++# Martin Michlmayr ++arm64 tegra p2371-2180 u-boot-dtb.bin ++ ++avr32 - hammerhead u-boot.img ++ ++mips - qemu_mips u-boot.bin ++ ++sh4 - r2dplus u-boot.bin ++ ++sh4 - sh7785lcr_32bit u-boot.bin diff --cc debian/u-boot-exynos.install index 000000000,000000000..ebff56afc new file mode 100755 --- /dev/null +++ b/debian/u-boot-exynos.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets exynos "doc/README.odroid" diff --cc debian/u-boot-exynos.lintian-overrides index 000000000,000000000..538723c83 new file mode 100644 --- /dev/null +++ b/debian/u-boot-exynos.lintian-overrides @@@ -1,0 -1,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 --cc debian/u-boot-imx.README.Debian index 000000000,000000000..2d9587176 new file mode 100644 --- /dev/null +++ b/debian/u-boot-imx.README.Debian @@@ -1,0 -1,0 +1,21 @@@ ++== Installation == ++ ++At this point, you must install U-Boot to flash yourself. ++ ++MX53LOCO: ++ ++ dd bs=1024 if=u-boot.imx of=/dev/sdX seek=1 ++ ++wandboard (quad, dual-lite and solo): ++ ++ dd if=/usr/lib/u-boot/wandboard/SPL of=/dev/mmcblk0 bs=1k seek=1 ++ dd if=/usr/lib/u-boot/wandboard/u-boot.img of=/dev/mmcblk0 bs=1k seek=69 ++ ++mx6cuboxi (Cubox-i and Hummingboard): ++ ++ dd if=/usr/lib/u-boot/mx6cuboxi/SPL of=/dev/mmcblk0 bs=1k seek=1 ++ dd 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 --cc debian/u-boot-imx.install index 000000000,000000000..cc4eb34ec new file mode 100755 --- /dev/null +++ b/debian/u-boot-imx.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets imx diff --cc debian/u-boot-imx.lintian-overrides index 000000000,000000000..bf6226456 new file mode 100644 --- /dev/null +++ b/debian/u-boot-imx.lintian-overrides @@@ -1,0 -1,0 +1,26 @@@ ++ ++# 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/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/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 --cc debian/u-boot-omap.README.Debian index 000000000,000000000..0127664c0 new file mode 100644 --- /dev/null +++ b/debian/u-boot-omap.README.Debian @@@ -1,0 -1,0 +1,13 @@@ ++== 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 if=/usr/lib/u-boot/am335x_boneblack/MLO of=/dev/mmcblkX count=1 seek=1 conv=notrunc bs=128k ++ dd if=/usr/lib/u-boot/am335x_boneblack/u-boot.img of=/dev/mmcblkX count=2 seek=1 conv=notrunc bs=384k ++ ++== U-Boot environment tools == ++ ++fw_printenv / fw_setenv read /etc/fw_env.config for configuration. ++ diff --cc debian/u-boot-omap.install index 000000000,000000000..a28a041c5 new file mode 100755 --- /dev/null +++ b/debian/u-boot-omap.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets omap "doc/README.nokia_rx51" diff --cc debian/u-boot-omap.lintian-overrides index 000000000,000000000..5f3fc5613 new file mode 100644 --- /dev/null +++ b/debian/u-boot-omap.lintian-overrides @@@ -1,0 -1,0 +1,26 @@@ ++ ++# 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/dra74_evm/uboot.elf ++u-boot-omap [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/igep0020/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/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/dra74_evm/uboot.elf ++u-boot-omap [armhf]: statically-linked-binary usr/lib/u-boot/igep0020/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/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 --cc debian/u-boot-rockchip.docs index 000000000,000000000..d86f757aa new file mode 100644 --- /dev/null +++ b/debian/u-boot-rockchip.docs @@@ -1,0 -1,0 +1,1 @@@ ++doc/README.rockchip diff --cc debian/u-boot-rockchip.install index 000000000,000000000..73ddfc2f3 new file mode 100755 --- /dev/null +++ b/debian/u-boot-rockchip.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets rockchip "doc/README.rockchip" diff --cc debian/u-boot-rockchip.lintian-overrides index 000000000,000000000..fb7a01db0 new file mode 100644 --- /dev/null +++ b/debian/u-boot-rockchip.lintian-overrides @@@ -1,0 -1,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-rockchip [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/firefly-rk3288/uboot.elf ++ ++# These bootloaders need to be statically linked. ++u-boot-rockchip [armhf]: statically-linked-binary usr/lib/u-boot/firefly-rk3288/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 --cc debian/u-boot-rpi.install index 000000000,000000000..36cbec135 new file mode 100755 --- /dev/null +++ b/debian/u-boot-rpi.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets rpi diff --cc debian/u-boot-rpi.lintian-overrides index 000000000,000000000..4fc11f6d8 new file mode 100644 --- /dev/null +++ b/debian/u-boot-rpi.lintian-overrides @@@ -1,0 -1,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-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 ++ ++# 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: 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 --cc debian/u-boot-sunxi.README.Debian index 000000000,000000000..42c8b8b7b new file mode 100644 --- /dev/null +++ b/debian/u-boot-sunxi.README.Debian @@@ -1,0 -1,0 +1,11 @@@ ++== Installation == ++ ++At this point, you must install U-Boot to flash yourself. ++ ++Many sunxi boards (Bananapi, Cubieboard) can be written to SD directly: ++ ++ dd if=/usr/lib/u-boot/BOARD/u-boot-sunxi-with-spl.bin of=/dev/mmcblkX bs=1024 seek=8 ++ ++== U-Boot environment tools == ++ ++fw_printenv / fw_setenv read /etc/fw_env.config for configuration. diff --cc debian/u-boot-sunxi.install index 000000000,000000000..014df8741 new file mode 100755 --- /dev/null +++ b/debian/u-boot-sunxi.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets sunxi diff --cc debian/u-boot-sunxi.lintian-overrides index 000000000,000000000..6aa77d224 new file mode 100644 --- /dev/null +++ b/debian/u-boot-sunxi.lintian-overrides @@@ -1,0 -1,0 +1,44 @@@ ++ ++# 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_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/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/Cubietruck/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/orangepi_plus/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_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/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/Cubietruck/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/orangepi_plus/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 --cc debian/u-boot-tegra.README.Debian index 000000000,000000000..3b2e35b67 new file mode 100644 --- /dev/null +++ b/debian/u-boot-tegra.README.Debian @@@ -1,0 -1,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 --cc debian/u-boot-tegra.install index 000000000,000000000..15b8ab96d new file mode 100755 --- /dev/null +++ b/debian/u-boot-tegra.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets tegra diff --cc debian/u-boot-tegra.links index 000000000,000000000..49fabfc10 new file mode 100755 --- /dev/null +++ b/debian/u-boot-tegra.links @@@ -1,0 -1,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 --cc debian/u-boot-tegra.lintian-overrides index 000000000,000000000..4186db971 new file mode 100644 --- /dev/null +++ b/debian/u-boot-tegra.lintian-overrides @@@ -1,0 -1,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 --cc debian/u-boot-tools.install index 000000000,000000000..b71afc434 new file mode 100755 --- /dev/null +++ b/debian/u-boot-tools.install @@@ -1,0 -1,0 +1,18 @@@ ++#!/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 ++ ++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 ; do ++ echo ${env_config} /usr/share/doc/u-boot-tools/examples/ ++done diff --cc debian/u-boot-tools.links index 000000000,000000000..92f5a6cbc new file mode 100644 --- /dev/null +++ b/debian/u-boot-tools.links @@@ -1,0 -1,0 +1,1 @@@ ++/usr/bin/fw_printenv /usr/bin/fw_setenv diff --cc debian/u-boot-tools.lintian-overrides index 000000000,000000000..3a1aba05b new file mode 100644 --- /dev/null +++ b/debian/u-boot-tools.lintian-overrides @@@ -1,0 -1,0 +1,2 @@@ ++# Synopsys is the name of a company, not a misspelling. ++u-boot-tools: spelling-error-in-copyright Synopsys Synopsis diff --cc debian/u-boot.README.Debian index 000000000,000000000..943b53df8 new file mode 100644 --- /dev/null +++ b/debian/u-boot.README.Debian @@@ -1,0 -1,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 --cc debian/u-boot.install index 000000000,000000000..aff6d5de5 new file mode 100755 --- /dev/null +++ b/debian/u-boot.install @@@ -1,0 -1,0 +1,2 @@@ ++#!/bin/sh ++debian/bin/u-boot-install-targets - diff --cc debian/u-boot.lintian-overrides index 000000000,000000000..f8612e0d4 new file mode 100644 --- /dev/null +++ b/debian/u-boot.lintian-overrides @@@ -1,0 -1,0 +1,34 @@@ ++ ++# 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/openrd_base/uboot.elf ++u-boot [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/openrd_client/uboot.elf ++u-boot [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/openrd_ultimate/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/openrd_base/uboot.elf ++u-boot [armel]: statically-linked-binary usr/lib/u-boot/openrd_client/uboot.elf ++u-boot [armel]: statically-linked-binary usr/lib/u-boot/openrd_ultimate/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 --cc debian/watch index 000000000,000000000..c082c0e12 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,4 @@@ ++version=3 ++ ++opts=pasv,repacksuffix=+dfsg1,uversionmangle=s/-rc/~rc/g,dversionmangle=s/\+dfsg.*//g \ ++ftp://ftp.denx.de/pub/u-boot/u-boot-([\d\.].*)\.tar\.bz2