OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: scottlfa on October 21, 2007, 01:07:13 pm

Title: C1000 & Debian
Post by: scottlfa on October 21, 2007, 01:07:13 pm
I am insterested in running a full debian distro on my c1000, is there a clear and concise guide to doing this?
Title: C1000 & Debian
Post by: Chero on October 21, 2007, 01:45:34 pm
Quote from: scottlfa
I am insterested in running a full debian distro on my c1000, is there a clear and concise guide to doing this?

check https://www.oesf.org/forum/index.php?s=&...st&p=168577 (https://www.oesf.org/forum/index.php?s=&showtopic=24810&view=findpost&p=168577), and maybe read the rest of the thread before starting.
ZDevil was writing a detailed howto, but I don't know whether he already finished it.

Chero.
Title: C1000 & Debian
Post by: ZDevil on October 21, 2007, 02:38:58 pm
Yes, I am still preparing the guide. Truly, my notes just keep growing every day.
But my set up got screwed up by some stupid user mistake a few days ago and I really didn't have time time to reinstall everything until today.
Basically I am writing not just the installation method, but also summarizing the initial things to finetune for beginners to get started more smoothly. Also I am thinking of putting things in separate posts in the same thread as sections so that the information can be easily added to the wiki or somewhere else.
It will be here in the middle of this week, if there is no more incidence.  
Title: C1000 & Debian
Post by: Chero on October 21, 2007, 02:50:11 pm
Quote from: ZDevil
It will be here in the middle of this week, if there is no more incidence.  

Just take care of the speed of the sun and know light travels at the speed of light.  
Title: C1000 & Debian
Post by: scottlfa on October 21, 2007, 05:17:22 pm
Seems I am looking for the angstrom image with kernel 2.6.21 on it, do any of you have it hanging around?

-sheepish look- Thanks for any help
Title: C1000 & Debian
Post by: Chero on October 22, 2007, 01:55:00 am
Quote from: scottlfa
Seems I am looking for the angstrom image with kernel 2.6.21 on it, do any of you have it hanging around?

-sheepish look- Thanks for any help

The Angstrom people removed it from the testing images, but it's attached in the thread with the instructions (where you get through the link in my previous post).
Title: C1000 & Debian
Post by: scottlfa on October 22, 2007, 02:35:45 pm
Can't seem to find an actual downloadable link in the refered to topic.  Looked through the whole thing a few times now.
Title: C1000 & Debian
Post by: jpmatrix on October 22, 2007, 03:09:06 pm
perhaps this one ?

http://inv2004.googlepages.com/z1000_debian.txt (http://inv2004.googlepages.com/z1000_debian.txt)
Title: C1000 & Debian
Post by: scottlfa on October 22, 2007, 03:14:42 pm
I have the system running using an earlier 2.6.16 kernel.  I went through the above mentioned documents.  Presently I have things installed, X won't start for some reason and theres a myriad of other things to do.  I am looking for the angstrom image mentioned that has the 2.6.21 kernel.  I looked through the posts and found no link to the now missing image.

network is up and running, though it seems to freak out when udev is installed (something about a wlan0_rename seen in cat /dev/net/wireless output)

Thanks for the pointer though
Title: C1000 & Debian
Post by: koen on October 22, 2007, 03:17:49 pm
Funny how after 2 weeks no-one has figured out that the kernels are inside the tarballs stored on the angstrom server. Or bothered to build their own 2.6.21 kernel.
Title: C1000 & Debian
Post by: scottlfa on October 22, 2007, 03:24:08 pm
Where are the tarballs?  I am still learning the process.  As too compiling my own, thats beyond my talents in some ways.
Title: C1000 & Debian
Post by: Chero on October 22, 2007, 03:42:59 pm
Quote from: koen
Funny how after 2 weeks no-one has figured out that the kernels are inside the tarballs stored on the angstrom server. Or bothered to build their own 2.6.21 kernel.

https://www.oesf.org/forum/index.php?s=&...st&p=168704 (https://www.oesf.org/forum/index.php?s=&showtopic=24810&view=findpost&p=168704)
I guess somebody knew ... . Anyway, this is only a forum ...

Now you're talking about them, where are the tarballs with the 2.6.21-kernel ?
I recall they disappeared 2 days after we started using them ...

@ scottlfa : I still have a copy of a 2.6.21-kernel for the C1000 - I'll attach it again tomorrow. It was attached in the previous thread about the subject but the attachments seem to be lost.

Chero.
Title: C1000 & Debian
Post by: scottlfa on October 22, 2007, 08:00:39 pm
Found a 2.6.21 kernel that did the job, though not Angstrom.

Kernel and Modules for 2.6.21 (http://pokylinux.org/releases/blinky-3.0/)

I downloaded the following files from it;
updater.sh.akita
modules-2.6.21-akita.tgz
zImage-2.6.21-blinky-3.0-akita.bin

Flashed the unit with the most recent Angstrom (2.6.22)
Renamed the zImage-2.6.21-blinky-3.0-akita.bin to zImage
Renamed the updater.sh.akita to updater.sh
Flashed the new kernel into Ang and rebooted. (exteneded drivers are not ready yet at this step)

Prep the modules for Angstrom to use;
Once Ang loaded, opened terminal and mounted the cf card.
cp modules-2.6.21-akita.tgz /
tar zxvf modules-2.6.21-akita.tgz
depmod
reboot

Prepare the SD just as Chero outlines:
- create a linux partition on the SD (I created a big linux partition and a 256Mb swap partition on a 4Gb card )
- format the partition : mkfs.ext3 /dev/mmcblk0p1
- get the rootfs from http://www.bigbridgezau.sakura.ne.jp/dev/debian/ (http://www.bigbridgezau.sakura.ne.jp/dev/debian/)
- untar it to the root of the SD (tar -xzpfv ?)
Now you need to put the kernel-modules on the SD as well :
- cp modules-2.6.21-akita.tgz /media/card/
- tar zxvf modules-2.6.21-akita.tgz
The debian boot process looks for init.sysvinit instead of init, so :
- cd /media/card/sbin and "ln -s init init.sysvinit"
You need to change the mounted root from the standard /dev/hda1 (Microdrive) for titchy to /dev/mmcblk0p1 (SD-card)
- cd /media/card/etc and edit fstab to make /dev/mmcblk0p1 mount to / and make it bootable. (Also disable the /dev/hdaX entries because you don't have a microdrive)

Bring up Wifi and prep altboot;
ipkg update
ipkg install altboot
reboot

Once it reboots;
- press any key to enter altboot
- put in password
- boot to SD
- once at prompt type depmod and reboot

Things should be the same from here on out.

Not a perfect way but eh ...

Doing a great job guys, especially Chero and Zdevil (Would not be trying this without you guys work)
Title: C1000 & Debian
Post by: Chero on October 23, 2007, 02:14:31 am
Quote from: scottlfa
Found a 2.6.21 kernel that did the job, though not Angstrom.

Kernel and Modules for 2.6.21 (http://pokylinux.org/releases/blinky-3.0/)

I downloaded the following files from it;
updater.sh.akita
modules-2.6.21-akita.tgz
zImage-2.6.21-blinky-3.0-akita.bin

Flashed the unit with the most recent Angstrom (2.6.22)
Renamed the zImage-2.6.21-blinky-3.0-akita.bin to zImage
Renamed the updater.sh.akita to updater.sh
Flashed the new kernel into Ang and rebooted. (exteneded drivers are not ready yet at this step)

Prep the modules for Angstrom to use;
Once Ang loaded, opened terminal and mounted the cf card.
cp modules-2.6.21-akita.tgz /
tar zxvf modules-2.6.21-akita.tgz
depmod
reboot

Prepare the SD just as Chero outlines:
- create a linux partition on the SD (I created a big linux partition and a 256Mb swap partition on a 4Gb card )
- format the partition : mkfs.ext3 /dev/mmcblk0p1
- get the rootfs from http://www.bigbridgezau.sakura.ne.jp/dev/debian/ (http://www.bigbridgezau.sakura.ne.jp/dev/debian/)
- untar it to the root of the SD (tar -xzpfv ?)
Now you need to put the kernel-modules on the SD as well :
- cp modules-2.6.21-akita.tgz /media/card/
- tar zxvf modules-2.6.21-akita.tgz
The debian boot process looks for init.sysvinit instead of init, so :
- cd /media/card/sbin and "ln -s init init.sysvinit"
You need to change the mounted root from the standard /dev/hda1 (Microdrive) for titchy to /dev/mmcblk0p1 (SD-card)
- cd /media/card/etc and edit fstab to make /dev/mmcblk0p1 mount to / and make it bootable. (Also disable the /dev/hdaX entries because you don't have a microdrive)

Bring up Wifi and prep altboot;
ipkg update
ipkg install altboot
reboot

Once it reboots;
- press any key to enter altboot
- put in password
- boot to SD
- once at prompt type depmod and reboot

Things should be the same from here on out.

Not a perfect way but eh ...

Doing a great job guys, especially Chero and Zdevil (Would not be trying this without you guys work)
Great to hear you got there !! Congrats.
And thanks for the link to the kernel.

Chero.
Title: C1000 & Debian
Post by: scottlfa on October 24, 2007, 03:05:30 pm
Cant's seem to get X up and running with touch screen support.  Got the X to come up in Xfce4, but no control of the stylus.

Any attempt to use the Xfbdev kdrive results in exec failed to execute etc ... am I missing something?
Title: C1000 & Debian
Post by: Chero on October 24, 2007, 04:47:46 pm
Quote from: scottlfa
Cant's seem to get X up and running with touch screen support.  Got the X to come up in Xfce4, but no control of the stylus.

Any attempt to use the Xfbdev kdrive results in exec failed to execute etc ... am I missing something?

probably a kernel problem - I'll try to attach the one that works for me.
Title: C1000 & Debian
Post by: scottlfa on October 24, 2007, 06:01:25 pm
and I was so happy with my kernel find ... guess I should learn some patients eh?  Thanks Chero
Title: C1000 & Debian
Post by: scottlfa on October 24, 2007, 09:59:02 pm
Been fiddling alot today and I found out some things, patients is a virtue.  After flashing the drive to a few other things I returned to this project with a new idea.  I would see if the kernel was the issue.  Tested and failled to get altboot working with Angstroms new 2.6.23 kernel so I went back to pokylinux's.

This time instead of flashing Angstrom then backing down to the 2.6.21 kernel from pokylinux, I just flashed pokylinux onto the machine.  Side note - pokylinux is very palm like as far as its gui is concerned.  A terminal, file manager and other basics of a pda are there.  File manager helps with moving things around abit.  Anyhows, installed altboot and went from there.

Prep the SD the same way as chero said etc ...

Rebooted into debian, depmod -a at the prompt and rebooted again.  Everything loaded fine.  Manually setup and launched the wifi card, download titchy full (apt-get install titchy), after I did an apt-get update.  Let everything install, and with a moment of hesitation ... typed startx and enter.

Drum roll ... it lauched the gui right off, all of it ... first the VERY welcome to see touch screen calibration screen and then onto the gui itself.  Nice.  Btw it resumes and suspends without any configuration at all -sweet-.

Now to tweak with it.

So the Openhand (pokylinux) kernel works perfectly.

For those of you who might try pokylinux, its load screen and such looks alot like angstroms.  Pokylinux (http://pokylinux.org/) does have full pim (pimilco apps), web browser, media (movie) player, notepad, filemanager, some cheap games, terminal, and some other extras.  Not bad for a basic gui.
Title: C1000 & Debian
Post by: scottlfa on October 25, 2007, 11:38:17 pm
Screenshots of Gnome on Debian Lenny :0

Working on sound atm.
Title: C1000 & Debian
Post by: apink on October 31, 2007, 03:31:24 am
Has anyone tried/does anyone know about using a usb wireless dongle in debian on the Z?  Would it perhaps work out of the box or are there some special considerations because of the Zaurus hardware differences compared to normal pc usb interfaces?  I know that there were possibly as of march last year some considerations with power consumption maxing the Z out.  I just searched the big boxes and came across some "low power" dongles so maybe these would work power wise.  

I am wondering because I am thinking about giving up on my wireless cf (ambicom) that seems to work roughly 10% of the time anymore and just get a nice big cf flash card on which to put debian.  Then I would use the usb dongle for the few times that I connect to the internet with the z.
Title: C1000 & Debian
Post by: VirtusRex on October 31, 2007, 10:02:33 am
Hey scottlfa,

I noticed you got debian/gnome working on your C1000. I’ve been thinking about trying to install debian on my C1000, but I wasn’t sure if it would be usage. Would you mind if I asked you a couple of questions, since you’ve got it going on a C1000.

What’s the speed like?
What kinds of apps can it run?
Can it run Firefox, and flash player as well?
Does it handle Gnumeric and Abiword?

Basically, is it worth changing to Debian OS?


Thanks,

VirtusRex
Title: C1000 & Debian
Post by: Chero on October 31, 2007, 11:51:26 am
Quote from: VirtusRex
Hey scottlfa,

I noticed you got debian/gnome working on your C1000. I’ve been thinking about trying to install debian on my C1000, but I wasn’t sure if it would be usage. Would you mind if I asked you a couple of questions, since you’ve got it going on a C1000.

What’s the speed like?
What kinds of apps can it run?
Can it run Firefox, and flash player as well?
Does it handle Gnumeric and Abiword?

Basically, is it worth changing to Debian OS?


Thanks,

VirtusRex

https://www.oesf.org/forum/index.php?s=&...st&p=167519 (https://www.oesf.org/forum/index.php?s=&showtopic=24709&view=findpost&p=167519)

also check posts 33 / 45 and 61 of the same thread.

(eabi is even faster ...)

Chero.
Title: C1000 & Debian
Post by: scottlfa on November 06, 2007, 01:22:50 pm
On eabi debian I have yet to get firefox or any web browser working ... broken packages.  Speed wise, not seeing a whole lot of difference between it and oabi titchy debian.  I have sound up and running but have yet to actually hear anything (wierd) so I am not sure atm ... debating returning to pdaxrom.

Should say though when I was running titchy I DID have firefox and other apps, FAR less broken packages.  Had Gnome Desktop on it, which seems to be broken in Eabi (armel).  Sound just is broken in titchy.
Title: C1000 & Debian
Post by: jpmatrix on November 06, 2007, 02:21:48 pm
Quote from: scottlfa
On eabi debian I have yet to get firefox or any web browser working ... broken packages.  Speed wise, not seeing a whole lot of difference between it and oabi titchy debian.  I have sound up and running but have yet to actually hear anything (wierd) so I am not sure atm ... debating returning to pdaxrom.

Should say though when I was running titchy I DID have firefox and other apps, FAR less broken packages.  Had Gnome Desktop on it, which seems to be broken in Eabi (armel).  Sound just is broken in titchy.

yess
broken packages are a major drawback...
i was thinking exactly like you
i've written on debian-arm mailing list to talk about that but i haven't yet received any answer...
so what next? ....
perhaps returning to oabi and use the zaurus as fast as it can be with all packages working OR continuing under eabi and wait for the developpers OR try to compile some broken packages (huge task, zdevil is yet on it) ...
OR return to another working_and_supported distro like pdaxii13/xrom , angstrom, poky or openbsd........

PS: we should continue to talk about that in this thread:
https://www.oesf.org/forum/index.php?showtopic=25008 (https://www.oesf.org/forum/index.php?showtopic=25008)
Title: C1000 & Debian
Post by: dlj0 on November 06, 2007, 02:31:24 pm
Quote from: scottlfa
On eabi debian I have yet to get firefox or any web browser working ... broken packages.  Speed wise, not seeing a whole lot of difference between it and oabi titchy debian.  I have sound up and running but have yet to actually hear anything (wierd) so I am not sure atm ... debating returning to pdaxrom.

Should say though when I was running titchy I DID have firefox and other apps, FAR less broken packages.  Had Gnome Desktop on it, which seems to be broken in Eabi (armel).  Sound just is broken in titchy.

I am in the middle of installing debian armel as well.  I don't have a functional X server yet, but have installed a lot of packages.  I can run iceweasel (AKA firefox) just fine on a remote display to my desktop machine.  

As far as gnome desktop goes, it may exist in debian-arm, but it will really slow you down.  I tried it, then dumped it in favor of xfce4,  Now I will try to set up icewm-experimental in armel.
Title: C1000 & Debian
Post by: ZDevil on November 06, 2007, 02:39:35 pm
Quote from: jpmatrix
perhaps returning to oabi and use the zaurus as fast as it can be with all packages working OR continuing under eabi and wait for the developpers OR try to compile some broken packages (huge task, zdevil is yet on it) ...
https://www.oesf.org/forum/index.php?showtopic=25008 (https://www.oesf.org/forum/index.php?showtopic=25008)

No, I've already started. And you?  
I am quite optimistic about the EABI.
Title: C1000 & Debian
Post by: jpmatrix on November 06, 2007, 02:40:17 pm
Quote from: dlj0
Quote from: scottlfa
On eabi debian I have yet to get firefox or any web browser working ... broken packages.  Speed wise, not seeing a whole lot of difference between it and oabi titchy debian.  I have sound up and running but have yet to actually hear anything (wierd) so I am not sure atm ... debating returning to pdaxrom.

Should say though when I was running titchy I DID have firefox and other apps, FAR less broken packages.  Had Gnome Desktop on it, which seems to be broken in Eabi (armel).  Sound just is broken in titchy.

I am in the middle of installing debian armel as well.  I don't have a functional X server yet, but have installed a lot of packages.  I can run iceweasel (AKA firefox) just fine on a remote display to my desktop machine.  

As far as gnome desktop goes, it may exist in debian-arm, but it will really slow you down.  I tried it, then dumped it in favor of xfce4,  Now I will try to set up icewm-experimental in armel.

!!!!!!!!!!
how the hell did you get iceweasel working on armel ???? hmmm unless you're on oabi ?
Title: C1000 & Debian
Post by: Chero on November 06, 2007, 02:50:38 pm
Quote from: jpmatrix
Quote from: dlj0
Quote from: scottlfa
On eabi debian I have yet to get firefox or any web browser working ... broken packages.  Speed wise, not seeing a whole lot of difference between it and oabi titchy debian.  I have sound up and running but have yet to actually hear anything (wierd) so I am not sure atm ... debating returning to pdaxrom.

Should say though when I was running titchy I DID have firefox and other apps, FAR less broken packages.  Had Gnome Desktop on it, which seems to be broken in Eabi (armel).  Sound just is broken in titchy.

I am in the middle of installing debian armel as well.  I don't have a functional X server yet, but have installed a lot of packages.  I can run iceweasel (AKA firefox) just fine on a remote display to my desktop machine.  

As far as gnome desktop goes, it may exist in debian-arm, but it will really slow you down.  I tried it, then dumped it in favor of xfce4,  Now I will try to set up icewm-experimental in armel.

!!!!!!!!!!
how the hell did you get iceweasel working on armel ???? hmmm unless you're on oabi ?

apt-get update
apt-get upgrade
apt-get install iceweasel
apt-get install galeon
apt-get install dillo
apt-get install ....

They all worked for me.
Tip : do an apt-get update often cause repo-s (feeds) change often. Before I did update and upgrade they were all broken for me as well ...

edit : maybe tell what is the broken dependency, then we might know how to solve it ?
I don't remember whether I did a dist-upgrade ...

Chero.
Title: C1000 & Debian
Post by: jpmatrix on November 06, 2007, 03:03:41 pm
whow!!!!!!!
it seems gnuab contains updated & latest version of some broken packages while armel-debs.applieddata.net does not !!!!!
apt-get install iceweasel is in progress right now!!!!!!!!!!

thanks for that!
by the way can you post your sources.list ? mine seems not a standard one
Title: C1000 & Debian
Post by: scottlfa on November 06, 2007, 03:24:15 pm
When I try apt-get install iceweasel I get this;

my sources.list has this only
deb http://ftp.gnuab.org/debian (http://ftp.gnuab.org/debian) sid main

The following packages have unmet dependencies:
  iceweasel: Depends: libnspr4-0d (>= 1.8.0.10) but it is not installable
             Depends: libnss3-0d (>= 3.11.5-1) but it is not going to be installed
E: Broken packages

Found a solution.

sources.list
deb http://ftp.gnuab.org/debian (http://ftp.gnuab.org/debian) sid main
deb http://ftp.gnuab.org/debian (http://ftp.gnuab.org/debian) unstable main
deb http://ftp.gnuab.org/debian (http://ftp.gnuab.org/debian) unreleased main
deb http://ftp.gnuab.org/debian (http://ftp.gnuab.org/debian) experimental main
Title: C1000 & Debian
Post by: ZDevil on November 06, 2007, 03:37:46 pm
Sometimes it helps if you install the dependencies first separately. I tried this method a few times and it seems to work in some cases.
Title: C1000 & Debian
Post by: Chero on November 06, 2007, 03:46:09 pm
Quote from: jpmatrix
whow!!!!!!!
it seems gnuab contains updated & latest version of some broken packages while armel-debs.applieddata.net does not !!!!!
apt-get install iceweasel is in progress right now!!!!!!!!!!

thanks for that!
by the way can you post your sources.list ? mine seems not a standard one

mine has only these two lines :
deb http://ftp.easynet.be/ftp/gnuab/debian (http://ftp.easynet.be/ftp/gnuab/debian) sid main
deb http://ftp.easynet.be/ftp/gnuab/debian (http://ftp.easynet.be/ftp/gnuab/debian) unreleased main

I tried kfreesbsd/gnuab and applieddata before, but they had too many broken deps - easynet.be hasn't let me down till now.