* [U-Boot-Users] On-the-fly suppressing stdin, stdout and stderr
@ 2008-07-29 11:35 Mark Jackson
0 siblings, 0 replies; only message in thread
From: Mark Jackson @ 2008-07-29 11:35 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-29 11:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 11:35 [U-Boot-Users] On-the-fly suppressing stdin, stdout and stderr Mark Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox