All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] problem with serial example
@ 2010-05-23  3:48 Everett Wang
  2010-05-23  9:37 ` Wolfgang Grandegger
  0 siblings, 1 reply; 19+ messages in thread
From: Everett Wang @ 2010-05-23  3:48 UTC (permalink / raw)
  To: xenomai

Hi All,

I am trying to make my serial work with xenomai. I have managed to
compile and almost run the cross-link example.
When I tried to run it, I got a shared library problem:

examples
./cross-link
./cross-link: error while loading shared libraries: libxenomai.so.0: cannot...

I then added this:

$LD_LIBRARY_PATH=/usr/xenomai/lib
$export LD_LIBRARY_PATH

Is this the right thing to do?

I tried it again. I got a little further:

root@domain.hid# ./cross-link
main : can't open rtser0 (write), No such device

I googled a little bit and still can't find a solution. Here is the system I am
using: Beagleboard C4, xenomai 2.5.3, linux 2.6.33.3, cross-compiler CSL
2010Q1. In my kernel configuration, I do have CONFIG_XENO_DRIVERS_16550A
enabled as a module.

In a 2007 post, I saw  Philippe Gerum suggested to  have "vanilla
serial support disabled".
which kernel config is that? CONFIG_SERIAL_CORE? or CONFIG_SERIAL_8250?
I looked at my /dev/ directory and not found rtser*. It does have
ttyS0, ttyS1 and ttyS3
for my normal serial ports. Nothing called rtser in /proc/xenomai/rtdm either
root@domain.hid# ls
fildes         open_fildes       rttest-switchtest0
named_devices  protocol_devices  rttest-timerbench0

Any suggestions?

Have a nice weekend,

Everett


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-02-25 18:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-23  3:48 [Xenomai-help] problem with serial example Everett Wang
2010-05-23  9:37 ` Wolfgang Grandegger
2010-05-23 14:59   ` Everett Wang
2010-05-23 15:29     ` Gilles Chanteperdrix
2010-05-23 16:12       ` Everett Wang
2010-05-23 15:46     ` Wolfgang Grandegger
2010-05-23 16:19       ` Everett Wang
2010-05-23 16:28         ` Wolfgang Grandegger
2010-05-23 23:36           ` Everett Wang
2010-05-24  7:32             ` Everett Wang
2010-05-24 15:45               ` Wolfgang Grandegger
2010-05-25 13:47                 ` Everett Wang
2010-05-26  5:38                   ` Wolfgang Grandegger
2010-05-27  1:22                     ` Everett Wang
2010-05-27  7:34                       ` Wolfgang Grandegger
2010-05-23 16:28       ` Wolfgang Grandegger
2011-02-24  9:29       ` [Xenomai-help] problem with xeno_16550A:Fatal Module not found zair
2011-02-24 10:46         ` Gilles Chanteperdrix
     [not found]           ` <AANLkTinRd-KQ1HKy1tn1USfxL-8GT8FdZKujKTzfo_HE@mail.gmail.com>
2011-02-25 18:36             ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.