[U-Boot] [PATCH 07/10] arm: Add option to display customised memory information

Simon Glass sjg at chromium.org
Thu Nov 15 23:45:56 CET 2012


Hi Wolfgang,

On Sat, Nov 3, 2012 at 7:54 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon Glass,
>
> In message <1351813330-23741-7-git-send-email-sjg at chromium.org> you wrote:
>> Some boards want to report more than just memory size. For example, it
>> might be useful to display the memory type (DDR2, DDR3) or manufacturer.
>>
>> Add a weak function to support this requirement.
>>
>> Any example of the DRAM: output is below, just for illustration:
>>
>> U-Boot 2011.12-02470-gd64a0f8-dirty (Sep 14 2012 - 10:46:39) for SMDK5250
>>
>> CPU:   S5PC520 @ 1700MHz
>> I2C:   ready
>> DRAM:  2 GiB Samsung DDR3 @ 800MHz
>> MMC:   S5P MSHC0: 0, S5P MSHC1: 1
>> Using default environment
>
> NAK.
>
> Such information does not belong into the standard boot messages.
> These should containonly the necessary information to see that U-Boot
> is coming up correctly and give indication where it might be hanging
> if it does.
>
> All other information should be printed by commands that may be called
> by users who are actually interested in such information.  You may
> even add such commands to your "preboot" settings, but please make
> sure that users not interested in such stuff can change this and get
> only minimal output (as may be needed for minimal boot times).

A key reason for not coming up correctly is the memory being
configured incorrectly - e.g. timings or type incorrect.

I will see if I can add a command for this.

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: wd at denx.de
> If a person (a) is poorly, (b) receives treatment  intended  to  make
> him  better, and (c) gets better, then no power of reasoning known to
> medical science can convince him  that  it  may  not  have  been  the
> treatment that restored his health.
> - Sir Peter Medawar, The Art of the Soluble


More information about the U-Boot mailing list