Author Topic: pdaxrom and kernels  (Read 3247 times)

iczer1dragon

  • Newbie
  • *
  • Posts: 5
    • View Profile
pdaxrom and kernels
« on: May 23, 2004, 09:11:11 am »
Dear Sir(s),

Is it possible to compile a new kernel (like 2.6.x series) and use
it withe the pdaxrom ?

BR,

Felix Leung.

jabbath

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://
pdaxrom and kernels
« Reply #1 on: May 23, 2004, 09:34:43 am »
Hi!
Yes, generally it is possible to compile a new kernel and use it with the pdaXrom.
You should take care of things, pdaXrom needs (such as graphicscard support, fbsupport etc.)
The bad thing is, the 2.6 kernel isn\'t ported to ARM, so you just can recompile a 2.4.x kernel (look at http://www.arm.linux.org.uk)

grusz, jabbath
Laptop: HP NX9005 Debian GNU/Linux sid
Zaurus:C760 pdaXrom - ASUS WL-110 - 256MB SD

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
pdaxrom and kernels
« Reply #2 on: May 23, 2004, 09:52:57 am »
Quote
Is it possible to compile a new kernel (like 2.6.x series) and use
it withe the pdaxrom ?


Well, in reality there are tons of Zaurus-specific patches and hacks applied to the Zaurus kernel (the so called embedix patch), so you have to stick to 2.4.18-rmk7-pxa3-embedix, for C860 (newest version), with the pdaXrom patches. But you have a fine choice of modifying and recompiling it.

Switching to another 2.4 looks quite hard, switching to 2.6 looks totally unreal.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaxrom and kernels
« Reply #3 on: May 23, 2004, 11:23:57 am »
Quote
Switching to another 2.4 looks quite hard, switching to 2.6 looks totally unreal.


You should start reading the openzaurus-devel mailing list. Progress has been made, more volunteers required as ever.


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

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
pdaxrom and kernels
« Reply #4 on: May 23, 2004, 12:16:21 pm »
Hi.

The main problem of switching to a new kernel is the SD driver I think.

We have no source available so every kernel need to be compatible and compiled with the available SD binary object (thanks to SD consortium and its closed source politics and thanks to all users who always ask for SD closed source driver support).

I heard about change in this area. Lardman, are there news about the SD drivers?

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
pdaxrom and kernels
« Reply #5 on: May 23, 2004, 12:37:33 pm »
Quote
Hi.

The main problem of switching to a new kernel is the SD driver I think.


I\'m not really up on this, but..  couldn\'t it be possible to disassemble the module into an assembly language source (using IdaPro or some other such tool), include it in the kernel build, and at least make an effort to keep it up to date?

Yes, it\'s much worse than a true open source driver, but it could work...

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
pdaxrom and kernels
« Reply #6 on: May 23, 2004, 02:09:56 pm »
Quote
Quote
Switching to another 2.4 looks quite hard, switching to 2.6 looks totally unreal.


You should start reading the openzaurus-devel mailing list. Progress has been made, more volunteers required as ever.


Si


I haven\'t said \'impossible\' after all

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaxrom and kernels
« Reply #7 on: May 23, 2004, 04:37:22 pm »
Ah, but unreal is close enough for me ;-)

Try a search (or even a browse) here: http://sourceforge.net/mailarchive/forum.p...penzaurus-devel


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

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
pdaxrom and kernels
« Reply #8 on: May 23, 2004, 06:01:20 pm »
jabbath, the 2.6 kernel have buildin support for ARM device. Certainly not all Zaurus hardware are included but most ARM processors are supported  (StrongARM and PXA too) and a a few ARM device will work out of the box.

decompress a standard kernel tar.gz source and type in the linux directory:

  make ARCH=arm xconfig

What is missing is driver like DRI for the Zaurus ATI video card, ...

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
pdaxrom and kernels
« Reply #9 on: May 24, 2004, 06:02:14 am »
Quote
Ah, but unreal is close enough for me ;-)

Try a search (or even a browse) here: http://sourceforge.net/mailarchive/forum.p...penzaurus-devel


Si


Wow, that\'s great, I thought they were still playing with 2.4.x... Looks promising, thanks for information!

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
pdaxrom and kernels
« Reply #10 on: May 24, 2004, 06:18:43 am »
Quote
Quote
The main problem of switching to a new kernel is the SD driver I think.


I\'m not really up on this, but..  couldn\'t it be possible to disassemble the module into an assembly language source (using IdaPro or some other such tool), include it in the kernel build, and at least make an effort to keep it up to date?

Yes, it\'s much worse than a true open source driver, but it could work...


It would be illegal anyway, at least in some countries like US. For instance, SD has a DRM support, and DRM is much about DMCA, and all that stuff. After all, Sharp had to sign an NDA to work on it. I guess the only option now is for Sharp to bless every major flavor of the kernel by adopting and compiling that driver by themselves.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
pdaxrom and kernels
« Reply #11 on: May 24, 2004, 08:15:50 am »
Yes, there are two persons working on kernel 2.6 and submitting stuff upstream so that the embedix/mainstream divergence will be reduced.
There\'s still need for many more though, because as you probably can imagine, the embedix patch is 1.) huge, 2.) of pretty low quality and 3.) covers more different devices than the people have, so... if you want to see kernel 2.6 on your Zaurus, start making that happen

Mickey.

P.S. Not having kernel knowledge is not a valid excuse btw., you can always learn, if you really want to.  
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

iczer1dragon

  • Newbie
  • *
  • Posts: 5
    • View Profile
pdaxrom and kernels
« Reply #12 on: May 25, 2004, 12:38:41 pm »
Dear Sir(s),

Sorry for not replying earlier since I live in Hong Kong.
The reason I asked is because I am using  PXA-255 in a company
project and am compiling a linux2.6 kernel for it.
If the kernel is similar I hope I can patch enough from embedix\'s
video and keyboard to get a start. However, I am not sure if
what devices in kernel pdaXrom depend to start boot.

BR,

Felix Leung.