All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Nikolaj Fogh <nf@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Blackfin serial port in Xenomai
Date: Thu, 08 Jan 2009 10:11:28 +0100	[thread overview]
Message-ID: <4965C340.1080504@domain.hid> (raw)
In-Reply-To: <1231328992.7413.3.camel@domain.hid>

Nikolaj Fogh wrote:
> Hi,
> 
> I am trying to interface with a serial port on a bluetechnics cm-bf537e
> board (a blackfin chip). However, it seems that the serial port in the
> blackfin is not compatible with a 8250 chip, so I cannot get the xenomai
> rtdm serial driver working. Has anyone got a driver for the blackfin
> serial port for hard real time.
> 

I don't know of any, yet.

> Right now, I am just printf'ing to a serial console to print data. I
> would like to avoid that.
>

If that is just for text output, you could build a trivial rtdm driver accepting
strings from the write_rt endpoint and relay it to the debug routine available
with the I-pipe code for this arch, i.e.:
void __ipipe_serial_debug(const char *fmt, ...);

Caution: this routine is very naive, and locks out hw interrupts until the
entire string has been sent out to the wire; you may want to either fix it for
your needs, or send small strings, one at a time.

> Thanks
>   - Nikolaj Fogh
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


      reply	other threads:[~2009-01-08  9:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-07 11:49 [Xenomai-help] Blackfin serial port in Xenomai Nikolaj Fogh
2009-01-08  9:11 ` Philippe Gerum [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=4965C340.1080504@domain.hid \
    --to=rpm@xenomai.org \
    --cc=nf@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.