[U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

Marek Vasut marex at denx.de
Tue Nov 29 11:50:34 CET 2016


On 11/29/2016 10:11 AM, Lukasz Majewski wrote:
> Hi Marek,
> 
>> On 11/28/2016 10:09 PM, Lukasz Majewski wrote:
>>> This define gives the possibility to copy entire image (including
>>> header - e.g. u-boot.img) from NOR parallel memory to e.g. SDRAM.
>>> The current code only supports loading the raw binary image (the
>>> u-boot.bin).
>>>
>>> The legacy behavior is preserved, since other board don't enabled
>>> this option.
>>
>> Sooooo, what's the usecase again ? ;-) 
> 
> :-)
> 
> The use case is to allow u-boot.img being loaded from Parallel NOR. The
> current code only supports u-boot.bin.

Why is u-boot.bin (or the payload) not sufficient ? Why do you need the
header ?

> This code is crucial for boards booting from NOR, as a board which
> support will be sent soon to u-boot ML :-).
> 
> Best regards,
> Łukasz Majewski
> 
>> I still miss it being
>> documented.

[...]

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list