![]() ![]() |
Nov 5 2007, 10:50 AM
Post
#211
|
|
|
Group: Members Posts: 9 Joined: 29-September 07 Member No.: 20,767 |
From what I read here the Angstrom kernel and Poky kernel are quite alike, so you should be fine using that one. Before trying the november edition : check the angstrom bugs / mailing list to see whether the altboot problem has been solved. As for the 2.6.21 kernel : ZDevil has it somewhere, I only have the one for C1000. Chero. Oh, yes. I have the Cxx0 one. But the file is not around me in the workplace. Perhaps if you don't mind waiting till this evening I will upload it here, together with an updated after installation tarball. @dsteuer, Here it is.... you need to install the 1004 (2.6.22) then replace the kernel and modules attached.
Attached File(s)
Angstrom_2.6.21_kernel_modules.tar.gz ( 767.18K )
Number of downloads: 76
angstrom_2.6.21_C7x0.tar.gz ( 1.15MB )
Number of downloads: 57 |
|
|
|
Nov 5 2007, 11:04 AM
Post
#212
|
|
|
Group: Members Posts: 2,003 Joined: 16-April 04 From: the Netherlands && /dev/null Member No.: 2,882 |
citro, in the 2nd-cfg.sh try to remove all the "echo" lines, and keep only one "cd packages" in the beginning of the script. The original script has several "cd packages" and then "cd ..", but somehow that fails to work at some point.
Also, add libmad0 and libxosd2 along with other alsa stuff in that apt-get install line. And don't use the kfreebsd repo. The packages there may cause some compatibility issues. Make sure your network connection is working before running the 2nd script again. If you run the script for more than one time, edit /etc/modules and remove the redundant snd-soc-spitz lines (though they don't do harm) and just keep one. For the hwclock setting, either do a reboot, or try "ln -s /dev/rtc0 /dev/rtc && hwclock -w" to make the hardware clock setting function. Let me know how things go. |
|
|
|
Nov 5 2007, 11:43 AM
Post
#213
|
|
|
Group: Members Posts: 283 Joined: 1-October 07 From: Blacksburg, SC, USA Member No.: 20,773 |
Angstrom 2.6.21 kernel. C1000 Version
Attached File(s)
|
|
|
|
Nov 5 2007, 12:03 PM
Post
#214
|
|
|
Group: Members Posts: 31 Joined: 27-December 06 Member No.: 13,475 |
|
|
|
|
Nov 7 2007, 05:08 AM
Post
#215
|
|
|
Group: Members Posts: 2,003 Joined: 16-April 04 From: the Netherlands && /dev/null Member No.: 2,882 |
Ok, here are the two revised scripts in the after installation tarball. I would appreciate it very much if you folks could comment on it and help me spot any low-level mistakes. Will add them to the next version of the after installation tarball if things seem alright. Thanks in advance.
The revisions also allow the user to run the scripts repeatedly without manual fiddling with the system setting files The file structure of the after installation tarball is this: 1st-cfg.sh 2nd-cfg.sh settings/ ## Containing all the system setting files being used in the scripts packages/ ## Containing all the 2or0's packages being installed in the second script. 1st-cfg.sh CODE #!/bin/sh ## This is PART I of the after installation configuration script echo "Do you want to start debian after installation configuration now? [y/n]" read ans if [ "$ans" != "y" -a "$ans" != "Y" ]; then exit 0 fi # First set up some basic hardware functionalities on the Zaurus echo "Now setting up some basic hardware functionalities ..." && # Set up console-tools and wireless-tools to get other things working cd packages && echo "Now installing libconsole ..." dpkg -i libconsole_0.2.3dbs-65_armel.deb && echo "Done." echo "Now installing console-tools ..." dpkg -i console-tools_0.2.3dbs-65_armel.deb && echo "Done." echo "Now installing libiw28 ..." dpkg -i libiw28_28-1_armel.deb && echo "Done." echo "Now installing wireless-tools ..." dpkg -i wireless-tools_28-1_armel.deb && cd .. && echo "Done." echo "" # keymap echo "Now let's load the right keymap for your Zaurus..." cp settings/keymap.map /etc/keymap.map && loadkeys /etc/keymap.map && if ! grep "loadkeys /etc/keymap.map" /etc/rc.local; then sed -i '/exit 0/ i\loadkeys /etc/keymap.map' /etc/rc.local fi echo "Done." echo "" # start-stop daemon echo "Now setting up start-stop-deamon ..." if ! test -f /sbin/start-stop-daemon.REAL; then cp settings/start-stop-daemon.REAL /sbin fi mv /sbin/start-stop-daemon /sbin/start-stop-daemon.FAKE && mv /sbin/start-stop-daemon.REAL /sbin/start-stop-daemon && echo "Done." echo "" # hostname & localhost echo "Now adding a hostname for your Zaurus ..." if ! grep "Zaurus" /etc/hostname; then echo "Zaurus" >> /etc/hostname fi echo -ne "127.0.0.1\tlocalhost.localdomain localhost Zaurus\n" >> /etc/hosts && echo "Done." echo "" # package feed locations echo "Now setting up a working package feed list for your Zaurus ..." mv /etc/apt/sources.list /etc/apt/sources.list.bak && cp settings/sources.list /etc/apt/ && echo "Done." echo "" # Write the current time to the hardware clock echo "Now setting up the hardware clock ..." cp settings/hwclock.rules /etc/udev/rules.d && if ! test -f /dev/rtc; then ln -s /dev/rtc0 /dev/rtc fi hwclock -w && echo "Done." echo "" # Print this message to remind users to set up network before proceeding to the second part. echo "This is the end of the first part of the after installation configurations. Please reboot now to make the hwclock setting to take effect. Make sure that you have a proper network connection before proceeding to the second part. See you around!" echo "" 2nd-cfg.sh CODE #!/bin/sh
## This is PART II of the after installation script echo "" echo "Welcome to the second part of the Debian EABI after installation. This script will help you set up a working environment including: 1) Updating the package lists and the (pre)installed packages; 2) Installing and setting up an X server; 3) Installing and configuring touchscreen pointer utilities; 4) Installing IceWM as the default window manager; 5) Intalling and configurating sound support; 6) Installing mplayer for playing video; 7) Adding a few useful utilities for auto suspend & screen blanking, speaker/headphone sound output switching, usb support, and over/under-clocking control; Please make sure that your Zaurus has a proper network connection. Do you want to proceed with the process now? [y/n]" read ans if [ "$ans" != "y" -a "$ans" != "Y" ]; then exit 0 fi # Update the package lists echo "Now updating the package lists ..." apt-get update && echo "Done." echo "" # Upgrade the installed packages echo "Now upgrading the installed packages ..." apt-get dist-upgrade && echo "Done." echo "" # X server echo "Now setting up X server ..." apt-get install xfonts-base rxvt xbase-clients libxft2 libfontconfig1 icewm icewm-experimental menu icewm-gnome-support grun apmd sudo && cd packages && dpkg -i xserver-kdrive_1.3.0.0-r19_armel.deb xserver-kdrive-fbdev_1.3.0.0-r19_armel.deb x-yonggun_0.0_armel.deb && cd ../ && mkdir ~/.icewm && cp settings/icewm_preferences ~/.icewm/preferences && echo "Done." echo "" # touchscreen echo "Now setting up touchscreen ..." cd packages && dpkg -i libts-1.0-0_1.0-r17_armel.deb tslib-calibrate_1.0-r17_armel.deb tslib-conf_1.0-r17_armel.deb && ldconfig && echo "Done." echo "" # sound echo "Now setting up sound and installing some essential packages ..." modprobe snd-soc-spitz && if ! grep "snd-soc-spitz" /etc/modules; then echo snd-soc-spitz >> /etc/modules fi apt-get install alsa-base alsa-utils alsa-oss libsdl1.2debian-alsa libmad0 libxosd2 xmms xmms-mad && echo "Done." echo "" # video echo "Now installing mplayer for the Zaurus to play videos ..." dpkg -i libmp3lame0_3.96.1-r4_armel.deb mplayer-common_0.0.1-r0_armel.deb mplayer_0.0+1.0rc1+svnr24587-r3_armel.deb && echo "Done." echo "" # More utilities echo "Now installing a few more nice utilties ..." dpkg -i ipaq-sleep_0.9-r1_armel.deb usb-gadget-mode_0.0.2-r0_armel.deb zaurusd_0.0+svn20060628-r10_armel.deb cpuoverclock_0.0.3-1_armel.deb && update-rc.d -f zaurusd remove && modprobe ohci-hcd && if ! grep "ohci-hcd" /etc/modules; then echo "ohci-hcd" >> /etc/modules fi cd $HOME && echo "Done." echo "" # Add a greeting here echo "Congratulations! Debian EABI is set up on your Zaurus. Have fun! :-) " echo "" echo "" This post has been edited by ZDevil: Nov 7 2007, 10:46 PM |
|
|
|
Nov 7 2007, 05:21 AM
Post
#216
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
i've just had a strange problem after a reboot : stylus was not working anymore......
i find that although the TSLIB_DEVICE was set in /etc/profile and ~/.profile it seems it was never executed.... i had to put the EXPORT TSLIB line in /etc/X11/xdm/Xsession and now it works again! perhaps my problem come from flux's tip to enable login with $USER but i'm not sure...... |
|
|
|
Nov 7 2007, 05:26 AM
Post
#217
|
|
|
Group: Members Posts: 2,003 Joined: 16-April 04 From: the Netherlands && /dev/null Member No.: 2,882 |
Perhaps chmod 755 ~/.profile may do?
|
|
|
|
Nov 9 2007, 07:44 AM
Post
#218
|
|
|
Group: Members Posts: 31 Joined: 27-December 06 Member No.: 13,475 |
Well, I'm coming closer to a working EABI on my 860.
I installed Angstrom as of Nov. 4th, replaced the kernel with a 2.6.21 version that can cooperate with altboot. (first I found out that this version of Angstrom refuses to altboot; added info to the wiki) Installed altboot after some fiddling with Angstrom's Wifi. Installed armel-rootfs on sd card. (on a loop device, but shoudn't matter) reboot. Everything fine! Because I had forgotten to cp my modules over, I rebooted into Angstrom once more. Worked like a charm. Copied modules over. reboot altboot doesn't work anymore :-( Solved: I did not unmount the loop device before rebooting. If doing so I get to debian 4.0!. Now wading through afterinstallation ... It hangs forever showing [4] CF Card and doesn't react for pressing the "any key". No [5] advanced does not show up. Looks like "go back to start" :-( Anybody with similar experiences? I only mounted the loop-device on /mnt and cp -a /lib/modules /mnt/lib/moudules, did not play with anything altboot related. Detlef |
|
|
|
Nov 9 2007, 07:51 AM
Post
#219
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
perhaps we should modify the wiki for those who (had to) use uboot/altboot and those who can install eabi without that : for example on my c3000 these are not needed and it works perfectly...
|
|
|
|
Nov 11 2007, 09:15 PM
Post
#220
|
|
|
Group: Members Posts: 283 Joined: 1-October 07 From: Blacksburg, SC, USA Member No.: 20,773 |
icewm-gnome-support grun
these two packages in the script are broken when using the source.list from the wiki figured I would try a clean install |
|
|
|
Nov 13 2007, 09:08 PM
Post
#221
|
|
|
Group: Members Posts: 9 Joined: 29-September 07 Member No.: 20,767 |
Ok, here are the two revised scripts in the after installation tarball. I would appreciate it very much if you folks could comment on it and help me spot any low-level mistakes. Will add them to the next version of the after installation tarball if things seem alright. Thanks in advance. Reporting success installing Angstrom Kernel 2.6.21 + EABI File system on a C700. I did the afterinstall steps manually following the directions on Zdevil scripts. Some of the steps were not needed as follows: 1sf-cfg.sh - I didn't need to install console-tools or libconsole. The system boot without complain about the console - I didn't have to do the keymap section as keyboard was working perfectly. 2nd-cfg.sh - on X server section, 2 of the files were not installed: grun and ice-gnome-support due to dependency issues. - Touchscreen needed some changes as per afterinstall comments on the wiki (comment lines on /etc/ts.conf and replace usr/bin/X with those 2 lines described on the wiki). Without those changes the touchscreen was not working. - audio section didn't need modprobe snd-soc-spitz as the module was already loaded (by the way the module loaded on C700 is snd-soc-corgi and it works great !!!!) Now the bad news One other thing I noticed is that pccardctl is not found so if I want to swap the wireless card for the microdrive I have to shutdown, turn off and reboot. I tried apt-get install pccardctl but it didn't find any packages with that name. Any idea? So far has tried dillo, sylpheed-claws and xmms and performance is great. I'm really surprised as barely none of the other distributions works good on the C700 with its limited RAM and FLASH memory. However this debian combination is amazingly fast. |
|
|
|
Jan 21 2008, 01:31 AM
Post
#222
|
|
|
Group: Members Posts: 138 Joined: 12-February 04 Member No.: 1,830 |
I've managed to get kernel 2.6.23 and Debian on SD card to work on my C860. See http://www.oesf.org/forum/index.php?showtopic=25399 for details.
Cheers, Dan |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 03:08 PM |