Hi Wolfgang, On Sat, Nov 3, 2012 at 5:33 AM, Wolfgang Denk <w...@denx.de> wrote: > Dear Simon Glass, > > In message <1351813330-23741-6-git-send-email-...@chromium.org> you wrote: >> This option displays board info after stdio is running, so that it will >> appear on the LCD. If it is displayed earlier, the board info will appear >> on the serial console but not on the LCD. > > Note that this is intentional! We always want to have the output in > the console as soon as possible.
(Thanks for your comments on this and other patches, and sorry it had taken a while to get back to this) The first output on the console is the U-Boot banner. This option does not touch that at all. > > >> +- CONFIG_DISPLAY_BOARDINFO >> + Display information about the board that U-Boot is running on >> + when U-Boot starts up. > > Why do we need a config option for this? We already do - I just thought I would document it. Perhaps it should be in a separate commit. > > This being the default (and I request that this remains so!), you > would have to touch _ALL_ existing board config files! I don't think it is the default. If I don't define it in my board file, I get no board info. > >> +- CONFIG_DISPLAY_BOARDINFO_LATE >> + Similar to the previous option, but display this information >> + later, once stdio is running and output goes to the LCD, if >> + present. > > This makes little sense to me. Well, since you asked, here is what we see with and without this option: 1a. Without CONFIG_DISPLAY_BOARDINFO_LATE, on serial: U-Boot 2011.12-02550-g037e1c5-dirty (Nov 15 2012 - 14:29:42) for SMDK5250 CPU: S5PC520 @ 1700MHz Board: Google Snow, rev 0 I2C: ready DRAM: 2 GiB Elpida DDR3 @ 800MHz MMC: S5P MSHC0: 0, S5P MSHC1: 1 SF: Detected W25Q32 with page size 4 KiB, total 4 MiB *** Warning - bad CRC, using default environment In: mkbp-keyb Out: lcd Err: lcd Net: No ethernet found. Hit any key to stop autoboot: 0 SMDK5250 # 1b. Without CONFIG_DISPLAY_BOARDINFO_LATE, on LCD (note machine info is missing): In: mkbp-keyb Out: lcd Err: lcd Net: No ethernet found. Hit any key to stop autoboot: 0 SMDK5250 # 2a. With CONFIG_DISPLAY_BOARDINFO_LATE, on serial: U-Boot 2011.12-02550-g037e1c5 (Nov 15 2012 - 14:27:40) for SMDK5250 CPU: S5PC520 @ 1700MHz I2C: ready DRAM: 2 GiB Elpida DDR3 @ 800MHz MMC: S5P MSHC0: 0, S5P MSHC1: 1 SF: Detected W25Q32 with page size 4 KiB, total 4 MiB *** Warning - bad CRC, using default environment Model: Google Snow In: mkbp-keyb Out: lcd Err: lcd Net: No ethernet found. Hit any key to stop autoboot: 0 SMDK5250 # 2b. With CONFIG_DISPLAY_BOARDINFO_LATE, on LCD (note machine info is present): Model: Google Snow In: mkbp-keyb Out: lcd Err: lcd Net: No ethernet found. Hit any key to stop autoboot: 0 SMDK5250 # Since the LCD is all that a typical user sees, it is useful to display the model there. We may be able to rearrange things some other way one day, but at present this seems like a convenient way of getting the required behaviour. Regards, Simon > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de > Each kiss is as the first. > -- Miramanee, Kirk's wife, "The Paradise Syndrome", > stardate 4842.6 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot