studying my hobby


Dockstar: new Kernel 2.6.38 ready to use

(4 votes, average: 5.00 out of 5)

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)

You will find the .default_trigger in the struct-array static struct gpio_led dockstar_led_pins[]

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!

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:

If you encounter problems or get in trouble feel free to make a comment, it's not the 1000th kernel I built yet.

Tagged as: | 11,298 views Leave a comment
  • Peter

    Nice work with you kernel.
    No problem to get it up and running.

    Recently I’ve been playing with the I2C interface but it stopped working after I upgraded to your kernel

    Looked through your kernel config and I can see that you have enabled the onchip I2C driver

    “root@debian:# i2cdetect -l”
    ..shows nothing
    It should read..
    “i2c-0 i2c mv64xxx_i2c adapter I2C adapter”

    Hope you can find what’s missing.


    • shyd

      thanks so far! I didn’t play around with i2c yet. But I think it doesn’t work because of:
      # CONFIG_I2C_GPIO is not set
      # CONFIG_I2C_OCORES is not set
      If I have some time I will rebuild the 2.6.38 for you with enabled i2c support.

  • la_tristesse

    While installing the kernel I got:

    ” Hmm. There is a symbolic link /lib/modules/2.6.38-dockstar-shyd/build
    However, I can not read it: No such file or directory
    Therefore, I am deleting /lib/modules/2.6.38-dockstar-shyd/build

    Hmm. The package shipped with a symbolic link /lib/modules/2.6.38-dockstar-shyd/source
    However, I can not read the target: No such file or directory
    Therefore, I am deleting /lib/modules/2.6.38-dockstar-shyd/source”

    And when doing “/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”

    I got:

    “/usr/bin/mkimage: Can’t open /boot/initrd.img-2.6.38-dockstar-shyd: No such file or directory”

    Any suggestions? Regards.

    • shyd

      That’s weird, I never got such errors.
      1. What distro are you running?
      2. What kernel are you coming from?
      3. Did you cd to /boot before running mkimage?

    • just for information, I have the same problem.
      The solution:
      1/ chroot in the debian over the isb key (for me)
      2/ apt-get install initramfs-tools (and dependances if necessary)
      3/ reinstall linux-image-2.6.38-dockstar-shyd_1.1_armel.deb

      and that’s good :)

      • shyd

        Thanks for the hint!

  • la_tristesse

    1. cat /proc/version:
    (gcc version 4.4.5 (Debian 4.4.5-2) )
    2. uname -r: from gorgone
    3. Sure I did.

    I need the new kernel because it supports the new native instruments midi controller S4 (see;a=commitdiff;h=15c5ab607045e278ebf4d2ca4aea2250617d50ca)

    I’m clueless.

    • shyd

      1. this looks weird, try lsb_release -a This is my output:
      Distributor ID: Debian
      Description: Debian GNU/Linux 6.0.1 (squeeze)
      Release: 6.0.1
      Codename: squeeze
      2., 3. same I did

      I haven’t tested this kernel on other systems than squeeze. Make sure your distro is up to date.

  • la_tristesse

    Same for me:

    Distributor ID: Debian
    Description: Debian GNU/Linux 6.0.1 (squeeze)
    Release: 6.0.1
    Codename: squeeze

    Strange …

  • kuduku

    Does it have Realtek 8188SU WIFI drivers ?

    • shyd

      They are not enabled explicitly. So the modules haven’t been built.

  • kuduku

    thanks anyways
    i wanted them enabled

    • shyd

      Well, I am planning to rebuild it in some days. I will regard your request.

  • it’s me (again)
    the cpmmand: fw_setenv arcNumber 2998
    as no effect on my dockstar… Very strange… Google is my friend
    The final command for me is: blparam arcNumber=2998
    And now, my dockstar reboot fine, dhcpd on my pc send , nmap scan well the dock, but no sshserver in the dockstar. Problem with config or not? I search…

  • I test this kernel.
    1 bug in the install: no link for /initrd.img and /vmlinuz
    I created the links by hand
    And after reboot, it’s ok.

  • freeser

    Hi there,

    Any chance of getting a link for sources/headers. I’m using ur kernel and need to setup a logitech webcam (got the module sources but need to compile)


  • JJHans

    Hi, thank you. Iam new to kernel switching. I want to ask, if you can help me to use your kernel to work with my webcam “Bus 001 Device 004: ID 041e:4061 Creative Technology, Ltd Live! Cam Notebook Pro [VF0400]”.
    lsmod told me, that your kernel dont have v4l1/2 modules. how can i add them? thats all new to me O_o
    Maybe a short hint will help me out.

    • shyd

      Hi, you are right, these modules are not there and I dont’t know how to include them in 2.6.38.
      But currently I am testing 3.0.1 on my 2nd dockstar and everything is working so far. Wifi, webcam, usb-sound…

  • Adam


    I’m bit confused with this LED stuff, do I need to have “special” version of kernel to have these LEDs working ? – I’m asking because in this first note from Jeff looks like it’s already there:,524

    “Note: Newer Debian kernels include support for the Dockstar LED. Make sure you’re running a newer uBoot and set arcNumber to 2998. ”

    Where/how I can set that value ?

    Is it possible to set the LED to be – let’s say solid red – from the very beginning when device is starting, even before the kernel starts ?


    • shyd

      that’s right, the current kernel supports the LED, when the arcNumber is set to 2998. To set it just boot into pogoplug and execute fw_setenv arcNumber 2998
      You won’t be able to set it red, just green and orange, both in heartbeat and solid.
      I don’t have any idea about setting it in uboot. But to set the “kernel is loading”-behavior, you have to compile it as described above.

      • Adam

        Actually I was able to turn the LEDs in blinking mode using standard Debian kernel version:

        Linux nas 2.6.32-5-kirkwood #1 Tue Mar 8 10:56:14 UTC 2011 armv5tel GNU/Linux

        here are my scripts – name are quite self explanatory:)
        echo none > /sys/class/leds/dockstar\:orange\:misc/trigger
        echo none > /sys/class/leds/dockstar\:green\:health/trigger
        echo timer > /sys/class/leds/dockstar\:green\:health/trigger
        echo 500 > /sys/class/leds/dockstar\:green\:health/delay_on
        echo 500 > /sys/class/leds/dockstar\:green\:health/delay_off
        echo none > /sys/class/leds/dockstar\:green\:health/trigger
        echo none > /sys/class/leds/dockstar\:orange\:misc/trigger
        echo timer > /sys/class/leds/dockstar\:orange\:misc/trigger
        echo 500 > /sys/class/leds/dockstar\:orange\:misc/delay_on
        echo 500 > /sys/class/leds/dockstar\:orange\:misc/delay_off
        echo none > /sys/class/leds/dockstar\:orange\:misc/trigger
        echo none > /sys/class/leds/dockstar\:green\:health/trigger
        echo default-on > /sys/class/leds/dockstar\:orange\:misc/trigger

        • shyd

          Ah yes, I forgot about the timer. Thanks!

  • Adam


    I’ve question in relation to dockstar-setup.c file.

    What I would like to achieve is to have orange blinking all the time (when the uBoot loads, kernel loads, all modules loads) and then change it in rc files to solid green when all will be loaded and system ready to use.

    Would it be possible to change setting in dockstar-setup.c and recompile kernel to get such behaviour or you think something else would need to be changed ?

    • shyd


      all you can do in the dockstar-setup.c about this is already done. What do you mean with “all modules”?
      To change the behavior in uboot you need to recompile uboot. But I didn’t take a look at this yet.