Kernel Build, native on DockStar
In order to adjust the selection of drivers to include in the Linux kernel, you have to build the kernel by yourself. See here: Howto: Build a new Debian kernel with LED support http://forum.doozan.com/read.php?2,524,page=1
Kernel 18.104.22.168-kirkwood date: 2010-01-22 was the initial kernel
Kernel 22.214.171.124-dockstar date: 2010-08-26 uses the DockStar LED
- Kernel 126.96.36.199.3-dockstar date: 2010-10-26
- fixed contrac sisusbvga(+consoleswitch), ntfs(readonly), hfs hfs+ support
- usbgadgets added, automount fixed, add i2c code
new kernel package ready to use, from gorgone http://forum.doozan.com/read.php?2,582,page=1
at least from kernel 2.6.34 on, in /boot an uInitrd (initial Ram Disk) is no longer needed. The config file for download on page 6.
Andreas posted infos to the long term kernel 3.0 http://geekparadise.de/dockstar-kernel/
Ubuntu 12.04 uses for the Long Term Edition kernel 3.2.0.
At the moment it is not clear which newer kernel is good supported (2012-08-29).
In the forum, 2012-07-14 a new install script is posted from Jeff.
See Debian wiki. It is a development version with long term kernel 3.2.
- You need to read the whole thread to avoid pitfalls!
- $ uname -a
- Linux dockstar 3.3.2-kirkwood-dg #1 Mon Apr 23 17:09:27 CDT 2012 armv5tel GNU/Linux
But you need a new uboot
But you need a new Rescue system V2/3
It looks like to better not use it now for the Dockstar (2012-08-29).
In order to have no need to patch a standard kernel for a little deviation, like the LED support for the DockStar, you can register an arc number at http://www.arm.linux.org.uk/developer/machines/.
The arc number for the DockStar is 2998.
A more detailed description of the arc number is at http://www.plugcomputer.org/plugwiki/index.php/ArcNumber. This arc number must be set in the boot loader.
10/23 - New uBoot - GoFlex Net support + new 'arcNumber' variable from Jeff
http://forum.doozan.com/read.php?3,1893,1893,quote=1 This variable is the first step in moving toward using proper machine IDs. However, the machine ID specified in uBoot also needs to be supported by the kernel that you're using. Since there are still a lot of kernels out there that have Sheevaplug support but not Dockstar or GoFlex support, the installer will continue to use the Sheevaplug ID.
If you're running a kernel that supports your device, you should set the proper machine ID by running 'fw_setenv arcNumber 2998' (on a Dockstar/Pogoplug) or 'fw_setenv arcNumber 3089' (on a GoFlex) and rebooting.
arcNumber 2097 = Marvell SheevaPlug root@FADS90:~# fw_printenv bootcmd=run bootcmd_usb; usb stop; run bootcmd_pogo; reset bootdelay=3 baudrate=115200 preboot= arcNumber=2097 mainlineLinux=yes console=ttyS0,115200 usb_init=usb start usb_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 bootcmd_pogo=fsload uboot-original-mtd0.kwb; go 0x800200 usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi; set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot; led_init=green blinking led_exit=green off led_error=orange blinking stdin=serial stdout=serial stderr=serial ethact=egiga0 ethaddr=00:10:75:1A:CE:70
In order to change the arcNumber to DockStar do the following:
$ sudo fw_setenv arcNumber 2998
Getting the Source Code
The source code can be found: http://www.kernel.org/pub/linux/kernel/v2.6/linux-188.8.131.52.tar.bz2 (66 MB)
Version 184.108.40.206 is from 2010-11-22. Because Version 2.6.36 is out by 2010-10-20, it can be assumed that version 220.127.116.11 should be stable.
Setup for compiling
Native compiling on the DockStar does also work now, about 2.5 hours total.
apt-get install git-core debhelper build-essential fakeroot kernel-wedge uboot-mkimage additional apt-get install libncurses5-dev # for make menuconfig
List of pages in this category:
-- RudolfReuter 2010-12-06 19:07:10