Cross-compiling 2.6.26-1-ixp4xx - Debian

This is a discussion on Cross-compiling 2.6.26-1-ixp4xx - Debian ; Hi all, I have quite some problems recompiling the kernel 2.6.26-1 for my NSLU2. What I did: 1) apt-get source linux-2.6.26-1 2) apply some simple patch to USB host code 3) cp /boot/config-2.6.26-1-ixp4xx .config (in kernel source root) 4) make-kpkg ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Cross-compiling 2.6.26-1-ixp4xx

  1. Cross-compiling 2.6.26-1-ixp4xx

    Hi all,

    I have quite some problems recompiling the kernel 2.6.26-1 for my NSLU2.
    What I did:
    1) apt-get source linux-2.6.26-1
    2) apply some simple patch to USB host code
    3) cp /boot/config-2.6.26-1-ixp4xx .config (in kernel source root)
    4) make-kpkg --initrd linux-kernel
    5) install the package

    Then I rebooted the NSLU2, and it was bricked. Of course, recovering
    is really easy, but what did I do wrong?
    And how can I use cross-compiling so that kernel compiling does not
    take three days on the sloooow IXP4xx?

    Thanks,
    Marco


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: Cross-compiling 2.6.26-1-ixp4xx

    * Marco Schuster [2008-10-26 19:38]:
    > What I did:
    > 1) apt-get source linux-2.6.26-1
    > 2) apply some simple patch to USB host code
    > 3) cp /boot/config-2.6.26-1-ixp4xx .config (in kernel source root)
    > 4) make-kpkg --initrd linux-kernel


    I'd recommend the method described at
    http://www.nslu2-linux.org/wiki/Debian/BuildImage (although it may
    need some small changes for 2.6.26).

    > And how can I use cross-compiling so that kernel compiling does not
    > take three days on the sloooow IXP4xx?


    The cross compiler from Emdebian works for me. Add
    deb http://www.emdebian.org/debian/ unstable main
    and install:
    apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.1-arm-linux-gnueabi
    (this is for armel).

    --
    Martin Michlmayr
    http://www.cyrius.com/


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread