Author Topic: How Many Kernel Branches For A Single Device  (Read 7014 times)

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« on: March 15, 2007, 04:18:55 am »
Please help me to understand the current kernel status for Tosa (or other Z breed):

pdaXrom: 2.4.18 and 2.6.xx

OZ: 2.4.18 (old) and 2.6.18

along the line of sharp compatible rom

Cacko: 2.4.18
Tetsu special kernel: 2.4.18
guyhelm: 2.4.18 (a.k.a. common kernel)

for the various 2.4.18 kernels, are most of patches same or equivalent?  Are they all stemming from a common well patched version? Is it worth to dig into each one to find the best patch available or am I wasting my time?
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
How Many Kernel Branches For A Single Device
« Reply #1 on: March 15, 2007, 06:39:35 pm »
As I understand it, it's more the case of which kernel for which machine.

The 760/860 with Sharp ROM (and thus Cacko) came with 2.4.18.

The 6000 had a variant of the 2.4.18 kernel as that model used the Toshiba "companion" chip for video and SD/MMC. That Tosh chip is mostly undocumented (presumably because SD was a secret standard at the time) and remains the stumbling block to getting accelerated video.


The x000 series came from Sharp with 2.4.20.

Older builds of OZ (and a relatively recent one for 6000) used 2.4 but all the recent releases use 2.6

I think stable versions of pdaXrom use 2.4.18 or 2.4.20 (much as Cacko does), but some versions in testing for some hardware use 2.6, but I don't know to be sure. Note that pdaXrom and OZ builds are incompatible because one uses hard float, the other soft float; I can't remember which is which.

Angstrom uses 2.6 (being, I suppose in some ways a fork of OZ) but uses EABI, which makes it completely software incompatible with anything else, but is a much better fit with the Arm architecture and is faster - by how much I don't know!

Please do correct me. Perhaps this should be put in the wiki once all amendments have been done.

-- edit --
found a wiki page had already been started: https://www.oesf.org/index.php?title=Kernels
« Last Edit: March 15, 2007, 06:50:43 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #2 on: March 15, 2007, 09:40:19 pm »
thanks for the reply. Maybe i didn't make myself clear. I understand the legacy 2.4.18 and 2.4.20 kernels are device specific. I also understand the 2.6.x kernels pdaXrom and OZ team are working on probably differ a lot. What I don't understand is  how much the different 2.4.x kernels patches overlap. I'm very keen to the a common 2.4.18 kernel for Tosa (as suggested by guylhem), but I don't know how does that relate to the kernel used by pdaXrom beta1.

In summary, I'm asking what's the relationship, if any, between the different 2.4.18 kernels (more precisely, kernel patches) for Tosa or different 2.4.20 kernels  (more precisely, kernel patches) for 3x00.
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
How Many Kernel Branches For A Single Device
« Reply #3 on: March 15, 2007, 10:08:20 pm »
Quote
thanks for the reply. Maybe i didn't make myself clear. I understand the legacy 2.4.18 and 2.4.20 kernels are device specific. I also understand the 2.6.x kernels pdaXrom and OZ team are working on probably differ a lot. What I don't understand is  how much the different 2.4.x kernels patches overlap. I'm very keen to the a common 2.4.18 kernel for Tosa (as suggested by guylhem), but I don't know how does that relate to the kernel used by pdaXrom beta1.

In summary, I'm asking what's the relationship, if any, between the different 2.4.18 kernels (more precisely, kernel patches) for Tosa or different 2.4.20 kernels  (more precisely, kernel patches) for 3x00.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156470\"][{POST_SNAPBACK}][/a][/div]

anybody that compiled kernels just adds all the relevant patches that they can find at tne time of compile so depending on when the kernels were compiled the number of available patches might have differed and also "relevant" is subjective and depends on the person who compiles the kernel on whether he/she thinks that the patch is needed or not. In addition, there are many options when compiling a kernel and depending on who compiled the kernel, those options may also differ, ie CDROM/DVD support? some may say, the Z dun have no CD drive, thus no, but others may include it since they could foresee a USB host with CD drive....
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #4 on: March 16, 2007, 07:39:40 pm »
Quote
thanks for the reply. Maybe i didn't make myself clear. I understand the legacy 2.4.18 and 2.4.20 kernels are device specific. I also understand the 2.6.x kernels pdaXrom and OZ team are working on probably differ a lot. What I don't understand is  how much the different 2.4.x kernels patches overlap. I'm very keen to the a common 2.4.18 kernel for Tosa (as suggested by guylhem), but I don't know how does that relate to the kernel used by pdaXrom beta1.

In summary, I'm asking what's the relationship, if any, between the different 2.4.18 kernels (more precisely, kernel patches) for Tosa or different 2.4.20 kernels  (more precisely, kernel patches) for 3x00.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156470\"][{POST_SNAPBACK}][/a][/div]

I think you are going to have a problem with the toshiba drivers on 2.4 for Tosa--  they are a big reason to stay with the hardfloat sharprom stuff.  In thinking this over, I wonder if it might not be a better idea for tosa to get some 2.6 kernel sources and start working on a beta4 based stable?  On the x000 clamshells much can be made of 2.4.20 with some pxa 270 optimizations.  None of that is true for tosa. In fact, the easiest route for big sd support is to go 2.6, I think.  Running OZ on my Tosa gave me better speed, and no lack of hardware support that I noticed.(you might want to ask around about that, though)  Maybe going pdaX via 2.6 on Tosa is really the path of least resistance?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
How Many Kernel Branches For A Single Device
« Reply #5 on: March 17, 2007, 06:12:24 pm »
Quote
I think.  Running OZ on my Tosa gave me better speed, and no lack of hardware support that I noticed.(you might want to ask around about that, though)  Maybe going pdaX via 2.6 on Tosa is really the path of least resistance?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156546\"][{POST_SNAPBACK}][/a][/div]

when I last tried OZ with k2.6 on tosa, I got the orange "residue" on the screen when images moved; I think it was a bug in the X11 driver, and was due to be solved - Sharp did some sort of hack in their driver to make it work?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #6 on: March 18, 2007, 05:40:22 pm »
Quote
I think you are going to have a problem with the toshiba drivers on 2.4 for Tosa--  they are a big reason to stay with the hardfloat sharprom stuff.  In thinking this over, I wonder if it might not be a better idea for tosa to get some 2.6 kernel sources and start working on a beta4 based stable?  On the x000 clamshells much can be made of 2.4.20 with some pxa 270 optimizations.  None of that is true for tosa. In fact, the easiest route for big sd support is to go 2.6, I think.  Running OZ on my Tosa gave me better speed, and no lack of hardware support that I noticed.(you might want to ask around about that, though)  Maybe going pdaX via 2.6 on Tosa is really the path of least resistance?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156546\"][{POST_SNAPBACK}][/a][/div]

hrw is working on the 2.6 kernel OZ release. So the 2.6 kernel Tosa is in good hands. I think an updated stable 2.4 kernel Tosa is still valuable. Besides, I have to learn to walk before run. I'm in the stage of collecting different 2.4.x kernel sources now.
« Last Edit: March 18, 2007, 05:41:12 pm by xjqian »
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #7 on: March 20, 2007, 05:26:38 am »
Quote
anybody that compiled kernels just adds all the relevant patches that they can find at tne time of compile so depending on when the kernels were compiled the number of available patches might have differed and also "relevant" is subjective and depends on the person who compiles the kernel on whether he/she thinks that the patch is needed or not. In addition, there are many options when compiling a kernel and depending on who compiled the kernel, those options may also differ, ie CDROM/DVD support? some may say, the Z dun have no CD drive, thus no, but others may include it since they could foresee a USB host with CD drive....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156479\"][{POST_SNAPBACK}][/a][/div]

Thanks for the clear explanation. I read your pdaXii13 page. One thing puzzles me.

Quote
You said you tried Tetsu kernel, which works equally well as the kernel in pdaX beta1/3.
Presumably, the Tetsu kernel is hard float.  The following maybe related as well.
Quote
You've also mentioned kernel/modules has to be built using gcc 2.95.

Does that mean the the kernel/modules are always hard float? The soft float only concerns applications built by gcc 3.4.x with sashz's special patch?
« Last Edit: March 20, 2007, 05:27:10 am by xjqian »
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
How Many Kernel Branches For A Single Device
« Reply #8 on: March 20, 2007, 07:26:58 am »
Quote
Does that mean the the kernel/modules are always hard float? The soft float only concerns applications built by gcc 3.4.x with sashz's special patch?

correct. at least for the 2.4.x kernel stuff
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
How Many Kernel Branches For A Single Device
« Reply #9 on: March 20, 2007, 11:12:12 am »
Tosa with 2.6.17 kernel works very nice. To use newer versions someone need to update Toshiba USB Host driver.

Orange artifacts are common in most of non-Sharp kernels. Someone in OE bugtracker wrote that this is a matter of proper aligning of few structures on each write.

Under 2.6 there is no way to disable USB WiFi port.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #10 on: March 20, 2007, 11:55:50 pm »
the artifacting seems to have become less of an issue, though.  There is still some the last OZ, but not nearly the problem it had been.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #11 on: March 21, 2007, 12:12:22 am »
Quote
correct. at least for the 2.4.x kernel stuff
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156793\"][{POST_SNAPBACK}][/a][/div]
I guess the rationale behind that is to keep compatible with the sharp proprietary SD/MMC driver (please advice if there's anything else)? Since the SD driver seems no longer a problem in 2.6 kernel, does that mean the whole kernel/module could be compiled by soft float enabled gcc? Is this the direction pdaXrom team are heading to?
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #12 on: March 21, 2007, 12:40:29 am »
Quote
Tosa with 2.6.17 kernel works very nice. To use newer versions someone need to update Toshiba USB Host driver.

Orange artifacts are common in most of non-Sharp kernels. Someone in OE bugtracker wrote that this is a matter of proper aligning of few structures on each write.

Under 2.6 there is no way to disable USB WiFi port.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156817\"][{POST_SNAPBACK}][/a][/div]

hrw: could you comment on if anything has been done to merge guylhem's "common kernel" into OZ?  could you also give me a pointer to where I can download the latest (though old) OZ 2.4 kernel (which release)?
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #13 on: March 21, 2007, 01:23:49 am »
Quote
Quote
Tosa with 2.6.17 kernel works very nice. To use newer versions someone need to update Toshiba USB Host driver.

Orange artifacts are common in most of non-Sharp kernels. Someone in OE bugtracker wrote that this is a matter of proper aligning of few structures on each write.

Under 2.6 there is no way to disable USB WiFi port.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156817\"][{POST_SNAPBACK}][/a][/div]

hrw: could you comment on if anything has been done to merge guylhem's "common kernel" into OZ?  could you also give me a pointer to where I can download the latest (though old) OZ 2.4 kernel (which release)?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156869\"][{POST_SNAPBACK}][/a][/div]
I had meant the latest 2.6 kernel, If what I said is sending you off to the OZ 2.4.  I think, If you go that route, you might get both the orange lines and still be stuck with the 2.4.18 sd driver for only <1gig sd.

My personal experience with Oz has been that the 2.6.17 was far superior to the 2.4 based version
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
How Many Kernel Branches For A Single Device
« Reply #14 on: March 21, 2007, 03:42:50 am »
Quote
I had meant the latest 2.6 kernel, If what I said is sending you off to the OZ 2.4.  I think, If you go that route, you might get both the orange lines and still be stuck with the 2.4.18 sd driver for only <1gig sd.

My personal experience with Oz has been that the 2.6.17 was far superior to the 2.4 based version
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156874\"][{POST_SNAPBACK}][/a][/div]
No, you are not. I know you mean the 2.6 kernel. However, I will wait for OZ 3.5.5 to test again. The currently 3.5.4 rc2 release is not stable for me.

SD> 1g is desirable but not critical for Tosa compared with other Clamshells without integrated wifi. Instead, stability IS a big issue for me (one of the major reasons I want to get a second Tosa). We need people working on the cutting edge. But I'm trying to work on an updated stable 2.4 kernel release for Tosa.

I'm asking OZ team the 2.4 kernel, not because I'm optimistic about it, but because I'd like to know what's the status of 2.4 kernel at different branches. Since I'm not involved in development previously, I'd like to bring myself to the same page as other knowledgeable people in the forum.
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc