Author Topic: New Rom Gentoo On Zaurus  (Read 22143 times)

gen2

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://www.planetofidiots.com/zaurus/
New Rom Gentoo On Zaurus
« Reply #30 on: May 21, 2007, 08:16:25 pm »
Quote
Gentoo on Z would rock assuming it is something like as "painless" as it is on a pc. what about the limited disk space? any way to build packages on a network mount, or somthing like that?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

By painless I mean 99% of builds working, 450 pkgs in a row (actually 500+ now), not chasing after a single dependency, everything on full autopilot, set it and walk away...which is (to me) impressive on a Z.

Builds happen over NFS, check out my link for the procedure.
[a href=\"http://www.planetofidiots.com/zaurus/#ports]http://www.planetofidiots.com/zaurus/#ports[/url]

Course there's always folks posting pre-rolled packages, too (heh).
« Last Edit: May 21, 2007, 08:24:53 pm by gen2 »
c3200 : openbsd4.3 -current : pretec-wifiCF

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
New Rom Gentoo On Zaurus
« Reply #31 on: May 21, 2007, 08:41:08 pm »
Got a link on where and how to get started?
(and can it be done on a 6000, or just the newer clamshells?)
**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

gen2

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://www.planetofidiots.com/zaurus/
New Rom Gentoo On Zaurus
« Reply #32 on: May 21, 2007, 08:58:36 pm »
Quote
Got a link on where and how to get started?
(and can it be done on a 6000, or just the newer clamshells?)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

[a href=\"http://www.planetofidiots.com/zaurus/]http://www.planetofidiots.com/zaurus/[/url]

The links I've posted already tell the entire story, but there is more if you like:

https://www.oesf.org/forums/index.php?showforum=148

Regrettably, I bear no good news for cXXX and below, as far as OpenBSD is concerned. I am not running Gentoo on my zaurus (just getin the news here!), but the switch freak in me has goggles on. Sounds like a Gentoo Z forum at OESF has officially become a necessity. Excellent!

OpenBSD isn't likely to be banished from my 3200 anytime soon though...
« Last Edit: May 21, 2007, 09:08:14 pm by gen2 »
c3200 : openbsd4.3 -current : pretec-wifiCF

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Rom Gentoo On Zaurus
« Reply #33 on: May 22, 2007, 11:14:46 am »
Has anybody tried Gentoo on the Z? I don't think I have even heard of anybody even trying.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

gen2

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://www.planetofidiots.com/zaurus/
New Rom Gentoo On Zaurus
« Reply #34 on: May 22, 2007, 11:59:36 am »
Quote
Has anybody tried Gentoo on the Z? I don't think I have even heard of anybody even trying.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161845\"][{POST_SNAPBACK}][/a][/div]

 

Well if you type "gentoo zaurus" into google, I have a sawbuck that says you may have an answer to that question...not to mention the very theme of this thread...

I'd venture to guess that any gentoo port to the Z is going to be a bit on the bloody edge for a while yet, but it'll be a treat to watch developments unfold.

OpenBSD is as close as you can get today (Illuminati would rightly kick my ass for ever suggesting gentoo is "better than" OpenBSD on any platform).

I think the main thing you want, the thing that delivers long term stability and happiness, is a mature package management system (not to mention a comprehensive approach to the entire OS ala obsd). Gentoo portage is a child of BSD ports. It's all really good stuff, bears learning. Yes it hurts up front, you have to read a bit to "master" ports and/or portage, but in the long run, it will save you time and headache.

Best to remember that package management is utterly non-trivial. There is no way to give you the intrinsic flexibilities that abound (and save one from nightmares) AND make it punter-simple. Meeting Linux or BSDs half way is almost gauranteed to pay off (presuming you get a thrill from this stuff in the first place), but I'm preachin to the choir...y'all are leaning hard-core or you wouldn't be reading this...

"Not having to wait for someone to build a pkg for me...priceless."
« Last Edit: May 22, 2007, 12:14:03 pm by gen2 »
c3200 : openbsd4.3 -current : pretec-wifiCF

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
New Rom Gentoo On Zaurus
« Reply #35 on: May 22, 2007, 12:15:04 pm »
if you really really want an OS on zaurus which is "natively" built, then you really want to use distcc and a cross-compiler on a nearby server so that the Z doesn't have to do any compiling, and the PC does the heavy lifting.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

gen2

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://www.planetofidiots.com/zaurus/
New Rom Gentoo On Zaurus
« Reply #36 on: May 22, 2007, 12:27:24 pm »
Quote
if you really really want an OS on zaurus which is "natively" built, then you really want to use distcc and a cross-compiler on a nearby server so that the Z doesn't have to do any compiling, and the PC does the heavy lifting.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

That is indeed how it's usually done around here (save for the distcc maybe), I'm just saying that from the perspective of one who does compile on the Z, I've found the process more reliable and less involved than cross compiling (cross toolchain maintenance does not enjoy a happy reputation), and nowhere near as painful as people claim around here.

And we're ignoring the fact that cross compiling means you have to address each package one at a time, and handle all of your dependency issues manually, correct me if I'm wrong.

"If you really really want an OS on zaurus which is "natively" built..."

Native isn't really really the point, per se. And I'm not trying to "rice up" my Z with compiler flags; just after simple things like stability, manageability, sanity. In fact, OpenBSD developers compile zaurus releases on their Z's because of the simplicity of it, not to mention it eliminates a slew of possible (subtle, and not so subtle) integration issues. Check out OpenBSD.org.

In my world, I create a batch list of packages I want (simple text file list), point ports at that, and everything automagically builds, hands-free, go play golf or whatever, come back tomorrow and you have a bunch of fresh packages that actually WORK. I'm calling that easier by several orders of magnitude, and fully accessible to non-gurus.

And you don't HAVE TO compile anything, or even deal with ports at all; just like all the other ROMs, many nice people have already posted pre-compiled package repositories. That you easily CAN is just pure gravy.

have at it if you dont believe.
[a href=\"http://www.planetofidiots.com/zaurus/]http://www.planetofidiots.com/zaurus/[/url]

Also check in on iamasmith and mathmajickian, very competent and helpful folks if you want to get into it.
https://www.oesf.org/forums/index.php?showforum=148

maybe even see this first:
http://www.openbsd.org/zaurus.html
« Last Edit: May 22, 2007, 04:49:09 pm by gen2 »
c3200 : openbsd4.3 -current : pretec-wifiCF

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Rom Gentoo On Zaurus
« Reply #37 on: May 22, 2007, 12:28:58 pm »
I guess I meant "Has anybody here tried Gentoo on the Zaurus?"
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Rom Gentoo On Zaurus
« Reply #38 on: May 22, 2007, 05:47:36 pm »
I hate (did i say love?) to say that, but what gen2 says is really true after I start feeding my Terrier with Blowfish...
« Last Edit: May 22, 2007, 05:56:25 pm by ZDevil »

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]

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
New Rom Gentoo On Zaurus
« Reply #39 on: May 23, 2007, 05:38:00 am »
Quote
(and can it be done on a 6000, or just the newer clamshells?)
Any machine that have kernel 2.6 and u-boot working.
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

Mesk

  • Newbie
  • *
  • Posts: 9
    • View Profile
New Rom Gentoo On Zaurus
« Reply #40 on: August 08, 2007, 08:30:28 am »
New rootfs for SD card based on 2007.0 gentoo profile

ftp://gentoo.ru/projects/handhelds/zaurus...0070807.tar.bz2

Some preinstalled software:

xorg-server-1.1.1-r3 (custom, based on ebuild from http://projects.gentoo.ru/gentoo-pda/browser/portage )
matchbox-1.0
windowmaker-0.92.0-r3
fbreader-0.8.5a (from sources)
mc-4.6.1-r3
gqview-2.1.5
stardict-2.4.8
stardict-freedict-eng-rus-2.4.2
gpsdrive-2.09-r1
mpd-0.13.0/mpc-0.12.1/gmpc-0.15.1
mplayer-1.0_rc1-r90 (custom-flags, generally official ebuild r1)
pidgin-2.0.2 (icq/jabber/googletalk/msn/etc)
xchat-2.8.4-r1
dillo-0.8.6
links-2.1_pre28-r1
qt-4.3.0 (custom, Civil's ebuild)
rxvt-2.7.10-r3

some screenshots:
http://img185.imageshack.us/img185/2715/001vv9.png
http://img237.imageshack.us/img237/330/002ny9.png
http://img239.imageshack.us/img239/4122/003gl2.png
http://img239.imageshack.us/img239/3442/004hf4.png
http://img237.imageshack.us/img237/6583/005yt0.png
http://img239.imageshack.us/img239/6440/006zt2.png
http://img239.imageshack.us/img239/1952/007rn8.png

some binary packages you can get at ftp://gentoo.ru/projects/handhelds/packages/eabi/iwmmxt/

Quick howto from Civil:

Requiments:
1. Zaurus C1000, C3x00 (in fact it can work on any device with iwmmxt - pxa27x but you need to adjust keymap)
2. 2GB+ on SD/MMC/CF/Microdrive working on any ROM with 2.6 kernel.
3. Hand
4. Time (aprox. 30 min)
It is recomended to have internet on zaurus. It'll make your life easier. And it is also recomended to have USB-Cardreader + Linux (you can use VMWare), but not necessary (it'll speedup unpacking of rootfs).

Installation how-to:
I'll asume that you have only your Zaurus, without internet and no PC box (or no cardreader), and that you install on mmcblk0p1 (to SD/MMC card). For example archive with rootfs is placed on CF card wich mounted to /mnt/cf.
1. umount /mnt/sd
2. mkfs.ext3 /dev/mmcblk0p1
3. mount /dev/mmcblk0p1 /mnt/sd
4. tar -xjf /mnt/cf/gentooonZ_sd_20070807.tar.bz2 -C /mnt/sd
5. mcedit /mnt/sd/etc/fstab - you'll need to ajust fstab for your configuration (change device wich is mounted to /, etc. Step is optional, current /etc/fstab is correct for usual cases)
6. tar -xjf /mnt/cf/kernel-modules.tar.bz2 -C /mnt/sd (optional, c1k users don't need this)
7. If you don't have u-boot installed (using OZ, angstrom etc.): follow pdaXrom's guide.
8. Boot to pdaXrom emergency system and just press 'y' when it asks you about installing new kernel, or flash kernel for your device with command: nandlogical /dev/mtd1 WRITE 0x5a0000 0x160000 /mnt/cf/kernel.img (where kernel.img is name of kernel you've downloaded)
9. Reboot. now have gentoo 2007.0 EABI environment. Root password is 'qq'
« Last Edit: August 08, 2007, 06:38:52 pm by Mesk »
--
Zaurus-C1k/Gentoo 2007.0 on SD
SD 2G / CF 2G / DCF-650BT / BC-337 GPS

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
New Rom Gentoo On Zaurus
« Reply #41 on: August 08, 2007, 09:21:06 am »
I want to give it a try ....
where is it that I can get the gentooonZ_sd_20070807.tar.bz2  ?
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

Mesk

  • Newbie
  • *
  • Posts: 9
    • View Profile
New Rom Gentoo On Zaurus
« Reply #42 on: August 08, 2007, 10:17:25 am »
Quote
I want to give it a try ....
where is it that I can get the gentooonZ_sd_20070807.tar.bz2  ?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

sorry,

[a href=\"ftp://gentoo.ru/projects/handhelds/zaurus-c1000/gentooonZ_sd_20070807.tar.bz2]ftp://gentoo.ru/projects/handhelds/zaurus...0070807.tar.bz2[/url]

i've fixed the post above
--
Zaurus-C1k/Gentoo 2007.0 on SD
SD 2G / CF 2G / DCF-650BT / BC-337 GPS

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
New Rom Gentoo On Zaurus
« Reply #43 on: August 08, 2007, 11:19:08 am »
very cool. how is the mlpayer performance, and that sort of thing (obviously, there is a big advantage in the current libraries and "big distro" softwaree)?
**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

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
New Rom Gentoo On Zaurus
« Reply #44 on: August 08, 2007, 12:15:45 pm »
Be brave and try yourself ... it will not hurt if you put it on the SD ....
if you do not like it just use the emerg system to flash bach the pdaxrom kernel and everything will be the same as before. ;-)
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