[U-Boot] [PATCH v2 2/4] arm64: zynqmp: Align u-boot-spl.bin for boot.bin creation

Michal Simek michal.simek at xilinx.com
Thu Jan 17 06:45:34 UTC 2019


On 16. 01. 19 22:34, Simon Glass wrote:
> On Wed, 16 Jan 2019 at 04:24, Michal Simek <michal.simek at xilinx.com> wrote:
>>
>> Bootrom is not capable to work with non align bootloader partition
>> that's why it is necessary to align it before boot.bin creation.
>> The patch is creating new spl/u-boot-spl-align.bin which is used only
>> for boot.bin.
>>
>> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
>> ---
>>
>> Changes in v2:
>> - New patch for solving issue with zynqmpimage.c
>>
>>  scripts/Makefile.spl | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> Can we use binman for zynq? Also, why not always align?

First of all this is for zynqmp/arm64 only. Zynq/arm32 doesn't have this
issue based on my testing.

I wanted to look at binman but didn't have a time.

u-boot-spl.bin is align already but dtbs are not. That's why when DT is
appended we get non aligned u-boot-spl.bin.

I don't know if this is an issue for others but I would say that
aligning of this new generated image make sense even for others.

> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 

Thanks,
Michal


More information about the U-Boot mailing list