Package: linux-2.6 Version: 2.6.18.dfsg.1-10 Severity: normal Tags: patch User: debian-arm@lists.debian.org Usertags: eabi
The armel architecture is a new port of arm built with an incompatible abi. To generate kernel images for armel, I've based things on the existing arm setup, with these changes: * AFAIK footbridge is not supported for armel. * At least for transitonal purposes, it makes sense to build the armel kernels with support for the arm architecture too, via CONFIG_OABI_COMPAT. This does impose some performance penalty, so may be turned off later. Apply the attached patch as follows: cp -a debian/arch/arm debian/arch/armel rm debian/arch/armel/*footbridge* patch -p1 < armel.patch debian/rules debian/control Note that many files in debian/arch/armel are identical to the ones in debian/arch/arm, and should be changed in parallel going forward. Symlinking the files is also a possibility.. Also note that kernel-package needs to be patched with the patch in bug #410459 before it can build the armel kernel. -- see shy jo
diff -ur --new-file old/linux-2.6-2.6.18.dfsg.1/debian/arch/armel/config linux-2.6-2.6.18.dfsg.1/debian/arch/armel/config --- old/linux-2.6-2.6.18.dfsg.1/debian/arch/armel/config 2007-02-13 16:18:19.000000000 -0500 +++ linux-2.6-2.6.18.dfsg.1/debian/arch/armel/config 2007-02-13 16:08:25.000000000 -0500 @@ -19,4 +19,5 @@ CONFIG_JBD=y # CONFIG_ARCH_REALVIEW is not set CONFIG_TMPFS=y -# CONFIG_AEABI is not set +CONFIG_AEABI=y +CONFIG_OABI_COMPAT=y diff -ur --new-file old/linux-2.6-2.6.18.dfsg.1/debian/arch/armel/defines linux-2.6-2.6.18.dfsg.1/debian/arch/armel/defines --- old/linux-2.6-2.6.18.dfsg.1/debian/arch/armel/defines 2007-02-13 16:18:19.000000000 -0500 +++ linux-2.6-2.6.18.dfsg.1/debian/arch/armel/defines 2007-02-13 16:08:25.000000000 -0500 @@ -1,6 +1,5 @@ [base] flavours: - footbridge iop32x ixp4xx rpc @@ -11,13 +10,6 @@ [image] suggests: fdutils -[footbridge_image] -suggests: nwutil - -[footbridge] -class: Footbridge based -longclass: Footbridge (CATS, Netwinder) - [iop32x] class: IOP32x longclass: IOP32x based (Thecus N2100, etc) diff -ur --new-file old/linux-2.6-2.6.18.dfsg.1/debian/arch/defines linux-2.6-2.6.18.dfsg.1/debian/arch/defines --- old/linux-2.6-2.6.18.dfsg.1/debian/arch/defines 2007-02-13 16:18:19.000000000 -0500 +++ linux-2.6-2.6.18.dfsg.1/debian/arch/defines 2007-02-13 16:08:25.000000000 -0500 @@ -6,6 +6,7 @@ alpha amd64 arm + armel hppa i386 ia64
signature.asc
Description: Digital signature