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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]