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

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Dual Booting Pdaxrom And Angstrom?
« Reply #30 on: July 13, 2007, 03:04:32 am »
Quote
I had a go at making Angstrom boot of the mmc (like I do for my modded r121) but it was a no go.
I think that there is 2 problems involved:
angstrom kernel seems to have ither no support for ext2/3 (or at least only in modules),
angstrom kernel is ignoring command line parameters passed by u-boot (may need a u-boot patch).

To check out these things one would need the Angstrom kernel sources ... currently I cannot putup the OE build environment to get the sources for me and I've not been able to figure out how to make a Angstrom kernel by starting from a vanilla one.
Is someone could supply ... I'd have a look into it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164840\"][{POST_SNAPBACK}][/a][/div]

angstrom kernel supports ext2/ext3 but the command line parameters from uboot are ignored because those values are hardcoded in the kernel...
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 #31 on: July 13, 2007, 03:16:17 am »
Quote
angstrom kernel supports ext2/ext3 but the command line parameters from uboot are ignored because those values are hardcoded in the kernel...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164843\"][{POST_SNAPBACK}][/a][/div]
While running on Angstrom kernel (r197 root) I could not mount the Angstrom ext2/3 root on SD. Since the modules were not on the r197 root for that kernel I guess some module is involved ... whether it be ext2/3 or some mmc driver module.

Yea I suspected that Angstrom kernel could have something hard coded ... that's why I want to fiddle with the config and sources (maybe I can apply nandparts.patch and pdaxrom_u-boot_params.patch patches).
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 #32 on: July 13, 2007, 06:06:35 am »
Quote
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?
https://www.oesf.org/forums/index.php?showtopic=23865&st=75

There was a request to bring glibc 2.4/2.5, gcc 4.1.x and eabi support to pdaXrom (see bugtracker at pdaxrom.org ).
pdaXrom now have very old glibc and gcc (gcc 3.4.x doesn't support EABI properly, and glibc 2.5 have a lot of fixes for eabi support)

Quote
not been able to figure out how to make a Angstrom kernel by starting from a vanilla one.
http://www.openembedded.org/filebrowser/or...packages/linux/ - see linux-rp there.
« Last Edit: July 13, 2007, 06:08:39 am by Civil »
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 #33 on: July 14, 2007, 03:22:11 am »
Well appart any extra patchs that may have gotten into Angstrom kernel (they have some on ther source tree that I've not figured our wether they are old or used) then the build I have for 2.6.21.5 could be good for bothe Angstrom and pdaXrom with two extra requirement:
1) enable the EABI target and also the old ABI compatibility
2) an EABI toolcain to build it

Currently I'm using pdaxrom 3.4 cross toolchain and that is not really EABI capable.

Some time ago I attempted building kernel with the EABI toolchain from code sourcery ... bit it fails on some missing headers if I remember correctly.
If anyone has the time to fix it up ;-) ... I'm buisy reading a lot of pxa documentation.

Someone may say: "Why don't you use OE toolchain ? ... it's EABI capable"

I'll probabbly give it a go when I'll have a pc at home to set it up on.
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

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Dual Booting Pdaxrom And Angstrom?
« Reply #34 on: July 17, 2007, 10:39:30 am »
Using the current EABI cross toolchain from Code Sourcery (arm-2007q1-21-arm-none-eabi-i686-pc-linux-gnu.tar.bz2) it is possible to build the kernel I patched with mixed pdaXrom and OE patches (see the Help New Kernel For Pdaxrom thread).
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