Author Topic: First Try Of Debian Eabi From Ads  (Read 11880 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« 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

i took

http://armel.applieddata.net/developers/li...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 !!
« Last Edit: October 25, 2007, 09:58:44 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
First Try Of Debian Eabi From Ads
« Reply #1 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
 
« Last Edit: October 23, 2007, 03:05:35 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #2 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/p...bs-65_armel.deb

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 !
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
First Try Of Debian Eabi From Ads
« Reply #3 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)
« Last Edit: October 23, 2007, 05:03:12 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]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #4 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

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

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
« Last Edit: October 23, 2007, 06:56:28 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
First Try Of Debian Eabi From Ads
« Reply #5 on: October 23, 2007, 07:02:22 pm »
Allez France!
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #6 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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
First Try Of Debian Eabi From Ads
« Reply #7 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

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]

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
First Try Of Debian Eabi From Ads
« Reply #8 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?
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #9 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...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #10 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 ;-)
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #11 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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

JohnX

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://
First Try Of Debian Eabi From Ads
« Reply #12 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.
Zaurus SL-C1000 - Linux 2.6.22 - Angstrom/Debian dual boot - Ambicom 802.11b - 1GB Corsair SD
Nokia N800 - 2GB PQI SD card
Zaurus SL-5500 - OZ 3.5.3/Hentges T2/Opie - 64MB Lexar SD card

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
First Try Of Debian Eabi From Ads
« Reply #13 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!
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
First Try Of Debian Eabi From Ads
« Reply #14 on: October 25, 2007, 09:05:49 am »
what is armel? How does it differ and what is it good for?