[U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support
Stefano Babic
sbabic at denx.de
Tue Sep 18 16:42:34 CEST 2012
On 18/09/2012 16:02, Eric Nelson wrote:
>
> Hi Fabio and Stefano,
>
> While trying to understand this, I wonder whether the
> use of overwrite_console() addresses Wolfgang's original
> concern.
>
> I think the suggestion was to set the preboot variable
> to change things:
Wolfgang's first concern was to avoid to hardcode variable inside the
code, as it was done in the original mx51 / mx53 code (and not only in
i.MX boards).
>
> #define CONFIG_PREBOOT "setenv stdout serial"
This makes sense if you want maintain the possibility that u-boot output
is displayed on the LCD. Is this really the case ?
In most cases, we want to display a splashscreen, while the console is
still managed by serial line.
If this is the case, adding overwrite_console() tells video subsystem to
not change the stdout variable, and then it is not required to set it
back to serial neither in code nor with the help of the preboot variable.
> The has the benefit of allowing saveenv to completely
> overwrite the decision.
>
> Am I over-thinking this?
It depends if you want also U-Boot's output on the display or only a
picture.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list