During the last days I was playing around with several kernel-configs and different release versions. Today a new version came out and I built it with the last config I used. In my build I additionally enabled XFS filesystem support and USB sound. If you install my kernel, you don’t have to change anything except the device ID concerning the LED if you come from gorgone’s heavykernel.
If anybody knows how to build a kernel with gspca drivers for webcam support I would appreciate a short mail!
The kernel’s default LED behavior is solid green every time, that too bad, because I want the heartbeat back. Therefor I edited the source file with hardware specific information: (you only need to do this when compiling on your own)
linux-2.6.38/arch/arm/mach-kirkwood/dockstar-setup.c
You will find the .default_trigger
in the struct-array static struct gpio_led dockstar_led_pins[]
.name = "dockstar:green:health",
.default_trigger = "none", /* default: default-on */
.name = "dockstar:orange:misc",
.default_trigger = "heartbeat", /* default: none */
Note: You need to set the device ID to make the kernel recognize the dockstar as dockstar. If you are going to go back to another kernel that doesn’t support this ID your dockstar wont start unless you change it back to sheevaplug’s ID.
If 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!
cd /tmp
wget http://dev.shyd.de/dockstar/linux-image-2.6.38-dockstar-shyd_1.1_armel.deb
dpkg -i linux-image-2.6.38-dockstar-shyd_1.1_armel.deb
cd /boot
/usr/bin/mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-2.6.38 -d /boot/vmlinuz-2.6.38-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-2.6.38-dockstar-shyd /boot/uInitrd
You can leave the arcNumber
untouched. In this case the LED will go off once the kernel has been loaded.
# 2097=sheevaplug 2998=dockstar
fw_setenv arcNumber 2998
reboot
Once the device booted up again log in and check the output of uname -r
:
uname -r
2.6.38-dockstar-shyd
If you encounter problems or get in trouble feel free to make a comment, it’s not the 1000th kernel I built yet. 📝