[U-Boot] [PATCH v5 07/18] socfpga: boot0 hook: adjust to unified boot0 semantics

Dr. Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Nov 6 17:55:50 UTC 2017


> On 6 Nov 2017, at 18:54, Marek Vasut <marek.vasut at gmail.com> wrote:
> 
> On 11/06/2017 06:26 PM, Dr. Philipp Tomsich wrote:
>> Marek & Tien Fong,
>> 
>> could either of you have a look at the below change (in the context of
>> https://patchwork.ozlabs.org/patch/823872/, which is also contained in 
>> the same series) and give me an ok on this, so I can merge this series
>> early in the upcoming merge window?
> 
> Please stop top-posting.
> 
> Does it still generate that structure at offset 0x40 in u-boot*sfp on
> SoCFPGA ? If so, fine by me.

Yes it does.
And the binary still looks the same around the magic offset.

Regards,
Philipp.

>> Thanks,
>> Philipp.
>> 
>>> On 10 Oct 2017, at 16:21, Philipp Tomsich <philipp.tomsich at theobroma-systems.com> wrote:
>>> 
>>> With the updated boot0 semantics (i.e. giving the boot0-hook control
>>> over when and where the vector table is emitted), the boot0-hook for
>>> the socfpga needs to be adjusted.
>>> 
>>> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
>>> ---
>>> 
>>> Changes in v5: None
>>> Changes in v4: None
>>> Changes in v3: None
>>> Changes in v2: None
>>> 
>>> arch/arm/mach-socfpga/include/mach/boot0.h | 3 +++
>>> 1 file changed, 3 insertions(+)
>>> 
>>> diff --git a/arch/arm/mach-socfpga/include/mach/boot0.h b/arch/arm/mach-socfpga/include/mach/boot0.h
>>> index 22d9e7f..d6b9435 100644
>>> --- a/arch/arm/mach-socfpga/include/mach/boot0.h
>>> +++ b/arch/arm/mach-socfpga/include/mach/boot0.h
>>> @@ -7,6 +7,9 @@
>>> #ifndef __BOOT0_H
>>> #define __BOOT0_H
>>> 
>>> +_start:
>>> +	ARM_VECTORS
>>> +
>>> #ifdef CONFIG_SPL_BUILD
>>> 	.balignl 64,0xf33db33f;
>>> 
>>> -- 
>>> 2.1.4
>>> 
>> 
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> https://lists.denx.de/listinfo/u-boot
>> 
> 
> 
> -- 
> Best regards,
> Marek Vasut



More information about the U-Boot mailing list