OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: MONVMENTVM on November 19, 2005, 06:59:29 am

Title: Gentoo For Zaurus With Pdaxrom
Post by: MONVMENTVM on November 19, 2005, 06:59:29 am
As we got debian/pocketworkstation running on pdaxrom and i found  the "gentoo for Zaurus project page" i thought it would be an idea to make it running on pdaxrom.

we are able to use emerge and such things on zaurus... for more information look here:

http://gentooforzaurus.opensistemas.com/index.php (http://gentooforzaurus.opensistemas.com/index.php)


sounds interesting getting it on zaurus.

Cheers!
Title: Gentoo For Zaurus With Pdaxrom
Post by: urielka on November 19, 2005, 07:52:01 am
it`s based on Cacko Rom(the same as PDAXROM).
i would like to use gentoo for newer glibc and prelink and newer and alot of packages
Title: Gentoo For Zaurus With Pdaxrom
Post by: Chero on November 19, 2005, 11:12:37 am
It all seems rather outdated (most recent is feb 2004).
I think debian-arm is far more up to date, and it uses glibc 2.3.5.

Chero.
Title: Gentoo For Zaurus With Pdaxrom
Post by: chouqiu on November 22, 2005, 11:29:03 pm
If pdaxrom can use new glibc and run under kernel 2.6.x, perfect!!
Title: Gentoo For Zaurus With Pdaxrom
Post by: anunakin on January 14, 2006, 03:19:52 pm
Files:
http://yvasilev.main.hsphere.com/zentoo/ (http://yvasilev.main.hsphere.com/zentoo/)

How to:
http://gentoo-wiki.com/HOWTO_setup_gentoo_...ild_environment (http://gentoo-wiki.com/HOWTO_setup_gentoo_on_a_pda_or_embedded_system#Setup_build_environment)

 
Title: Gentoo For Zaurus With Pdaxrom
Post by: iamasmith on January 14, 2006, 03:32:23 pm
I took a look at this recently and have to say I wasn't particularly encouraged.

Most development has drifted off since Gentoo officially dropped support for the ARM architecture. This causes a range of problems since they won't be producing patches that correct incomplete casting for packages that affect ARM architecture (and I think Vax too). It would have been nice to bring the port up to date, however, at the end of the day the device patches for the various Zaurus models aren't all within the main 2.6 kernel source as yet and as such would require extra effort to make portage (emerge and other tools) work well with regards to Kernel upgrade handliing.

Since I'm mostly interested in POSIX stuff, the ability to run Python, ongoing maintenance because everything is synced with the main distribution and finally... stability.. I have chosen to persure OpenBSD and see how that works out. - So far everything is marvellous!, no special hacks needed that differ from a desktop system here

- Andy
Title: Gentoo For Zaurus With Pdaxrom
Post by: anunakin on January 14, 2006, 04:25:53 pm
Yeap, I think use pdaXrom is Better too!
Gentoo only for tests because compile a entire system in a PDA is .... no cense
Title: Gentoo For Zaurus With Pdaxrom
Post by: crstophr on January 16, 2006, 08:12:31 am
I worked on this for a while.

Long story short.  You need to dedicate about 1-2G of your Z's internal storage to hold all the files for portage.

Emerge sync took 5 hours the first time.  Compiling anything is painfully slow.

Eventually I ran into the situation where after struggling for weeks to properly update portage and the OS, portage just flat out broke.  I was unable to reinstall portage because there is no arm based distribution.  Also, there is no arm profile in portage, so whe you do update it gets removed.

This is why I'm using pdaxrom now.  

--Chris



Quote
Yeap, I think use pdaXrom is Better too!
Gentoo only for tests because compile a entire system in a PDA is .... no cense
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110969\"][{POST_SNAPBACK}][/a][/div]
Title: Gentoo For Zaurus With Pdaxrom
Post by: anunakin on January 16, 2006, 09:40:24 am
I think the better way is use crossdev tool for Gentoo ..... for make packages for pdaXrom... I think better.... install Zentoo on softgun (if possible)

First all? what I must use arm or armeb?

Code: [Select]
Nakoruru ~ # crossdev --target help
Supported Architectures:
   - alpha                                     - arm / armeb
   - hppa (parisc)                             - ia64
   - i386 / i486 / i586 / i686 (x86)           - m68k
   - mips / mipsel / mips64 / mips64el
   - powerpc (ppc) / powerpc64 (ppc64)
   - sparc / sparc64                           - s390 / s390x
   - sh / sh[1-5] / sh64                       - x86_64 (amd64)
Supported C Libraries:
   - gnu (glibc)
   - klibc       [prob wont work]
   - uclibc      [not all arches are ported]
Special Targets:
   - avr      http://www.nongnu.org/avr-libc/
   - bfin     http://blackfin.uclinux.org/
   - msp430   http://mspgcc.sourceforge.net/
   - nios2    http://www.altera.com/products/ip/processors/nios2/ni2-index.html
   - ee / iop / dvp (ps2) [Playstation 2 targets]
Softfloat toolchains:
   Set the 'vendor' field to 'softfloat'
   e.g. armeb-softfloat-linux-uclibc
        powerpc-softfloat-linux-gnu
Title: Gentoo For Zaurus With Pdaxrom
Post by: iamasmith on January 16, 2006, 11:28:48 am
Just to give you an example of what can cause real problems when porting stuff from source for ARM read the artical on signed/unsigned numbers in GCC.

http://www.arm.linux.org.uk/docs/faqs/signedchar.php (http://www.arm.linux.org.uk/docs/faqs/signedchar.php)

Imagine that a good section of Linux applications are fundamentally broken and need to be fixed by adding explicit casts to the source to fix just this issue etc and you start to see that supporting ARM on Gentoo needs a lot of testing from the Gentoo folk that manage the portage tree and the patch sets.

This is just one of the many issues and I think that a 'build from source' distro for the Z isn't going to happen soon.

OpenBSD seems to work fairly well with most of the ports tree that I have tried but there are some like Scrollkeeper that segment fault when built (but OpenBSD gcc has ProPolice enabled so this might need tweaking).

*sighs* so many issues with cross architecture porting when a developer never envisages their application will run on anything other than a PC.

- Andy
Title: Gentoo For Zaurus With Pdaxrom
Post by: REdOG on March 15, 2006, 02:10:34 pm
Quote
I took a look at this recently and have to say I wasn't particularly encouraged.

Most development has drifted off since Gentoo officially dropped support for the ARM architecture.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110964\"][{POST_SNAPBACK}][/a][/div]

Care to back up this claim? I don't know much about gentoo's "support" for arm in the default-linux profiles but there certianly is still a glibc based arm profile. And still further from your claim is the gentoo embedded project that actively supports arm based devices, although under a uclibc profile.
Title: Gentoo For Zaurus With Pdaxrom
Post by: REdOG on March 15, 2006, 02:12:52 pm
Quote
I think the better way is use crossdev tool for Gentoo ..... for make packages for pdaXrom... I think better.... install Zentoo on softgun (if possible)

First all? what I must use arm or armeb?

[div align=\"right\"][a href=\"index.php?act=findpost&pid=111146\"][{POST_SNAPBACK}][/a][/div]

armeb is for big endian devices.
Title: Gentoo For Zaurus With Pdaxrom
Post by: iamasmith on March 15, 2006, 04:07:39 pm
Quote
Quote
I took a look at this recently and have to say I wasn't particularly encouraged.

Most development has drifted off since Gentoo officially dropped support for the ARM architecture.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=110964\")

Care to back up this claim? I don't know much about gentoo's "support" for arm in the default-linux profiles but there certianly is still a glibc based arm profile. And still further from your claim is the gentoo embedded project that actively supports arm based devices, although under a uclibc profile.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118743\"][{POST_SNAPBACK}][/a][/div]

Go sic someone else..

[a href=\"http://gentooforzaurus.opensistemas.com/modules.php?op=modload&name=XForum&file=viewthread&tid=5]http://gentooforzaurus.opensistemas.com/mo...iewthread&tid=5[/url]