Author Topic: C1000 & Debian  (Read 11009 times)

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« 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?
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
C1000 & Debian
« Reply #1 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, 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.
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://
C1000 & Debian
« Reply #2 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.  
« Last Edit: October 21, 2007, 02:39:55 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
C1000 & Debian
« Reply #3 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.  
« Last Edit: October 21, 2007, 02:50:48 pm 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.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« Reply #4 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
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
C1000 & Debian
« Reply #5 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).
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.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« Reply #6 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.
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
C1000 & Debian
« Reply #7 on: October 22, 2007, 03:09:06 pm »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« Reply #8 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
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
C1000 & Debian
« Reply #9 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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« Reply #10 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.
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
C1000 & Debian
« Reply #11 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
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.
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.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« Reply #12 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

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/
- 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)
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
C1000 & Debian
« Reply #13 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

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/
- 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.
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.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
C1000 & Debian
« Reply #14 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?
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi