LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Serial console input problem
@ 2007-02-09 17:25 Meher
  0 siblings, 0 replies; only message in thread
From: Meher @ 2007-02-09 17:25 UTC (permalink / raw)
  To: linux-kernel

Hi,
     I am porting linux version 2.6.10 to a MIPS(Big Endian) based
custom board. I am able to boot the kernel and get the root file
system in flash mounted and start init successfully. I can see
messages from init (busybox based) on the serial console but for some
reason I am not able to enter any data on the serial console. Output
to the console works fine but input does not seem to work. There is no
problem with the serial port because from boot loader I am able to
read user input through serial port and boot accordingly.
    This is my kernel command line:

console=ttyS0,9600n81 root=/dev/mtdblock3 rootfstype=jffs2 rw

I tried starting /bin/sh instead of init to ensure I can enter
something on shell but these are the messages I get from kernel:

~~~~~~~~~~~~~~
Found a mtd2 image (0x0), with size (0x20000).
Creating 1 MTD partitions on "Primary flash device":
0x00000000-0x00020000 : "mtd2"
Number of partitions detected: 3
mice: PS/2 mouse device common for all mice
VFS: Mounted root (jffs2 filesystem).
Freeing unused kernel memory: 96k freed
Kalyan:: going into serial_link_irq_chain
Kalyan:: Going into request_irq with irq number: 15
kalyan::Running /bin/sh
Algorithmics/MIPS FPU Emulator v1.5


BusyBox v1.00 (2007.02.05-19:57+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

#

~~~~~~~~~~~~~~

After this anything I enter at the console does not matter nothing
happens :(. I am using an emulator to debug it so I am looking for any
interrupt from the serial port to the kernel when i type in some data
but I do not see any interrupt coming in.. Am I missing something
here?

Please let me know if you need more details

I am not yet subscribed to LKML so please include me in CC to any replies.


-- 
Regards,
Meher

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-09 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-09 17:25 Serial console input problem Meher

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).