[U-Boot] ARM POST Tests.
Valentin Longchamp
valentin.longchamp at keymile.com
Wed Jul 20 12:59:47 CEST 2011
On 07/19/2011 08:45 PM, Wolfgang Denk wrote:
> Dear Valentin Longchamp,
>
> In message <4E25A2D0.1090903 at keymile.com> you wrote:
>>
>> With the memory test, that takes place before the relocation, it is extremly
>> slow (even if I reduce the size of the memory tested to a very small portion).
>> Is it something you have noticed as well ?
>
> This might be due to caches not being turned on yet?
>
This may explain one part of the issue.
I have done a little bit of profiling this morning, and the main culprit is the
call to getenv_f in post_get_flags for the four environment variables:
"post_poweron", "post_normal", "post_slowtest" "post_critical"
This is extremly slow on my system (before relocation). The goal of these env
variables is, I guess, to define the name of the tests that have to be run for
each post level, right ? Is this the only way to define which tests are to be run ?
--
Valentin Longchamp
Embedded Software Engineer
Hardware and Chip Integration
______________________________________
KEYMILE AG
Schwarzenburgstr. 73
CH-3097 Liebefeld
Phone +41 31 377 1318
Fax +41 31 377 1212
valentin.longchamp at keymile.com
www.keymile.com
______________________________________
KEYMILE: A Specialist as a Partner
More information about the U-Boot
mailing list