aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Miao <eric.miao@linaro.org>2011-10-09 19:35:19 +0800
committerEric Miao <eric.miao@linaro.org>2011-10-09 19:35:19 +0800
commitc7ab39e692991719fe7eb8b40d1ae43ad6adbca0 (patch)
tree81c94e43ed677d4a31955e97800aa13e5a68c649
parentc3f3101d0b5becf70030ce046c1a1a7ce5ea5603 (diff)
LINARO: Add debian/ from lp:u-boot-linaro
Signed-off-by: Eric Miao <eric.miao@linaro.org>
-rw-r--r--debian/README.source14
-rw-r--r--debian/changelog455
-rw-r--r--debian/compat1
-rw-r--r--debian/control98
-rw-r--r--debian/copyright44
-rw-r--r--debian/platforms-debs-targets30
-rwxr-xr-xdebian/rules71
-rw-r--r--debian/source/format1
8 files changed, 714 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 000000000..1d0e1174d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,14 @@
+Linaro u-boot
+-------------
+
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build. Please see:
+
+ /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
+
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..127d90871
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,455 @@
+u-boot-linaro (2011.09.5-0ubuntu1) oneiric; urgency=low
+
+ * FFe: u-boot-linaro 11.09, misc fixes for new silicon and boards
+ (LP: #851974)
+ mmc: omap: enable high capacity
+ mmc: omap: config VMMC, MMC1_PBIAS
+ omap4: fix pad configuration settings for SDP and Panda
+ omap4: make SDRAM init work for ES1.0 silicon
+ omap4: IO settings
+ pxe: make the first label the implicit default
+ OMAP4: removing fdt_addr from the default env
+ U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.
+ (LP: #837235)
+ Revert "armv7: adapt omap3 to the new cache maintenance framework"
+ (LP: #862013)
+
+ -- John Rigby <john.rigby@linaro.org> Thu, 29 Sep 2011 00:40:24 -0600
+
+u-boot-linaro (2011.08.6-0ubuntu2) oneiric; urgency=low
+
+ * FFe: enabling build and package for OMAP4 SDP4430 (LP: #839615)
+
+ -- Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Fri, 02 Sep 2011 10:10:40 -0300
+
+u-boot-linaro (2011.08.6-0ubuntu1) oneiric; urgency=low
+
+ * Allow loading of u-boot.bin as well as u-boot.img
+ Feature freeze exception (LP: #836748)
+
+ -- John Rigby <john.rigby@linaro.org> Mon, 29 Aug 2011 09:15:47 -0600
+
+u-boot-linaro (2011.08.5-0ubuntu1) oneiric; urgency=low
+
+ * Same upstream, new upload for oneiric.
+ Feature freeze exception (LP: #833876)
+
+ -- John Rigby <john.rigby@linaro.org> Thu, 25 Aug 2011 10:21:43 -0600
+
+u-boot-linaro (2011.08.5-0ubuntu1~ppa~natty1) natty; urgency=low
+
+ * New upstream 2011.08.3
+ - arm: do not force d-cache enable on all boards
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 24 Aug 2011 10:21:48 -0600
+
+u-boot-linaro (2011.08.4-0ubuntu1~ppa~natty1) natty; urgency=low
+
+ * No upstream changes.
+ Packaging changes to give better control of build and install
+ targets. Add new column to platforms-debs-targets to add explicit
+ install file list. Use '-' in build target column to mean default.
+ Add comments to document columns. The result of all this is
+ that no extra files get copied to the .deb file.
+
+ -- John Rigby <john.rigby@linaro.org> Fri, 19 Aug 2011 09:55:47 -0600
+
+u-boot-linaro (2011.08.4-0ubuntu1~ppa~natty) natty; urgency=low
+
+ * New upstream 2011.08.3
+ - OMAP4 Panda: reapplying panda specific mux changes
+
+ -- John Rigby <john.rigby@linaro.org> Thu, 18 Aug 2011 23:58:41 -0600
+
+u-boot-linaro (2011.08.3-0ubuntu1~ppa~natty) natty; urgency=low
+
+ * New upstream 2011.08.3 which fixes booting problems on OMAP3
+ - Revert "armv7: adapt omap3 to the new cache maintenance framework"
+
+ -- John Rigby <john.rigby@linaro.org> Thu, 18 Aug 2011 15:25:26 -0600
+
+u-boot-linaro (2011.08.1-0ubuntu1~ppa~natty) natty; urgency=low
+
+ * New upstream 2011.08.1 which includes
+ - MLO for OMAP4 Panda comes from u-boot's new spl feature
+ - PXE is now backup default boot for OMAP4 Panda
+ (LP: #826877, #820121)
+ - Change MAXARGS for Panda to 32
+ (LP: #820116)
+ - pxecfg: Prefix MAC-based requests with "01-"
+ (LP: #827705)
+ - net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall back
+ (LP: #817315)
+ * Rename platform-and-targets to debian/platforms-debs-targets and rearrange
+ to have target column which is now optional last. Modify rules to only
+ use target on make invocation when it exists. This means that targets
+ only the mx targets need the u-boot.imx target since the u-boot build
+ system does NOT just do the right thing without it. Also skip lines
+ in platforms-debs-targets that begin with # to allow for comments.
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 17 Aug 2011 09:09:17 -0600
+
+u-boot-linaro (2011.07.2-0ubuntu1~natty1) natty; urgency=low
+
+ * New upstream 2011.07.1 which includes
+ Add uboot "fdt_high" enviroment variable (LP: #707047)
+ Fix typo from 'mb_alloc' -> 'lmb_alloc'
+
+ -- John Rigby <john.rigby@linaro.org> Mon, 25 Jul 2011 16:31:28 -0600
+
+u-boot-linaro (2011.07.1-0ubuntu1) oneiric; urgency=low
+
+ * New upstream 2011.07.1 which includes
+ - PXE FDT fix from previous ubuntu release so patch has been removed
+ - Added missing PXE env vars (LP: #808815)
+ - Generated unique usbethaddr (LP: #809015)
+ - Modify pxe command to look for usbethaddr if ethaddr is NULL
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 13 Jul 2011 23:31:39 -0600
+
+u-boot-linaro (2011.06.5-0ubuntu2) oneiric; urgency=low
+
+ * debian/patches/0001-cmd_pxecfg-only-call-do_bootm-with-argc-4-if-fdtaddr.patch:
+ - Fix PXE when built with FDT but without loading it at runtime (LP: #808612)
+
+ -- Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Mon, 11 Jul 2011 02:13:14 -0300
+
+u-boot-linaro (2011.06.5-0ubuntu1) oneiric; urgency=low
+
+ * Use gcc 4.5 since usb fails with 4.6
+ Adding CC= on make command line this time so it actually works
+ * New upstream 2011.06.5 which includes
+ omap3_beagle: enable the use of a plain text file
+ OMAP3: Beagle: add back boot.scr support
+ OMAP4: Panda: add uEnv.txt support
+ OMAP: enable command line editing for panda and beagle
+
+ -- John Rigby <john.rigby@linaro.org> Fri, 01 Jul 2011 10:50:40 +0100
+
+u-boot-linaro (2011.06.4-0ubuntu1) oneiric; urgency=low
+
+ * Use gcc 4.5 since usb fails with 4.6
+ * New upstream 2011.06.4 which includes
+ New PXE stuff from Calxeda
+ highbank soc/board support from Calxeda
+ EHCI timeout recovery
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 29 Jun 2011 16:19:20 +0100
+
+u-boot-linaro (2011.06.3-0ubuntu1~natty1) natty; urgency=low
+
+ * New upstream release U-Boot 2011.06.3
+ With reverted patch that replaced reading boot.scr
+ * Add mx53loco to control file
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 29 Jun 2011 01:11:31 +0100
+
+u-boot-linaro (2011.06.2-0ubuntu1~natty2) natty; urgency=low
+
+ * Add mx53loco to control file
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 29 Jun 2011 00:38:30 +0100
+
+u-boot-linaro (2011.06.2-0ubuntu1~natty1) natty; urgency=low
+
+ * New upstream release U-Boot 2011.06.2
+ Based on git.denx.de version v2011.06 final
+ * Add mx53loco target
+
+ -- John Rigby <john.rigby@linaro.org> Tue, 28 Jun 2011 21:23:41 +0100
+
+u-boot-linaro (2011.06.1-0ubuntu1) oneiric; urgency=low
+
+ * New upstream release U-Boot 2011.06.1
+ Based on git.denx.de version v2011.06-rc3
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 22 Jun 2011 16:06:36 -0600
+
+u-boot-linaro (2011.04.2-0ubuntu1) natty; urgency=low
+
+ * New upstream release U-Boot 2011.04.2.
+ Feature freeze exception: 2011.03 doesn't boot anymore on
+ Beagle B5. LP: #760350.
+
+ -- John Rigby <john.rigby@linaro.org> Tue, 19 Apr 2011 09:30:23 -0600
+
+u-boot-linaro (2011.04.1-0ubuntu1) natty; urgency=low
+
+ * New upstream release Linaro U-Boot 2011.04.1.
+ Feature freeze exception: FDT support for all supported platforms
+ for Linaro 11.05. LP: #760244.
+
+ Changes since 2011.03.2:
+
+ [ John Rigby ]
+ * Merge upstream git.denx.de v2011.03
+
+ [ Grant Likely ]
+ * Stop passing around bootmem_base value.
+ * Default to bootm_size() when CONFIG_SYS_BOOTMAPSZ is not defined
+ * Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ
+ * Fix off-by-one error in passing initrd end address via device tree
+ * Respect memreserve regions specified in the device tree
+ * Add CONFIG_OF_LIBFDT to more boards.
+
+ [ Steve Sakoman ]
+ * ARMV7: Overo: Automatically set clock rate to maximum if mpurate env variable is "auto"
+
+ [ Jason Liu ]
+ * mx53loco: set mmc env to MMC slot1
+ * MX5: Enable flat-device-tree support on mx53 loco board
+ * fsl_esdhc: Fix multi-block read restriction on i.MX53 eSDHCv2
+
+ -- John Rigby <john.rigby@linaro.org> Tue, 05 Apr 2011 22:12:45 -0600
+
+u-boot-linaro (2011.03.2-0ubuntu1) natty; urgency=low
+
+ * New upstream release Linaro U-Boot 2011.03.2.
+
+ Changes since 2011.02.1:
+
+ 146 commits:
+ 79 commits changing touching non ARM ARCH's
+
+ 13 Merge commits (actual changes accounted for in other commits)
+
+ 10 USB commits not touching any code of a Linaro supported platform
+
+ 18 commits to ARM platforms not supported by Linaro
+
+ 10 Common fixes:
+ cmd_bmp.c: message about compressed formats is debug info only.
+ itest: fix result of string compares
+ unzip: return uncompressed size in `filesize', and print it.
+ change email address in MAINTAINERS
+ net: ne2000: Add spport RTL-8019AS
+ add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
+ Fix compile warning in net/eth.c
+ NAND: Fix saving of redundand environment
+ NAND: env: remember the flags used in the previous environment
+ Fix build warnings in cmd_flash.c
+ All reviewed by John Rigby <john.rigby@linaro.org>
+
+ 16 commits changing files in Linaro supported platforms
+ ARM: fix write*() I/O accessors
+
+ ARM: Update mach-types
+ Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
+
+ EfikaMX: switch to MACH_TYPE_MX51_EFIKAMX
+ Signed-off-by: Loïc Minier <loic.minier@linaro.org>
+
+ ARM: OMAP3: Revamp IGEP v2 default configuration
+ ARM: OMAP3: Revamp IGEP module default configuration
+ Signed-off-by: Loïc Minier <loic.minier@linaro.org>
+ Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
+ Fixes LP Bug #716540
+
+ Makefile: change rule to build IMX image
+ Signed-off-by: Stefano Babic <sbabic@denx.de>
+
+ MX51: drop config.mk from mx51evk
+ Signed-off-by: Stefano Babic <sbabic@denx.de>
+
+ MX53: drop config.mk from mx53evk
+ Signed-off-by: Jason Liu <r64343@freescale.com>
+
+ EfikaMX: Add imximage config for Efika SB
+ EfikaSB: Add preliminary EfikaSB support
+ EfikaMX: Enable EXT2 booting
+ Better Efika support
+ Requested-by: Loïc Minier <loic.minier@linaro.org>
+
+ MX53: support for freescale MX53LOCO board
+ Signed-off-by: Jason Liu <r64343@freescale.com>
+
+ MX5: Enable flat-device-tree support on mx51/53 evk board
+ Signed-off-by: Jason Liu <r64343@freescale.com>
+
+ MMC: Max blocks value adjustable
+ MMC: Add support for PL180 ARM mmc device
+ ARMV7: Vexpress: Add MMC support
+ Adds mmc support for Vexpress
+ Fixes LP Bug #730813
+ Signed-off-by: Matt Waddel
+ efikamx: add default env and bootcommand
+ Signed-off-by: John Rigby
+
+ -- John Rigby <john.rigby@linaro.org> Mon, 21 Mar 2011 11:30:07 -0600
+
+u-boot-linaro (2011.02.1-0ubuntu1) natty; urgency=low
+
+ * New upstream release Linaro U-Boot 2011.02.1 which is based on
+ git.denx.de v2011.03-rc1.
+ * Add u-boot-linaro-efikamx package shipping u-boot.bin.
+ * Add absolute path to target in debian/rules as required by
+ u-boot build system when using O=.
+
+ -- John Rigby <john.rigby@linaro.org> Tue, 08 Feb 2011 16:57:37 -0700
+
+u-boot-linaro (2010.12-0ubuntu2) natty; urgency=low
+
+ * Add u-boot-linaro-igep0020 package shipping u-boot.bin for the igep0020
+ config (IGEPv2 boards).
+
+ -- Loïc Minier <loic.minier@linaro.org> Thu, 27 Jan 2011 17:35:02 +0100
+
+u-boot-linaro (2010.12-0ubuntu1) natty; urgency=low
+
+ * Merge upstream v2010.12
+ - LP: 678398
+ - LP: 680095
+ - LP: 680372
+ - LP: 684585
+ * No longer force gcc-4.4
+ - LP: 691220
+ * Remove -Bsymbolic-functions from LDFLAGS in debian/rules
+
+ -- John Rigby <john.rigby@linaro.org> Tue, 04 Jan 2011 09:01:45 -0700
+
+u-boot-linaro (2010.09~rc1.1-0ubuntu6) natty; urgency=low
+
+ * Pass CC to make to force gcc-4.4.
+
+ -- Loïc Minier <loic.minier@ubuntu.com> Thu, 16 Dec 2010 01:40:01 +0100
+
+u-boot-linaro (2010.09~rc1.1-0ubuntu5) natty; urgency=low
+
+ * Build with gcc-4.4 for now as 4.5 breaks u-boot for some reason.
+
+ -- Loïc Minier <loic.minier@linaro.org> Wed, 15 Dec 2010 22:54:03 +0100
+
+u-boot-linaro (2010.09~rc1.1-0ubuntu4) natty; urgency=low
+
+ * Add Gumstix Overo, omap3_overo.
+ * Cleanup rules.
+ * Fix clean to remove some files which upstream creates in the source tree.
+ * List platform and targets in debian/platform-and-targets.
+
+ -- Loïc Minier <loic.minier@linaro.org> Fri, 03 Dec 2010 15:44:02 +0100
+
+u-boot-linaro (2010.09~rc1.1-0ubuntu3) maverick; urgency=low
+
+ [ Steve Sakoman ]
+ * ARMV7: OMAP4: Fix Panda pinmux setting to enable Wifi/BT Module
+ - LP: #645167
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 22 Sep 2010 12:42:39 -0600
+
+u-boot-linaro (2010.09~rc1.1-0ubuntu2) maverick; urgency=low
+
+ [ John Rigby ]
+ * Update upstream base to v2010.09-rc1
+ * Update Vcs-Git: git://git.linaro.org/boot/u-boot-linaro-stable.git
+ * Eliminate quilt and rsync build dependencies
+ * Remove linaro from package version string
+ * There were 90 commits between previous upstream and this.
+ Of these:
+ 24 armv7/omap patches
+ Signed-off-by: Steve Sakoman <steve@sakoman.com>
+ These replace Linaro local versions of these patches
+ 1 touches common I2C code
+ CMD_I2C: make alen=0 work
+ Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
+ bug fix for i2c command
+ 1 touches device tree code which is not yet supported on arm
+ fdt: call fdt_parent_offset fewer times while translating addresses
+ Signed-off-by: Scott Wood <scottwood@freescale.com>
+ Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
+ 1 touches Maintainers file
+ MX51: Update responsible for mx51evk
+ Signed-off-by: Stefano Babic <sbabic@denx.de>
+ 1 does fixes coding style and whitespace issues
+ Prepare v2010.09-rc1
+ Signed-off-by: Wolfgang Denk <wd@denx.de>
+
+ 9 armv7 patches that do not touch common code
+ Samsung
+ 24 arm but not armv7
+ Atmel, Fujitsu and Marvell
+ 29 other arches
+ powerpc, nios, sh, avr32, mips
+ * Change license in debian/copyright to GPL V2 only
+ - LP: #624499
+ * Add debian/source/format to quiet lintian
+
+ [ Matt Waddel ]
+ * Support second bank of flash on vexpress
+ - LP: #637780
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 15 Sep 2010 10:51:58 -0600
+
+u-boot-linaro (2010.06-695-gbd23130-linaro-0ubuntu1) maverick; urgency=low
+
+ Feature freeze exception for new package (LP: #624330)
+
+ [ John Rigby ]
+ * Build one deb per target
+
+ [ Steve Langasek ]
+ * Use Ubuntu-appropriate version numbering
+ * Add a Vcs-Git field to document the link back to the source repository
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 26 Aug 2010 00:35:29 +0000
+
+u-boot-linaro (v2010.06-695-gbd23130-linaro-3) maverick; urgency=low
+
+ * Add rsync as a build dependency
+
+ -- John Rigby <john.rigby@linaro.org> Wed, 25 Aug 2010 09:09:49 -0600
+
+u-boot-linaro (v2010.06-695-gbd23130-linaro-2) maverick; urgency=low
+
+ * New upstream v2010.06-695-gbd23130
+ * Updated ssakoman patches v2010.06-714-g33b8b43
+ Mans Rullgard (3):
+ ARMV7: OMAP3: Fix and clean up L2 cache enable/disable functions
+ ARMV7: OMAP3: Convert setup_auxcr() to pure asm
+ ARMV7: OMAP3: Apply Cortex-A8 errata workarounds only on affected revisions
+
+ Steve Sakoman (16):
+ ARMV7: OMAP: Move syslib.c to omap-common since it can be shared by OMAP3 and OMAP4
+ ARMV7: OMAP: add convenience function to set TWL4030 regulator voltages
+ ARMV7: OMAP: Enable input driver on Overo's MMC1_CLK and MMC3_CLK pinmux setup
+ ARMV7: OMAP: Add mpurate boot arg for Overo and Beagle
+ ARMV7: OMAP: Add board revision detection for Overo
+ ARMV7: OMAP: Add detection and support for Beagle C4 revision
+ ARMV7: OMAP: Configure Overo's second network chip
+ ARMV7: OMAP3: Update CPU type detection for AM35XX/OMAP36XX/37XX
+ ARMV7: OMAP3: Add clock setup for OMAP36XX/37XX
+ ARMV7: OMAP3: sdrc: remove hard coding sdram setup for 128MB/bank
+ mtd: nand: honor CONFIG_SYS_NAND_QUIET_TEST with unknown NAND printk
+ ARMV7: OMAP3: Add CONFIG_SYS_NAND_QUIET_TEST to Beagle and Overo configs
+ ARMV7: OMAP3: Add support for Beagle xM
+ ARMV7: OMAP: Add spi driver for OMAP3/OMAP4
+ NET: Add driver for Micrel KS8851
+ ARMV7: Add Micrel KS8851 net chip support to OMAP4430 SDP
+ * Same versatile express patches from Matt Waddel as before.
+ * Updated packaging to include platform specific install targets
+
+ -- John Rigby <john.rigby@linaro.org> Mon, 23 Aug 2010 22:54:44 -0600
+
+u-boot-linaro (v2010.06-265-gcdb7497-linaro-1) maverick; urgency=low
+
+ * Initial Linaro u-boot tree based on
+
+ * Upstream v2010.06-265-gcdb7497
+
+ * A series of patches from ssakomans exp branch that add
+ support for beagle C4 and xM. These have been rebased
+ onto current upstream. The gitorious beagle trees are
+ still based on v2010.03. These patches will be replaced
+ with patches from ssakoman.
+
+ * Versatile express patches from Matt Waddel.
+
+ * Debian packaging by John Rigby based on the lucid
+ u-boot-omap3 package.
+
+ * Currently builds u-boot binaries for these platforms
+ ca9x4_ct_vxp aka Versatile Express
+ mx51evk aka Babbage
+ omap4_panda
+ omap3_beagle
+
+ -- John Rigby <john.rigby@linaro.org> Fri, 06 Aug 2010 16:20:43 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..bbcddf7df
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,98 @@
+Source: u-boot-linaro
+Section: misc
+Priority: extra
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: John Rigby <john.rigby@linaro.org>
+Build-Depends: quilt (>= 0.46-7~), debhelper (>= 7.0.50~), gcc-4.5
+Standards-Version: 3.9.1
+Vcs-Git: git://git.linaro.org/boot/u-boot-linaro-stable.git
+
+Package: u-boot-linaro-ca9x4-ct-vxp
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the ARM ca9x4_ct_vxp (Versatile Express) board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-efikamx
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the Genesi i.MX515 Efika MX
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-highbank
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the Calxeda Highbank
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-igep0020
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the ISEE igep0020 (IGEPv2) board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-mx51evk
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the Freescale i.MX51 mx51evk (Babbage) board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-mx53loco
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the Freescale i.MX53 mx53loco (Babbage) board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-omap3-beagle
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for various TI OMAP3 Beagle boards
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on those boards. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-omap3-overo
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for Gumstix Overo boards
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on those boards. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-omap4-panda
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the TI OMAP4 Panda board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-omap4-sdp4430
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the TI OMAP4 SDP4430 board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..f5b9d3385
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+This work was originally packaged for Debian by:
+
+ Oliver Grawert <ogra@ubuntu.com> on Mon, 22 Mar 2010 15:06:23 +0200
+
+It was downloaded from:
+
+ http://gitorious.org/u-boot-omap3/mainline/commits/master
+
+Upstream Authors:
+
+ Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ Steve Sakoman <steve@sakoman.com>
+
+Copyright:
+
+ Copyright (C) 2000-2011
+ Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+
+License:
+
+ This package 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 package 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 complete text of the GNU General
+Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Oliver Grawert <ogra@ubuntu.com>
+
+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.
diff --git a/debian/platforms-debs-targets b/debian/platforms-debs-targets
new file mode 100644
index 000000000..fa9912e5b
--- /dev/null
+++ b/debian/platforms-debs-targets
@@ -0,0 +1,30 @@
+#
+# config target:
+# an _config gets tacked on and used for the u-boot config
+#
+# package name:
+# underscores are not allowed in debian package names so
+# this is normally just config target with underscores replaced
+# with dashes
+#
+# build target:
+# some targets do not do the right thing unless asked explicitly
+# specifically one must specify u-boot.imx for mx5x
+# use - for the case where no target should be passed
+#
+# install target(s):
+# list of files to include in deb
+#
+# config package build install
+# target name target target(s)
+#
+ca9x4_ct_vxp ca9x4-ct-vxp - u-boot.bin
+efikamx efikamx u-boot.imx u-boot.imx
+highbank highbank - u-boot.bin
+igep0020 igep0020 - u-boot.bin
+mx51evk mx51evk u-boot.imx u-boot.imx
+mx53loco mx53loco u-boot.imx u-boot.imx
+omap3_overo omap3-overo - u-boot.bin
+omap3_beagle omap3-beagle - u-boot.bin
+omap4_panda omap4-panda - MLO u-boot.img u-boot.bin
+omap4_sdp4430 omap4-sdp4430 - MLO u-boot.img u-boot.bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..83f786675
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+# 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))
+
+# remove -Bsymbolic-functions from LDFLAGS because is messes up ld and some
+# initializations end up being zero
+LDFLAGS := $(patsubst -Bsymbolic-functions,,$(LDFLAGS))
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+export CROSS_COMPILE?=$(DEB_HOST_GNU_TYPE)-
+endif
+
+deb_source := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+deb_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+upstream_version := $(shell echo '$(deb_version)' | sed 's/.*://; s/-[^-]*$$//')
+
+# usb in u-boot is broken with 4.6 so use 4.5
+export CC=$(CROSS_COMPILE)gcc-4.5
+
+# --remote doesn't work with git.linaro.org so this needs to be
+# run from a local checkout
+get-orig-source:
+ rm -rf $(deb_source)-$(upstream_version)
+ rm -f $(deb_source)-$(upstream_version).orig.tar.gz
+ git clone --depth 1 git://git.linaro.org/boot/u-boot-linaro-stable.git $(deb_source)-$(upstream_version)
+ cd $(deb_source)-$(upstream_version) && git archive \
+ --format=tar \
+ --prefix=$(deb_source)-$(upstream_version)/ \
+ $(upstream_version) \
+ | gzip >../$(deb_source)_$(upstream_version).orig.tar.gz
+ rm -rf $(deb_source)-$(upstream_version)
+
+%:
+ dh --with quilt $@
+
+override_dh_auto_clean:
+ # upstream only cleans these files if passing the right O=, but it
+ # shouldn't create these the source tree in the first place
+ # XXX this hardcodes "arm"
+ rm -f arch/arm/include/asm/arch arch/arm/include/asm/proc
+ rm -rf debian/build
+
+override_dh_auto_build:
+ while read plat deb buildtarget ignoreinstalltargets; do \
+ expr $$plat : "^#" > /dev/null && continue; \
+ mkdir -p debian/build/$$plat; \
+ $(MAKE) O=$$PWD/debian/build/$$plat $${plat}_config; \
+ test "$$buildtarget" = "-" && $(MAKE) CC="$(CC)" O=$$PWD/debian/build/$$plat; \
+ test "$$buildtarget" != "-" && $(MAKE) CC="$(CC)" O=$$PWD/debian/build/$$plat \
+ $$PWD/debian/build/$$plat/$$buildtarget; \
+ true; \
+ done <debian/platforms-debs-targets
+
+override_dh_auto_install:
+ while read plat deb ignorebuildtarget installtargets; do \
+ expr $$plat : "^#" > /dev/null && continue; \
+ for target in $$installtargets; do \
+ test -e debian/build/$$plat/$$target && \
+ install -D -m644 debian/build/$$plat/$$target \
+ debian/u-boot-linaro-$$deb/usr/lib/u-boot/$$plat/$$target; \
+ done; \
+ true; \
+ done <debian/platforms-debs-targets
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)