debian/0000755000000000000000000000000012133330421007156 5ustar debian/patches/0000755000000000000000000000000012133316256010617 5ustar debian/patches/series0000644000000000000000000000002112132044274012022 0ustar fix-assert.patch debian/patches/fix-assert.patch0000644000000000000000000000166512133311016013722 0ustar From 100595c7fe767c0766358d59896d28f4a1239d82 Mon Sep 17 00:00:00 2001 Message-Id: <100595c7fe767c0766358d59896d28f4a1239d82.1366135310.git.marvin24@gmx.de> From: Marc Dietrich Date: Fri, 12 Apr 2013 11:49:30 +0200 Subject: [PATCH] Fix assert with help output only This moves an assert down if only "-h" and not SOC is given on the command line. Signed-off-by: Marc Dietrich --- src/cbootimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cbootimage.c b/src/cbootimage.c index fad4d6a..937bac9 100644 --- a/src/cbootimage.c +++ b/src/cbootimage.c @@ -154,11 +154,11 @@ main(int argc, char *argv[]) if (process_command_line(argc, argv, &context) != 0) return -EINVAL; - assert(g_soc_config != NULL); - if (help_only) return 1; + assert(g_soc_config != NULL); + g_soc_config->get_value(token_bct_size, &context.bct_size, context.bct); -- 1.7.9.5 debian/control0000644000000000000000000000142512133317245010574 0ustar Source: cbootimage Section: utils Priority: extra Maintainer: Marc Dietrich Build-Depends: dh-autoreconf, debhelper (>= 9.0.0) Standards-Version: 3.9.3 Package: cbootimage Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tools to dump and generate boot config table on Tegra devices This package contains two programs to parse the boot config table (bct) of Tegra SoC based devices and to generate a new bct with appended bootloader (e.g. u-boot) read to be flashed to a storage device. The boot config table is used in the early boot process to setup the sdhci, DRAM memory controller and also points to the position of the bootloader. For more information, see: http://http.download.nvidia.com/tegra-public-appnotes/bct-overview.html. debian/changelog0000644000000000000000000000020412133330265011032 0ustar cbootimage (1.0-1) unstable; urgency=low * Initial release -- Marc Dietrich Thu, 16 Apr 2013 21:25:45 +0200 debian/compat0000644000000000000000000000000212133327612010364 0ustar 9 debian/copyright0000644000000000000000000000336512133306021011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cbootimage Source: http://nv-tegra.nvidia.com/gitweb/?p=tools/cbootimage.git;a=summary Files: * Copyright: 2012, NVIDIA Corporation 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, version 2. . 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: debian/* Copyright: 2013, Marc Dietrich 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000012076521611010467 5ustar debian/source/format0000644000000000000000000000001412076521611011675 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000066512133310157010251 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS UVER = $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}' | cut -f1 -d-) SRCURL = "http://nv-tegra.nvidia.com/gitweb/?p=tools/cbootimage.git;a=snapshot;h=v$(UVER);sf=tgz" %: dh $@ --with autoreconf get-orig-source: wget -O cbootimage_$(UVER).orig.tar.gz $(SRCURL)