Author Topic: Dual Booting Pdaxrom And Angstrom?  (Read 12963 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Dual Booting Pdaxrom And Angstrom?
« on: May 06, 2007, 03:28:03 am »
This might be something that might be of interest to owners of C3100 and C3200.
Since pdaXrom runs mainly from the NAND and doesn't really use the internal MicroDrive explicitly and Angstrom runs from the MicroDrive and doesn't use the NAND which really is a waste of the NAND, it could be possible and might be desirable to have them dual boot on the Zaurus. Both use a 2.6.x kernel, the Angstrom one using the microdrive as rootfs and the pdaXrom one using the NAND. uboot which pdaXrom is using allows you to select a different device for rootfs, ie NAND or MicroDrive. This won't work as of now, but would anyone be interested if things went that way? And if you really want to, it probably would also be possible to boot off the SD card as well, for something like running Debian...
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

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #1 on: May 06, 2007, 03:57:04 am »
Yes ... it is possible but some work needs to be done:
the angstrom kernel has a default nand flash layout that is like sharp default, pdaxrom uses a different layout (no home and big root).
If you do boot pdaxrom with an unchanged Angstrom kernel (which still hase old ABI compat) you will almost certainly do bad things to your root filesystem on nand.
What needs to be done is to ither change the nand default layout in the kernel sources or get u-boot send commandline to kernel with the new pdaxrom nand layout.

Just a few other words on this matter: changing the Angstrom kernel will require an EABI toolchain while changing u-boot can be don with almost any arm toolchain.

Using pdaxrom kernel on Angstrom is not possible because the pdaxrom kernel has no EABI support.

Things would be very different it the space in the logic partition would be defragmented,
there would be enough space for 2 kernels ;-)
« Last Edit: May 06, 2007, 04:45:06 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://
Dual Booting Pdaxrom And Angstrom?
« Reply #2 on: May 06, 2007, 07:06:26 am »
https://www.oesf.org/forums/index.php?showtopic=23865&st=30
I think it'll be possible to use kexec to change kernels. Boot to one system and kexec to another.
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Dual Booting Pdaxrom And Angstrom?
« Reply #3 on: May 06, 2007, 07:13:53 am »
i know what is possible. my reason for this post was to see whether anyone would be interested in such a thing before i spend time on it...
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

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #4 on: May 06, 2007, 08:47:39 am »
Quote
i know what is possible. my reason for this post was to see whether anyone would be interested in such a thing before i spend time on it...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160588\"][{POST_SNAPBACK}][/a][/div]
I was wondering ... even if you do not spend time on it but how would you work around the problems (see my reply above) ?

Just intrested to see if you have any other way to work around the problems .
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

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Dual Booting Pdaxrom And Angstrom?
« Reply #5 on: May 06, 2007, 09:01:29 am »
Quote
Quote
i know what is possible. my reason for this post was to see whether anyone would be interested in such a thing before i spend time on it...
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
I was wondering ... even if you do not spend time on it but how would you work around the problems (see my reply above) ?

Just intrested to see if you have any other way to work around the problems .
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160590\"][{POST_SNAPBACK}][/a][/div]

as i said before, this currently is not possible, but if we rebuild the pdaXrom kernel with Angstrom patches or patch the Angstrom kernel with pdaXrom patches, then eventually we will end up with a kernel that can supports all distros. EABI enabled kernel can run old ABI binaries so definately need to build an EABI enabled kernel.

otherwise, kexec could also solve the problem or maybe have a look at this:
[a href=\"http://www.piro.hopto.org/~piro/pukiwiki/pukiwiki.php?zaurus%A1%A1boot%A1%A1loader%A1%A1for%A1%A1C3000]http://www.piro.hopto.org/~piro/pukiwiki/p...1for%A1%A1C3000[/url]
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

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Dual Booting Pdaxrom And Angstrom?
« Reply #6 on: May 06, 2007, 09:41:13 am »
Quote
as i said before, this currently is not possible, but if we rebuild the pdaXrom kernel with Angstrom patches or patch the Angstrom kernel with pdaXrom patches, then eventually we will end up with a kernel that can supports all distros. EABI enabled kernel can run old ABI binaries so definately need to build an EABI enabled kernel.
old-ABI comability is experimental and doesn't provide fully compability (see kernel's help for it).
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #7 on: May 06, 2007, 10:00:44 am »
Quote
Quote
as i said before, this currently is not possible, but if we rebuild the pdaXrom kernel with Angstrom patches or patch the Angstrom kernel with pdaXrom patches, then eventually we will end up with a kernel that can supports all distros. EABI enabled kernel can run old ABI binaries so definately need to build an EABI enabled kernel.
old-ABI comability is experimental and doesn't provide fully compability (see kernel's help for it).
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Yea ... and you haveto enable it or you get no old ABI support at all.

Quote
otherwise, kexec could also solve the problem or maybe have a look at this:
[a href=\"http://www.piro.hopto.org/~piro/pukiwiki/p...1for%A1%A1C3000]http://www.piro.hopto.org/~piro/pukiwiki/p...1for%A1%A1C3000[/url]

I do not understan whatever language is used in the site ... but it looks like a frontend to some kexec boot selection. I don't like much the kexec solution because it makes the boot process twice as long.
« Last Edit: May 06, 2007, 10:05:55 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://
Dual Booting Pdaxrom And Angstrom?
« Reply #8 on: May 06, 2007, 12:07:12 pm »
Quote
I do not understan whatever language is used in the site ... but it looks like a frontend to some kexec boot selection. I don't like much the kexec solution because it makes the boot process twice as long.
http://translate.google.com/translate?u=ht...n&hl=en&ie=UTF8
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #9 on: May 06, 2007, 05:02:43 pm »
would this work with beta3/ii13 or is it only >= r121 because of uboot? Also would you have to install pdaxrom from scratch or could angstrom be install on alongside an existing beta3/r121 install? I might like to try it if I was sure it wouldn't damage my current setup.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #10 on: May 06, 2007, 05:11:59 pm »
I for one would be very interested. However, I'm with Guylhem when he suggested that there are "too many distros on Zaurus", in the sense that if all the effort making cacko, pdaX, pocketworkstation, angstrom, oesf, openbsd etc were put into one version we'd have something more powerful.

Snag is that each person developing for the Zaurus do it for their own interest/satisfaction and thus have widely different goals.

I started to write a humorous summary of each distro's motives but I think it might have been insulting to everyone!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Dual Booting Pdaxrom And Angstrom?
« Reply #11 on: May 06, 2007, 06:00:03 pm »
Quote
I started to write a humorous summary of each distro's motives but I think it might have been insulting to everyone!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160641\"][{POST_SNAPBACK}][/a][/div]

Yes, please go ahead! I for one would be more interested in reading this than expecting the never-dream-distro.  

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]

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #12 on: May 06, 2007, 06:20:34 pm »
Quote
Quote
I started to write a humorous summary of each distro's motives but I think it might have been insulting to everyone!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160641\"][{POST_SNAPBACK}][/a][/div]
Yes, please go ahead! I for one would be more interested in reading this than expecting the never-dream-distro.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160647\"][{POST_SNAPBACK}][/a][/div]

there's no "anonymous coward" posting option on the forum!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Dual Booting Pdaxrom And Angstrom?
« Reply #13 on: May 06, 2007, 06:38:01 pm »
Quote
Quote
Quote
I started to write a humorous summary of each distro's motives but I think it might have been insulting to everyone!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160641\"][{POST_SNAPBACK}][/a][/div]
Yes, please go ahead! I for one would be more interested in reading this than expecting the never-dream-distro.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160647\"][{POST_SNAPBACK}][/a][/div]

there's no "anonymous coward" posting option on the forum!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160650\"][{POST_SNAPBACK}][/a][/div]
Send it to me and I'll post on your behalf.  
« Last Edit: May 06, 2007, 06:38:22 pm by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Dual Booting Pdaxrom And Angstrom?
« Reply #14 on: May 06, 2007, 07:46:45 pm »
well...  It would probably be useful to merge angstrom patches to the pdaxrom kernel. EABI seems like a good idea. Further it would seem like a good idea to have a unified kernel. pas that, maybe a re-compile-fest to bring older apps with compatiblity problems up to speed?
really what is of interest here to me would be the chance to move towards interoperabilily (even with debian, maybe?)  and really stable, functional 2.6 based releases. a unified kernel would be an excellent start.

On the other hand I could live without uboot.
**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