Howto redirect serial console

Dach Miroslaw miroslaw.dach at psi.ch
Sat Jun 20 19:53:30 UTC 2009


Hi Baruch,

Thanks for your hint. Your solution refers to the change of the command line arguments 
used at boot-up. I am however looking for a possibility to redirect console device at run time.

Best Regards

Mirek




-----Original Message-----
From: Baruch Siach [mailto:baruch at tkos.co.il]
Sent: Sat 6/20/2009 8:30 PM
To: Dach Miroslaw
Cc: busybox at busybox.net
Subject: Re: Howto redirect serial console
 
Hi Dach,

On Sat, Jun 20, 2009 at 08:01:21PM +0200, Dach Miroslaw wrote:
> I have a ppc405 based board with one serial interface which I use as a console.
> I would like to redirect or suppress, at run time, the console in order to use the
> serial port to control external serial devices.
> 
> I have tried (busybox) setconsole program to redirect the console to /dev/null
> but it did not work. What would be the elegant way to redirect or suppress the serial console.

I encountered a similar situation before. My solution was to pass console=tty1 
to the kernel.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the busybox mailing list