]> oss.titaniummirror.com Git - oss-web.git/commitdiff
TinyOS updates for Trusty Tahr
authorR. Steve McKown <rsmckown@gmail.com>
Tue, 26 Aug 2014 23:33:17 +0000 (17:33 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 26 Aug 2014 23:33:17 +0000 (17:33 -0600)
in/aptrepo.md
in/misc/msp430.md
in/news.md
in/projects/cp210x.md
in/projects/tinyos.md
in/tinyospkgs.md

index a5181684737df9b60fcc0dfcb9b6d1a6ec6fdf74..622b82a6e1c6dea9614af26960a8a42ae50c1e8b 100644 (file)
@@ -2,36 +2,55 @@ title: APT Repository
 linktitle: aptrepo
 parent: Home
 ctime: 2009-12-10
-mtime: 2012-08-01
+mtime: 2014-08-18
 
 Repositories: [[aptrepo]].
 
 # Introduction
 
 TMI maintains an APT repository containing some of the code available from this
-website.  We use this repository in-house, and it is fairly well tested on 32
-and 64 bit Intel and AMD based workstations running Ubuntu 8.04 (Hardy Heron),
-Ubuntu 9.10 (Karmic Koala), Ubuntu 10.04 LTS (Lucid Lynx), Ubuntu 10.10
-(Maverick Meerkat), Ubuntu 11.04 (Natty Narwhal), and Ubuntu 12.04 (Precise
-Pangolin).  Ubuntu derivatives, like Xubuntu (used at TMI), should work fine.
-
-32-bit and 64-bit architectures are supported for all distributions except for
-Ubuntu 12.04.  Packages for 12.04 are only currently being built for the 32-bit
-architecture.  However, the [[cp210x]] driver package is distributed as a dkms
-package that is compiled during installation and so does support 64-bit.
+website.  Our development is done on 64-bit Intel and AMD workstations running
+Xubuntu 14.04 64-bit OS.  The code available on this website has ran at
+various times on most 32-bit and 64-bit flavors of various Ubuntu distributions,
+including 8.04 LTS, 9.10, 10.04 LTS, 10.10, 11.04, 12.04 LTS and 14.04 LTS.
+Only 14.04 64-bit packages get any real testing by us.
 
 TMI can provide support for this repository and TinyOS software development.
 Please use the e-mail address in the top-right corner of this web page to ask
-for more information about our services.
-
-TMI is currently using 12.04 32-bit internally for development.  Support for
-older distributions remains in the repository, but will no longer receive
-updates.  We will attempt to answer basic questions; please use the e-mail
-address in the top right corner of this web page.  TMI can be engaged for a host
-of development and development support tasks.
+for more information about our services.  TMI can be engaged for a host of
+development and development support tasks.
 
 # Package inventory
 
+## Ubuntu Trusty
+
+TMI is using Xubuntu 14.04 64-bit internally on its development workstations.
+The ubuntu-trusty repository contains the packages we use.  This repository
+is just fine for most any Ubuntu derivative distribution.  While 32-bit
+packages are built, they aren't tested.
+
+Contents of the ubuntu-trusty APT repostory, as of 2014-08-18, for Ubuntu
+14.04.  Since the standard Ubuntu repositories now include a recent GCC 4.6.3
+msp430 cross toolchain, the one built by TMI is no longer necessary or
+maintained.  tinyos-msp430 is a TMI meta package that incorporates installation
+of the msp430 cross toolchain packages from the standard repositories,
+including gdb-msp430 and mspdebug.
+
+    tmi-keyring_1.0-1tmi_all.deb
+    tinyos-msp430_2.1.1-4.5-2tmi_all.deb
+    tinyos-source_2.1.1-4.5-2tmi_all.deb
+    tinyos-source-2.1.1-4.5_2.1.1-4.5-2tmi_all.deb
+    tinyos-tools_2.1.1-4.5-2tmi_amd64.deb
+    tinyos-avr_2.1.1-4.5-2tmi_all.deb
+    tinyos-tools_2.1.1-4.5-2tmi_i386.deb
+    tinyos_2.1.1-4.5-2tmi_all.deb
+    nesc_1.3.4-1tmi_amd64.deb
+    nesc_1.3.4-1tmi_i386.deb
+    cp210x-module-dkms_0.11.4-1tmi_all.deb
+
+TMI packages for trusty do not currently include deputy for TinyOS.
+
+
 ## Ubuntu Precise
 
 TMI is using Xubuntu 12.04 internally on its development workstations.  As such,
@@ -39,14 +58,15 @@ the ubuntu-precise repository is the same as used internally.  This repository
 is just fine for most any Ubuntu derivative distribution, but only supports
 32-bit versions.
 
-Contents of the APT repostory, as of 2012-07-09, for Ubuntu 12.04.  Since the
-standard Ubuntu repositories now include an recent GCC 4.5.3 msp430 cross
-toolchain, the one built by TMI is no longer necessary or maintained.  Note that
-as of 2012-06-15 the gdb-msp430 apt package has an installation error, which is
-likely to be fixed soon.  tinyos-msp430 is a TMI meta package that incorporates
-installation of the msp430 cross toolchain packages from the standard
-repositories, but for the reason noted above the gdb-msp430 package, and by
-extension the mspdebug package, is not automatically installed.
+Contents of the ubuntu-precise APT repostory, as of 2012-07-09, for Ubuntu
+12.04.  Since the standard Ubuntu repositories now include an recent GCC 4.5.3
+msp430 cross toolchain, the one built by TMI is no longer necessary or
+maintained.  Note that as of 2012-06-15 the gdb-msp430 apt package has an
+installation error, which is likely to be fixed soon.  tinyos-msp430 is a TMI
+meta package that incorporates installation of the msp430 cross toolchain
+packages from the standard repositories, but for the reason noted above the
+gdb-msp430 package, and by extension the mspdebug package, is not automatically
+installed.
 
     cp210x-module-dkms_0.11.3-7tmi
     deputy-tinyos_1.1-2tmi
@@ -73,10 +93,10 @@ extension the mspdebug package, is not automatically installed.
 
 ## Ubuntu Hardy
 
-Contents of the APT repostory, as of 2012-02-15, for Ubuntu 8.04 through 11.04.
-This respository is retained for historical purposes and is no longer being
-maintained by TMI.  This repository includes a custom built msp430 cross
-toolchain, in both 32-bit and 64-bit versions.
+Contents of the ubuntu APT repostory, as of 2012-02-15, for Ubuntu 8.04
+through 11.04.  This respository is retained for historical purposes and is no
+longer being maintained by TMI.  This repository includes a custom built msp430
+cross toolchain, in both 32-bit and 64-bit versions.
 
     cp210x-module-dkms_0.11.3-5tmi
     deputy-tinyos_1.1-2tmi
@@ -144,6 +164,19 @@ support is not yet available for 12.04.
     +EOF+
     sudo apt-get update
 
+### For 14.04:
+
+14.04 support is working but in an early state.  TMI needs to find some time to
+clean things up a bit.  TMI developers are currently using 14.04 amd64.  14.04
+32-bit support is available but largely untested.
+
+    cat <<+EOF+ | sudo tee /etc/apt/sources.list.d/tmi.list
+    # TMI repository
+    deb http://oss.titaniummirror.com/ubuntu-precise hardy main
+    deb-src http://oss.titaniummirror.com/ubuntu-precise hardy main
+    +EOF+
+    sudo apt-get update
+
 
 ## Step 2 - Adding the TMI package key
 
@@ -165,5 +198,5 @@ The <EMAILADDR> above is *com dot titaniummirror at pkgs*, in reverse.
 You can now install packages from the TMI repository.  For example:
 
 * Install the TMI [[tinyos]] development suite: `sudo apt-get install tinyos`
-
+* For MSP430 toolchain support for TinyOS: `sudo apt-get install tinyos-msp430`
 * Install the TMI [[cp210x]] driver: `sudo apt-get install cp210x-module-dkms`
index 5340968b9af3d22e7936f806ff9d48d974cc9c0d..60763aa8716b744fb90da8f8edce8d85d12b8975 100644 (file)
@@ -2,7 +2,7 @@ title: MSP430
 linktitle: msp430
 parent: misc
 ctime: 2008-01-03
-mtime: 2012-07-01
+mtime: 2012-08-18
 
 *This project is obsolete*. As of the release of Ubuntu 12.04 Precise Pangolin,
 an up-to-date version of the MSP430 cross toolchain is available in the standard
@@ -19,6 +19,9 @@ conflict as shown below.
     trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also
     in package gdb 7.4-2012.04-0ubuntu2
 
+As of 2012-08-18, the gdb-msp430 package for Trusty Tahr installs without the
+above error.
+
 Repositories:
 [msp430-binutils](/gitweb/?p=msp430-binutils.git;a=summary),
 [msp430-gcc](/gitweb/?p=msp430-gcc.git;a=summary),
index 93249f832d4a1841429f127e1c1bbce8b9ff6d67..910b826d4f74c1ed334b5693a78bc68c1e75512a 100644 (file)
@@ -1,6 +1,13 @@
 title: News
 ctime: 2009-12-16
-mtime: 2012-08-15
+mtime: 2014-08-18
+
+### 2014-08-15
+* Port TMI [[tinyos]] enhancements and our [[cp210x]] enhanced driver to
+  Ubuntu 14.04 LTS, Trusty Tahr.  Packages for Trusty are available from
+  the [[aptrepo]].
+
+---
 
 ### 2012-08-15
 Reorganize the website into three categories: [[blog]], [[misc]], and
@@ -41,13 +48,13 @@ repositories.
 ### 2010-11-04
 [[TinyOS]] release 2.1.1-4.4 is available.
 
-* Revert to how 2.1.0 creates TOSMAKE_PATH.  It adds TINYOS_MAKE_PATH to the
-  end, allowing local code to override system code.  2.1.1 adds TINYOS_MAKE_PATH
-  to the beginning, preventing local overrides.
+* Revert to how 2.1.0 creates TOSMAKE\_PATH.  It adds TINYOS\_MAKE\_PATH to the
+  end, allowing local code to override system code.  2.1.1 adds
+  TINYOS\_MAKE\_PATH to the beginning, preventing local overrides.
 * Various USCI fixes.
 * Provide new system components SharedArbiterC and SharedSplitControlC.  We use
-  these to activate subsystems only when needed, where the subsystems are usable
-  by multiple higher-level components concurrently.
+  these to activate subsystems only when needed, where the subsystems are
+  usable by multiple higher-level components concurrently.
 * TinyOS by default presumes that on boot UartStream interface providers have
   the receive interrupt active.  We had presumed that it was better to allow
   the code to specifically activate the interrupt when it was ready to handle
@@ -58,7 +65,7 @@ repositories.
 TMI has also updated to nesc-1.3.2.  A big thank you to idgay, who fixed bug
 [3013497](http://sourceforge.net/tracker/?func=detail&aid=3013497&group_id=56288&atid=480036)
 that was preventing us from using nescc with GCC on Ubuntu Linux.  Using the
-nx_ types of nescc to define cross platform data structures in header files
+nx\_ types of nescc to define cross platform data structures in header files
 shared between TinyOS targets and other systems is much more elegant than
 managing a parallel set of definitions defined programmatically by function
 calls to the TinyOS C-SDK.
index 0f494131745cdbdec0810396ed9fec1b16c0677b..f7fff9f408613ca38ec0b6822a47d4afa16f8344 100644 (file)
@@ -2,7 +2,7 @@ title: CP210X
 linktitle: cp210x
 parent: projects
 ctime: 2009-12-10
-mtime: 2012-07-03
+mtime: 2014-08-18
 
 Repositories: [cp210x](/gitweb/?p=cp210x.git;a=summary), [[aptrepo]].
 
@@ -11,10 +11,27 @@ Repositories: [cp210x](/gitweb/?p=cp210x.git;a=summary), [[aptrepo]].
 [Silicon Labs](http://www.silabs.com) sells a single-chip USB to UART bridge,
 the
 [cp210x](http://www.silabs.com/products/interface/usbtouart/Pages/default.aspx).
-For windows platforms, Silicon Labs offers manufacturing support for setting the
-various USB descriptor fields, port configurations, etc.  They also offer a DLL
-and example programs showing how to manipulate the GPIO pins available on the
-cp2103 part.
+For windows platforms, Silicon Labs offers manufacturing support for setting
+the various USB descriptor fields, port configurations, etc.  They also offer a
+DLL and example programs showing how to manipulate the GPIO pins available on
+the cp2103 part.  This driver is a strict superset of the driver supplied with
+the Linux Kernel, but we have not tested the extended features with newer
+chips, like the cp2104.
+
+The `cp210x-module-dkms` package in the TMI APT repository has been tested on
+the following Ubuntu distributions:
+
+* 14.04 LTS (Trusty Tahr)
+* 12.04 LTS (Precise Pangolin)
+* 11.04 (Natty Narwhal),
+* 10.10 (Maverick Meerkat)
+* 10.04 LTS (Lucid Lynx)
+* 9.10 (Karmic Koala)
+* 8.04 LTS (Hardy Heron)
+
+In our shop we use Xubuntu, but any Ubuntu distribution flavor should be fine.
+We are now exclusively using 64-bit packages internally.  The 32-bit
+packages are still built, but don't receive much testing.
 
 With support from Silicon Labs, TMI has modified their GPLv2 licensed reference
 Linux driver to support all of the features their Windows DLLs and utilities
@@ -25,25 +42,12 @@ enhancements to tos-bsl in [[tinyos]] allow programming of an MSP430 based
 target using a USB/serial connection, by leveraging two of the four additional
 GPIO pins present on the cp2103.
 
-TMI completed these driver changes were originally completed in late 2007, but
-have been periodically updated since then to track changes to the linux kernel
-source.  Silicon Labs was to push these changes through to the mainline kernel,
-did not do so.  In mid 2010, TMI had discussions with the
-linux-usb developers, and a decent number of changes need to be made before they
-will include our modifications upstream.  Specifically, they want to see all
-ioctl calls replaced with another mechanism.  Perhaps we can allocate some time to
-work on these issues in the future.  Meanwhile, TMI will continue to maintain
-its branch of the cp210x driver.
-
-The `cp210x-module-dkms` package in the TMI APT
-repository has been tested on (X)Ubuntu 8.04 LTS (Hardy Heron), 9.10 (Karmic
-Koala), 10.04 LTS (Lucid Lynx), 10.10 (Maverick Meerkat), 11.04 (Natty Narwhal),
-and 12.04 (Precise Pangolin).  Because the driver uses the dkms facility, the
-driver should build for both 32 and 64 bit systems.  Some testing has happened
-using older versions of 64-bit (X)Ubuntu, but TMI developers predominantly use
-32-bit Xubuntu 12.04 at the moment (2012-07-09).
-
-Note: Silicon Labs has introduced new USB/Serial chips, like the cp2104.  The
-latest merge of the mainline cp210x driver, as present when used on 12.04
-systems, may be compatible with these newer parts.  TMI has not tested for this
-compatibility.
+## Driver Differences
+
+* The in-kernel driver does NOT include GPIO or manufacturing features.
+
+* Silicon Labs has added GPIO features in the driver available on their
+  website, but none of the manufacturing capability.  At one point, 
+
+* This driver supports both GPIO and manufacturing capabilities, and includes
+  a user-space header for accessing those features conveniently.
index d47d43b5efb9c22e89ea2feefdf977db9694f3b2..2c74501cc4c100135197de20647655591e6c19e0 100644 (file)
@@ -2,7 +2,7 @@ title: TinyOS
 linktitle: tinyos
 parent: projects
 ctime: 2009-12-07
-mtime: 2012-03-21
+mtime: 2014-08-18
 
 Repositories: [tinyos](/gitweb/?p=tinyos-2.x.git;a=summary),
 [deputy-tinyos](/gitweb/?p=deputy-tinyos.git;a=summary),
@@ -49,7 +49,9 @@ upstream release.
 * The commits between the two above tags represent the series of patches in the
   [latest patchset](/gitweb/?p=tinyos-2.x.git;a=shortlog;h=refs/tags/patchset/2.1.1-4.5).
 
-The TMI TinyOS code requires a GCC 4.4+ based [[msp430]] toolchain.
+The TMI TinyOS code requires a GCC 4.4+ based [[msp430]] toolchain.  Debian and
+Ubuntu repositories include an appropriate msp430 toolchain (4.6.3 as of
+2014-08-18).
 
 # Using TMI TinyOS
 
index 50d45b462085e39edb0f4ffb8da89a10408c18cf..7cbf396bdb2976b000fc799675110b6e0d7d7416 100644 (file)
@@ -2,7 +2,7 @@ title: TinyOS Packages
 linktitle: tinyospkgs
 parent: aptrepo
 ctime: 2009-12-10
-mtime: 2012-07-09
+mtime: 2014-08-18
 
 Repositories: [tinyos](/gitweb/?p=tinyos-2.x.git;a=summary),
 [deputy-tinyos](/gitweb/?p=deputy-tinyos.git;a=summary),
@@ -19,11 +19,11 @@ version of the modifications applied by TMI.  Released APT package versions are
 associated with tags in the source code repository.  Consider the latest
 package version, 2.1.1-4.5, for which these tags exist in the repository:
 
-* `debian/2.1.1-4.5-1tmi` is the tag of the 'debianized' code from which the APT
-  packages version 2.1.1-4.5-1tmi were built.
+* `debian/2.1.1-4.5-2tmi` is the tag of the 'debianized' code from which the APT
+  packages version 2.1.1-4.5-2tmi were built.
 
 * `release/2.1.1-4.5` is the tag of the TinyOS code of which
-  `debian/2.1.1-4.5-1tmi` is a superset, the latter containing the debian
+  `debian/2.1.1-4.5-2tmi` is a superset, the latter containing the debian
   packaging files.
 
 * `tinyos/2.1.1` is the official upstream release on which `release/2.1.1-4.5`
@@ -50,10 +50,10 @@ installed.  Source the script `/opt/tinyos/tinyos.sh` to set the tree you wish
 to use.  This script also updates your shell rc file (if running bash, ksh or
 csh) so that your tree selection is persistent across logins.
 
-Another option is to check out a TinyOS source tree at another location,
-preferably in a user-private directory.  This would allow development within the
-TinyOS source in a saner manner than modifying a 'released' tree found in /opt/.
-The tinyos.sh script in the TMI tinyos package also supports this capability.
+For our development, however, we tend to use a local git checkout of our
+enhanced TinyOS tree locally instead.  This allows for easy development within
+the TinyOS source in a convenient manner.  The tinyos.sh script in the TMI
+tinyos package also supports this capability.
 
 This is the currently available trees as of this writing.  You can use the
 command shown below to at any time view the available source trees.
@@ -88,6 +88,11 @@ upstream source version 2.1.0 without TMI enhancements:
 
     sudo apt-get install tinyos-source-2.1.0
 
-You may also install the AVR compiler for TinyOS by typing:
+You may also install the MSP430 compiler for TinyOS by typing:
 
-    sudo apt-get install tinyos-avr
+    sudo apt-get install tinyos-msp430
+
+tinyos-msp430 is a virtual package that conveniently pulls in the msp430
+toolchain already present in standard Ubuntu repositories.  TMI is doing
+no TinyOS work with Atmel AVR parts, so we are no longer maintaining the
+tinyos-avr virtual pacakge in our repository.