linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* node /dev/ttyCPM2 not created
@ 2009-03-13 18:56 liran raz
  2009-03-14  0:18 ` Timur Tabi
  0 siblings, 1 reply; 5+ messages in thread
From: liran raz @ 2009-03-13 18:56 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 906 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: node /dev/ttyCPM2 not created
  2009-03-13 18:56 node /dev/ttyCPM2 not created liran raz
@ 2009-03-14  0:18 ` Timur Tabi
  2009-03-16 13:39   ` liran raz
  0 siblings, 1 reply; 5+ messages in thread
From: Timur Tabi @ 2009-03-14  0:18 UTC (permalink / raw)
  To: liran raz; +Cc: linuxppc-dev

On Fri, Mar 13, 2009 at 1:56 PM, liran raz <liranrazlinux@gmail.com> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: node /dev/ttyCPM2 not created
  2009-03-14  0:18 ` Timur Tabi
@ 2009-03-16 13:39   ` liran raz
  2009-03-18 18:37     ` Scott Wood
  0 siblings, 1 reply; 5+ messages in thread
From: liran raz @ 2009-03-16 13:39 UTC (permalink / raw)
  To: Timur Tabi; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

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 <timur@tabi.org> wrote:

> On Fri, Mar 13, 2009 at 1:56 PM, liran raz <liranrazlinux@gmail.com>
> 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
>

[-- Attachment #2: Type: text/html, Size: 1046 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: node /dev/ttyCPM2 not created
  2009-03-16 13:39   ` liran raz
@ 2009-03-18 18:37     ` Scott Wood
  0 siblings, 0 replies; 5+ messages in thread
From: Scott Wood @ 2009-03-18 18:37 UTC (permalink / raw)
  To: liran raz; +Cc: linuxppc-dev, Timur Tabi

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* node /dev/ttyCPM2 not created
@ 2009-03-13 20:03 liran raz
  0 siblings, 0 replies; 5+ messages in thread
From: liran raz @ 2009-03-13 20:03 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 906 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-18 18:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-13 18:56 node /dev/ttyCPM2 not created liran raz
2009-03-14  0:18 ` Timur Tabi
2009-03-16 13:39   ` liran raz
2009-03-18 18:37     ` Scott Wood
2009-03-13 20:03 liran raz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).