ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Debian Lenny Armel EABI on TS-7390

To:
Subject: Re: [ts-7000] Re: Debian Lenny Armel EABI on TS-7390
From: al l <>
Date: Tue, 1 Sep 2009 10:35:47 +0000 (GMT)


Dear all,
I'm trying to connect a PC shell serial emulator (putty) to the COM2 connector of the TS 7880 board and I don't success. I have checked all the configuration parameters and the mailing list mesages, tried all I have thought and it is like COM2 doesn't exist!!! I copy some chekings I have done:
ls -l /dev
-rw-r--r-- 1 root root         5 Sep  1 02:26 ttAM1
-rw-r--r-- 1 root root         5 Sep  1 02:26 ttAm1
crw-rw-rw- 1 root tty     5,   0 Feb 18  2009 tty
crw------- 1 root tty     4,   0 Aug 31 03:43 tty0
crw------- 1 root root    4,   1 Sep  1 01:07 tty1
crw------- 1 root root    4,   2 Sep  1 01:07 tty2
crw------- 1 root root    4,   3 Sep  1 01:07 tty3
crw------- 1 root root    4,   4 Sep  1 01:07 tty4
crw------- 1 root root    4,   5 Sep  1 01:07 tty5
crw------- 1 root root    4,   6 Sep  1 01:07 tty6
crw------- 1 root tty     4,   7 Feb 18  2009 tty7
crw------- 1 root tty     4,   8 Sep  1 02:58 tty8
crw------- 1 root tty     4,   9 Feb 18  2009 tty9
crwxr-xr-x 1 root root  204,  16 Mar 16  2006 ttyAM0
-rw-r--r-- 1 root root         5 Sep  1 02:35 ttyAM1
-rw-r--r-- 1 root root         5 Sep  1 02:35 ttyAS1
crw------- 1 root tty     4,  64 Sep  1 03:17 ttyS0
-rwxrwxrwx 1 root root        34 Sep  1 02:58 ttyS1
So it seems ttyS1 ie COM2 exists....
ps aux
root       715  0.0  0.9   2948  1208 ttyS0    Ss   03:08   0:00 /bin/login --
root       716  0.0  1.2   2956  1544 ttyS0    S    03:08   0:00 -bash
www-data   720  0.0  1.6  14228  2064 ?        S    03:08   0:00 /usr/sbin/apach
www-data   721  0.0  1.9 235648  2528 ?        Sl   03:08   0:00 /usr/sbin/apach
www-data   723  0.0  1.9 235648  2536 ?        Sl   03:08   0:00 /usr/sbin/apach
root       786  0.0  0.7   2476   936 ttyS0    R+   03:19   0:00 ps aux

So it seems that console is in ttyS0 ie COM1

nano /etc/inittab
#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100
So it seems that console is in ttyS0 and ttyS1 is free!!
If I do: ts7800:~# echo hola > /dev/ttyS0 It prints hola in ttyS0 (just where I am ie my shell serial emulator) so it seems that ttyS0 is console.
If I do:
ts7800:~# echo hola > /dev/ttyS1
ts7800:~# echo hola > /dev/ttyAM1
ts7800:~# echo hola > /dev/ttyAS1
nothing!!!!
ts7800:~# echo hola > /dev/ttyAM0  
-bash: /dev/ttyAM0: No such device or address  It doesn't exist...
As you can see it is like COM2 doesn't exist!!!!
I have checked serial bus cable and it is ok.... (red line just on the board dot) I am using TS manufactured cable.... so....
I am lost..... I have no more ideas....

Would you be so gratefull to help me with this???
thanks!!


De: Dunge2 <>
Para:
Enviado: martes, 4 de agosto, 2009 17:00:59
Asunto: [ts-7000] Re: Debian Lenny Armel EABI on TS-7390

 

Still can't make anything on Armel-EABI, do you guys really all run your boards with debian etch-oabi or what?!

The provided TS cross-compiler is working, I had a typo in my makefile so the error below isn't real. Unfortunately, it then gives the same error as the Martin one (std::basic_ ostream).

So I tried to recompile cairomm and glibmm using those toolchain (instead of using debian packages).

cairomm went fine.

glibmm gives this error:
/home/nib/arm- none-linux- gnueabi/arm- none-linux- gnueabi/sys- root/usr/ lib/libgio- 2.0.so: undefined reference to `inotify_init@ GLIBC_2.4'

So I went, and tried to recompile glib to have a matching libgio-2.0.so, and it gives this error:
../../gio/.libs/ libgio-2. 0.so: undefined reference to `inotify_init'

How could it have undefined reference to a lib it compiled itself is beyond me...

--- In ts-7000%40yahoogroups.com, "Dunge2" <> wrote:
>
> Hi!
> I have the distrib running on the device, Xorg still isn't working but that's something else. I used aptitude to get a few libs and copied them to my computer for cross-compiling. I then erased all 19 symlinks who were bad (linked to /lib) and whose libs are included in the cross-compiler (libcrypt, libBrokenLocale, etc).
>
> Now, I can use two cross-compiler to compile my application in EABI.
>
> The one provided by TS (arm-none-linux- gnueabi) gives me this error at linking:
> ERROR: Source object /home/nib/arm- unknown-linux- gnu/arm-unknown- linux-gnu/ lib/libcrypt. so has EABI version 0, but target tmg-arm has EABI version 4
> failed to merge target specific data of file /home/nib/arm- unknown-linux- gnu/arm-unknown- linux-gnu/ lib/libcrypt. so
>
> Then print pages and pages of undefined reference.
>
> The cross-compiler provided by Martin who is probably more up-to-date and faster gives me this error:
> /usr/armel/lib/ libcairomm- 1.0.so: undefined reference to `std::basic_ ostream<char, std::char_traits< char> >& std::__ostream_ insert<char, std::char_traits< char> >(std::basic_ ostream<char, std::char_traits< char> >&, char const*, 3.4.9'
> /usr/armel/lib/ libglibmm- 2.4.so.1: undefined reference to `std::basic_ ostream<wchar_ t, std::char_traits< wchar_t> >& std::__ostream_ insert<wchar_ t, std::char_traits< wchar_t> >(std::basic_ ostream<wchar_ t, std::char_traits< wchar_t> >&, wchar_t const*, 3.4.9'
>
> Which I heard is because libstdc++ is too recent for the Debian Armel aptitude provided libs.
>
> How the hell I am supposed to compile something??
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [ts-7000] Re: Debian Lenny Armel EABI on TS-7390, al l <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU