From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] configs: ti: Move FIT image load address to avoid overwrite
Date: Tue, 26 Mar 2019 12:21:57 -0400 [thread overview]
Message-ID: <20190326162157.GU18421@bill-the-cat> (raw)
In-Reply-To: <20190326151201.487-1-afd@ti.com>
On Tue, Mar 26, 2019 at 10:12:01AM -0500, Andrew F. Davis wrote:
> The FIT image is loaded to 0x8700_0000 followed by extracting from that
> several large images also into the 0x8x00_0000 range. Large images
> can end up overwriting the FIT image as it is being extracted from.
> Move the FIT load address clear out to 0x9000_0000, this will require
> a board to have at least 256MB of DRAM, if less then more careful
> planning will be required for that platform.
>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---
> include/configs/ti_armv7_common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
> index 1e2a62dd6f..828fb1b2a5 100644
> --- a/include/configs/ti_armv7_common.h
> +++ b/include/configs/ti_armv7_common.h
> @@ -52,7 +52,7 @@
>
> #define DEFAULT_FIT_TI_ARGS \
> "boot_fit=0\0" \
> - "fit_loadaddr=0x87000000\0" \
> + "fit_loadaddr=0x90000000\0" \
> "fit_bootfile=fitImage\0" \
> "update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}\0" \
> "loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \
What are the large images that are being extracted and can we just use
them in-place instead?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190326/789b07b8/attachment.sig>
next prev parent reply other threads:[~2019-03-26 16:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-26 15:12 [U-Boot] [PATCH] configs: ti: Move FIT image load address to avoid overwrite Andrew F. Davis
2019-03-26 16:21 ` Tom Rini [this message]
2019-03-26 16:31 ` Andrew F. Davis
2019-03-29 20:24 ` [U-Boot] " Tom Rini
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=20190326162157.GU18421@bill-the-cat \
--to=trini@konsulko.com \
--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