[Buildroot] [PATCH] Add ttyO devices to the mdev configuration and the static device table.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jan 1 20:50:10 UTC 2012


Hello Frank,

Le Sun,  1 Jan 2012 12:26:36 -0500,
Frank Hunleth <fhunleth at 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


More information about the buildroot mailing list