Re: [U-Boot] [RFC PATCH] SPL: FIT: Align loading address for header

2016-05-02 Thread Michal Simek
Hi, On 2.5.2016 05:46, Lokesh Vutla wrote: > > > On Thursday 28 April 2016 02:06 PM, Michal Simek wrote: >> If bl_len is not aligned it can caused a problem because another code >> expects that start is aligned. > > What about loading of U-boot image and dtb image? I have posted a > similar

Re: [U-Boot] [RFC PATCH] SPL: FIT: Align loading address for header

2016-05-01 Thread Lokesh Vutla
On Thursday 28 April 2016 02:06 PM, Michal Simek wrote: > If bl_len is not aligned it can caused a problem because another code > expects that start is aligned. What about loading of U-boot image and dtb image? I have posted a similar patch for solving this[1]. Can you see if it helps? [1]

Re: [U-Boot] [RFC PATCH] SPL: FIT: Align loading address for header

2016-05-01 Thread Simon Glass
On 28 April 2016 at 02:36, Michal Simek wrote: > If bl_len is not aligned it can caused a problem because another code > expects that start is aligned. > > Signed-off-by: Michal Simek > --- > > Not sure if this is the right way how to ensure it.

[U-Boot] [RFC PATCH] SPL: FIT: Align loading address for header

2016-04-28 Thread Michal Simek
If bl_len is not aligned it can caused a problem because another code expects that start is aligned. Signed-off-by: Michal Simek --- Not sure if this is the right way how to ensure it. But patch is pointing to the problem. For example if bl_len is 1. ---