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

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« on: October 27, 2007, 02:56:15 pm »
[size=]A[/size] Debian/Zaurus installation guide (for all C-series models)
Version 0.3 W.I.P. (071101)
Compiled by a random nameless rogue user joe    , Contributed by yet more random nameless rogue users joez       .

This guide has been posted on the OESF wiki and is no longer be maintained.


[size=]Notes:
-- This guide is still at a draft stage and is not error-proof. DO NOT hesitate to point out any error/mistake/inaccuracy and the guide will be updated as quickly as possible.  
-- You only need to refer the first two pages of this thread if you don't have much time. Most issues arising from the disccussion in the ensuing pages have been resolved and the results integrated into these first two pages.
[/size]
[/color]

=============
Changelog (071101):
1. Updated zaurus-debian-eabi-afterinstall to 1.1 (for kernel 2.6.23.1 yonggun ONLY) and uploaded in Post #13 (Q12), including the following fixes:
-- Added apmd and libsdl1.2debian-alsa installation instructions in the 2nd-cfg.sh. (Thanks, jpmatrix!)
-- Fixed inserting loadkeys line in /etc/rc.local in 1st-cfg.sh  (Thanks, tux!)
-- Fixed package feed locations in sources.list  (Thanks, jpmatrix and zecrazytux!)
-- Moved hardware clock setting from 2nd-cfg.sh to 1st-cfg.sh (Thanks, tux!)
Many many thanks goes to 2or0 (yonggun) for his major contribution to the after installation tarball.

2.  Added instruction to resolve opening initial console failure upon the very first boot  (Thanks, jpmatrix!)

Changelog (071031):
[For kernel 2.6.23.1 yonggun ONLY; Replaced with an updated one in post #13]
2. Revised and simplified the EABI after installation processes (Q16-Q20).
3. Added installation method of Debian EABI on SD for C1000. (Q20)

Changelog (071029):
1. Added basic after installation instructions to Debian EABI installation.
2. Added & updated  (i think it's better to use the same versioning for both).
3. Cleared up some redundancies and inconsistencies in the instructions.
=============

Q: What is this all about? Why should I read this?

A: This is a kinda "rogue guide" to how to get a full Debian installed on your Zaurus. I assume that you:
1. You have a Zaurus;  
2. You fancy playing Debian for real on your Zaurus.  


Q: How is this guide organized?

A: This guide will walk you through the methods of installing a real Debian on your Zaurus.
It is a bit long, but actually you are not supposed to read it all.
You will be prompted a few questions (Q8-Q12) and you will then know where to continue.  

For fresh beginners, please read from Q1 onwards.
For experienced users who just want to check out and review the installation procedures, simply jump directly to the relevant question.

Q1: What the heck is this Debian game all about?

Q2: So is there only one way to do that?

Q3: What are OABI and EABI?

Q4: What if I want to know more about OABI and EABI in Debian?

Q5: How many ways can I enjoy real Debian on my Zaurus?

Q6: So are there just one OABI kernel, one EABI kernel, one OABI system and one EABI system (for running on the Zaurus)?

Q7: Tell me more about the choice of the kernels.

Q8: How do I know which kernel I should use?

Q9: I want to run an OABI system (Etch or Lenny or Sid). Which kernel should I use?

Q10: I’ve already got the right kernel. Where can I get the Debian OABI system?

Q11:  I want to install the Debian EABI system. Which kernel should I use?

Q12: I've already got the right kernel. Where can I get the Debian EABI system?

Q13: I am using a Cxx0 or C1000. How can I install Debian OABI to my SD card?

Q14: I am using a C3x00. How can I install Debian OABI on the internal drive using the CD image?

Q15: I am using a C3x00. How can I install Debian OABI on the internal drive using the rootfs tarball?

Q16: I am using a Cxx0 or C1000. How can I install Debian EABI to my SD card?

Q17: I am using a C3x00. How can I install Debian EABI on the internal drive?

Q18: I am using a C3x00, and I want to use kernel 2.6.23.1 yonggun with uboot. How can I install Debian EABI on the internal drive?

Q19: I am using a C3x00, and I want to use kernel 2.6.23.1 yonggun with uboot. How can I install Debian EABI on SD?

Q20: I am using a C1000, and I want to use kernel 2.6.23.1 yonggun with uboot. How can I install Debian EABI on SD?

Q??: So at the end of the days, which one is the best?
« Last Edit: March 29, 2008, 12:46:52 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #1 on: October 27, 2007, 02:57:20 pm »
Q1: What the heck is this Debian game all about?

A1: It’s all about installing a full Debian and getting Debian working on your Zaurus. In the past there was a Debian Pocketworkstation that runs as a system chrooted system in Sharp/Cacko rom. http://www.pocketworkstation.org/ http://wiki.debian.org/PocketWorkstation (The system it uses is Debian 3.0 codenamed ‘Sarge’)

And now users can run a full native Debian (Etch, Lenny, Sid) on the Zaurus!
(About Debian: http://www.debian.org/index.html )

Want to know more? Read on.


Go back to the main list.
« Last Edit: October 27, 2007, 07:08:14 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #2 on: October 27, 2007, 02:57:43 pm »
Q2: So is there only one way to do that?

A2: Not really. Over the last few months the playground has expanded quickly. The many interesting cases are all derived from the combos of two ‘things’:
OABI (kernel/system) + EABI (kernel/system)


Go back to the main list.
« Last Edit: October 27, 2007, 03:30:49 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #3 on: October 27, 2007, 02:58:13 pm »
Q3: What are OABI and EABI?

A3: They are two kinds of ABI (Application Binary Interface). The ‘O’ stands for ‘Old’, and the ‘E’ means ‘Embedded’, a new approach to API for portable devices like the Zaurus.

According to http://www.applieddata.net/forums/topic.asp?TOPIC_ID=2305

Quote
GNU EABI is a new application binary interface (ABI) for Linux. It is part of a new family of ABI's from ARM® Ltd. known in the arm-linux community as EABI (or sometimes Embedded ABI).
……
According to Debian Wiki the new EABI:
    * Allows mixing softfloat and hardfloat code.
    * Uses a more efficient syscall convention.
    * Will be more compatible with future tools.

Furthermore, the GCC default for EABI will be to use softfloat instructions for floating point arithmetic.
……


Go back to the main list.
« Last Edit: October 27, 2007, 03:31:20 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #4 on: October 27, 2007, 02:58:35 pm »
Q4: What if I want to know more about OABI and EABI in Debian?

A4: Ok, here is a very informal sketch. The Debian OABI is still the mainstream version. You can choose to run Etch (stable release but a bit dated), Lenny (testing & current) or Sid (unstable but the latest). The Debian EABI system, on the other hand, is the ‘armel’ line only in the ‘Sid’ branch of Debian. Do a simple search in the Debian package brower and you will see it. http://www.debian.org/distrib/packages#search_packages
An EABI system is built to work with an EABI kernel.

I am no guru or hacker but there are some good places to check out. You can educate yourselves by reading these:
http://www.applieddata.net/forums/topic.asp?TOPIC_ID=2305
http://www.applieddata.net/forums/topic.asp?TOPIC_ID=2442
http://en.wikipedia.org/wiki/Application_binary_interface
http://linuxdevices.com/articles/AT5920399313.html
http://wiki.emqbit.com/eabi-oabi-benchmark
http://people.debian.org/~terpstra/message...f1eb465.en.html


Go back to the main list.
« Last Edit: October 27, 2007, 07:09:23 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #5 on: October 27, 2007, 02:58:53 pm »
Q5: Wow. That sounds so complicated. So how many ways can I enjoy real Debian on my Zaurus?

A5: Many. There are four logical possibilities (2x2). But in fact you can’t use an OABI kernel to run an EABI system, so just three combos:

OABI kernel + OABI system   
EABI kernel + OABI system
EABI kernel + EABI system


Go back to the main list.
« Last Edit: October 27, 2007, 03:32:28 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #6 on: October 27, 2007, 02:59:14 pm »
Q6: So are there just one OABI kernel, one EABI kernel, one OABI system and one EABI system (for running on the Zaurus)?

A6: In our case, there are one OABI and one EABI system to install, but there are many kernels to choose from.


Go back to the main list.
« Last Edit: October 27, 2007, 03:33:01 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #7 on: October 27, 2007, 02:59:34 pm »
Q7: Tell me more about the choice of the kernels.

A7: Of course! For the kernels, there are three things to pay attention to:
1. Their versions;
2. whether they are OABI or EABI;
3. which Zaurus models they are for.

They are all the new 2.6.xx kernels. Now what we have are:
(Remember, you must have both the kernel image AND the kernel module tarball (if available), and their version must match.)

[size=]OABI kernel:[/size][/u]
2.6.21 Cortez’s rebuilt Poky kernel: https://www.oesf.org/forum/index.php?showto...st&p=169770 (For C3x00)

[size=]EABI kernels: [/size]
2.6.17 with fastfpe and cpufreq kernel (from Angstrom): http://www.bigbridgezau.sakura.ne.jp/wiki....Debian%2DTitchy
2.6.20 with fastfpe and cpufreq kernel (from Angstrom): http://www.bigbridgezau.sakura.ne.jp/dev/debian/ (for C3x00 only)

2.6.20 ‘titchy’ kernel (from Angstrom): http://wiki.neilandtheresa.co.uk/Titchy_Linux/Installing (for C3x00 only)

2.6.21 Angstrom kernel (For C1000 and Cxx0; also you need the whole Angstrom system to install on NAND first; removed from the Angstrom site; uploads in this forum seem to have expired and gone; will upload again if requested)

2.6.21 Poky kernels http://pokylinux.org/releases/blinky-3.0/ (for ALL the C-series models)

2.6.23 Angstrom(latest!) http://www.angstrom-distribution.org/unstable/images/ (Check out the folders dated 24-Oct-2007 for Spitz (=C3x00); the one for C7x0 is reported to have issues with Altboot – see Q13)

2.6.23.1 yonggun kernel with fastfpe and cpufreq support (the latest latest!) (2or0’s patched build from Angstrom; requires uboot but works great; free of stylus pointer jumping; built for use with EABI system): http://yonggun.tistory.com/57 (for C3x00; compatibility with C1000 is to be verified)
autoboot.sh here: https://www.oesf.org/forum/index.php?act=at...ost&id=4969
[Special installation method: See Q18-Q20]


(Remember, you must have both the kernel image AND the kernel module tarball (if available), and their version must match.)

For all the kernels (except 2.6.23.1 yonggun), you also have to download the updater.sh script from the same download location.


Go back to the main list.
« Last Edit: October 28, 2007, 07:11:13 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 #8 on: October 27, 2007, 02:59:55 pm »
Q8: Waitwaitwaitwaitwait~~!  How do I know which kernel I should use?

A8: Good question! Ask yourself:
1. Do I want to run the OABI [Q9 & Q10] or the EABI system [Q11 & Q12]?  
2. What machine am I using? (Yes, it’s not all too stupid because you must not confuse the kernels!)  [Take note of Q7 again]
3. Is Debian going to run on the internal driver (microdrive/CF) or on SD? [Q13 to Q20]


Go back to the main list.
« Last Edit: October 27, 2007, 03:38:35 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #9 on: October 27, 2007, 03:00:21 pm »
Q9: I want to run an OABI system (Etch or Lenny or Sid). Which kernel should I use?

A9: In principle, you can use all the available kernels to run the OABI system, but using an OABI kernel should avoid most compatibility issues between EABI kernels and the OABI system.
If you are using Cxx0 and C1000, then you should use the 2.6.21 Angstrom kernel or 2.6.23.1 yonggun kernel. Running the system on the SD and the internal driver involve different installation methods.

Proceed to Q10.


Go back to the main list.
« Last Edit: October 28, 2007, 05:24:48 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 #10 on: October 27, 2007, 03:00:40 pm »
Q10: I’ve already got the right kernel. Where can I get the Debian OABI system?

A10: It depends on how you want to install it. There are two ways to install the system.

The first method is to install it in the same way as how Debian is installed on laptops and desktops by using an installer CD image with network connection. For the Zaurus, the smallest businesscard CD image for ARM will suit the purpose. Download it here: http://www.debian.org/releases/etch/debian-installer/

The other way is to install it locally by extracting a rootfs tarball (containting the whole base system ‘Etch’) to the SD card or internal drive. Get the hddrootfs.tar.gz (the system tarball) and gnu-tar (to extract the tarball automatically during installation) here: http://www.bigbridgezau.sakura.ne.jp/dev/debian/.

If you are using Cxx0 or C1000 and want to install Debian OABI on SD, go to Q13.
If you are using C3x00 if you install Debian OABI on the internal drive using the CD image, go to Q14.
If you are using C3x00 if you install Debian OABI on the internal drive using the rootfs tarball, go to Q15.


Go back to the main list.
« Last Edit: October 27, 2007, 04:57:12 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #11 on: October 27, 2007, 03:00:55 pm »
Q11:  I want to install the Debian EABI system. Which kernel should I use?

A11: As of the time of writing, a lot of testing and discussions are still going on. In principle all the EABI kernels will do and work well with the EABI system. Actually if you are using C3x00, you don’t have to worry too much about the choice, because you can always install another kernel later without reinstalling the system.
[One thing remains to be verified though is to switch after installing 2or0’s kernel, which installs via pdaXrom’s uboot, while all the others are installed via the common Flash Menu. More on installation methods later.]

But if you are using Cxx0 or C1000, then you have to install the Angstrom 2.6.21 kernel AND the system (see Q7) in NAND because you will need the Angstrom Altboot to boot Debian of SD.

Go to Q12.


Go back to the main list.
« Last Edit: October 27, 2007, 03:41:16 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #12 on: October 27, 2007, 03:01:17 pm »
Q12: I've already got the right kernel. Where can I get the Debian EABI system?

A12: You will extract the rootfs tarball and install it locally. Get the rootfs tarball here: http://armel.applieddata.net/developers/li...root-fs.tar.bz2
Here is an after installation tarball containing some essential packages and scripts that will greatly simplify the process of configurations and finetuning after installing the kernel and the rootfs system:  [ Invalid Attachment ]  [See the relevant entry below for how to apply it.]

If you are using Cxx0 or C1000 and want to install Debian EABI on SD, go to Q16.
If you are using C3x00 and want to install any EABI kernel (except 2.6.23.1 yonggun) and Debian EABI on the internal drive, go to Q17.
If you are using C3x00 and want to install any EABI kernel (except 2.6.23.1 yonggun) and Debian EABI on SD, go to Q18.
If you are using C3x00 and want to install kernel 2.6.23.1 yonggun and Debian EABI on the internal drive, go to Q19.
If you are using C3x00 and want to install kernel 2.6.23.1 yonggun and Debian EABI on SD, go to Q20.


Go back to the main list.
« Last Edit: November 01, 2007, 05:04:05 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #13 on: October 27, 2007, 03:01:42 pm »
Q13: I am using a Cxx0 or C1000. How can I install Debian OABI to my SD card?

A13: The installation comes in two parts. I) Install the Angstrom kernel & Angstrom system; II) Install the Debian system
[The method described here is based on Chero’s post]
==========
Preparation
==========
1. Install the Angstrom 2.6.21 kernel & system in NAND flash area.
1a. Remove baterry, wait 5 secs, place battery and attach AC power.
1b. Press "OK" key and keep it pressed, then press "On/Off" button.
1c. In the maintenance menu, choose "4" (Update) in the first screen, "2" (SD) in the second and "Y" in the third
1d. The kernel will be flashed and Zaurus will be rebooted

[Note: if your Zaurus is running the new pdaXrom versions with uboot, then you have to do a NAND Restore to revert to the factory stock rom in order to flash this kernel.]
[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.]

==========
Installation
==========
2. Install the Debian system
2.1 Repartition and reformat the SD :
-- Create a linux partition on the SD (for details see: https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card  )
-- Format the partition : mkfs.ext3 /dev/mmcblk0p1
2.2 Put the system to the SD
-- get the rootfs from http://www.bigbridgezau.sakura.ne.jp/dev/debian/
-- untar it to the root of the SD: Run "tar -xvzpf hddrootfs.tar.gz"
2.3 Put the 2.6.21 kernel modules to the SD
- copy /lib/modules from your NAND to the same location on the SD (/media/card/lib/modules)
2.4 Modify some system setting files in the Debian system
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)
2.5 Still in Angstrom : Connect to the net, do an "ipkg update" and then "ipkg install altboot"
[Notes : You'll have to edit network settings before you can reach your network (/etc/network/interfaces; /etc/resolv.conf contains some kuro-specific-things)]

==========
1st boot
==========
3.1 Reboot and hit the "any" key when asked to launch altboot then choose "boot from SD"
(the "any" key is the 35th key counting diagonal from the lower left corner or maybe some other key)
3.2 1st login
Login: root
Root password : kuroadmin
[I didn't know this when I first installed it, so I edited /media/card/etc/shadow while running Angstrom and removed the password for root (remove everything between the first ":" and the second ":" on the line beginning with "root")
3.3 Install udev
I don't think udev is installed by default -> first time fiddle with modprobe to load the correct drivers (modprobe orinoco_cs or modprobe hostap_cs), configure your network and then "apt-get install udev"
3.4 Modify /etc/apt/sources.list
You'd better edit /etc/apt/sources.list as well if you don't want to download everything from a japanese server and affect internet speed everywhere between you and Japan or if you want to upgrade to Lenny.


Go back to the main list.
« Last Edit: November 01, 2007, 05:16:21 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #14 on: October 27, 2007, 03:02:01 pm »
Q14: I am using a C3x00. How can I install Debian OABI on the internal drive using the CD image?

A14: Follow the instructions here: http://wiki.neilandtheresa.co.uk/Titchy_Linux/Installing

And this Flickr slideshow shows the whole process (click on the pictures to see more descriptions): http://www.flickr.com/photos/50659119@N00/...157702606/show/

(I will add more details here soon)

Go back to the main list.
« Last Edit: October 27, 2007, 05:41:23 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]