Author Topic: Simpad Kernel Source Needed  (Read 6600 times)

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Simpad Kernel Source Needed
« on: November 21, 2005, 05:04:23 pm »
Hello,

i'm new to this forum and i'm not a  hardcore programmer.
The simpad i own has been reanimated many times.

Respect to guylhem and the other guys who already made a lot of mods to the simpad.

At the moment i try to play around with linux drivers for my simpad.
I'd like to use the 2.4.25-vrs2-pxa1-jpm1 kernel for these purpose.
As far as i know Mickeyl has used this kernel for his 0.9.0-rc1 opie distri (great job!)

Unfortunately i was not able to get a working zImage from 2.4.25-simpad kernel you can find at externe.net.
I used the good old 2.95.3 gcc for that.
Even compiled with gcc 3.3.2 from handhelds it was not possible to boot my simpad.

I also tried to patch the original 2.4.25 and failed because of missing patches.

I'd like to use the 2.95.3 gcc to compile all that stuff.
Could anyone give me a hint how to go on?

Thanks a lot!!!!!
scholbert
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards

fredyd

  • Newbie
  • *
  • Posts: 38
    • View Profile
Simpad Kernel Source Needed
« Reply #1 on: November 22, 2005, 04:46:35 am »
Dear scholbert,
You should pull out openembedded <http://oe.handhelds.org/>.
It contains the latest kernel versions for the simpad (both 2.4 and 2.6), and will build the appropriate cross-compilers for you.

Fred

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Simpad Kernel Source Needed
« Reply #2 on: November 22, 2005, 10:05:50 am »
Hi Fred,

thanks for your advice.
The openembedded environment maybe the best tool to build quite everything,
but it is a full-blown development system too.
Also you need a lot of disk space and computing power.

I'd like to use only a simple cross-toolchain and the kernel sources for my experiments. The other thing is i'd like to carry it around on a memory stick and/or use it inside colinux distribution.

I think it would be complicate to integrate openembedded into colinux, wouldn't it?

So, is there any possibility to get the 2.4.25-vrs2-pxa1-jpm1 as a tarball or at least working patches to modify the original kernel sources?

Otherwise i'd have to buy new hardware and go openembedded.

Thanks a lot so far.

Greets,

scholbert
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Simpad Kernel Source Needed
« Reply #3 on: November 22, 2005, 10:14:42 am »
Download the OE meta data and you can look at the appropriate .bb file to find the urls of the source & pathces and the order in which to apply the patches.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

fredyd

  • Newbie
  • *
  • Posts: 38
    • View Profile
Simpad Kernel Source Needed
« Reply #4 on: November 23, 2005, 04:35:18 am »
Hi, I put an archive with all the
opensimpad kernel patches on my site.
Please take a look at the .bb files to check in which order to apply the patches. You'll also need to download openswan.
If you intend to contribute patches, you should save a copy of the sources with the patches applied but without your modifications, in order to send me a diff afterwards.

You can try the toolchains at ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/ but the one built in OE may include more fixes...

Fred

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Simpad Kernel Source Needed
« Reply #5 on: November 23, 2005, 06:55:14 am »
Hi again,

thanks to lardman for the good advice.
I picked the OE snapshot, extracted the patches with monotone and applied them to kernel.org's standard kernel.

No problem so far, but i have to test the new kernel intensely on my hardware.

Special thanks to fredyd!!
I think there will be a lot of gadget fans around who will find this very useful.

The toolchain from handhelds.org works fine. I put it also in my colinux a few weeks ago. No problem at all.
Depending on the image you use, you might have to upgrade native libc.

I will post my further experiences to this forum if they are useful for the community.

Thanks again,

scholbert
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards

Martin

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Simpad Kernel Source Needed
« Reply #6 on: January 12, 2007, 02:05:27 pm »
Hi :-)

I want to use my serial keyboard with my Simpad ... I found a nice, small howto here ... but have problems with making a new kernel ...

same procedure with crosscompile on my laptop :-( getting to work and not to destroy my other compiling environment ... using gcc 4.x

anybody able to give me some more hint on doing that ... or maybe do it for me ... creating new kernel zimage with newton keyboard patch ?

THX
Martin
« Last Edit: January 12, 2007, 02:08:25 pm by Martin »
--------------------------------------------------------
sl-c860 /w pdaXrom 1.1.0 Kathrin r121
CF 1GB , SD 2GB + 1GB + 512MB , MMC 512MB
Netgear MA701 WLAN 801b
Asus WL-HDD2.5 (very nice thing) /w 60 GB
--------------------------------------------------------
PC/Notebook SuSE 10.1 Prof. / KDE3.5.4
VDR /w KnoppMyth R5C7 (/w Myth 0.19)
--------------------------------------(August 2006)---

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Simpad Kernel Source Needed
« Reply #7 on: January 20, 2007, 02:33:06 pm »
Quote
Hi :-)

I want to use my serial keyboard with my Simpad ... I found a nice, small howto here ... but have problems with making a new kernel ...

same procedure with crosscompile on my laptop :-( getting to work and not to destroy my other compiling environment ... using gcc 4.x

anybody able to give me some more hint on doing that ... or maybe do it for me ... creating new kernel zimage with newton keyboard patch ?

THX
Martin
[div align=\"right\"][a href=\"index.php?act=findpost&pid=150989\"][{POST_SNAPBACK}][/a][/div]

Hi Martin,

there's already a lot of information in this thread. If you use a precompiled toolchain, as mentioned, it is very simple and i don't think you'll harm your distri. Let me point out what i did:

The OE toolchains i used are static and compiled for /usr/local.
If you don't want to use the OE environment (which is very comfortable), grab a snapshot from their toolchain, as i did   .

If you want to avoid any trouble at all with your existing gcc 4.x rename the /usr/local directory to, for example /usr/local_disable and create a new /usr/local directory with the OE toolchain in it. This should be O.K. for kernel and module compilation.

Then you might set the PATH variable to the OE toolchain temporarily in your console window. Get the kernel, apply the patches and compile. It's done.
Afterwards you might tar the OE toolchain and put it where ever you like.

Don't forget to rename your original /usr/local again, so all PATH settings will point at your 4.x toolchain again.

Of course there are a million other and more elegant ways, but this is very simple and without any effects to the host, i suppose. Finally it works for me.
At least the version of your host toolchain should work together with the cross toolchain, for make menuconfig etc.

What is the kernel & gcc version you intend to use?

Regards,

scholbert
« Last Edit: January 20, 2007, 02:34:46 pm by scholbert »
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards