[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [microblaze-uclinux] howto disable the console_uart and debug_uart



Hi Frank,

Rädisch Frank wrote:

> a kernel command line option to prevent all output from printk/printf etc.
> sounds good to me!
> But i can also live with comment out the line.

So this is now implemented in CVS - you can boot the kernel passing the 
"console=null" parameter, and it will be utterly silent until the 
login/shell starts.


>>I just booted my board like this, it's silent until the shell login 
>>prompt comes up - no kernel messages or anything like that.
> 
> Why writes the shell still to the UART?
> We need the UART for our own communication interface, 
> therefore i am searching for a solution to prevent all output to the UART.

The shell writes to the serial port because a shell needs IO from 
somewhere.  By default, this is /dev/ttyS0, the first serial port in the 
system.

If your app neds to run instead of the shell, then you just configure 
init not to run a shell, but instead to launch your app.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/