Solved

Supressing console output with "quiet" option or console=NULL or console=/dev/null NOT working...

Posted on 2008-10-21
4
1,700 Views
Last Modified: 2013-12-16
I have an embedded target on which I do not want console output to appear on-screen at boot time, nor do I want console data streaming out the serial port.

During development and test I would like a console on the screen or the serial port. I want to control this by changing my "console" parameter on the kernel command line I pass from my bootloader.

Some years ago I did this by setting console=NULL or console=/dev/null (I can't remember exactly). This suppressed all console output on a production unit.

For engineering use I would interrupt the bootloader and specify a "console=tty" (screen) or "console=tty0,115200" (serial port) option and get the console output as desired for engineering use.

For the 2.6.24 kernel I've tried a "quiet" option, but this is not working. I'm getting text on my LCD.

The only method that eliminates ALL output to my LCD is when I specify a "console=ttyPSC0,115200" (a serial port). This then routes all the console output to the port, but I don't want it there either!

Can anyone help me to understand why console=/dev/null is not working, or why the "quiet" option is not working? Thanks!
0
Comment
Question by:mike_timmons
4 Comments
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 22793437
Try
loglevel=4
(To log messages  only  levels 4 and lower numbered [more severe] messages via kprint)

Take action to suppress output from init scripts   that normally send output to the console, also.



and/or   boot the kernel with console directed to an unused local tty

console=tty2


0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now