From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] after relocation, the original text_base memory section can't be used
Date: Thu, 26 May 2011 13:10:36 +0200 [thread overview]
Message-ID: <4DDE352C.6010409@aribaud.net> (raw)
In-Reply-To: <BANLkTikHmwQNswD2iKUX-udn9e7_C8EErQ@mail.gmail.com>
Hi,
Le 26/05/2011 11:04, Yuping Luo a ?crit :
> Hi,
>
> With 2011.03 uboot, I am adding firmware flashing feature to our
> arm cortex a9 soc platform via usb, in which the data firstly be
> uploaded to memory wholly (more than 200MB, thanks our 512MB physical
> memory), then burned.
> By my understanding, after relocation the successive memory range
> (0~~ relocaddr) can be (re)used. however, if the original text section
> (in my case, 0x01500000) is written, the data abort happens when
> accessing 0x01600000; if the memory section (0x01500000~0x01600000)
> not written, everything is ok. please correct me if I am wrong.
Well, what is sure is that not all of 1500000-1600000 was used before
relocation either (it ends around 1546000), so 1600000 was not accessed
before reloc. How can you be sure the issue happens after reloc? For all
we know, it could be a bug in the code code that writes 1500000 to
1600000 itself.
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-05-26 11:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 9:04 [U-Boot] after relocation, the original text_base memory section can't be used Yuping Luo
2011-05-26 11:10 ` Albert ARIBAUD [this message]
2011-05-27 3:01 ` Yuping Luo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DDE352C.6010409@aribaud.net \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox