[U-Boot] POST Memory Test Problem
Wolfgang Denk
wd at denx.de
Mon Dec 22 17:28:55 CET 2014
Dear Allan,
In message <CAFxMsXy9jXw9k_LgBbc7Hen66iYvk0kTfOAmb41wV4NzK7vw+w at mail.gmail.com> you wrote:
>
> Im using a Freescale QorIQ P1020 custom board, booting from serial NOR
> flash (SPI), U-Boot 2014.10.
...
> Im afraid that this test is hiding another errors, because its testing
> the whole DDR range. And in post/tests.c the flag POST_ROM is set, but
I don't think so. I thiunk you're just misusing the test.
> booting from NOR flash SPI we are in DDR since the beginning.
In case it is not obvious: you cannot run a memory test on the memory
you are running from. You must make sure to run the POST memory test
_before_ relocation to RAM.
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
It's hard to make a program foolproof because fools are so ingenious.
More information about the U-Boot
mailing list