Hi Felix,
Felix Mühlbauer wrote:
I want to use the serial port to control a machine connected to it. My
FPGA board has only one serial port so how can I redirect all outputs,
especially kernel messages while booting, to a file? The file should be
accessable over telnet login later.
You can boot the kernel with "console=null", to prevent output of boot
messages.
The virtual file /proc/kmsg holds the message log, so you can just read
it later. Or, you can build and use dmesg for the same purpose.
John