It’s now been a while since I installed the 3.1.0-1 kernel from sid and made some testing. But I don’t like the LED beeing solid green during boot, I want to see whats going on. Thats why I decided to compile 3.1.10 with heartbeat from this erlier article: Dockstar: new Kernel 2.6.38 ready to use. The config is based on sid’s 3.1.0-1, if you want to take a look at it, you will find it here: config-3.1.10-dockstar-shyd_1.2 It supports several devices like wifi, webcam, audio or dvb.

Some of you might ask why I didn’t build 3.2.1. I did, but it wouldn’t boot.

If you know what you are doing you are ready to download and install the kernel. I am not responsible for any malfunctions or damages on your device!

I assume that you already set the arcNumber to 2998 to make the kernel identify the dockstar as a dockstar. You can install it as follows:

cd /tmp
wget http://dev.shyd.de/dockstar/linux-image-3.1.10-dockstar-shyd_1.2_armel.deb
dpkg -i linux-image-3.1.10-dockstar-shyd_1.2_armel.deb

cd /boot
/usr/bin/mkimage -A arm -O linux -T kernel  -C none -a 0x00008000 -e 0x00008000 -n Linux-3.1.10 -d /boot/vmlinuz-3.1.10-dockstar-shyd /boot/uImage

/usr/bin/mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d /boot/initrd.img-3.1.10-dockstar-shyd /boot/uInitrd

You can leave the arcNumber untouched. In this case the LED will go off once the kernel has been loaded.

Once the device booted up again log in and check the output of uname -r:

uname -r
3.1.10-dockstar-shyd

Update 13.02.2012: Proper LED Setup

To make the LED “know what to do” you have to edit two files:

add to /etc/rc.local

echo default-on > /sys/class/leds/dockstar\:green\:health/trigger
echo none       > /sys/class/leds/dockstar\:orange\:misc/trigger

and in /etc/init.d/halt find

log_action_msg "Will now halt"
halt -d -f $netdown $poweroff $hddown

add after

echo none > /sys/class/leds/dockstar\:green\:health/trigger

to set it off, when the system halts.

Update 03.03.2012: added Goflex support

Some of you asked if my kernel supports the Goflex Net and Goflex Home - now it does! Special thanks to Hubert, who tested it on his Goflex! 👍 You can install the kernel on the dockstar as described above. On the goflex you need this deb:

cd /tmp
wget http://dev.shyd.de/dockstar/linux-image-3.1.10-dockstar-goflex-shyd_1.1_armel.deb
dpkg -i linux-image-3.1.10-dockstar-goflex-shyd_1.1_armel.deb

cd /boot
/usr/bin/mkimage -A arm -O linux -T kernel  -C none -a 0x00008000 -e 0x00008000 -n Linux-3.1.10 -d /boot/vmlinuz-3.1.10-dockstar-goflex-shyd /boot/uImage

/usr/bin/mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d /boot/initrd.img-3.1.10-dockstar-goflex-shyd /boot/uInitrd

The LEDs of the Goflex Home are called:

status:green:health
status:orange:fault
status:white:misc

…and for the Goflex Net:

status:green:health
status:orange:fault
status:white:left0
status:white:left1
status:white:left2
status:white:left3
status:white:right0
status:white:right1
status:white:right2
status:white:right3

Once the device booted up again log in and check the output of uname -r:

uname -r
3.1.10-dockstar-goflex-shyd