Aug 21 2007, 02:21 PM
Post
#1
|
|
|
Group: Members Posts: 21 Joined: 8-April 05 Member No.: 6,819 |
Hi.
Some days ago I got my brand new SL-C3200 and I started experimenting with it. I achieved to have a dualboot config with Angstrom and EABI Debian via Altboot, with the help of the precious guide at http://inv2004.googlepages.com/z1000_debian.txt. Essentially these are the steps I followed (as far as I can recall, probably I'll miss something... when I'll be satisfied, I'll reinstall all from scratch and I will try to document correctly all the steps)... so basically: 1) Using the rescue system I made 4 partitions: 2 gig ext 3, 2 gig ext 3, 1.8 gig fat32, 128Mb swap 2) I installed Angstrom X11 and setup fstab, usb networking, ipkg update & upgrade, etc (I'm waiting for a WiFi CF) 3) I installed debootstrap (http://http.us.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.2_all.deb) 4) I downloaded debootstrap sources, installed Angstrom dev packages and compiled pkgdetails executable, needed by debootstrap. pkgdetails must be put in /usr/lib/debootstrap (for ease of use I attach compiled pkgdetails to this message) 5) I created a debian root filesystem on my second partition. It was mounted on /media/hdd2 so the command was debootstrap --verbose --arch armel sid /media/hdd2 http://ftp.gnuab.org/debian 6) Go for a cup of coffee 7) I copied /lib/modules, /etc/modules and /etc/modules.conf in the debian root 8) I copied /etc/network/interfaces, /etc/fstab, /etc/hostname, /etc/hosts, /etc/resolv.conf in the debian root 9) I downloaded the following packages from the Angstrom repository in debian /root directory gpe-conf_0.2.6-r0_armv5te.ipk ipaq-sleep_0.9-r1_armv5te.ipk libgpewidget1_0.115-r0_armv5te.ipk libmb1_1.9-r1_armv5te.ipk libts-1.0-0_1.0-r16_armv5te.ipk tslib-calibrate_1.0-r16_armv5te.ipk tslib-conf_1.0-r16_armv5te.ipk usb-gadget-mode_0.0.2-r0_spitz.ipk xmonobut_0.4.1-r1_armv5te.ipk xserver-kdrive-fbdev_1.3.0.0-r16_armv5te.ipk zaurusd_0.0+svn20060628-r10_spitz.ipk 10) I installed altboot in Angstrom 11) In the debian root I moved /sbin/init to /sbin/init.sysvinit and made a softlink ln -s /sbin/init.sysvinit /sbin/init; same process fro /sbin/halt, /sbin/shutdown, /sbin/reboot, /bin/pidof, /usr/bin/mesg, /usr/bin/last, /usr/bin/wall 12) With the rescue system I copied the first partition /dev directory in the second partition (I'm unsure if this step is useful) 13) Rebooted with altboot and choosed 3 - 1 - 2 and we are in debian 14) Install all the ipk with dpkg -i --force-architecture name-of-ipk.ipk 15) Reboot and we should have network after ifup usb0 (or setup your cf wifi) 16) Install udev (apt-get install udev) and reboot and we should have /dev/rtc in order to have a working clock; install apm 17) ntpdate time.apple.com (I don't remeber if we have to install ntpdate), apt-get update, apt-get upgrade (actually, using debootstrap, we start with an updated system) 18) apt-get install xserver-xorg-video-fbdev xfonts-base rxvt at the xserver setup screen choose 640x480 only 10) set /etc/X11/xorg.conf: Section "Screen": DefaultDepth 16 20) add /etc/X11/xorg.conf: Section "Device": Option "Rotate" "CW" 21) add . /etc/profile.d/tslib.sh to /etc/profile, logout and login (or reboot) 22) run ts_calibrate as root 23) install your wm (you can apt-get install xfce4, or apt-get install kde-core, or use aptitude and install whathever you want) 24) softlink /etc/X11/X to /usr/bin/Xfbdev 25) update-rc.d -f zaurusd remove, update-rc.d -f gdm remove, update-rc.d -f kdm remove, update-rc.d ipaq-sleep defaults, update-rc.d usb-gadget defaults 26) make an user and add to audio and video groups 27) edit /etc/X11/xinit/xserverrc and add . /etc/profile.d/tslib.sh, sudo /etc/init.d/zaurusd start before exec /usr/bin/X11/X 28) in order to run sudo /etc/init.d/zaurusd start we have to install sudo and add the user to sudoers without password (as root run visudo, uncomment %sudo ALL=NOPASSWD; ALL, and add your user to sudo group) 29) edit /etc/zaurusd/hinge-landscape.d/20-matchbox-landscape and modify xrandr line at the end with xrandr -o right; edit /etc/zaurusd/hinge-portrait.d/20-matchbox-portrait and modify xrandr line at the end with xrandr -o normal 30) if you installed KDE edit .xinitrc in your home with exec startkde 31) enjoy... startxfce4 to start xfce and startx to start kde With these steps (I forgot something for sure) I got a working debian, with 2.6.21 Angstrom kernel, and Zaurus customizations. We have xserver-kdrive with tslibs that is lighter than xorg We have usb gadget mode for usb networking, usb disk mode or usb host (configuration in /etc/default/usb-gadget) We have ipaq-sleep for automatic sleep mode (configuration in /etc/ipaq-sleep.conf) We have zaurusd package to manage screen rotation, backlight on-off on open-close lid events, etc. We have standard debian with dualboot At this point I have some problem to resolve First of all, debian eabi is not a complete debian repository, so something is tricky to achieve At this moment I have two major problems I'd like to resolve and any help is appreciated: 1) Xrandr (and consequentely zaurusd) works correctly only with xfce; with KDE all start ok in landscape, if you rotate the screen, all go correctly in portrait mode, but, when we go back in landscape, the screen rotates, but we have a 480x640 resolution in a 640x480 screen (the kde bar is below the screen margin) 2) I can't get three button mode. Xmonobut doesn't work, but it seem that it's no its fault. If I launch xmodmap -e "pointer = 3 2 1", xev reports "MappingNotify event, serial 29, synthetic NO, window 0x0, request MappingPointer, first_keycode 0, count 0" and I allways get left button click. I tryed loading slcXXXX.xmodmap from angstrom, with no results. The second point is essential in order to get a full working enviroment. As soon as I'll resolve these issues, and I'll get the WiFi CF, I think I'll made a full debian install (no dualboot) with one big ext3 partition and a 256Mb swap partition. I think the eabi repository gradually will be fully synced to debian sid and we can have a major distro, with some minor tweaks for zaurus. Debian EABI seems to be quite fast... Konqueror is slow to load, but it's rendering engine appears to be faster than gecko (it renders pages faster than minimo)
Attached File(s)
|
|
|
|
Locutus73 Yad - Yet Another Debian Aug 21 2007, 02:21 PM
speculatrix hmm, interesting post, suddenly the Zaurus is aliv... Aug 21 2007, 03:17 PM
gojira QUOTE(Locutus73 @ Aug 22 2007, 07:21 AM)
Nic... Sep 2 2007, 02:49 AM
dlj0 I tried, but could not succeed with this. I could... Sep 6 2007, 08:30 PM
Locutus73 QUOTE(dlj0 @ Sep 7 2007, 06:30 AM)I tried, bu... Sep 12 2007, 07:06 AM
dlj0 QUOTE(Locutus73 @ Sep 12 2007, 11:06 AM)QUOTE... Sep 17 2007, 06:14 PM
Dromede following the instructions from http://inv2004.goo... Sep 7 2007, 05:08 AM
Dromede i compiled the 2.6.22 kernel and i got usb network... Sep 7 2007, 05:30 PM
Dromede you use kde? is it really usable? Sep 12 2007, 10:18 AM
ZDevil Looking forward to the solution to networking.
If... Sep 24 2007, 02:51 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 05:43 AM |