I'd like to know if it's possible to suppress comms to / from stdio, stdout and 
stderr.

I know there's support to suppress the console output (stdout and stderr) using 
CONFIG_SILENT_CONSOLE and the "silent" env variable, but this isn't 
particularly dynamic.

Our target board has a bitlink which I'd like to read at boot time.  If the 
link is not connected, all comms to / from the u-boot console should be 
suppress (including any key presses).

In normal running mode, we are wanting to use the comms port for (say) a 
printer or connected to a host system.  As such, when the unit boots we're not 
wanting it to output the u-boot console text to the printer.

But in debug / test / repair / maintenance / upgrade mode, we'd remove any 
printer / etc, we'd fit the link, which would then give us the normal u-boot 
startup and prompt.

>From what I can see in the code, there's no real way to do this "on-the-fly" 
>suppressing.

Any ideas ?

Thanks
Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to