From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add ttyO devices to the mdev configuration and the static device table.
Date: Sun, 1 Jan 2012 21:50:10 +0100 [thread overview]
Message-ID: <20120101215010.3911add4@skate> (raw)
In-Reply-To: <1325438796-3287-1-git-send-email-fhunleth@troodon-software.com>
Hello Frank,
Le Sun, 1 Jan 2012 12:26:36 -0500,
Frank Hunleth <fhunleth@troodon-software.com> a ?crit :
> +/dev/ttyO c 666 0 0 253 0 0 1 4
Unfortunately, this does not work. The omap-serial driver does not
define its major number, its gets allocated by alloc_chrdev_region()
dynamically at runtime. Therefore, depending on the drivers that are
compiled into the kernel and their initialization order, the major
number of the omap-serial devices might be 253 or 252 or 251, etc.
Basically, with the omap-serial driver, there is no other choice than
using devtmpfs (optionally with mdev or udev).
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2012-01-01 20:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-01 17:26 [Buildroot] [PATCH] Add ttyO devices to the mdev configuration and the static device table Frank Hunleth
2012-01-01 20:50 ` Thomas Petazzoni [this message]
2012-01-02 1:03 ` Frank Hunleth
2012-01-02 7:44 ` Thomas Petazzoni
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=20120101215010.3911add4@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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.