Author Topic: Help New Kernel For Pdaxrom  (Read 29549 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« on: April 29, 2007, 05:22:26 am »
PdaXrom kernel has remained pretty much the same since beta4 (2.6.16) and now over
at kernel.org  version 2.6.21.1 stable is avalible ... and that means that we are about 1
year behind current kernel developement.
Also over at OZ the have fixed quite a few things from which we could also benefit.

Can anyone help me retreive the patch sequence for the OZ kernel ?
... this will help me merge pdaXrom specific patches with all the stuff that OZ already
have fixed.
« Last Edit: July 09, 2007, 04:34:48 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #1 on: April 29, 2007, 05:54:12 am »
« Last Edit: April 29, 2007, 05:58:33 am by Civil »
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #2 on: April 29, 2007, 11:25:58 am »
If you get this built and working, please post the steps involved for building and installing it. I'd like to to build it for my C3100 for the DM9601 driver.

Thanks, and best of luck!
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #3 on: April 29, 2007, 12:28:34 pm »
Quote
If you get this built and working, please post the steps involved for building and installing it. I'd like to to build it for my C3100 for the DM9601 driver.

Thanks, and best of luck!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160071\"][{POST_SNAPBACK}][/a][/div]

I have been lookin at upgrading the kernel to the newest for the past few months and I haven't had enough time to focus on pdaXrom to get that implemented...

I'm going to try to find time to get back in to it... but it is time allowing..

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #4 on: April 29, 2007, 12:31:33 pm »
Quote
If you get this built and working, please post the steps involved for building and installing it. I'd like to to build it for my C3100 for the DM9601 driver.

Thanks, and best of luck!
It is easy to do with gentoo. Just use ebuild from gentoo-pda overlay
If you don't you must apply folowing patches (in this order):
Code: [Select]
#!/bin/bash

DOSRC = "http://www.do13.de/openzaurus/patches"
RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
JLSRC = "http://www.cs.wisc.edu/~lenz/zaurus/files"
BASRC = "http://www.orca.cx/zaurus/patches"
CHSRC = "http://oz.drigon.com/patches"
TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches"

SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2 \
           http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.20.6.bz2 \
           http://opensource.wolfsonmicro.com/~lg/asoc/asoc-v0.13.3.patch \
           ${RPSRC}/oprofile_always_bt_arm-r0.patch \
           ${RPSRC}/lzo_kernel-r0.patch \
           ${RPSRC}/lzo_jffs2-r0.patch \
           ${RPSRC}/lzo_crypto-r0a.patch \
           ${RPSRC}/lzo_jffs2_lzomode-r0.patch \
           ${RPSRC}/lzo_jffs2_sysfs-r0.patch \
           ${RPSRC}/hx2750_base-r28.patch \
           ${RPSRC}/hx2750_bl-r8.patch \
           ${RPSRC}/hx2750_pcmcia-r2.patch \
           ${RPSRC}/pxa_keys-r7.patch \
           ${RPSRC}/tsc2101-r16.patch \
           ${RPSRC}/hx2750_test1-r6.patch \
           ${RPSRC}/pxa_timerfix-r0.patch \
           ${RPSRC}/input_power-r6.patch \
           ${RPSRC}/pxa25x_cpufreq-r2.patch \
           ${RPSRC}/sharpsl_pm_fixes1-r0.patch \
           ${RPSRC}/pm_changes-r1.patch \
           ${RPSRC}/usb_add_epalloc-r3.patch \
           ${RPSRC}/usb_pxa27x_udc-r3.patch \
           ${RPSRC}/kexec-arm-r4a.patch \
           ${RPSRC}/locomo_kbd_tweak-r1.patch \
           ${RPSRC}/poodle_pm-r3.patch \
           ${RPSRC}/pxa27x_overlay-r5.patch \
           ${RPSRC}/w100_extaccel-r0.patch \
           ${RPSRC}/w100_extmem-r0.patch \
           file://hostap-monitor-mode.patch \
           file://serial-add-support-for-non-standard-xtals-to-16c950-driver.patch \
           ${RPSRC}/logo_oh-r0.patch.bz2 \
           ${RPSRC}/logo_oz-r2.patch.bz2 \
           ${RPSRC}/pxa-linking-bug.patch \
           ${RPSRC}/mmcsd_large_cards-r0.patch \
           ${RPSRC}/mmcsd_no_scr_check-r0.patch \
           ${RPSRC}/integrator_rgb-r1.patch \
           ${RPSRC}/pxa_cf_initorder_hack-r1.patch \
           file://pxa-serial-hack.patch \
           file://connectplus-remove-ide-HACK.patch \
           file://squashfs3.0-2.6.15.patch;status=external \
           file://vesafb-tng-1.0-rc2-2.6.20-rc2.patch;status=external \
           file://sharpsl-rc-r1.patch \
           file://defconfig-c7x0 \
           file://defconfig-hx2000 \
           file://defconfig-collie \
           file://defconfig-poodle \
           file://defconfig-akita \
           file://defconfig-spitz \
           file://defconfig-qemuarm \
           file://defconfig-qemux86 \
           file://defconfig-tosa "
wget ${SRC_URI}

http://www.openembedded.org/repo/org.opene...defconfig-spitz - config for spitz/borzoi/terrier (you just need to enable jffs support and change cmdline to boot from mtdblock)
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #5 on: April 29, 2007, 12:33:48 pm »
In fact the only thing you need to build OZ kernel 2.6.20 is http://www.openembedded.org/repo/org.opene...ux/linux-rp.inc and http://www.openembedded.org/repo/org.opene...ux-rp_2.6.20.bb
This is sh-scripts that will download most files (except of 2 or 3 you need to download manualy) and patch the kernel.
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #6 on: April 29, 2007, 12:39:22 pm »
Quote
Quote
If you get this built and working, please post the steps involved for building and installing it. I'd like to to build it for my C3100 for the DM9601 driver.

Thanks, and best of luck!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160071\"][{POST_SNAPBACK}][/a][/div]

I have been lookin at upgrading the kernel to the newest for the past few months and I haven't had enough time to focus on pdaXrom to get that implemented...

I'm going to try to find time to get back in to it... but it is time allowing..

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160076\"][{POST_SNAPBACK}][/a][/div]
If there's anything I can do to help push this along, let me know.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #7 on: April 29, 2007, 12:44:42 pm »
Quote
http://projects.gentoo.ru/gentoo-pda/wiki/...%9A%D0%9F%D0%9A for example. Or look for scripts at http://www.openembedded.org/filebrowser/or...packages/linux/ (  linux-rp_2.6.20.bb +  linux-rp.inc )
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160056\"][{POST_SNAPBACK}][/a][/div]
Thanks Civil ... those are very good starting pointers.

Capn_Fish of caurse I'll share anything good that might come out of this.

InSearchOf yea but maybe you can help me anyway ... it will cost less time and if I get anywhere then I can tell you what I did.

Unfortunately today I'm working on mt external battery charger ... but I'll get pack to this tomorrow.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #8 on: April 29, 2007, 07:11:09 pm »
Quote
I have been lookin at upgrading the kernel to the newest for the past few months and I haven't had enough time to focus on pdaXrom to get that implemented...
I think the only problem is updating pdaXrom-specific patches (if they exists). Most of other work has been done by OZ (look at http://www.openembedded.org/filebrowser/or...packages/linux/ - there you can find sh-scripts for building kernel - it won't take much time to make your own)
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #9 on: April 29, 2007, 09:34:19 pm »
does it make sense to incorporate pdaxrom as a distro into the openembbed build environment?

I'm sure it's possible and would benefit both sides but not sure how much political issues, if any, it will arouse.
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

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Help New Kernel For Pdaxrom
« Reply #10 on: April 30, 2007, 04:09:12 am »
Quote
does it make sense to incorporate pdaxrom as a distro into the openembbed build environment?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160096\"][{POST_SNAPBACK}][/a][/div]

Summary: We (OE + OZ) offered that long ago, but pdaX wasn't interested.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #11 on: April 30, 2007, 04:13:36 am »
Quote
does it make sense to incorporate pdaxrom as a distro into the openembbed build environment?

I'm sure it's possible and would benefit both sides but not sure how much political issues, if any, it will arouse.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160096\"][{POST_SNAPBACK}][/a][/div]

One thing I am pretty sure about is that at the end of the day using which distro or "rom" simply doesn't matter, let alone any ego war. What he wants is simply a usable and stable working environment, and no mere hacker's dream toy.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #12 on: April 30, 2007, 07:47:37 am »
I don't really get the whole OE thing. What benefits would there be to switching to OE?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Help New Kernel For Pdaxrom
« Reply #13 on: April 30, 2007, 10:06:09 pm »
Quote
I don't really get the whole OE thing. What benefits would there be to switching to OE?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160116\"][{POST_SNAPBACK}][/a][/div]

In the past, when most OZ users were using OPIE rather than GPE and everything was based around 2.4 kernels, there was a big difference between OZ and pdaXrom. Now, that everyone is moving to a 2.6 kernel and EABI, there isn't so much of a difference anymore. OE is the builder tool to build OZ/Angstrom similar to the pdaXrom builder. The advantages of the pdaXrom builder was that it could spit out a X86 as well as a ARM version of pdaXrom. The X86 version could be booted off a CDROM or used from inside VMWare or other virtual machines. In addition, pdaXrom builder also build a ready to use native zgcc image for the Zaurus. These and the fact that pdaXrom was still based around 2.4 kernel which was although slower than the 2.6 kernel, much more stable and supported all the Zaurus' (clamshell models) hardware, and glibc 2.2 which made it easy to port to Sharp/Cacko, ie pdaXqtrom.
Now, there isn't much of a differentiator anymore. Everything is aiming at using 2.6 kernel, the use of EABI means that the latest glibc and gcc will be used. The only difference will be the packaging and even in that, both distros are becoming more and more similar in that regard. One difference that remains is the ipk format, but that isn't a big issue.
CJK was one of the reason pdaXrom was more popular for some people, but it isn't really supported well in the latest of either distros. Application wise, OZ/Angstrom tends to only provide optimised applications that run quickly and use little resources, whereas pdaXrom enphazised on supporting almost any opensource linux application that users wanted to use on their Zaurus.
So to answer the question, the difference would be much smaller these days, but the effort to convert everything to using OE would be quite considered and what gain would that provide? It isn't like pdaXrom doesn't have a build tool yet or its current tool doesn't do the job properly, so there isn't really a point in moving to OE.
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://
Help New Kernel For Pdaxrom
« Reply #14 on: May 01, 2007, 03:43:15 am »
hmmmm. what in particular prevents one from grabbin pdax source and putting it all in OE, or putting all of Angstrom through the pdaX builder? Other tha the simple pain of rounding up the sources in a useable fashion, that is.  It seems to me that if they are getting that close, and it has seemed that we are looking at pretty much the same kernel for 2.6, then it would simply be a matter of time and ambition yes? no?
**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