aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSimon Glass2012-11-30 07:01:19 -0600
committerAlbert ARIBAUD2013-01-10 15:22:01 -0600
commite2e3e2b1be703e0c93d0e49cac9a0dd2e1ba8f6e (patch)
tree4e8e9a6a13c1f9ac0fd0a55f3ba8ff163224ef11 /README
parentb2b92f53157d9afe73b413516834e062448a2fce (diff)
downloadu-boot-e2e3e2b1be703e0c93d0e49cac9a0dd2e1ba8f6e.tar.gz
u-boot-e2e3e2b1be703e0c93d0e49cac9a0dd2e1ba8f6e.tar.xz
u-boot-e2e3e2b1be703e0c93d0e49cac9a0dd2e1ba8f6e.zip
arm: Add CONFIG_DISPLAY_BOARDINFO_LATE to display board info on LCD
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. Here follows a blow-by-blow description. 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. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index d57ee91ca3..9c261680d4 100644
--- a/README
+++ b/README
@@ -3462,6 +3462,11 @@ use the "saveenv" command to store a valid environment.
3462 when U-Boot starts up. The board function checkboard() is called 3462 when U-Boot starts up. The board function checkboard() is called
3463 to do this. 3463 to do this.
3464 3464
3465- CONFIG_DISPLAY_BOARDINFO_LATE
3466 Similar to the previous option, but display this information
3467 later, once stdio is running and output goes to the LCD, if
3468 present.
3469
3465Low Level (hardware related) configuration options: 3470Low Level (hardware related) configuration options:
3466--------------------------------------------------- 3471---------------------------------------------------
3467 3472