Hi, My microprocessor is an ARM9 based ASIC. It only has one serial port which is currently used as console port. Linux output messages go to this port which is connected a terminal program such as Hyperterminal.
Now I also need this serial port for remote control purpose so I need to redirect console output to somewhere (e.g. a file or whatever) when my own program runs. The ideal solution for me is: When board boots up, linux boot messages go to the serial port. As soon as my own program runs, all the messages from linux kernel go to somewhere (a file or whatever). Then my program can own the serial port. No message from the linux kernel can disturb the communication between my program and PC. When my program exits, redirect console port back to serial port so that linux kernel messages go back to serial port again. Anybody has any idea how to do this? Thanks in advance. Allen ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev