[U-Boot] [PATCH] imximage: Fix the bootdata.size calculation
Fabio Estevam
festevam at gmail.com
Wed Oct 22 18:52:04 CEST 2014
Hi Ye Li,
On Wed, Oct 22, 2014 at 5:38 AM, Li Ye-B37916 <b37916 at freescale.com> wrote:
> You can look into the "Figure 8-21. Image Vector Table" in the system boot chapter of i.MX6Q manual. The bootdata.start points
> to the beginning of the destination memory, which means the bootdata.size should have IVT offset included. We also have checked
> the boot rom codes for this.
>
> We found this issue when booting from QSPI NOR on i.MX6SX. The u-boot runs into abnormal (crash or stop) after booting. We checked the
> destination memory where the image is loaded to, and found hundreds of bytes at the image end are not loaded into memory. Since there
> is a 4096 bytes round in the calculation, so the image size decides if the issue can be reproduced. It is not easy to see the issue by SD boot.
This explanation should be part of the commit log.
Regards,
Fabio Estevam
More information about the U-Boot
mailing list