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

Frank Hunleth fhunleth at troodon-software.com
Mon Jan 2 01:03:04 UTC 2012


Got it. That makes sense.

What about the other part of the patch for adding ttyO to mdev.conf? That
one is more important to me since I am currently using mdev (and probably
shouldn't have tried to cram the static dev table change in the patch
anyway).

Thanks,
Frank

On Sun, Jan 1, 2012 at 3:50 PM, Thomas Petazzoni <
thomas.petazzoni at free-electrons.com> wrote:

> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot




-- 
Frank Hunleth
Troodon Software LLC
240.397.8766 | fhunleth at troodon-software.com
http://troodon-software.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120101/44abe87f/attachment-0002.html>


More information about the buildroot mailing list