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

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #30 on: October 28, 2007, 04:06:23 am »
Thanks to scottlfa for explaining to me a cleaner way to extract the EABI rootfs. Will add this bit to the guide.

About the EABI installation method:
I also think it will make life much easier if I include all the necessary files (keymap, hardware clock rules, touchscreen and X), plus one single script to set up all these in the "1st boot" section.

So version 0.2 will be up soon.
« Last Edit: October 28, 2007, 04:06:52 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #31 on: October 28, 2007, 04:09:18 am »
Quote from: scottlfa
Very well covered thanks.

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

Sent a PM ZDevil

Untar to SD (/dev/mmcblk0p1) instead of microdrive, the rest is the same.

To boot : press and hold "1" while booting and it will boot from the SD. (that's the beauty of uboot) (I think it is "1" for the SD, if not try "2" "3" or "4")
 
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.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #32 on: October 28, 2007, 04:12:10 am »
Quote from: Chero
Quote from: scottlfa
Very well covered thanks.

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

Sent a PM ZDevil

Untar to SD (/dev/mmcblk0p1) instead of microdrive, the rest is the same.

To boot : press and hold "1" while booting and it will boot from the SD. (that's the beauty of uboot) (I think it is "1" for the SD, if not try "2" "3" or "4")
 
Chero.

Just remember : once uboot is installed the only way to get back to the Angstrom or poky kernels is by doing a NAND restore first (which is quite a long way).
I'd first setup an SD with EABI and try it with the Angstrom 2.6.21 kernel on a C1000.
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 #33 on: October 28, 2007, 04:12:20 am »
I have one concern:

The EABI rootfs has got something essential missing, such as touchscreen and X stuff. I am thinking of including some library and binary from some Angstrom packages in one single tarball to be installed in one go.
Would it be ok if i simply copy out the files?
Should I add some notice or reference to Angstrom?  (oh yeah, the rules!)

Thanks!
« Last Edit: October 28, 2007, 04:13:04 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #34 on: October 28, 2007, 04:23:14 am »
Quote from: ZDevil
I have one concern:

The EABI rootfs has got something essential missing, such as touchscreen and X stuff. I am thinking of including some library and binary from some Angstrom packages in one single tarball to be installed in one go.
Would it be ok if i simply copy out the files?
Should I add some notice or reference to Angstrom?  (oh yeah, the rules!)

Thanks!

I wouldn't worry about that. I don't think they want you to update the wiki with a howto on debian eabi ...
            (my son wants to see some smilies in this post ...)
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 #35 on: October 28, 2007, 04:29:41 am »
Thanks!  
(Goedemorgen, little Chero!)
     

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 #36 on: October 28, 2007, 04:33:53 am »
Ok, so here is the planned one-stop hardware cum X initial setup thingie.

Files to include:
libts-1.0.so.0.0.0 (Angstrom)
ts.conf (Angstrom)
ts_calibrate (Angstrom)
Xfbedev (Angstrom)
setfl (pdaX)
keymap.map (from the googlepage guide)
hwclock.rules (from titchy)


And here is my script. Please comment:
(The script is supposed to run after extracting the tarball containing the above files to the right locations during installation and before 1st boot)
Code: [Select]
#!/bin/sh
## First set up the hardware on the Zaurus
echo "Now setting up the hardware ..." &&

# keymap
echo "loadkeys /etc/keymap.map" >> /etc/rc.local &&

# localhost
echo "Zaurus" > /etc/hostname &&
echo -ne "127.0.0.1\tlocalhost.localdomain localhost Zaurus\n" >> /etc/hosts &&

# touchscreen
ln -s /usr/local/lib/libts-1.0.so.0.0.0 /usr/local/lib/libts-1.0.so.0 &&
echo "/usr/local/lib" >> /etc/ld.so.conf &&
ldconfig &&
cat /etc/ts.conf | sed 's/^# module_raw corgi/module_raw corgi/' > /etc/ts.conf &&
echo -ne "TSLIB_TSDEVICE=/dev/input/ts0\nTSLIB_CONFFILE=/etc/ts.conf\nexport TELIB_TSDEVICE TSLIB_TSCONFFILE\n" >> $HOME/.profile
echo "Done."
echo ""

## Next set up X
echo "Now setting up X ..." &&
chmod 4755 /usr/local/bin/Xfbdev &&
echo -ne "xrandr -o right\n" >> ~/.xsession &&
touch $HOME/.xserverrc &&
chmod 755 $HOME/.xserverrc &&
echo -ne "#!/bin/sh\nexec /usr/local/bin/Xfbdev -dpi 100 -nolisten tcp -fp /usr/share/fonts/X11/misc" > $HOME/.xserverrc
echo "Done."
echo ""
Any error? Anything to add? Does it look good?
« Last Edit: October 28, 2007, 04:42:03 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]

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #37 on: October 28, 2007, 04:42:14 am »
Quote from: ZDevil
I have one concern:

The EABI rootfs has got something essential missing, such as touchscreen and X stuff. I am thinking of including some library and binary from some Angstrom packages in one single tarball to be installed in one go.
Would it be ok if i simply copy out the files?
Should I add some notice or reference to Angstrom?  (oh yeah, the rules!)

Thanks!

I am making the debian packages from angstrom binary. They include X setting, tslib-related stuff,  zaurusd, mplayer, gpe-conf, keymaps, and so on. I think this way is easy and simple.
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)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
How To Install Debian On Your Zaurus (obsolete)
« Reply #38 on: October 28, 2007, 04:49:42 am »
Great. zaurusd and gpe-conf are great additions.
So could you package it up and upload here?
Also do you think it's a good idea to run the script as suggested? I wonder if i should add something to set up zaurusd there.
Thanks!

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 #39 on: October 28, 2007, 04:59:40 am »
I will upload the packages soon. Also they have their own script for setting up. I think we need the script to finalize set-up after installing all packages.

Thanks for your efforts.  
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)

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #40 on: October 28, 2007, 06:09:00 am »
Ready for testing ...

I've got an eabi kernel loaded, the rootfs is still in armel-root-fs, I added the correct modules in it.
As soon as the files are up, I'm ready to test ... (boot emergency - move everything to / - and reboot)
(just to make sure I will be able to type the commands I added the titchy keymap but it won't be loaded automatically - only as a kind of a backup)

Chero.
(little Chero (8) likes "Need for Speed" more than this forum ...)  
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 #41 on: October 28, 2007, 06:39:54 am »
Chero, test this if you can't wait (actually because I can't wait to see your result ...  ).

There are three little extra steps involved:
1. Add these extra files:
-- Download these essential utilities to the SD:
  http://kfreebsd-gnu.debian.net/debian/pool...bs-65_armel.deb
  http://kfreebsd-gnu.debian.net/debian/pool...bs-65_armel.deb  
http://kfreebsd-gnu.debian.net/debian/pool...2-8.1_armel.deb
  http://kfreebsd-gnu.debian.net/debian/pool...9p6-1_armel.deb

-- Put these attachments to the SD too:
(Fixed on 071028: 1) Add tslib modules; 2) Fix tslib file)
 [ Invalid Attachment ]  (Fixed on 071029: 1) Correct two typos; 2) Added USB device module loading script; 3) Fix privilege of .xsession)

2. Follow the steps as described, and after extracting the rootfs and the kernel modules, extract the zaurus-hardware-eabi thingie also.

3. After the first login:
-- First install those few armel packages.
-- Then run the afterinstall.sh (remove the .txt extension).
« Last Edit: October 29, 2007, 02:32:53 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #42 on: October 28, 2007, 07:18:30 am »
Quote from: ZDevil
Chero, test this if you can't wait (actually because I can't wait to see your result ...  ).

There are three little extra steps involved:
1. Add these extra files:
-- Download these essential utilities to the SD:
  http://armel-debs.applieddata.net/debian/p...bs-65_armel.deb
  http://armel-debs.applieddata.net/debian/p...bs-65_armel.deb
  http://kfreebsd-gnu.debian.net/debian/pool...2-8.1_armel.deb
  http://kfreebsd-gnu.debian.net/debian/pool...9p6-1_armel.deb
-- Put these attachments to the SD too:
 [ Invalid Attachment ]   [ Invalid Attachment ]

2. Follow the steps as described, and after extracting the rootfs and the kernel modules, extract the zaurus-hardware-eabi thingie also.

3. After the first login:
-- First install those few armel packages.
-- Then run the afterinstall.sh (remove the .txt extension).

the first two links are down, but they are on kfreebsd as well - first have to eat now - will continue this afternoon
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 #43 on: October 28, 2007, 07:20:06 am »
Sorry, corrected in Post #42.
Just finished mine.
Eet Smakelijk!
« Last Edit: October 28, 2007, 07:23:25 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
How To Install Debian On Your Zaurus (obsolete)
« Reply #44 on: October 28, 2007, 08:36:25 am »
All files on the system - untarred the extra tarball - booted into emergency - deleting titchy-system - then will move the armel-root-fs to /mnt/cf and reboot ...

Fingers crossed ...

10 - 9 - 8 - ...
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.