Re: RE: New to list - hx2795b

From: Lukasz Janyst <ljan_at_tuxpowered.net>
Date: Fri, 20 Jul 2007 02:14:46 +0200

Ken Lyons - SplinterFL wrote:
> 2.6.21.5 worked fine for me. -- Lukasz
>
>
> The image I have posted (zImage) is 2.6.13.5 (as stated before,
> out-of-date, but it runs on my Ipaq.
> -- I'm in the processs of setting up OE and a cross-toolchain on my
> laptop...
> Hopefully one of them will work to make a new up-dated kernel. It
> would be nice
> if I could get all the tools on the Ipaq itself, so I could
> compile on it.
> Takes care of all the x86 issues that will prob crop up during
> compile.
>
> Once I aquire new kernel sources, I'll post them on my site for others.
> -- maybe with instructions on how to compile their own kernel, if they
> wish.
> I'm starting with a clean slate.

Hi Ken,

   I'm currently trying to put together more recent versions of gcc
and glibc, namely gcc-4.2.0 and glibc-2.6. There are some problems
however because glibc needs fully functional compiler for build and
my bootstrap gcc doesn't seem to do the job correctly. I managed to
partially build gcc-4.2 and uClibc-0.9.29 but I'm experiencing some
strange issues caused by missing support for hardware floating
operations in uClibc. Unfortunately all documents that can be found on
the net describe the build process for quite old versions of the
tools. I plan to write some howto as soon as I have things up and
running. I'm leaving for some short holidays though, so it'll take some
time.

   The kernel cross-build process doesn't really differ much from the
normal build. You have to put together the toolchain which is a matter
of single command when build with cross-tool. I tested quite a lot of
combinations and gcc-4.1.1 and glibc-2.3.2 seem to build kernel
correctly given that the optimization for size is switched off. When you
have the toolchain ready and the PATH set up correctly you just have to
set up two environment variables:

   export ARCH=arm
   export CROSS_COMPILE=arm-xscale-linux-gnu-

and build the kernel as usual (with make menuconfig, make zImage and so
on).

Cheers,
   Lukasz

Received on Thu Jul 19 2007 - 20:19:55 EDT

This archive was generated by hypermail 2.2.0 : Thu Jul 19 2007 - 20:20:11 EDT