<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">Journal of Martin Michlmayr</title>
<subtitle type="html"><![CDATA[
Martin Michlmayr's journal
]]></subtitle>
<id>http://www.cyrius.com/journal/index.atom</id>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal" />
<link rel="self" type="application/atom+xml" href="http://www.cyrius.com/journal/index.atom" />

<author>
<name>Martin Michlmayr</name>
<uri>http://www.cyrius.com/journal/index.atom</uri>
<email>tbm@cyrius.com</email>
</author>
<rights>Copyright 2003-2006 Martin Michlmayr</rights>
<generator uri="http://pyblosxom.sourceforge.net/" version="1.3.2 2/13/2006">
PyBlosxom http://pyblosxom.sourceforge.net/ 1.3.2 2/13/2006
</generator>

<updated>2010-06-13T18:16:57Z</updated>
<!-- icon?  logo?  -->

<entry>
<title type="html">Debian support for eSATA SheevaPlug available</title>
<category term="/debian/kirkwood/sheevaplug" />
<id>http://www.cyrius.com/journal/2010/06/13/#esata-support</id>
<updated>2010-06-13T17:16:57+01:00</updated>
<published>2010-06-13T17:16:57+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/esata-support" />
<content type="html">
&lt;p&gt;

The eSATA SheevaPlug is supported by the Debian installer and by Debian
now.  I&apos;ve updated the &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html&quot;&gt;install
guide&lt;/a&gt; accordingly.

&lt;/p&gt;

&lt;p&gt;

If you&apos;re already running Debian on your eSATA SheevaPlug but you
installed as a regular SheevaPlug to USB or SD and you&apos;d like to use the
eSATA, then make sure you&apos;re the latest kernel from Debian squeeze:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
apt-get update
apt-get dist-upgrade
flash-kernel
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Reboot and type this in u-boot:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
setenv arcNumber 2678
saveenv
reset
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Your machine will then be recognized as an eSATA SheevaPlug and eSATA
will work.

&lt;/p&gt;

&lt;p&gt;

Thanks to John Holland for working on SheevaPlug eSATA support.

&lt;/p&gt;

&lt;!-- time: 2010-06-13 19:16:57 +0100 --&gt;

</content>
</entry>

<entry>
<title type="html">Debian on QNAP TS-11x/TS-21x/TS-41x users: go make a backup</title>
<category term="/debian/kirkwood/qnap" />
<id>http://www.cyrius.com/journal/2010/05/20/#create-backup</id>
<updated>2010-05-20T19:40:51+01:00</updated>
<published>2010-05-20T19:40:51+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/qnap/create-backup" />
<content type="html">
&lt;p&gt;

I recently discovered that there are two variants of the recovery mode
used on QNAP TS-11x/TS-21x (and possible TS-41x) devices and that one
has a different behaviour than what my documentation claims.  While this
issue should hopefully affect few users (but please take a moment and &lt;a
href = &quot;http://lists.debian.org/debian-arm/2010/05/msg00059.html&quot;&gt;check
if you&apos;re affected&lt;/a&gt;), it has implications to all Debian users on
TS-11x/TS-21x.  My install guide originally told users to create backup
of some &lt;tt&gt;mtd&lt;/tt&gt; partitions only but from now on you need a copy of
&lt;em&gt;all&lt;/em&gt; partitions in order to use the recovery mode.  Therefore,
please take a moment &lt;em&gt;now&lt;/em&gt; to create a backup of the remaining
partitions:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
cat /dev/mtdblock0 &amp;gt; mtd0
cat /dev/mtdblock4 &amp;gt; mtd4
cat /dev/mtdblock5 &amp;gt; mtd5
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

(You should have copies of mtd1, mtd2 and mtd3 already if you following
my guide.)

&lt;/p&gt;

&lt;p&gt;

Make sure to copy the files to another machine and add them to your
backup.

&lt;/p&gt;

&lt;!-- time: 2010-05-20 21:40:51 +0100 --&gt;

</content>
</entry>

<entry>
<title type="html">Debian stable installer for SheevaPlug, QNAP TS-11x/TS-21x and OpenRD</title>
<category term="/debian/kirkwood" />
<id>http://www.cyrius.com/journal/2010/05/09/#lenny-installer</id>
<updated>2010-05-09T15:03:51+01:00</updated>
<published>2010-05-09T15:03:51+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/lenny-installer" />
<content type="html">
&lt;p&gt;

We added support for Marvell&apos;s Kirkwood platform to the Debian installer a
few months ago and a lot of people have installed Debian testing (squeeze)
on devices such as the SheevaPlug and QNAP TS-11x/TS-21x.  While this works
great, some people would prefer to run Debian stable (lenny).  Until
recently, I thought we wouldn&apos;t be able to support lenny in the installer
since the kernel in stable doesn&apos;t have support for Kirkwood.  However,
some work by Frans Pop showed me that it would be quite trivial to change
the installer so it would install Debian stable plus the kernel from an
alternative repository.

&lt;/p&gt;

&lt;p&gt;

So from now on, it&apos;s possible to install Debian stable (lenny) on the &lt;a
href = &quot;http://www.cyrius.com/debian/kirkwood/sheevaplug/&quot;&gt;SheevaPlug&lt;/a&gt;,
QNAP &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-119/&quot;&gt;TS-11x&lt;/a&gt;/&lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-219/&quot;&gt;TS-21x&lt;/a&gt; and &lt;a href
= &quot;http://www.cyrius.com/debian/kirkwood/openrd/&quot;&gt;OpenRD&lt;/a&gt;.  This
installation mechanism uses the squeeze installer to install Debian lenny
(stable) plus the kernel from a repository I maintain.  This repository
usually contains the kernel from Debian testing (although I sometimes add
the kernel from unstable if it has some important features).

&lt;/p&gt;

&lt;p&gt;

Since some users might be wondering which version to install, here is an
overview of the benefits and downsides of each version.

&lt;/p&gt;


&lt;p&gt;

Debian lenny (stable): it is the current stable version of Debian (version
5.0).

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;lenny has security support (note that this does not apply to the
kernel, which we take from squeeze).&lt;/li&gt;

&lt;li&gt;lenny is stable (i.e. it doesn&apos;t change, except for security and other
important updates).&lt;/li&gt;

&lt;li&gt;The software in lenny is older (since lenny was released in February
2009).&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

Debian squeeze (testing): it is currently under development and will be the
next stable version of Debian (version 6.0).

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;squeeze changes every day, with new software coming in.&lt;/li&gt;

&lt;li&gt;squeeze has fairly new software.&lt;/li&gt;

&lt;li&gt;While there is some security support for testing (squeeze), the
security support for stable is better.&lt;/li&gt;

&lt;/ul&gt;

&lt;!-- time: 2010-05-09 17:03:51 +0100 --&gt;

</content>
</entry>

<entry>
<title type="html">Fixing your Debian NAS from within initramfs-tools</title>
<category term="/debian/orion/d-link/dns-323" />
<id>http://www.cyrius.com/journal/2010/03/26/#fix-initramfs-tools</id>
<updated>2010-03-26T11:57:15Z</updated>
<published>2010-03-26T11:57:15Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/d-link/dns-323/fix-initramfs-tools" />
<content type="html">
&lt;p&gt;

The following article was contributed by John Cass.  Note that John&apos;s
instructions will also work on other NAS machines running Debian, such
as QNAP devices.

&lt;/p&gt;

&lt;p&gt;

I had a problem upgrading my Debian kernel to 2.6.32 on the D-Link
DNS-323.  The upgrade looked like it worked but on reboot I had a hung
machine.  I tried taking the disk out, putting it in my main machine and
remaking the links in &lt;tt&gt;/boot&lt;/tt&gt; to the previous kernel and
initrd.img but it turns out that on the DNS-323 both kernel and
initrd are actually stored in flash memory (the &lt;tt&gt;/boot&lt;/tt&gt; disk
files are where they are built and a useful archive but are not used
during the boot process).

&lt;/p&gt;

&lt;p&gt;

So I was stuck, and had to make a serial cable in order to find out what
was going on.  The instructions &lt;a href =
&quot;http://buffalo.nas-central.org/index.php/Use_a_Nokia_Serial_Cable_on_an_ARM9_Linkstation&quot;&gt;here&lt;/a&gt;
and &lt;a href=&quot;http://wiki.dns323.info/hardware%3Aserial&quot;&gt;here&lt;/a&gt; were very
useful and the CA-42 clone cost me 4 GBP on eBay and arrived within a
couple of days.  A delicate bit of soldering (and installing ckermit on
my main machine) and I had a serial connection - I could finally see
what was was happening.

&lt;/p&gt;

&lt;p&gt;

The upshot was, during the boot process the DNS-323 failed to mount my
root partition.  This was because the partition was formatted ext3 and
the initrd.img had not included the ext3 module.  It probably did this
because I had deliberately forced mounting it as ext2 in the
&lt;tt&gt;/etc/fstab&lt;/tt&gt; (in an attempt to limit the write access to the
disk, I want it to stay in standby for a long time but that&apos;s another
post). (Remark by Martin: this is a &lt;a href =
&quot;http://bugs.debian.org/519800&quot;&gt;known issue&lt;/a&gt; with
&lt;tt&gt;initramfs-tools&lt;/tt&gt;.)

&lt;/p&gt;

&lt;p&gt;

Anyway, having seen this, Martin was able to guide me to getting it fixed:

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;First of all, I issued &lt;code&gt;modprobe ext2&lt;/code&gt; to get the ext2
module loaded (luckily this was included in initrd.img).&lt;/li&gt;

&lt;li&gt;Then you can mount the root partition on &lt;tt&gt;/root&lt;/tt&gt;: &lt;code&gt;mount
-t ext2 /dev/sda2 /root&lt;/code&gt; - it will complain a bit but will work
fine.&lt;/li&gt;

&lt;li&gt;Then run &lt;code&gt;/scripts/init-bottom/udev&lt;/code&gt; - this moves /dev to
within the new root directory.&lt;/li&gt;

&lt;li&gt;&lt;code&gt;chroot /root /bin/sh&lt;/code&gt; - shift the root around so we are
working from the proper root disk&lt;/li&gt;

&lt;li&gt;&lt;code&gt;mount -t proc none /proc&lt;/code&gt; - mount the proc tree&lt;/li&gt;

&lt;li&gt;&lt;code&gt;mount -t sys none /sys&lt;/code&gt; - and the sys tree&lt;/li&gt;

&lt;li&gt;&lt;code&gt;nano /etc/fstab&lt;/code&gt; - edit this to change ext2 back to ext3
for the root partition&lt;/li&gt;

&lt;li&gt;&lt;code&gt;mount -t ext2 /dev/sda1 /boot&lt;/code&gt; - mount the boot
partition if it&apos;s a different device (mine is)&lt;/li&gt;

&lt;li&gt;Edit &lt;code&gt;/etc/initramfs-tools/modules&lt;/code&gt; and add both
&lt;code&gt;ext2&lt;/code&gt; and &lt;code&gt;ext3&lt;/code&gt; - this will force their
inclusion in the updated initrd.img&lt;/li&gt;

&lt;li&gt;run &lt;code&gt;update-initramfs -u&lt;/code&gt; to regenerate the kernel and
initrd.img - this will rebuild the files in &lt;tt&gt;/boot&lt;/tt&gt; and it will
use &lt;code&gt;flash-kernel&lt;/code&gt; to put them into the flash memory&lt;/li&gt;

&lt;li&gt;&lt;code&gt;umount /proc /sys /dev /boot&lt;/code&gt; - unmount filesystems&lt;/li&gt;

&lt;li&gt;&lt;code&gt;exit&lt;/code&gt; - leave the chroot&lt;/li&gt;

&lt;li&gt;&lt;code&gt;umount /root&lt;/code&gt; - unmount the root partition&lt;/li&gt;

&lt;li&gt;&lt;code&gt;reboot&lt;/code&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

And it should all be working!

&lt;/p&gt;

&lt;!-- time: 2010-03-26 11:57:15 +0000 --&gt;

</content>
</entry>

<entry>
<title type="html">Using the installer to flash the kernel again</title>
<category term="/debian" />
<id>http://www.cyrius.com/journal/2010/03/17/#installer-flash-kernel</id>
<updated>2010-03-17T17:24:47Z</updated>
<published>2010-03-17T17:24:47Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/installer-flash-kernel" />
<content type="html">
&lt;p&gt;

Every once in a while someone asks how they can use the Debian installer
to access their system on disk to run commands, for example to write
the kernel and ramdisk to flash again.  This is particularly useful on
headless NAS devices.  So here&apos;s how to do it:

&lt;/p&gt;

&lt;ol&gt;

&lt;li&gt;Start the Debian installer.&lt;/li&gt;

&lt;li&gt;Remove the SSH key from &lt;tt&gt;~/.known_hosts&lt;/tt&gt; because the installer
will always generate a new key.&lt;/li&gt;

&lt;li&gt;Connect to the installer with SSH: &lt;tt&gt;ssh installer@...&lt;/tt&gt;&lt;/li&gt;

&lt;li&gt;Follow the installer until you reach the partitioner, then choose &quot;go
back&quot;.&lt;/li&gt;

&lt;li&gt;Open a shell (look for &lt;tt&gt;Execute a shell&lt;/tt&gt; towards the end of the
menu).&lt;/li&gt;

&lt;li&gt;Run the commands below (the example assumes that &lt;tt&gt;/boot&lt;/tt&gt; is
&lt;tt&gt;/dev/sda1&lt;/tt&gt; and &lt;tt&gt;/&lt;/tt&gt; is &lt;tt&gt;/dev/sda2&lt;/tt&gt;.&lt;/li&gt;

&lt;/ol&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
mkdir -p /target
mount /dev/sda2 /target
mount /dev/sda1 /target/boot
mount --bind /dev /target/dev
mount -t proc none /target/proc
mount -t sysfs none /target/sys
chroot /target /bin/sh
# the prompt will change
# make modifications to the system and regenerate the initramfs
update-initramfs -u
exit
# the prompt will change again as you&apos;re leaving the chroot
umount /target/sys
umount /target/proc
umount /target/dev
umount /target/boot
umount /target
reboot
&lt;/pre&gt;
&lt;/div&gt;

&lt;!-- time: 2010-03-17 17:24:47 +0000 --&gt;

</content>
</entry>

<entry>
<title type="html">Debian Installer 6.0 Alpha1 available</title>
<category term="/debian/kirkwood" />
<id>http://www.cyrius.com/journal/2010/02/21/#squeeze-alpha1</id>
<updated>2010-02-21T19:36:14Z</updated>
<published>2010-02-21T19:36:14Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/squeeze-alpha1" />
<content type="html">
&lt;p&gt;

The Debian installer team today announced the alpha1 version of the
installer for Debian squeeze (6.0).  This release adds a lot of new
features but I just wanted to highlight the ARM related enhancements.  With
this release, Marvell&apos;s Kirkwood platform is supported.  Specifically, the
installer supports the following devices: QNAP &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-119/&quot;&gt;TS-110 and TS-119&lt;/a&gt;,
QNAP &lt;a href = &quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-219/&quot;&gt;TS-210,
TS-219 and TS-219P&lt;/a&gt;, &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/sheevaplug/&quot;&gt;SheevaPlug&lt;/a&gt; and
OpenRD.  In addition to Kirkwood support, Wouter Verhelst added support for
the Intel Storage System SS4000-E.

&lt;/p&gt;

&lt;!-- time: 2010-02-21 19:36:14 +0000 --&gt;
</content>
</entry>

<entry>
<title type="html">Project management lessons from the FreeDOS Project</title>
<category term="/fossbazaar" />
<id>http://www.cyrius.com/journal/2009/11/10/#lessons-from-freedos</id>
<updated>2009-11-10T17:12:18Z</updated>
<published>2009-11-10T17:12:18Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/fossbazaar/lessons-from-freedos" />
<content type="html">
&lt;p&gt;

A lot of people seem to think that open source is a magic solution to
project management and that open source projects will automatically
attract a large and healthy community of contributors and users who will
improve the software.  This, of course, is not the case.  In fact,
creating a successful open source project is a really major and
difficult effort.  You have to deliver an initial promise that people
find interesting, attract other people, then facilitate and lead the
community, etc.  You just have to look at all the failed projects on
SourceForge that never delivered any code to see that &quot;open source&quot; is
not a guarantee for success.

&lt;/p&gt;

&lt;p&gt;

Even though project management is a key element of every open source
project, there are only few resources about this topic.  That&apos;s why I
always enjoy reading about the experience from open source project
leaders.  Jim Hall, the founder of the FreeDOS project, recently posted
a series of four articles which I find particularly interesting.

&lt;/p&gt;

&lt;p&gt;

Here are links to the articles along with a quick summary:

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;a href =
&quot;http://sourceforge.net/userapps/wordpress/jhall1/2009/11/02/open-source-and-free-software/&quot;&gt;Free
and Open Source Software&lt;/a&gt;: the first article just describes what free
software and open source are all about.  It also looks at Raymond&apos;s
model and compares the cathedral and the bazaar style of
development.&lt;/li&gt;

&lt;li&gt;&lt;a href =
&quot;http://sourceforge.net/userapps/wordpress/jhall1/2009/11/04/starting-open-source-software/&quot;&gt;Starting
Open Source Software&lt;/a&gt;: this article summarizes a number
of key lessons learned: every project needs a clear purpose (i.e. you
have to solve an actual problem); initial users of the software should
be recruited as developers; releases are important; and every project
needs an active coordinator or maintainer.&lt;/li&gt;

&lt;li&gt;&lt;a href =
&quot;http://sourceforge.net/userapps/wordpress/jhall1/2009/11/09/cultivating-open-source-software-2/&quot;&gt;Cultivating
Open Source Software&lt;/a&gt;: you need a web site; making the source code
availability in an easy way is important; documentation is often hard to
write but is vital; you need a bug tracking system and responding to bug
reports is important to attract good feedback.&lt;/li&gt;

&lt;li&gt;&lt;a href =
&quot;http://sourceforge.net/userapps/wordpress/jhall1/2009/11/18/transitions-in-open-source-software/&quot;&gt;Transitions
in an open source software project&lt;/a&gt;: finally, when you need to hand
over the project, make sure to communicate openly, arrange for your
replacement and stick around to ensure a successful hand over.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

I really like these articles from Jim Hall since they contain a lot of
great insights that apply to other projects, so I suggest you check them
out!

&lt;/p&gt;

&lt;p&gt;

(Originally published on &lt;a href = &quot;https://fossbazaar.org/&quot;&gt;FOSSBazaar&lt;/a&gt;)

&lt;/p&gt;

&lt;!-- time: 2009-11-10 17:12:18 +0000 --&gt;

</content>
</entry>

<entry>
<title type="html">Marvell publishes roadmap of its ARM series called Armada</title>
<category term="/debian/kirkwood" />
<id>http://www.cyrius.com/journal/2009/11/07/#marvell-armada-roadmap</id>
<updated>2009-11-07T10:49:27Z</updated>
<published>2009-11-07T10:49:27Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/marvell-armada-roadmap" />
<content type="html">
&lt;p&gt;

For those who haven&apos;t seen it yet, LinuxDevices published an article
recently looking at the &lt;a href =
&quot;http://www.linuxfordevices.com/c/a/News/Marvell-Armada-100-500-600-and-1000/&quot;&gt;roadmap
of Marvell&apos;s ARM line&lt;/a&gt;.  The new line is called Armada and for Debian
the Armada 510 (known as Dove) is of particular interest.  To me, it
essentially looks like a Kirkwood (the current platform) but with ARMv6/v7
(instead of ARMv5), integrated VGA and some other features.  According to
the article, the Armada 510 is aimed at &quot;high-end smartbooks and tablets&quot;.

&lt;/p&gt;

&lt;p&gt;

I&apos;m happy to see the integration of VGA because I&apos;d like to see more ARM
based smartbooks, tablets and thin clients.  At the same time, I&apos;m worried
that the VGA will be some proprietary chip without proper open source
drivers and I&apos;m surprised that the new chip only offers 1.2 GHz.  After
all, the current Kirkwood chip clocks 1.2 GHz already, so I&apos;d have
expected an increase to 2.0 GHz for the next generation.

&lt;/p&gt;

&lt;!-- time: 2009-11-07 10:49:27 +0000 --&gt;

</content>
</entry>

<entry>
<title type="html">New devices from QNAP: TS-110, TS-210 and TS-410</title>
<category term="/debian/kirkwood/qnap" />
<id>http://www.cyrius.com/journal/2009/11/05/#ts-x10</id>
<updated>2009-11-05T21:07:04Z</updated>
<published>2009-11-05T21:07:04Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-x10" />
<content type="html">
&lt;p&gt;

When I visited Taiwan last week to talk about Debian at a conference on
smartbooks, I used the opportunity to meet up with the folks from QNAP.  It
was really nice to meet many of my contacts at QNAP in person.  We talked
about their roadmap and existing products and I found out that they had
just released a number of new devices that may be of interest to Debian
users.

&lt;/p&gt;

&lt;p&gt;

I really like the hardware from QNAP but one downside of their high quality
is also that the devices are fairly expensive.  Last week they introduced a
number of lower cost alternatives: in addition to the TS-119 and TS-219,
you now have the TS-110 and TS-210.  They feature a 800 MHz CPU (instead of
1.2 GHz on the TS-119/TS-219), 256 MB (instead of 512 MB) and have a
plastic case (as a result of which, the TS-110 now has a fan unlike the
TS-119).  Similarly, in addition to the TS-419 and TS-419U, you now have a
TS-410 and TS-410U.

&lt;/p&gt;

&lt;p&gt;

Since the TS-110/TS-210 and TS-119/TS-219 are compatible, the Debian
installer will work out of the box.

&lt;/p&gt;

&lt;!-- time: 2009-11-05 21:07:04 +0000 --&gt;

</content>
</entry>

<entry>
<title type="html">New Debian on NSLU2 documentation available</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2009/11/02/#new-docs</id>
<updated>2009-11-02T22:32:08Z</updated>
<published>2009-11-02T22:32:08Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/new-docs" />
<content type="html">
&lt;p&gt;

I wrote several new guides about Debian on the Linksys NSLU2 this
weekend.  The new guides cover the following topics:

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Troubleshooting: common problems and their solutions&lt;/li&gt;

&lt;li&gt;Internals about the boot process of Debian on the NSLU2&lt;/li&gt;

&lt;li&gt;Modifying a NSLU2 firmware image&lt;/li&gt;

&lt;li&gt;Cloning a NSLU2&lt;/li&gt;

&lt;li&gt;Migration guide: how to move your Debian installation from your NSLU2
to a SheevaPlug.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

You can find this documentation at my &lt;a href =
&quot;http://www.cyrius.com/debian/nslu2/&quot;&gt;Debian on NSLU2&lt;/a&gt; site.

&lt;/p&gt;

&lt;!-- time: 2009-11-02 22:32:08 +0000 --&gt;

</content>
</entry>

<entry>
<title type="html">Debian installer for SheevaPlug available</title>
<category term="/debian/kirkwood/sheevaplug" />
<id>http://www.cyrius.com/journal/2009/10/12/#sheevaplug-installer-available</id>
<updated>2009-10-12T16:55:27+01:00</updated>
<published>2009-10-12T16:55:27+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/sheevaplug-installer-available" />
<content type="html">
&lt;p&gt;

You can now use the Debian installer to install Debian on the Marvell
SheevaPlug.  This routine will install Debian testing (squeeze), which
is currently under development.  The installer itself is also under
development, so there may be problems from time to time but it should
generally work pretty well.  The Debian installer doesn&apos;t support
installations to flash, but you can use it to install to a USB stick or
disk as well as to an SD card.  Here are &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/sheevaplug/&quot;&gt;installation
instructions&lt;/a&gt;.

&lt;/p&gt;

&lt;!-- time: 2009-10-12 18:55:27 +0100 --&gt;

</content>
</entry>

<entry>
<title type="html">Upgrading SheevaPlug&apos;s U-Boot to version 3.4.19</title>
<category term="/debian/kirkwood/sheevaplug" />
<id>http://www.cyrius.com/journal/2009/10/11/#upgrade-uboot</id>
<updated>2009-10-11T09:25:52+01:00</updated>
<published>2009-10-11T09:25:52+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/upgrade-uboot" />
<content type="html">
&lt;p&gt;

Marvell made a new version of U-Boot for the SheevaPlug available last
month.  This version, 3.4.19, integrates SD card support and improves
support for FAT32 USB partitions (although USB support in general is
still a bit flaky).  This page describes how to install this new
version of U-Boot on your SheevaPlug.

&lt;/p&gt;

&lt;p&gt;

First of all, download the &lt;a href =
&quot;http://plugcomputer.org/index.php/us/resources/downloads?func=fileinfo&amp;amp;id=54&quot;&gt;SheevaPlug
U-Boot 3.4.19&lt;/a&gt;.  Unpack the zip file and copy the file
&lt;tt&gt;u-boot-3.4.19/u-boot-rd88f6281Sheevaplug_400db_nand.bin&lt;/tt&gt; to your
TFTP server.  I suggest you call the file &lt;tt&gt;u-boot.bin&lt;/tt&gt;.

&lt;/p&gt;

&lt;p&gt;

Then start your SheevaPlug and type the following:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
setenv serverip 192.168.1.2 # IP of your TFTP server
setenv ipaddr 192.168.1.200
bubt u-boot.bin
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

The upgrade process will ask whether you want to change the environment:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
**Warning**
If U-Boot Endiannes is going to change (LE-&gt;BE or BE-&gt;LE),
Then Env parameters should be overridden..
Override Env parameters? (y/n) &lt;span class=&quot;input&quot;&gt;n&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Make sure to answer &quot;n&quot; here.

&lt;/p&gt;

&lt;p&gt;

We also need to make a small change to the u-boot configuration because
this version of u-boot no longer accepts the &lt;tt&gt;console&lt;/tt&gt; parameter
we have been using.  Thanks to Tom Rinehart for pointing this out.
Instead of &lt;tt&gt;console&lt;/tt&gt;, we&apos;ll therefore add a new
&lt;tt&gt;bootargs_console&lt;/tt&gt; and update &lt;tt&gt;bootcmd&lt;/tt&gt; to make use of it:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
setenv bootargs_console console=ttyS0,115200
printenv bootcmd
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

You&apos;ll see that bootcmd contains &lt;tt&gt;$(console)&lt;/tt&gt;.  You have to
set a new &lt;tt&gt;bootcmd&lt;/tt&gt; and change the console parameter to
&lt;tt&gt;$(bootargs_console)&lt;/tt&gt;.  In my case, I&apos;d type:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
setenv bootcmd &apos;setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x400000 0x0800000; reset&apos;
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Make sure you don&apos;t forget the quotes!

&lt;/p&gt;

&lt;p&gt;

Finally, save the environment and restart your machine:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
saveenv
reset
&lt;/pre&gt;
&lt;/div&gt;

&lt;!-- time: 2009-10-11 11:25:52 +0100 --&gt;

</content>
</entry>

<entry>
<title type="html">Debian installer for QNAP TS-119, TS-219 and TS-219P available</title>
<category term="/debian/kirkwood/qnap" />
<id>http://www.cyrius.com/journal/2009/10/10/#ts-219-installer-available</id>
<updated>2009-10-10T21:11:13+01:00</updated>
<published>2009-10-10T21:11:13+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-219-installer-available" />
<content type="html">
&lt;p&gt;

The Debian installer for QNAP TS-119, TS-219 and TS-219P devices (based
on Marvell&apos;s 1.2 GHz Kirkwood chip) is now available, together with &lt;a
href = &quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-219/&quot;&gt;installation
instructions&lt;/a&gt;.  The installer is still under development and it will
install Debian testing, which is also under development.  However, I
think it&apos;s working pretty well.  If you try the installer, please send
me feedback.

&lt;/p&gt;

&lt;!-- time: 2009-10-10 23:11:13 +0100 --&gt;

</content>
</entry>

<entry>
<title type="html">Fan control on the D-Link DNS-323</title>
<category term="/debian/orion/d-link/dns-323" />
<id>http://www.cyrius.com/journal/2009/06/06/#dns-323-fan-control</id>
<updated>2009-06-06T12:52:14+01:00</updated>
<published>2009-06-06T12:52:14+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/d-link/dns-323/dns-323-fan-control" />
<content type="html">
&lt;p&gt;

The kernel in Debian doesn&apos;t have support for the fan control chip on
the D-Link DNS-323.  Since some people said that their device runs quite
hot after installing Debian, I&apos;ve prepared a 2.6.29 based kernel that
includes the fan driver.

&lt;/p&gt;

&lt;p&gt;

If you want to install this kernel, edit the file
&lt;tt&gt;/etc/apt/sources.list&lt;/tt&gt; and add the following line:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
deb http://people.debian.org/~tbm/orion lenny main
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Now you can install the new kernel:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
apt-get update
apt-get install linux-image-orion5x
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

After a reboot, you can control the fan this way:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
echo   0 &amp;gt; /sys/class/hwmon/hwmon?/device/pwm1  # turn it off
echo 255 &amp;gt; /sys/class/hwmon/hwmon?/device/pwm1  # turn it to full speed
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Any values between 0 and 255 will work.

&lt;/p&gt;

&lt;p&gt;

According to Anselmo Luginbuhl, you should also be able to use the
&lt;tt&gt;lm-sensors&lt;/tt&gt; package to automatically control the fan:

&lt;/p&gt;

&lt;p&gt;

&quot;Execute pwmconfig, it will make some tests and generate the fancontrol
config file.  At the end of the procedure it will ask you to &quot;Select fan
output to configure, or other action:&quot;, just be sure to pass through
choice &quot;1&quot; or it would not fill in the configuration file, save the
configuration and start the daemon /etc/init.d/fancontrol.

&lt;/p&gt;

&lt;p&gt;

Probably the only thing that needs some attention to get an optimal
result is to choose the right parameters for max and min temperature at
which the fan should start or stop to minimize the °C and the noise.&quot;

&lt;/p&gt;

&lt;p&gt;

Finally, this kernel also includes some performance patches from
Marvell, so you might see some performance increases too.

&lt;/p&gt;

&lt;!-- time: 2009-06-06 14:52:14 +0200 --&gt;

</content>
</entry>

<entry>
<title type="html">Corporate participation in open source communities</title>
<category term="/fossbazaar" />
<id>http://www.cyrius.com/journal/2009/06/05/#corporate-community-participation</id>
<updated>2009-06-05T09:10:58+01:00</updated>
<published>2009-06-05T09:10:58+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/fossbazaar/corporate-community-participation" />
<content type="html">
&lt;p&gt;

Someone recently asked me a few question about corporate participation
in open source communities and I thought I&apos;d share my thoughts on this
topic here.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;Are there differences between an open source project done for a
corporation and one done for personal reasons?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

There are many different ways to run an open source project, led by a
corporation or by someone else.  Some projects that are run by
corporations have few outside contributors.  This is often the case with
projects that require copyright assignment (i.e. contributors have to
assign their copyright to the corporation).  These projects may not gain
all the benefits of a true open source community, such as outside
contributions or high levels of peer review.  However, they may still be
very successful projects and may have high levels of quality.

&lt;/p&gt;

&lt;p&gt;

Projects done by a corporation may have better planning and may have
more resources than other projects.  When a corporation, especially a
large one, starts or becomes involves in a project it can also give
credibility to the project and attract a lot of interest to the project.
This means that projects done by corporations may have a bigger impact
and might also be more visible in terms of publicity.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;How do corporations successfully utilize an open source
community?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

Corporations can benefit from an open source community in many ways.
For example, they can often find people who will review their code or
make code contributions.  If people become excited about what the
corporation does, they might also spread the word and create viral
marketing for the corporation.  Establishing a community around one&apos;s
project is often also a good way to identify people to hire since you
already have experience working with them and know their capabilities.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;How do open source communities successfully utilize their corporate
relationships?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

Corporations can make several unique contributions.  For example, large
corporations can use their name to attract attention to a project and
give it credibility.  Furthermore, corporations have some capabilities
that personal contributors often don&apos;t have access.  They may have
special testing equipment (such as servers with thousands of CPUs or
hard drives) or access to a testing lab where a professional usability
test can be done.  Finally, corporations can sponsor developer
conferences, which are typically very effective means for the community
to come together and work on activities together.

&lt;/p&gt;

&lt;p&gt;

It is important for projects to remember that corporations are not
charities and that they will invest in an open source project for a
reason.  Therefore, they have to ensure that the corporation will get
tangible outcomes from their involvement or sponsorship, otherwise they
may not stay involved in the long run.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;What are the risks for a corporation when working with an open
source community?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

One risk is that the code (or other form of contribution) is not
accepted.  However, this is a risk any contributor to a project faces.
Before making any sort of contribution, it is therefore important to
become familiar with the project and its culture.  Every project has
their own &quot;do&apos;s&quot; and &quot;don&apos;ts&quot; that have to be followed.

&lt;/p&gt;

&lt;p&gt;

Another risk is that a corporation will invest in a community project
that later on is abandoned by the community.  However, in this case, the
corporation could take the lead and continue to maintain the project.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;What are the risks for an open source community when working with a
corporation?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

One potential risk is that the corporation will assert too much control
over the project.  It&apos;s important for projects to ensure that the
community as a whole has influence over the direction of a project
rather than one particular player.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;Are certain certifications needed in order for someone
to participate in open source projects for a corporation?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

Certifications are not needed to get involved in or start a project.
However, it is important to become familiar with the open source
community and the project one wants to contribute to.  A good first step
is to read the book Producing Open Source Software by Karl Fogel which
is &lt;a href = &quot;http://producingoss.com/&quot;&gt;available online&lt;/a&gt;.  As a next
step, the community in which someone wants to get involved in should be
studied, for example by reading the mailing list archives.  This will
help to become familiar with the culture of a project as well as the
mechanisms to contribute to the project.

&lt;/p&gt;

&lt;p&gt;

&lt;em&gt;How do open source communities communicate and collaborate with
corporations?&lt;/em&gt;

&lt;/p&gt;

&lt;p&gt;

In the best case, employees from corporations would interact in the
project like any other contributor.  That is, they should use the
existing communication channels, such as mailing lists, IRC or developer
gatherings.  Many companies are good at working &quot;with the community&quot; but
the ideal scenario is for a company to be part of the community and to
work &quot;in the community&quot;, just like other contributors.  This is the most
effective way for them to make changes to the code and project.

&lt;/p&gt;

&lt;p&gt;

Of course, not every corporation will get involved in a project
directly.  That&apos;s why it makes sense for projects to collaborate with
corporations in other ways.  For example, projects can talk directly to
companies to get samples of their hardware in order to add support for
them in their software.  Projects can also work directly with
corporations to find out how their project can better meet the needs of
enterprise users.

&lt;/p&gt;

&lt;!-- time: 2009-06-05 11:10:58 +0200 --&gt;

</content>
</entry>

<entry>
<title type="html">Initial thoughts on the new QNAP TS-219P</title>
<category term="/debian/kirkwood/qnap" />
<id>http://www.cyrius.com/journal/2009/05/31/#ts-219p-initial-thoughts</id>
<updated>2009-05-31T20:22:22+01:00</updated>
<published>2009-05-31T20:22:22+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-219p-initial-thoughts" />
<content type="html">
&lt;p&gt;

&lt;img src=&quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-219/images/r_ts219p.jpg&quot;
 alt=&quot;QNAP TS-219P&quot; class=&quot;right&quot; width=&quot;148&quot; height=&quot;188&quot; /&gt;

QNAP has announced a new device earlier this month, the QNAP TS-219P.  The
specs are very similar to the TS-219 (1.2 GHz Kirkwood CPU, 512 MB RAM and
16 MB flash) but the device is smaller and has some other advantages.

&lt;/p&gt;

&lt;p&gt;

What I like about the new TS-219P:

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The device is more compact and looks really nice.&lt;/li&gt;

&lt;li&gt;The fan is less noisy than the one in the TS-209 and TS-219.&lt;/li&gt;

&lt;li&gt;There are two eSATA ports.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

What I don&apos;t like so much:

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;The device only has one Ethernet.  I&apos;d really like to see two Ethernet
ports.&lt;/li&gt;

&lt;li&gt;The serial connector cannot easily be accessed through the SATA slot,
something that was possible with the TS-209.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

Since the TS-219 and TS-219P are quite similar, Debian and the installer
will work without any problems.  I updated &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-219/&quot;&gt;my QNAP page to
document the QNAP TS-219P&lt;/a&gt;, including some pictures of the new device.

&lt;/p&gt;

&lt;!-- time: 2009-05-31 22:22:22 +0200 --&gt;

</content>
</entry>

<entry>
<title type="html">SheevaPlug lenny tar ball and SD cards</title>
<category term="/debian/kirkwood/sheevaplug" />
<id>http://www.cyrius.com/journal/2009/05/19/#tar-ball-sd-card</id>
<updated>2009-05-19T20:15:08+01:00</updated>
<published>2009-05-19T20:15:08+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/tar-ball-sd-card" />
<content type="html">
&lt;p&gt;

I updated my &lt;a href =
&quot;http://www.cyrius.com/debian/kirkwood/sheevaplug/&quot;&gt;SheevaPlug installation
instructions&lt;/a&gt; today to document how to boot from an SD card.  The u-boot
boot loader shipped with the SheevaPlug doesn&apos;t have SD/MMC card support,
but &lt;a href = &quot;http://openplug.org/plugforum/&quot;&gt;PlugComputer forum&lt;/a&gt; user
&lt;tt&gt;kwonsk&lt;/tt&gt; created one that does (and which works pretty well, except
for not working with some SD cards).

&lt;/p&gt;

&lt;!-- time: 2009-05-19 22:15:08 +0200 --&gt;

</content>
</entry>

<entry>
<title type="html">First successful installation on QNAP TS-219</title>
<category term="/debian/kirkwood/qnap" />
<id>http://www.cyrius.com/journal/2009/05/19/#ts-219-successful-install</id>
<updated>2009-05-19T20:08:26+01:00</updated>
<published>2009-05-19T20:08:26+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-219-successful-install" />
<content type="html">
&lt;p&gt;

I performed the first successful installation of Debian on the QNAP
TS-219 using the Debian installer today.   Everything is in place now
but the Linux 2.6.29 kernel has to move to testing so installations will
work.

&lt;/p&gt;

&lt;!-- time: 2009-05-19 22:08:26 +0200 --&gt;

</content>
</entry>

<entry>
<title type="html">Automatic power on QNAP Turbo Station devices</title>
<category term="/debian/orion/qnap" />
<id>http://www.cyrius.com/journal/2009/05/16/#automatic-power-on</id>
<updated>2009-05-16T09:01:53+01:00</updated>
<published>2009-05-16T09:01:53+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/qnap/automatic-power-on" />
<content type="html">
&lt;p&gt;

All ARM based QNAP machines can turn on automatically when power is
applied if the device was not powered down correctly.  This is helpful
when your power goes down.  Follow the instructions below if you want to
turn automatic power on using Debian on a QNAP TS-109, TS-119, TS-209,
TS-219, TS-409 or TS-409U.

&lt;/p&gt;

&lt;p&gt;

Edit the file &lt;tt&gt;/etc/apt/sources.list&lt;/tt&gt; and add the following line:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
deb http://people.debian.org/~tbm/orion lenny main
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Now install a new version of qcontrol:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
apt-get update
apt-get install qcontrol
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;

Finally, turn the automatic power feature on:

&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;pre&gt;
qcontrol -d &amp;amp;
qcontrol autopower on
kill %1
rm /var/run/qcontrol.sock
&lt;/pre&gt;
&lt;/div&gt;

&lt;!-- time: 2009-05-16 11:01:53 +0200 --&gt;

</content>
</entry>

<entry>
<title type="html">Update on QNAP TS-119/TS-219 kernel support</title>
<category term="/debian/kirkwood/qnap" />
<id>http://www.cyrius.com/journal/2009/05/13/#ts-219-kernel-support2</id>
<updated>2009-05-13T17:44:10+01:00</updated>
<published>2009-05-13T17:44:10+01:00</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-219-kernel-support2" />
<content type="html">
&lt;p&gt;

I mentioned a few weeks ago that initial kernel support for the QNAP
TS-119 and TS-219 Turbo NAS got accepted for 2.6.30 but that there were
&lt;a href =
&quot;http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-219-kernel-support&quot;&gt;some
issues left&lt;/a&gt;.  Here&apos;s an update:

&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;SATA: Kirkwood uses a different SATA PHY and the Orion settings
weren&apos;t quite right, leading to the timeouts I saw.  As it turns out,
Saeed Bishara from Marvell had a patch for this already and it will be
in 2.6.30-rc6.&lt;/li&gt;

&lt;li&gt;Flash: writing to flash is now possible thanks to a patch from Peter
Horton that has been merged into 2.6.30-rc5.&lt;/li&gt;

&lt;li&gt;Parsing the MAC address: Thomas Reitmayr created a patch to parse
the MAC address from flash but the kernel people thought this should be
done in userspace.  I haven&apos;t looked into this yet... maybe the best
solution is to document that the MAC address will change.&lt;/li&gt;

&lt;li&gt;SATA lights: Thomas Reitmayr created a patch to fix this issue.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;

The SATA and flash fixes are already in our 2.6.29 kernel.

&lt;/p&gt;

&lt;!-- time: 2009-05-13 19:44:10 +0200 --&gt;

</content>
</entry>
</feed>
