[Python-modules-commits] r3326 - in /packages/pynxt/trunk/debian: ./ changelog compat control copyright fwexec.1 fwflash.1 manpages pycompat rules

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Sat Sep 29 23:11:23 UTC 2007


Author: bzed-guest
Date: Sat Sep 29 23:11:23 2007
New Revision: 3326

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3326
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/pynxt/trunk/debian/   (with props)
    packages/pynxt/trunk/debian/changelog
    packages/pynxt/trunk/debian/compat
    packages/pynxt/trunk/debian/control
    packages/pynxt/trunk/debian/copyright
    packages/pynxt/trunk/debian/fwexec.1
    packages/pynxt/trunk/debian/fwflash.1
    packages/pynxt/trunk/debian/manpages
    packages/pynxt/trunk/debian/pycompat
    packages/pynxt/trunk/debian/rules   (with props)

Propchange: packages/pynxt/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/pynxt/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/changelog?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/changelog (added)
+++ packages/pynxt/trunk/debian/changelog Sat Sep 29 23:11:23 2007
@@ -1,0 +1,6 @@
+pynxt (0.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #444485)
+
+ -- David Anderson <dave at natulte.net>  Thu, 27 Sep 2007 20:04:16 +0200
+

Added: packages/pynxt/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/compat?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/compat (added)
+++ packages/pynxt/trunk/debian/compat Sat Sep 29 23:11:23 2007
@@ -1,0 +1,1 @@
+5

Added: packages/pynxt/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/control?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/control (added)
+++ packages/pynxt/trunk/debian/control Sat Sep 29 23:11:23 2007
@@ -1,0 +1,21 @@
+Source: pynxt
+Section: python
+Priority: extra
+Maintainer: David Anderson <dave at natulte.net>
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python-all-dev, python-support (>= 0.3)
+Standards-Version: 3.7.2
+XS-Vcs-Hg: https://ssl.natulte.net/nxos/devel
+XS-Vcs-Browse: https://ssl.natulte.net/nxos/devel
+
+Package: python-pynxt
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-pyusb (>= 0.4)
+Description: Lego Mindstorms NXT Python interface
+ PyNXT is a Python module that enables developers to communicate with
+ Lego Mindstorms NXT bricks at a low level. It currently facilitates
+ scanning the USB chain for a NXT brick and implements the SAM-BA
+ bootloader communication protocol.
+ .
+ It comes with two utilities, fwflash and fwexec, which can be used to
+ write a firmware to either flash memory or RAM, and execute it from
+ there.

Added: packages/pynxt/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/copyright?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/copyright (added)
+++ packages/pynxt/trunk/debian/copyright Sat Sep 29 23:11:23 2007
@@ -1,0 +1,30 @@
+This package was debianized by David Anderson <dave at natulte.net> on
+Thu, 27 Sep 2007 20:04:16 +0200.
+
+It was downloaded from https://ssl.natulte.net/nxos/devel
+
+Upstream Author: David Anderson <dave at natulte.net>
+
+Copyright: 2006, 2007 David Anderson
+
+License:
+
+   This package 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 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 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2007, David Anderson <dave at natulte.net> and
+is licensed under the GPL, see above.

Added: packages/pynxt/trunk/debian/fwexec.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/fwexec.1?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/fwexec.1 (added)
+++ packages/pynxt/trunk/debian/fwexec.1 Sat Sep 29 23:11:23 2007
@@ -1,0 +1,64 @@
+.\" Hey, emacs: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH "fwexec" 1 "September 28, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+fwflash \- Execute a Lego Mindstorms NXT firmware from RAM
+.SH SYNOPSIS
+.B fwexec
+.I file "load-address"
+.BR
+.SH DESCRIPTION
+.B fwexec
+is a program that takes a firmware image for the Lego Mindstorms NXT,
+uploads it to the RAM of a brick connected to the computer by its USB
+cable, and executes it directly from RAM. This is meant for use by
+developers of firmwares, so that they can test their code without
+causing wear and tear to the flash chip (and especially the region lock
+bits, which have a very limited lifespan).
+.PP
+The Lego Mindstorms NXT brick should be put into reset mode (also known
+as "clicking brick" mode) by pressing the button hidden in the top-left
+whole of its underside.
+.PP
+Note that
+.B fwexec
+does not validate the contents of the firmware image (how could it?). It
+only checks that the firmware image is smaller than 56kB, ensuring that
+it can fit into the NXT's RAM without clobbering the area reserved by
+the bootloader.
+.PP
+Further note that firmwares passed to
+.I fwflash
+cannot be passed to
+.I fwexec
+unmodified. To be executable in-place without being written to flash
+memory, a firmware needs to be compiled in a different way. Check the
+Lejos or NxOS projects for examples of how to compile a firmware for
+in-place execution.
+.PP
+Finally, note that since nothing is written to non-volatile memory by
+.I fwexec
+, the brick will reboot into the SAM-BA bootloader if you power down the
+brick. If you want to write your firmware to non-volatile memory, you
+should use
+.I fwflash
+instead.
+.SH OPTIONS
+This program follows the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR fwexec (1).
+.SH AUTHOR
+This manual page was written by David Anderson <dave at natulte.net>.
+Send bug reports or comments to the above address.

Added: packages/pynxt/trunk/debian/fwflash.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/fwflash.1?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/fwflash.1 (added)
+++ packages/pynxt/trunk/debian/fwflash.1 Sat Sep 29 23:11:23 2007
@@ -1,0 +1,48 @@
+.\" Hey, emacs: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH "fwflash" 1 "September 28, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+fwflash \- Flash a Lego Mindstorms NXT firmware
+.SH SYNOPSIS
+.B fwflash
+.I file
+.BR
+.SH DESCRIPTION
+.B fwflash
+is a program that takes a firmware image for the Lego Mindstorms NXT and
+writes it to the flash memory of a brick connected to the computer by
+its USB cable.
+.PP
+The Lego Mindstorms NXT brick should be put into reset mode (also known
+as "clicking brick" mode) by pressing the button hidden in the top-left
+whole of its underside.
+.PP
+Note that
+.B fwflash
+does not validate the contents of the firmware image (how could it?). It
+only checks that the firmware image is smaller than 256kB, ensuring that
+it can fit into the NXT's flash memory.
+.PP
+Once the firmware has been written to the NXT,
+.B fwflash
+automatically passes control to the firmware, meaning that your brick
+should immediately boot the newly written firmware.
+.SH OPTIONS
+This program follows the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR fwexec (1).
+.SH AUTHOR
+This manual page was written by David Anderson <dave at natulte.net>.
+Send bug reports or comments to the above address.

Added: packages/pynxt/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/manpages?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/manpages (added)
+++ packages/pynxt/trunk/debian/manpages Sat Sep 29 23:11:23 2007
@@ -1,0 +1,2 @@
+debian/fwflash.1
+debian/fwexec.1

Added: packages/pynxt/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/pycompat?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/pycompat (added)
+++ packages/pynxt/trunk/debian/pycompat Sat Sep 29 23:11:23 2007
@@ -1,0 +1,1 @@
+2

Added: packages/pynxt/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pynxt/trunk/debian/rules?rev=3326&op=file
==============================================================================
--- packages/pynxt/trunk/debian/rules (added)
+++ packages/pynxt/trunk/debian/rules Sat Sep 29 23:11:23 2007
@@ -1,0 +1,8 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+# Add here any variable or target overrides you need.

Propchange: packages/pynxt/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the Python-modules-commits mailing list