Author Topic: How To Install Debian On Your Zaurus (obsolete)  (Read 116825 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #195 on: November 02, 2007, 06:44:22 am »
Quote from: python
Quote from: jpmatrix
Quote from: python
Quote from: jpmatrix
i've sound working ! .... but only on headphones...... when i plug/unplug it seems something is happening but the zaurus speaker is dead quite ...... any idea.?
Got everything working fine except the sound on the speaker.
so i'm not the only one !
which zaurus model do you own ?
I am using C3200. I follow yonggun instruction on his website. I dunno if he has the same problem with us?

Sound plays very well in my setup (C3200, kernel 2.6.23.1 yonggun, Debian EABI).
Have you tried alsamixer (in the package alsa-utils) to set up the sound?
Run alsamixer, use [M] to mute/unmute, and the Up/Down arrow keys for turning things up and down.

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]

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #196 on: November 02, 2007, 09:53:38 am »
Quote from: Vitel
Quote from: 2or0
Did you try to press Fn+D+M to get into Service mode? or OK+Power to uboot?
Thanks for your reply. I've tried to hold D+M (but not Fn+D+M) while attaching AC (with the battery ejected) and OK+Power (with the battery inserted). I'll try Fn+D+M this evening.

I got the message from Korean guy who had same problem. Fn+D+M works and he recoverd the system.  
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
How To Install Debian On Your Zaurus (obsolete)
« Reply #197 on: November 03, 2007, 02:19:36 pm »
Quote from: 2or0
Quote from: Vitel
Quote from: 2or0
Did you try to press Fn+D+M to get into Service mode? or OK+Power to uboot?
Thanks for your reply. I've tried to hold D+M (but not Fn+D+M) while attaching AC (with the battery ejected) and OK+Power (with the battery inserted). I'll try Fn+D+M this evening.

I got the message from Korean guy who had same problem. Fn+D+M works and he recoverd the system.  

Thank you guys, I've restored Z using Fn+D+M keys.

So, I've performed all steps form 1 to 11. Unfortunately, I have no proper Inet connection  Will it be OK if I skip update and dist-upgrade and install all packages mentioned in the 2nd-cfg.sh manually? I'm going to use this feed:
http://kfreebsd-gnu.debian.net/debian/pool-armel/main/
Regards,
Vitel

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #198 on: November 03, 2007, 05:36:19 pm »
@Vitel
For the inet error, try this:

nano /etc/modporbe.d/aliases

Add the following three lines and comment out the last one like this:

Code: [Select]
alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off
#alias net-pf-10 ipv6

Reboot.  If your wifi card is supported and /etc/network/interfaces and /etc/resolv.conf are correct, then your Z should be able to connect to the internet.

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]

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
How To Install Debian On Your Zaurus (obsolete)
« Reply #199 on: November 03, 2007, 05:49:46 pm »
Quote from: ZDevil
@Vitel
For the inet error, try this:
...

Reboot.  If your wifi card is supported and /etc/network/interfaces and /etc/resolv.conf are correct, then your Z should be able to connect to the internet.
I meant I can't connect Z to the internet due to hardware troubles: I have no WiFi AP. Therefore, It'd be better for me to download all necessary deb packets from my desktop and copy them to CF card. Is it way possible?
Regards,
Vitel

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #200 on: November 03, 2007, 06:03:52 pm »
Quote from: Vitel
Quote from: ZDevil
@Vitel
For the inet error, try this:
...

Reboot.  If your wifi card is supported and /etc/network/interfaces and /etc/resolv.conf are correct, then your Z should be able to connect to the internet.
I meant I can't connect Z to the internet due to hardware troubles: I have no WiFi AP. Therefore, It'd be better for me to download all necessary deb packets from my desktop and copy them to CF card. Is it way possible?

Why don't you use USB networking? This is easy and convinient.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
How To Install Debian On Your Zaurus (obsolete)
« Reply #201 on: November 03, 2007, 06:22:37 pm »
Quote from: 2or0
Quote from: Vitel
Quote from: ZDevil
@Vitel
For the inet error, try this:
...

Reboot.  If your wifi card is supported and /etc/network/interfaces and /etc/resolv.conf are correct, then your Z should be able to connect to the internet.
I meant I can't connect Z to the internet due to hardware troubles: I have no WiFi AP. Therefore, It'd be better for me to download all necessary deb packets from my desktop and copy them to CF card. Is it way possible?

Why don't you use USB networking? This is easy and convinient.
Thanks for advice, I'll try it.
Regards,
Vitel

dsteuer

  • Newbie
  • *
  • Posts: 31
    • View Profile
How To Install Debian On Your Zaurus (obsolete)
« Reply #202 on: November 05, 2007, 04:18:28 am »
Quote from: ZDevil
Q16: I am using a Cxx0 or C1000. How can I install Debian EABI to my SD card?

A16: The installation comes in two parts. 1. Install the Angstrom kernel & Angstrom system; 2. Install the Debian EABI system
Note:
-- If your Zaurus is already running with uboot (such as the new pdaXrom versions), then you have to do a NAND Restore to revert to the factory stock rom in order to flash this kernel.
-- If you want to keep using uboot, go to Q20 now.
-- The 2.6.22 kernel (2.6.23 yet to be verified) has troubles with altboot, so don't use it for now unless you know how to solve the problems.


Go back to the main list.

Many thanks for the guide! But still lost ...

Ok, here I am. I want to have Debian EABI on my C860. Q16 is my starting point.
Yes, I am the problem child :-).

Where can I find an angstrom 2.6.21 system to download? Or can I use Poky instead? Or did anybody try the november edition of angstrom?

Thank you all
Detlef

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #203 on: November 05, 2007, 04:31:52 am »
Sorry, you are right. Angstrom 2.6.21 is no longer available in the Angstrom feeds.
I don't have the kernel at the moment. Chero once uploaded it in some post but his attachment has been lost like many other recent attachments. Perhaps you can ask him or someone for that.

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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #204 on: November 05, 2007, 04:35:01 am »
Quote from: dsteuer
Quote from: ZDevil
Q16: I am using a Cxx0 or C1000. How can I install Debian EABI to my SD card?

A16: The installation comes in two parts. 1. Install the Angstrom kernel & Angstrom system; 2. Install the Debian EABI system
Note:
-- If your Zaurus is already running with uboot (such as the new pdaXrom versions), then you have to do a NAND Restore to revert to the factory stock rom in order to flash this kernel.
-- If you want to keep using uboot, go to Q20 now.
-- The 2.6.22 kernel (2.6.23 yet to be verified) has troubles with altboot, so don't use it for now unless you know how to solve the problems.


Go back to the main list.

Many thanks for the guide! But still lost ...

Ok, here I am. I want to have Debian EABI on my C860. Q16 is my starting point.
Yes, I am the problem child :-).

Where can I find an angstrom 2.6.21 system to download? Or can I use Poky instead? Or did anybody try the november edition of angstrom?

Thank you all
Detlef

From what I read here the Angstrom kernel and Poky kernel are quite alike, so you should be fine using that one.
Before trying the november edition : check the angstrom bugs / mailing list to see whether the altboot problem has been solved.
As for the 2.6.21 kernel : ZDevil has it somewhere, I only have the one for C1000.

edit : oops, cross-posting-fun.
@ZDevil : I don't have the one for C860.

Chero.
« Last Edit: November 05, 2007, 04:36:20 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #205 on: November 05, 2007, 04:35:49 am »
BTW thanks to flux's testing, now we found some low-level bugs in the after installation scripts. I am revising the files now and am still thinking of the way to handle the hwclock.rules.
The scenario is this:

The 1st-cfg.sh from the afterinstall tarball instructs to copy a hwclock.rules to /etc/udev/rules.d and then executes "hwclock -w" right after that. But the second step fails due to some /dev/rtc error. After a reboot "hwclock -w" works as expected though. The ideal case is not to have the user reboot after running 1st-cfg.sh, but to ensure the hardware clock setting takes effect on the spot. The hwclock man page and google is of little help here.
Any hint?
« Last Edit: November 05, 2007, 04:37:57 am 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #206 on: November 05, 2007, 04:37:19 am »
Quote from: Chero
From what I read here the Angstrom kernel and Poky kernel are quite alike, so you should be fine using that one.
Before trying the november edition : check the angstrom bugs / mailing list to see whether the altboot problem has been solved.
As for the 2.6.21 kernel : ZDevil has it somewhere, I only have the one for C1000.

Chero.

Oh, yes. I have the Cxx0 one. But the file is not around me in the workplace. Perhaps if you don't mind waiting till this evening I will upload it here, together with an updated after installation tarball.
« Last Edit: November 05, 2007, 04:37:38 am 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]

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #207 on: November 05, 2007, 08:51:38 am »
Quote from: ZDevil
BTW thanks to flux's testing, now we found some low-level bugs in the after installation scripts. I am revising the files now and am still thinking of the way to handle the hwclock.rules.
The scenario is this:

The 1st-cfg.sh from the afterinstall tarball instructs to copy a hwclock.rules to /etc/udev/rules.d and then executes "hwclock -w" right after that. But the second step fails due to some /dev/rtc error. After a reboot "hwclock -w" works as expected though. The ideal case is not to have the user reboot after running 1st-cfg.sh, but to ensure the hardware clock setting takes effect on the spot. The hwclock man page and google is of little help here.
Any hint?

I always found that hwclock looked for /dev/rtc, but I can only find rtc0 in my dev tree.  After doing ln -s /dev/rtc0 /dev/rtc, hwclock works for me.
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #208 on: November 05, 2007, 10:31:52 am »
Thanks. I remember flux did the same trick too. Perhaps I should add the symlinking to the updated script.

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]

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
How To Install Debian On Your Zaurus (obsolete)
« Reply #209 on: November 05, 2007, 01:39:25 pm »
Quote from: Vitel
Quote from: 2or0
Quote from: Vitel
Quote from: ZDevil
@Vitel
For the inet error, try this:
...

Reboot.  If your wifi card is supported and /etc/network/interfaces and /etc/resolv.conf are correct, then your Z should be able to connect to the internet.
I meant I can't connect Z to the internet due to hardware troubles: I have no WiFi AP. Therefore, It'd be better for me to download all necessary deb packets from my desktop and copy them to CF card. Is it way possible?

Why don't you use USB networking? This is easy and convinient.
Thanks for advice, I'll try it.

I've configured USB networking, it works well, but I'm still having troubles with installation.
Some errors occur during execution of the 2nd-cfg.sh in spite of the fact that script downloads and installs lots of packets (about 60Mb as far as I remember).  Please see attached log of the 2nd-cfg execution in the second time (after all packets are already downloaded): [ Invalid Attachment ]

BTW, I've tried to add one more server to the list of apt sources, but it didn't help:
Code: [Select]
#cat sources.list
deb http://ftp.gnuab.org/debian sid main
deb http://kfreebsd-gnu.debian.net/debian sid main
deb http://armel-debs.applieddata.net/debian sid main
« Last Edit: November 05, 2007, 01:41:39 pm by Vitel »
Regards,
Vitel