node /dev/ttyCPM2 not created

4 messages, 3 authors, 2009-03-18 · open the first message on its own page

node /dev/ttyCPM2 not created

From: liran raz <hidden>
Date: 2009-03-13 19:01:22

hi,

I've configured SCC1 to be serial uart driver.
(in addition to SMC1 & SMC2 that were already configured
as UARTs).

Now I can see these defines in .config file:
CONFIG_SERIAL_CPM_SCC1=y
CONFIG_SERIAL_CPM_SMC1=y
CONFIG_SERIAL_CPM_SMC2=y

When the kernal starts I see these log messages:
ttyCPM0 at MMIO 0xc505ca80 (irq = 17) is a CPM UART

ttyCPM1 at MMIO 0xc5060a90 (irq = 16) is a CPM UART

ttyCPM2 at MMIO 0xc5064a00 (irq = 40) is a CPM UART



But when I list the devices:
[root@urm dev]# ll ttyCPM*

crw-rw-rw-    1 root     root     204,  46 Dec 31 17:00 ttyCPM0

crw-rw-rw-    1 root     root     204,  47 Dec 31 17:00 ttyCPM1


I can't see ttyCPM2.

Does anyone know what I'm missing? or what do I need to configure
in order to have: /dev/ttyCPM2 ?

Thanks,
Liran.

Re: node /dev/ttyCPM2 not created

From: Timur Tabi <hidden>
Date: 2009-03-14 00:18:50

On Fri, Mar 13, 2009 at 1:56 PM, liran raz [off-list ref] wrote:
Does anyone know what I'm missing? or what do I need to configure
in order to have: /dev/ttyCPM2 ?
My guess is that you don't have udev or mdev running.


-- 
Timur Tabi
Linux kernel developer at Freescale

Re: node /dev/ttyCPM2 not created

From: liran raz <hidden>
Date: 2009-03-16 13:39:11

Thanks, I don't see any mdev process running.
Just wonder who is creating /dev/ttyCPM1 since in the device table file
(device_table.txt)
I have only node: 204 (major) 46 (minor) defined.
But I can see /dev/ttyCPM1 (204 47)
Liran.

On Fri, Mar 13, 2009 at 4:18 PM, Timur Tabi [off-list ref] wrote:
On Fri, Mar 13, 2009 at 1:56 PM, liran raz [off-list ref]
wrote:
quoted
Does anyone know what I'm missing? or what do I need to configure
in order to have: /dev/ttyCPM2 ?
My guess is that you don't have udev or mdev running.


--
Timur Tabi
Linux kernel developer at Freescale

Re: node /dev/ttyCPM2 not created

From: Scott Wood <hidden>
Date: 2009-03-18 18:37:47

On Mon, Mar 16, 2009 at 05:39:08AM -0800, liran raz wrote:
Thanks, I don't see any mdev process running.
Does it run during the boot scripts?  Or do you have udev?
Just wonder who is creating /dev/ttyCPM1 since in the device table file
(device_table.txt)
I have only node: 204 (major) 46 (minor) defined.
But I can see /dev/ttyCPM1 (204 47)
Ideally, it would be a program such as udev or mdev.  If you're using a
static /dev with no utility to automatically create nodes, then it's *you*
that creates it, with mknod. :-)

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help