[Buildroot] can't open /dev/tty No such device or address

jeff angielski jeff at theptrgroup.com
Tue Feb 3 13:25:08 UTC 2009


On Tue, 2009-02-03 at 08:01 +0100, Peter Korsgaard wrote:
> >>>>> "jeff" == jeff angielski <jeff at theptrgroup.com> writes:
> 
> Hi,
> 
>  jeff> You are correct.  At some point while I was trying to get my
>  jeff> serial port, /dev/ttyCPM0, up and running as the serial console
>  jeff> in buildroot I must have inadvertently disabled Virtual
>  jeff> Terminals in the kernel config file.  Once I enabled them again
>  jeff> all was well.
> 
> We don't seem to have ttyCPMx devices listed in the default
> /etc/securetty, what major/minor device numbers does it use and how
> many are typically present?

These are serial ports from the 2.6.x kernel based on the CPM core in
the PowerPC processors.  They can be found in the linux kernel under
linux/drivers/serial/cpm_uart.

Here is what I added to the device_table.txt to make it work.

/dev/ttyCPM c	666	0	0	204	46	0	1	6


-- 
Jeff Angielski
The PTR Group
www.theptrgroup.com




More information about the buildroot mailing list