From: Wolfgang Grandegger <wg@domain.hid>
To: Everett Wang <everteq@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Beagleboard and RTDM serial example
Date: Sun, 30 May 2010 09:22:52 +0200 [thread overview]
Message-ID: <4C02124C.6070000@domain.hid> (raw)
In-Reply-To: <AANLkTimibgE4TlTLTaehsyZWQbrJBXCAeRaMTj0dEdZR@mail.gmail.com>
On 05/30/2010 03:44 AM, Everett Wang wrote:
> Hi All,
>
> I have made some progress in getting RTDM 16550A working for my
> beagleboard. Followed
> Wolfgang's instructions, I first set uart 0,1 free from kernel then
> load 16550A driver.
>
> setserial /dev/ttyS0 uart none
> setserial /dev/ttyS1 uart none
>
> I can load the driver fine:
> insmod /lib/modules/2.6.33.3/kernel/drivers/xenomai/serial/xeno_16550A.ko
> mem=0x4806a000 irq=72 baud_base=3000000
>
> The baud_base is set to 3000000 since the
> linux/arch/arm/plat-omap/include/plat/serial.h defined
> OMAP24XX_BASE_BAUD 3000000. Hope this is OK.
> after that I can see the rtser0 in the /proc/xenomai/rtdm:
>
> cat /proc/xenomai/rtdm/rtser0/information
> driver: xeno_16550A
> version: 1.5.2
> peripheral: UART 16550A
> provider: Jan Kiszka
> class: 2
> sub-class: 0
> flags: EXCLUSIVE NAMED_DEVICE
>
> But I can only create one rtser. When I tried to create an other rtser
> for ttyS1, I had this:
>
> insmod /lib/modules/2.6.33.3/kernel/drivers/xenomai/serial/xeno_16550A.ko
> mem=0x4806c000 irq=73 baud_base=3000000
> insmod: error inserting
> '/lib/modules/2.6.33.3/kernel/drivers/xenomai/serial/xeno_16550A.ko':
> -1 File exists
>
> I could also do the ttyS1 first. It will create an rtser0 as well. But
> when I do insmod for ttyS0, it will have the same error message.
>
> How can I create rtser0 and rtser1 for beagleboard?
insmod ... mem=0x4806a000,0x4806c000 irq=72,73 baud_base=3000000,3000000
Wolfgang.
prev parent reply other threads:[~2010-05-30 7:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-30 1:44 [Xenomai-help] Beagleboard and RTDM serial example Everett Wang
2010-05-30 7:22 ` Wolfgang Grandegger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C02124C.6070000@domain.hid \
--to=wg@domain.hid \
--cc=everteq@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.