Author Topic: Debian Eabi With Installer  (Read 20853 times)

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Debian Eabi With Installer
« on: October 31, 2007, 06:24:17 pm »
Hi,

I tried to setup the Debian Installer in a way we can do a fully customized install of Debian without the use of the prefab root file system. See attached all files needed. The kernel used is a brand new 2.6.23 Poky kernel. The zaurus-specific package is just a beginning. I'm sure there's stuff missing here and there. The zaurus-specific package includes the corresponding kernel modules and firmware drivers with which you should be able to perform the (wireless) network installation (DHCP is included). The ramdisk.gz file contains the actual Debian Installer. More info on that can be found here.

This version does not require the use of uboot. As said before, although the idea of uboot is great, it can be a real pain to install. More important, if not installed succesfully, it's an even greater pain to get your (seemingly bricked) device back to a working state. It took me quite a while to restore my 3100 after trying the yonggum kernel with uboot.

You can put any additional Debian package files on the SD if you want to use them. After flashing the kernel the updater script will extract any .deb file from the SD to the root of the microdrive. This makes it possible for instance to use a different kernel. Just add the corresponding kernel modules (in a deb package format!) to the SD and it should work.

This version currently only works with the C3x00 models. If this works out to be succesfull and if time permits, I will build a C1000 kernel+package and maybe (depending on the help I get from ZDevil ) even a Cxx0 version to test this procedure.

==========
1. Preparation
==========
a. Extract all files from the attached AllInOne.tar archive and put them on SD. Flashing from CF is currently not supported.
b. You can put any optional debian packages (.deb) on the SD. After flashing the kernel all available .deb files on SD will be extracted to the root of the microdrive.

==========
2. Flashing
==========
a. Remove battery, wait 5 secs, place battery and attach AC power.
b. Press "OK" key and keep it pressed, then press "On/Off" button.
c. In the maintenance menu, choose "4" (Update) in the first screen, "2" (SD) in the second and "Y" in the third
d. The kernel will be flashed, the microdrive formatted and the Installer will be setup.

Your Zaurus will reboot and the Installer is started.

==========
3. The installer
==========
a. Choose your language and location
b. Network configuration. Choose the driver of your network card (yes, you need one). DHCP is included in the installer, so hopefully your network settings are automatically configured.
c. Choose the hostname and domain name. It's fine to accept the defaults, since you can always change them later.
d. Partitioning the disk. This is the most tricky bit, since the installer is currently unable to mount the swap partition. Choose for manual partitioning, and create two partitions, the first a big one and the second a smaller one. Make the smaller one about 200/250Mb and assign the rest of the diskspace to the first partition. Make the first partition primary, bootable, set the mount point to / (root) and choose the ext3 filesystem. I choose the option to not format the partition this partition and leave the current filesystem alone. Make the second partition a swap partition, primary, not bootable and don't give it a mount point. Choose the option to not use it (we deal with that later on). The Installer will complain about not having a swap partition, but you can ignore that and continue the installation.
e. The downloading and installation of the base Debian system begins. Be patient, and keep your finger crossed!
f. Ignore the message about not being able to find the right kernel. Just continue
g. At the "software installation" screen choose only to install the base system.

==========
4. Post-Installation
==========
This is work in progress, we need to setup a few extra's. At the time of writing, this still has to be done. Here's were I need your help, since I don't have the time to do this all on my own.



Good luck!

cortez
« Last Edit: November 03, 2007, 12:24:30 pm by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian Eabi With Installer
« Reply #1 on: October 31, 2007, 08:32:10 pm »
Nice. I would really love to try this if you can make a kernel for C860 (or Cxx0).  
I wonder if: 1) stylus pointer works without jumping; 2) sound works; 3) it is possible to dualboot with this setup?

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]

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Debian Eabi With Installer
« Reply #2 on: October 31, 2007, 08:40:56 pm »
I couldn't see right off the bat, so thought I'd ask.  I gather this kernel installs by flashing; without the need to go to uboot.  So, what modules are available with this, and how does one go about the rest of the install.  In particular, I am interested in the libertas module, which rumor has will support my new Sparklan  wifi card with the marvell chip.
Zaurus:  SL C3100
ROM:  eabi debian/sid

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Debian Eabi With Installer
« Reply #3 on: October 31, 2007, 08:55:17 pm »
I keep answering my own questions.  No, the libertas module is not there, so I guess I will try with yonggum's kernel.
Zaurus:  SL C3100
ROM:  eabi debian/sid

bdbell

  • Newbie
  • *
  • Posts: 20
    • View Profile
Debian Eabi With Installer
« Reply #4 on: November 01, 2007, 02:30:11 am »
I tried this on my 3100 - and I get the following error;

/tmp/update/updater.sh: 1: Syntax error: ")" expected
error (1)
Rebooting

My Z is currently running Debian OABI - as per ZDevil's guide Q15, and I have updated the kernel to the Pokylinux 2.6.21 kernel.  My microdrive (6 gig) is partitioned with ~ 5.5 gig root, 512 swap. Used a 1 gig SD to flash - have used it many times for PDAXii13 flashing with no problems.

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Debian Eabi With Installer
« Reply #5 on: November 01, 2007, 03:59:50 am »
Quote from: bdbell
I tried this on my 3100 - and I get the following error;

/tmp/update/updater.sh: 1: Syntax error: ")" expected
error (1)
Rebooting

My Z is currently running Debian OABI - as per ZDevil's guide Q15, and I have updated the kernel to the Pokylinux 2.6.21 kernel.  My microdrive (6 gig) is partitioned with ~ 5.5 gig root, 512 swap. Used a 1 gig SD to flash - have used it many times for PDAXii13 flashing with no problems.

Syntax error?!? That's really strange. I suppose you just renamed the updater.sh.gz file to updater.sh?
I just checked on my 3100, and it works as expected. Anyone having the same problems?
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Debian Eabi With Installer
« Reply #6 on: November 01, 2007, 04:09:09 am »
Quote from: ZDevil
Nice. I would really love to try this if you can make a kernel for C860 (or Cxx0).  
I wonder if: 1) stylus pointer works without jumping; 2) sound works; 3) it is possible to dualboot with this setup?

I'll update the info in the first post. When time permits I will build a C1000 kernel. This version works without uboot. Although the idea of uboot is great, it can be a real pain to install it. More important, if not installed succesfully, it's an even greater pain to get your (seemingly bricked) device back to a working state. It took my quite a while to restore my 3100 after trying the yonggum kernel with uboot.

Regarding the jumping stylus, sound etc I really don't know. I've not been able to find the time to finish the installation process.

cortez
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian Eabi With Installer
« Reply #7 on: November 01, 2007, 04:25:09 am »
That's cool. Keep up the good work!
And ...... I want a kernel for Cxx0 , not C1000 ...  

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]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Debian Eabi With Installer
« Reply #8 on: November 01, 2007, 04:39:58 am »
Quote from: ZDevil
That's cool. Keep up the good work!
And ...... I want a kernel for Cxx0 , not C1000 ...  

If you help me test this one first and if it works I promise I'll try to make you a Cxx0 version. Do we have a deal?  
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian Eabi With Installer
« Reply #9 on: November 01, 2007, 04:41:10 am »
Zeker!  

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://
Debian Eabi With Installer
« Reply #10 on: November 01, 2007, 04:42:59 am »
And if you don't mind, once yours is working, I want to add it to the mega guide for easy reference, instead of having the (new) users digging into the many posts and got confused.
And it would be super nice if you can provide the instructions as well.  
« Last Edit: November 01, 2007, 04:43:29 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]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Debian Eabi With Installer
« Reply #11 on: November 01, 2007, 05:05:01 am »
First post updated with some additional info:
You can put any additional Debian package files on the SD if you want to use them. After flashing the kernel the updater script will extract any .deb file from the SD to the root of the microdrive. This makes it possible for instance to use a different kernel. Just add the corresponding kernel modules (in a deb package format!) to the SD and it should work.
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian Eabi With Installer
« Reply #12 on: November 01, 2007, 05:16:51 am »
Quote from: cortez
First post updated with some additional info:
You can put any additional Debian package files on the SD if you want to use them. After flashing the kernel the updater script will extract any .deb file from the SD to the root of the microdrive. This makes it possible for instance to use a different kernel. Just add the corresponding kernel modules (in a deb package format!) to the SD and it should work.
I haven't tried yet, but I wonder if adding extra packages on top of the rootfs would cause dependency issue (such as libc6, etc).

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]

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Debian Eabi With Installer
« Reply #13 on: November 01, 2007, 05:17:22 am »
Quote from: cortez
First post updated with some additional info:
You can put any additional Debian package files on the SD if you want to use them. After flashing the kernel the updater script will extract any .deb file from the SD to the root of the microdrive. This makes it possible for instance to use a different kernel. Just add the corresponding kernel modules (in a deb package format!) to the SD and it should work.
 Hi cortez,

I'm giving it a try now!

 
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Debian Eabi With Installer
« Reply #14 on: November 01, 2007, 06:21:03 am »
Quote from: ZDevil
Quote from: cortez
First post updated with some additional info:
You can put any additional Debian package files on the SD if you want to use them. After flashing the kernel the updater script will extract any .deb file from the SD to the root of the microdrive. This makes it possible for instance to use a different kernel. Just add the corresponding kernel modules (in a deb package format!) to the SD and it should work.
I haven't tried yet, but I wonder if adding extra packages on top of the rootfs would cause dependency issue (such as libc6, etc).

Providing additional packages is meant to be a way of influencing the installer, for instance by adding the libertas driver
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]