public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* How to change console to UART3?
@ 2006-06-10 15:42 xuxian
  0 siblings, 0 replies; 2+ messages in thread
From: xuxian @ 2006-06-10 15:42 UTC (permalink / raw)
  To: linux-omap-open-source

Hi all,

I am facing a problem to make UART3 as the console. I have a board like OSK,
but the serial port is connected to the UART3. U-BOOT had been changed to
UART3 and it work fine. And also, I made some change in kernel, changing the
following code:
static struct omap_uart_config osk_uart_config __initdata = {
	.enabled_uarts = (1 << 0),
};
to
static struct omap_uart_config osk_uart_config __initdata = {
	.enabled_uarts = (1 << 2),
};
in board-osk.c in /arch/arm/mach-omap1.
When I booting the kernel, it can mount the root filesystem. But it doesn't
have any response to the keyboard. When gives the following information on
the console, it has no action though I pressing enter.

VFS: Mounted root (nfs filesystem).
Freeing init memory: 116K

******************************************
Starting System Init for OMAP5912OSK
****************************************** 
Press enter to active this console.

It seems that the date output is correct, but there is no date input. Do I
miss something to change in the kernel? Here is the information output when
starting the kernel:
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0xfffb9800 (irq = 15) is a ST16654
and I have ttyS0 c 4 64 in /dev in filesystem.
Any help will be appreciated. Thank in advance.

Best Regards,
xuxian

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: How to change console to UART3?
@ 2006-06-12 19:43 Haylock, Scott
  0 siblings, 0 replies; 2+ messages in thread
From: Haylock, Scott @ 2006-06-12 19:43 UTC (permalink / raw)
  To: xuxian, linux-omap-open-source


You may need to modify the inittab file.  In the root file system the
etc/inittab needs to be modified so that the prompts go to the correct
serial port.  Go to the inittab file and look for a line such as
below...

tts/0::askfirst:-/bin/sh

The tts/0 device node is the "devfs" version of ttyS0.  So, this would
need to be "tts/1::askfirst:-/bin/sh" if ttyS1 was used.

Scott

-----Original Message-----
From: linux-omap-open-source-bounces+haylock=ti.com@linux.omap.com
[mailto:linux-omap-open-source-bounces+haylock=ti.com@linux.omap.com] On
Behalf Of xuxian
Sent: Saturday, June 10, 2006 10:42 AM
To: linux-omap-open-source@linux.omap.com
Subject: How to change console to UART3?

Hi all,

I am facing a problem to make UART3 as the console. I have a board like
OSK,
but the serial port is connected to the UART3. U-BOOT had been changed
to
UART3 and it work fine. And also, I made some change in kernel, changing
the
following code:
static struct omap_uart_config osk_uart_config __initdata = {
	.enabled_uarts = (1 << 0),
};
to
static struct omap_uart_config osk_uart_config __initdata = {
	.enabled_uarts = (1 << 2),
};
in board-osk.c in /arch/arm/mach-omap1.
When I booting the kernel, it can mount the root filesystem. But it
doesn't
have any response to the keyboard. When gives the following information
on
the console, it has no action though I pressing enter.

VFS: Mounted root (nfs filesystem).
Freeing init memory: 116K

******************************************
Starting System Init for OMAP5912OSK
****************************************** 
Press enter to active this console.

It seems that the date output is correct, but there is no date input. Do
I
miss something to change in the kernel? Here is the information output
when
starting the kernel:
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
disabled
ttyS0 at MMIO 0xfffb9800 (irq = 15) is a ST16654
and I have ttyS0 c 4 64 in /dev in filesystem.
Any help will be appreciated. Thank in advance.

Best Regards,
xuxian

_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

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

end of thread, other threads:[~2006-06-12 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-10 15:42 How to change console to UART3? xuxian
  -- strict thread matches above, loose matches on Subject: below --
2006-06-12 19:43 Haylock, Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox