[U-Boot] [PATCH] nds32: fix code/data will be corrupted on ram in rum time
Wolfgang Denk
wd at denx.de
Thu Feb 6 13:21:55 CET 2014
Dear Andes,
In message <1391675928-28370-1-git-send-email-uboot at andestech.com> you wrote:
> From: rick <rick at andestech.com>
>
> can not execute get_ram_size(), because the
> text/data will be corrupted by itself
> in specific case.
You must be doing something wrong then. Of course you have to run
get_ram_size() _before_ relocation to RAM. You cannot test the
memory you are executing from.
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
Q: How do you spell "onomatopoeia"?
A: The way it sounds.
More information about the U-Boot
mailing list