2006-01-27 14:28:27

by Lorne J. Leitman

[permalink] [raw]
Subject: re: patching arm-linux 2.4.18 on sharp zaurus sl-5500

Hello,

Apologies in advance if this is appearing on an inappropriate list!

We are a group of researchers at University of Pittbsurgh trying to
implement an ad-hoc routing protocol on the Sharp Zaurus 5500 pda. Our
network is running the following environment:
-arm-linux kernel 2.4.18-pxa3-embedix-021129
-OpenZaurus 3.5.1

The protocol has been implemented on laptops already, running normal
Linux
OS. Now we want to port it to embedix for the PDA's but we are having
some trouble.

In order to begin our implementation on the PDA's, we need to make use
of
Linux real-time timers. These are part of the POSIX.1b standard, and
are
supposedly present already in the 2.4 kernel. However, they do not seem
to be present in 2.4.18 embedix kernel. Does anyone know of a patch or
module that we can apply to this kernel so we can take advantage of
these
timers?

We also need to leverage the Netfilter portion of the kernel. Again,
netfilter should be part of the 2.4 kernel. There does appear to be an
"kernel-module-ip-tables" installed, but there is no iptables binary in
the userspace. Does anyone know how we can get hold of iptables for
arm-linux?

thanks very much!

--Lorne


2006-01-27 14:38:34

by Erik Mouw

[permalink] [raw]
Subject: Re: patching arm-linux 2.4.18 on sharp zaurus sl-5500

On Fri, Jan 27, 2006 at 09:28:07AM -0500, Lorne J. Leitman wrote:
> We are a group of researchers at University of Pittbsurgh trying to
> implement an ad-hoc routing protocol on the Sharp Zaurus 5500 pda. Our
> network is running the following environment:
> -arm-linux kernel 2.4.18-pxa3-embedix-021129

ncftp /pub/linux/kernel/v2.4 > dir patch-2.4.18.bz2
-rw-rw-r-- 1 536 536 826105 Feb 25 2002 patch-2.4.18.bz2

Any particular reason why you're using a 4 year old kernel?

> -OpenZaurus 3.5.1
>
> The protocol has been implemented on laptops already, running normal
> Linux
> OS. Now we want to port it to embedix for the PDA's but we are having
> some trouble.
>
> In order to begin our implementation on the PDA's, we need to make use
> of
> Linux real-time timers. These are part of the POSIX.1b standard, and
> are
> supposedly present already in the 2.4 kernel. However, they do not seem
> to be present in 2.4.18 embedix kernel. Does anyone know of a patch or
> module that we can apply to this kernel so we can take advantage of
> these
> timers?

The normal reply would be "upgrade to the latest 2.4 kernel". However,
the ARM linux community abandoned support for 2.4 almost immediately
after 2.6 was released, so the correct reply is "upgrade to the latest
2.6 kernel".

> We also need to leverage the Netfilter portion of the kernel. Again,
> netfilter should be part of the 2.4 kernel. There does appear to be an
> "kernel-module-ip-tables" installed, but there is no iptables binary in
> the userspace. Does anyone know how we can get hold of iptables for
> arm-linux?

Compile it yourself, or get a precompiled package from the debian
project.


Erik

--
+-- Erik Mouw -- http://www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

2006-01-27 19:30:38

by Marc Dietrich

[permalink] [raw]
Subject: Re: patching arm-linux 2.4.18 on sharp zaurus sl-5500

Le Friday 27 January 2006 15:38, vous avez ?crit :
> On Fri, Jan 27, 2006 at 09:28:07AM -0500, Lorne J. Leitman wrote:
> > We are a group of researchers at University of Pittbsurgh trying to
> > implement an ad-hoc routing protocol on the Sharp Zaurus 5500 pda. Our
> > network is running the following environment:
> > -arm-linux kernel 2.4.18-pxa3-embedix-021129
>
> ncftp /pub/linux/kernel/v2.4 > dir patch-2.4.18.bz2
> -rw-rw-r-- 1 536 536 826105 Feb 25 2002
> patch-2.4.18.bz2
>
> Any particular reason why you're using a 4 year old kernel?
>
> > -OpenZaurus 3.5.1

as far as I know, OpenZaurus 3.5.4 is comming soon, but the standard kernel is
still 2.4.18-xyz. The Zaurus 5500 was not ported to newer kernels, because
the implementation from sharp/lineo was just to ugly. Instead a direct 2.6
port was started but not finished up to now (see
http://www.cs.wisc.edu/~lenz/zaurus).
I don't know if netfilter is activated in the OpenZaurus kernels, but you can
build a kernel yourself and activate it (see http://www.openzaurus.org and
http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted for the toolchain and
buildsystem).
Pavel Machek has send some patches recently to lkml for the 2.6 kernel, but I
don't know what the status is right now.

marvin

2006-01-29 15:12:37

by Pavel Machek

[permalink] [raw]
Subject: Re: patching arm-linux 2.4.18 on sharp zaurus sl-5500

Hi!


> > > We are a group of researchers at University of Pittbsurgh trying to
> > > implement an ad-hoc routing protocol on the Sharp Zaurus 5500 pda. Our
> > > network is running the following environment:
> > > -arm-linux kernel 2.4.18-pxa3-embedix-021129
> >
> > ncftp /pub/linux/kernel/v2.4 > dir patch-2.4.18.bz2
> > -rw-rw-r-- 1 536 536 826105 Feb 25 2002
> > patch-2.4.18.bz2
> >
> > Any particular reason why you're using a 4 year old kernel?
> >
> > > -OpenZaurus 3.5.1
>
> as far as I know, OpenZaurus 3.5.4 is comming soon, but the standard kernel is
> still 2.4.18-xyz. The Zaurus 5500 was not ported to newer kernels, because
> the implementation from sharp/lineo was just to ugly. Instead a direct 2.6
> port was started but not finished up to now (see
> http://www.cs.wisc.edu/~lenz/zaurus).

Actually we are way better now. Latest 2.6 is close to booting on
zaurus, missing pieces are proper mtd support (hacky patch is
available, and proper patch works read-only), touchscreen and battery charging.

> Pavel Machek has send some patches recently to lkml for the 2.6 kernel, but I
> don't know what the status is right now.

Aha :-). I ran out of time, I should have some more time for Zaurus in
3 weeks or so. Extra developers would be nice :-).
Pavel

--
Thanks, Sharp!