Author Topic: [done] Install Debian Eabi + Ångström + Sharp Bootloader  (Read 14555 times)

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« on: January 26, 2008, 06:52:13 am »
Whole new clean debootstrapped Debian EABI (armel) rootfs + Ångström kernel + Sharp bootloader
Everything works great!

However, I only tested it in my SL-C3200.

Step by step:
1. Download installkit
2. Extract the installkit. You will get four files: gnu-tar, hdimage1.tgz, updater.sh, and zImage.bin.
3. Go with Spitz Installation Instructions. NOTICE: my hdimage1.tgz only uses /dev/hda1, so you do not need hda2 and hda3.

During first booting, you may see many fails or errors, please ignore them. It is no harm to the system.
a. After booting, login with "root". No password needed. (NOTICE: Please use "Enter" key, not "OK" key here. We will fix it in next step.)
b. dpkg -i console-tools_0.2.3dbs-65_armel.deb
c. loadkeys keymap-2.6.map
d. dpkg -i device-static-angstrom_2.6.23-1_all.deb
e. dpkg -i etc-angstrom_2.6.23-1_all.deb
f. dpkg -i linux-modules-angstrom_2.6.23-1_armel.deb
g. Setting network. I suggest you use USB networking:modprobe g_ether ; ifup usb0
h. echo nameserver 999.999.999.999 > /etc/resolv.conf (Please use your REAL DNS address to substitute those 999 stuff.)
i. echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/70debconf
j. apt-get update
k. apt-get install libts-bin x11-xserver-utils xfonts-base rxvt
l. dpkg -i xserver-kdrive-fbdev_1.3.0.0-r23_armel.deb
m. ts_calibrate (Calibrate your touchscreen)
n. ln -sf /usr/bin/Xfbdev /etc/X11/X
o. X & sleep 5 ; DISPLAY=:0 rxvt &
p. Touch your rxvt and execute: xrandr -o right
q. apt-get install alsa-utils
UPDATE: before alsactl you should do: modprobe snd-soc-spitz
Thanks to kkazakov13.
r. Setting your sound: alsactl -f ./asound.state restore
s. Test the sound: cat /dev/urandom > /dev/dsp (You may press Ctrl+C to stop it.)
t. OK. Everything is finished.
u. Additional settings please see yonggun's masterpiece.

FAQ:
UPDATE:
Q: How to use pcmcia network?
A: modprobe pcnet_cs (Thanks to kkazakov13).

Q: How to make the hdimage1.tgz?
A: Please see here. I use the debootstrap package in my i386 machine.

Q: Why you do not use official Debian Xorg packages?
A: Official Debian Xorg is VERY HARD to configure to use the touchscreen. I use the Debian official tslib but not the Xorg.

Q: Why you do not configure everything and put the final rootfs to the installkit?
A: I think it is good for newbies to try making their own Debian rootfs. You can install an Debian or an Ubuntu in QEMU, VirtualBox, or VMware, and make your own rootfs. I have record almost every step here.

Q: What is device-udev-angstrom_2.6.23-1_all.deb?
A: It is for udev users only. You can safely ignore it. If you want to use it, please remove device-static-angstrom first and then install device-udev-angstrom_2.6.23-1_all.deb.

Q: What is device-static-angstrom_2.6.23-1_all.deb?
A: a clean debootstrapped rootfs does not have so many /dev devices. I have to put them in hdimage1.tgz for first booting.
If you want to rollback to the original debootstrapped status, install device-static-angstrom and then remove it. You may see the /dev become VERY clean.

Troubleshooting:
Q: I can not calibrate the touchscreen.
A: It happens if you enable udev in the wrong way. Make sure you have /dev/touchscreen/ucb1x00 and /dev/touchscreen/0, both should point to /dev/input/event1. You may try install device-static-angstrom_2.6.23-1_all.deb again to fix this problem.

Q: My sound sometimes do not working.
A: I tried the sound in scummvm. It plays music and sound effects correctly in most time. However, it become mute sometimes. I do not know why.
« Last Edit: February 02, 2008, 01:25:31 am by ca1eb »
My OESF account is caONEeb, not caLeb.

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #1 on: January 26, 2008, 11:17:03 pm »
Souds very interesting!
Could you explain de sharp bootloader part too?

Thanks

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #2 on: January 27, 2008, 04:20:17 am »
Quote from: matthis
Could you explain de sharp bootloader part too?
Every computer needs a bootloader to boot into operation system.
Zaurus's default bootloader is called Sharp bootloader.

Some other Debian installation method asks you to install another bootloader, such as uboot or altboot.
I just provide another way to install Debian that you do not have to change the default bootloader.  
My OESF account is caONEeb, not caLeb.

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #3 on: January 27, 2008, 07:07:11 am »
Could this be made to work on a C760, in theory ?

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #4 on: January 28, 2008, 07:07:01 pm »
can you make it dual boot sharp (or tetsu derivative sharp) with OS in flash (cacko or sharp), and debian or angstrom?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #5 on: January 28, 2008, 08:09:14 pm »
Quote from: speculatrix
can you make it dual boot sharp (or tetsu derivative sharp) with OS in flash (cacko or sharp), and debian or angstrom?
It is known to work for Cacko and Angstrom "dual boot" with kexec.
Please see: http://linuxtogo.org/gowiki/AngstromAndCacko

I have not try it.
My OESF account is caONEeb, not caLeb.

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #6 on: January 31, 2008, 05:13:02 pm »
xserver and sound doesn't function on my c3200

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #7 on: January 31, 2008, 06:17:59 pm »
Quote from: zeroc87
xserver and sound doesn't function on my c3200
Did you make the symlink /etc/X11/X -> /usr/bin/Xfbdev ?

Its sound seems only work in specific settings.
The Ångström ALSA setting works fine for me.
My OESF account is caONEeb, not caLeb.

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #8 on: February 01, 2008, 02:12:06 am »
For the sound I had to do modprobe snd-soc-spitz

For the pcmcia network i had to modprobe pcnet_cs
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #9 on: February 01, 2008, 02:41:05 am »
Quote from: kkazakov13
For the sound I had to do modprobe snd-soc-spitz
For the pcmcia network i had to modprobe pcnet_cs
Ah! Thank you!
Apparently my "step by step" lost a step to modprobe snd-soc-spitz.  
I have updated it with red strings.
My OESF account is caONEeb, not caLeb.

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #10 on: February 01, 2008, 03:04:26 am »
Well, it's not really complete ... a lot of things are not complete in this manual ... you have to do a looooot search and DIY for this to become complete and polished.

I'm trying to do it right now
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #11 on: February 01, 2008, 07:52:53 am »
now it functions.thanks

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #12 on: February 01, 2008, 09:31:05 am »
only sound doesn't function

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
[done] Install Debian Eabi + Ångström + Sharp Bootloader
« Reply #13 on: February 18, 2008, 04:28:21 pm »
How is this progressing? Anyone able to give a quick description of what works and what doesn't? Variations in installation- like using Zdevils image?  Or not using the sharp hdd1 &2 (I doubt my CFcard would imitate the partitions correctly)  Anyone dual booting cacko here?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf