From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] imximage: Fix the bootdata.size calculation
Date: Mon, 03 Nov 2014 11:25:38 +0100 [thread overview]
Message-ID: <54575822.1030103@denx.de> (raw)
In-Reply-To: <1414662848-2051-1-git-send-email-B37916@freescale.com>
On 30/10/2014 10:54, Ye.Li wrote:
> In system boot chapter of i.MX6 reference manual, the "Image Vector Table"
> figure shows the bootdata.start points to the beginning of the destination
> memory. It means the bootdata.size should contain the IVT offset part,
> but the calculation in imximage tool does not have.
>
> We found this issue when booting from QuadSPI NOR on i.MX6SX. The u-boot
> runs into abnormal (crash or stop) after booting. After checked the destination
> memory where the image is loaded to, there are hundreds of bytes at
> the image end are not loaded into memory. Since there is a 4096 bytes
> round in the calculation, for the booting devices using smaller IVT offset,
> such as SD and SPI booting, they are not easy to reproduce.
>
> Signed-off-by: Ye.Li <B37916@freescale.com>
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
prev parent reply other threads:[~2014-11-03 10:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 9:54 [U-Boot] [PATCH v2] imximage: Fix the bootdata.size calculation Ye.Li
2014-11-03 10:25 ` Stefano Babic [this message]
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=54575822.1030103@denx.de \
--to=sbabic@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.