public inbox for xenomai@lists.linux.dev
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Pierre FICHEUX <pierre.ficheux@smile.fr>
Cc: Xenomai <xenomai@lists.linux.dev>
Subject: Re: EVL UART driver
Date: Fri, 19 Dec 2025 10:15:38 +0100	[thread overview]
Message-ID: <87fr96zvb9.fsf@xenomai.org> (raw)
In-Reply-To: <CAFc1U0sKevnf4i9HFLaRu5nJ-Lajn7khjsLDRtxx=CEFWy36OQ@mail.gmail.com> (Pierre FICHEUX's message of "Fri, 28 Nov 2025 18:48:48 +0100")

Pierre FICHEUX <pierre.ficheux@smile.fr> writes:

> Hi all,
>
> I'm looking for information about writing such a driver. Reading
> https://v4.xenomai.org/core/drivers/index.html leads me to think there
> is nothing available for UARTs.
>
> Is there any example of documentation anywhere ?
>
> I've read a post by a french developper (Clément Godbille) but it was
> in 2021, just a short discussion with Philippe.

There is indeed no support for driving uarts from the oob stage yet. As
the document you pointed out suggests, providing such support first
requires to figure out how to properly teach the tty layer about the oob
stage, IOW how to provide a functional subset which could work from an
NMI-like context, so that we don't have to fork off any random mainline
(uart) driver to adapt it specifically for oob, with all the bit rot
issues this caused to Xenomai3 over time.

Xenomai4 already does this for the DMA, GPIO, SPI and network
subsystems, I have no doubt this could be done for the tty layer the
same way.

-- 
Philippe.

      reply	other threads:[~2025-12-19  9:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-28 17:48 EVL UART driver Pierre FICHEUX
2025-12-19  9:15 ` 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=87fr96zvb9.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=pierre.ficheux@smile.fr \
    --cc=xenomai@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox