Welcome! Log In Create A New Profile

Advanced

GoFlex Home Debian Squeeze Kernel.

Posted by neutronscott 
GoFlex Home Debian Squeeze Kernel.
April 24, 2011 08:35PM
I started with http://packages.debian.org/squeeze/linux-source-2.6.32, add GoFlex patch (from OpenWRT mailing list, probably credits due peaslaker?).

Then, I made the following change in arch/arm/kernel/head-common.S to bypass the need to change bootloader environment.

__lookup_machine_type:
        mov     r1, #0xC00
        orr     r1, r1, #0x11

Forgive me if this is too many instructions, I do not know ARM assembly (yet). ;)

Next, I import the config from /boot/config-2.6.32-5-kirkwood, removed all but the GoFlex platform. Then, I compile with EXTRAVERSION=-5-kirkwood so we can maintain kirkwood modules.

Lastly, I take existing /boot/initrd.img-2.6.32-5-kirkwood and package it with the arch/arm/boot/zImage. The result is a simple kernel.

The result is here: http://wiki.scottn.us/goflex:start#debian

Usage from U-boot prompt is simple:
usb start;ext2load usb 0:1 $(loadaddr) /boot/uMulti;set bootargs console=ttyS0,115200 root=UUID=93f87267-e952-437c-a87a-76712671784f;bootm $(loadaddr)
Fki
Re: GoFlex Home Debian Squeeze Kernel.
April 29, 2011 06:09PM
Thanks for the work you've done !
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: