[U-Boot] [PATCH] README: Fix how to for serial console when CONFIG_CFB_CONSOLE is defined

Fabio Estevam festevam at gmail.com
Mon May 21 16:23:21 CEST 2012


Hi Wolfgang,

On Sun, May 20, 2012 at 4:13 PM, Wolfgang Denk <wd at denx.de> wrote:

> In this situation, no code is needed to perform such an operation.  If
> you want to do this, just enable the PREBOOT feature and define a
> default "preboot" command as "setenv stdout serial".  THe effect is
> the same, but now the user still has a chance to change behavious as
> he deems fit.

I tried the "no code" approach initially (following the README) and it
did not allow me to redirect the console output to serial port.

Only when I placed 'setenv("stdout", "serial");' inside
board_late_init() worked for me.

Regards,

Fabio Estevam


More information about the U-Boot mailing list