[U-Boot-Users] Suppressing starting/terminated messages by go

Edward Jubenville edjubenville at adelphia.net
Fri May 11 20:08:53 CEST 2007


For a standalone application, do_go() always prints starting/terminated
messages:
	## Starting application at 0x00040004 ...
and
	## Application terminated, rc = 0x0

Is there a philosophical reason why these messages shouldn't be suppressed
with a configuration parameter?

I have a standalone program that I run about a dozen times in a row, feeding
it different command line parameters, and its printouts are littered with
these starting/terminated messages.  I would like to get rid of them like
this:

  int do_go (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  ...
  #if !defined(CFG_QUIET_GO)
    printf ("## Starting application at 0x%08lX ...\n", addr);
  #endif
  ...
  #if !defined(CFG_QUIET_GO)
    printf ("## Application terminated, rc = 0x%lX\n", rc);
  #endif

I'm using u-boot 1.1.4 on a Lite5200 clone board.

Ed Jubenville








More information about the U-Boot mailing list