OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: jpmatrix on October 23, 2007, 11:43:36 am

Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 23, 2007, 11:43:36 am
so here is what i've done:

from this thread,
http://lists.debian.org/debian-arm/2007/01/msg00034.html (http://lists.debian.org/debian-arm/2007/01/msg00034.html)

i took

http://armel.applieddata.net/developers/li...root-fs.tar.bz2 (http://armel.applieddata.net/developers/linux/eabi/armel-root-fs.tar.bz2)

then i put the tarball on my CF

next i reboot to pdaxii13 fabulous flash tools (!)

then i format my hda1 in ext3 :

mke2fs -j /dev/hda1

mkdir /mnt/hdd
mount /dev/hda1 /mnt/hdd

tar xvf /mnt/cf/armel-root-fs.tar

reboot

kernel boots then first blocking error message:
warning: unable to open an initial console

while googling, i found that i had to populate the /dev directory with console ttys :

so reboot in to pdaxii13 flash tool, then mount my hda1 then :

cd /dev
MAKEDEV console

reboot is now ok! i've the login prompt with
Debian GNU/Linux 4.0 (none) tty1


coooool !

although on boot i had messages about fstab, hostname, etc, ....
so i guess the system needs some tuning now


now i'm heading home to find out !!
Title: First Try Of Debian Eabi From Ads
Post by: tux on October 23, 2007, 03:03:55 pm
 Thanks for this jp.  

Looks like it might not be necessary to compile my own arm kernel for Titchylinux after all. I thought that there wasn't much sign of life in Debian armel.  Glad to be mistaken.  

I found the thread very interesting. Nice to have confirmed, as I suspected, that it is a matter of setting options for the compiler in order to build arm or armel packages/kernels. It did seem obvious.   Shame that the compatibility switch doesn't work for compiling alsa stuff for my present set up.  

I'll be watching this thread and those lists you linked to with interest. I'm still tempted to get into the cross-compiler game. I still like the feel of the scratchbox stuff. Haven't really got time yet, I'm trying to get properly up to speed at the Wiki.

Cheers
 
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 23, 2007, 04:31:05 pm
so i continue:

1) configure the keyboard

download :
http://armel-debs.applieddata.net/debian/p...bs-65_armel.deb (http://armel-debs.applieddata.net/debian/pool-armel/main/c/console-tools/console-tools_0.2.3dbs-65_armel.deb)
http://armel-debs.applieddata.net/debian/p...bs-65_armel.deb (http://armel-debs.applieddata.net/debian/pool-armel/main/c/console-tools/libconsole_0.2.3dbs-65_armel.deb)

http://inv2004.googlepages.com/keymap-spitz.tar.bz2 (http://inv2004.googlepages.com/keymap-spitz.tar.bz2)
uncompress to have keymap.map

dpkg -i libconsole_0.2.3dbs-65_armel.deb
dpkg -i console-tools_0.2.3dbs-65_armel.deb
loadkeys keymap.map

cd /etc
vi rc.local

add "loadkeys /etc/keymap.map" before exit 0


2) configure hostname
cd /etc
echo zaurus > hostname

echo -ne "127.0.0.1\tzaurus\n" >> /etc/hosts



reboot

boot seems now better
but during boot, error messages about /lib/modules/2.6.22
and it's true, there nothing in it !

so at now, i'm going to "take" angstrom's !
Title: First Try Of Debian Eabi From Ads
Post by: ZDevil on October 23, 2007, 05:00:31 pm
Thanks for sharing!

So i would like to know the next few things:
-- Setting up and running X;
-- Which favorite packages are broken;
-- Using the native toolchain

... and how do you feel about the overall performance (speed, stability, basic functionality like apm, mouse cursor/button and sound)?

Pity that I don't have enough energy now to play with my Z, let alone writing ... as I've come down with a bad cold because of the sudden change of weather (I can't blame the sun anyway)
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 23, 2007, 06:42:38 pm
whow
it's late............but i finally succeed in having wifi working !!!!!!!!!!!!!!!!!

that was tough.....
and i didn't write all i've done.....

the easy part was to copy angstrom /lib/modules/2.6.22.* and /lib/firmware/* files as it was empty on my new debian
after rebooting i could find all modules without any problem

next, i wanted to have wifi working, and big difficulties begun !!! mainly i had to :

-get and install latest tzdata here:
http://ftp.de.debian.org/debian/pool/main/...2007h-2_all.deb (http://ftp.de.debian.org/debian/pool/main/t/tzdata/tzdata_2007h-2_all.deb)

-install wireless-tools and all required packages (libc6, libgcc1, ...)
packages were taken here :

http://armel-debs.applieddata.net/debian/pool-armel/main/ (http://armel-debs.applieddata.net/debian/pool-armel/main/)

-about networking, i don't know why but my Asus CF card is known as eth2 (i searched a lot before finding it!)

so plug the card,
iwconfig eth2 key s:my_wep_key
then configure eth2 with ifconfig for my home router

and at last, i find that i had to type that line to reach outside:

route add -net 0.0.0.0 gw 192.168.1.1 eth2


and gotcha! i could ping www.yahoo.fr !!!!!  


now apt-get update is running.



ps: now i think i'll backup all this before trying apt-get dist-upgrade and installing all stuffs
Title: First Try Of Debian Eabi From Ads
Post by: tux on October 23, 2007, 07:02:22 pm
Allez France!
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 24, 2007, 10:05:47 am
i now managed to have X running, though kdrive taken from angstrom armv4tel
and i could finally launch icewm-experimental

the bad news:
-stylus pointer doesn't point where i tap on the screen, i have a "failed to open tslib device" while launching X
-the mouse jumping bug is still there!

i don't know it i should continue or go back to my debian tichy... however it seems (although not totally sure) that overall speed seems bettter than debian tichy
Title: First Try Of Debian Eabi From Ads
Post by: ZDevil on October 24, 2007, 10:07:53 am
2or0 got Debian EABI running properly using his patched kernel (need UBOOT, though). I am also trying this now.
https://www.oesf.org/forum/index.php?showforum=155 (https://www.oesf.org/forum/index.php?showforum=155)
Title: First Try Of Debian Eabi From Ads
Post by: danr on October 24, 2007, 10:26:19 am
Quote from: jpmatrix
i now managed to have X running, though kdrive taken from angstrom armv4tel
and i could finally launch icewm-experimental

the bad news:
-stylus pointer doesn't point where i tap on the screen, i have a "failed to open tslib device" while launching X
-the mouse jumping bug is still there!

i don't know it i should continue or go back to my debian tichy... however it seems (although not totally sure) that overall speed seems bettter than debian tichy

Did you export TSLIB_TSDEVICE=/dev/input/event1 before starting X?
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 24, 2007, 10:35:13 am
Quote from: danr
Did you export TSLIB_TSDEVICE=/dev/input/event1 before starting X?

same problem, with this error message now:
Couldnt load module input
No raw modules loaded
failed to open Tslib etc...
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 24, 2007, 01:30:36 pm
so
debian eabi armel is running ... but
i m still unable to have a working pointer under X ...
that should be some tweak somewhere and it should be resolved but i cannot find it...

moreover there are more broken packages than i thought compared to debian titch
mutt is not installable for example...
nor firefox...

well
i think i ve reached a point of decision :-)

ps: posted with links under debian armel ;-)
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 24, 2007, 05:09:36 pm
screen pointer trouble solved!
by copying some directories from angstrom's     (thanks guys!)
/usr/lib/ts/*
/usr/lix/xserver/*


but jumping mouse bug is there...

now i'm going to install some X packages to go further
Title: First Try Of Debian Eabi From Ads
Post by: JohnX on October 25, 2007, 12:08:02 am
jpmatrix: Just a shot in the dark: try rmmod mousedev . See if that makes a difference with regards to mouse jitter.
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 25, 2007, 01:52:48 am
Quote from: JohnX
jpmatrix: Just a shot in the dark: try rmmod mousedev . See if that makes a difference with regards to mouse jitter.


YEEEEESSSSSS!!!!!!!!!!!!
you did it!!!!!!!!!!!!!!!!!!!!!

i rmmod mousedev while outside of X and ran startx and xournal (mouse jumping bug favourite test software
and it works goood now!!!!!!!!

thanks for your help!
Title: First Try Of Debian Eabi From Ads
Post by: matthis on October 25, 2007, 09:05:49 am
what is armel? How does it differ and what is it good for?
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 25, 2007, 09:30:42 am
Quote from: matthis
what is armel? How does it differ and what is it good for?

read this thread :
https://www.oesf.org/forum/index.php?showtopic=24887 (https://www.oesf.org/forum/index.php?showtopic=24887)

biggest improvement is Speed!
biggest drawback is that some packages doesn't work (yet) ... like firefox... but some can be taken from angstrom repositories
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 25, 2007, 09:59:48 am
kernel updated to 2.6.23, thanks to angstrom's :

http://www.angstrom-distribution.org/unsta...spitz/20071024/ (http://www.angstrom-distribution.org/unstable/images/spitz/20071024/)


no problemo so far
Title: First Try Of Debian Eabi From Ads
Post by: dlj0 on October 26, 2007, 01:05:48 am
Quote from: jpmatrix
kernel updated to 2.6.23, thanks to angstrom's :

http://www.angstrom-distribution.org/unsta...spitz/20071024/ (http://www.angstrom-distribution.org/unstable/images/spitz/20071024/)


no problemo so far

So, as far as I can figure, I could install this kernel on a regular titchy arm system, is that correct?  I can't find the libertas wireless module from the Angstrom 2.6.23 module package, which is supposed to be a part of this kernel.  Bummer.  Can you verify that it is not there?  If it is, could you clarify what I would need to do to put this kernel on my Z, and would it run with arm, not armel?  That is kind of confusing in all these discussions.
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 26, 2007, 07:43:31 am
module not found
in 2.6.23/kernel/drivers/net/wireless, i have:
airo, hermes, orinoco, spectrum and hostap modules...
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on October 31, 2007, 06:20:11 pm
i reinstalled everything from scratch, using files from there :

http://www.applieddata.net/developers/linu...mel-2007-08-27/ (http://www.applieddata.net/developers/linux/files/debian/ramdisk-armel-2007-08-27/)

it seems lots of packages are pre-installed now

i'll try to update my first thread tomorrow

by the way, initial root password is rootme
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on November 03, 2007, 10:43:21 am
i'm going to try youggun 2.6.23.1 kernel on my C3000. i don't know what it will give as i don't have uboot.
wish me luck
Title: First Try Of Debian Eabi From Ads
Post by: jpmatrix on November 03, 2007, 11:07:34 am
Quote from: jpmatrix
i'm going to try youggun 2.6.23.1 kernel on my C3000. i don't know what it will give as i don't have uboot.
wish me luck

i've tried, i've played and i've lost
zaurus doesn't boot...
back off to the old angstrom 2.6.23 kernel for now
Title: First Try Of Debian Eabi From Ads
Post by: ZDevil on November 03, 2007, 11:13:15 am
2or0 has said explicitly that the yonggun kernel is for uboot only, so does the guide.