Use Serial as console and normal serial communication
Hello,
I am working on Embedded board which runs on linux-2.6.25.9. I want to use serial port both as console or normal serial communication. By default it should boot to use as serial communication and if selected to use as debug should able to move to console. |
Quote:
You can set up grub to use the serial console. See the gnu grub documentation. You can set up the Linux kernel to use the serial console, using the console=ttySx parameter (x is the a number, normally 0 or 1). You can run a getty on the console so that you can log in. I don't know how you debug the board, so that I can't comment on this requirement. |
Quote:
|
Quote:
This is for legacy grub; if you use the more recent grub 2, it's a bit more complicated, though the kernel parameter remains the same. To not select serial console, leave this option out. |
What is the make and model number of your embedded board? Do you know what process it uses to boot?
If it isn't a PC compatible device it will not use grub, does not have a tty0 and one of the serial ports will be configured as the console. It appears the OP wants to disable the console for this serial port. |
All times are GMT -5. The time now is 03:11 PM. |