mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support
@ 2023-12-20 14:54 Marco Felsch
  2023-12-20 14:54 ` [PATCH 2/2] ARM: boards: polyhex-debix: fix file mode for 8g-lpddr4-timing.c Marco Felsch
  2023-12-20 15:44 ` [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Ahmad Fatoum
  0 siblings, 2 replies; 5+ messages in thread
From: Marco Felsch @ 2023-12-20 14:54 UTC (permalink / raw)
  To: barebox

From: Rouven Czerwinski <r.czerwinski@pengutronix.de>

Include the gencsf header to enable the secure-boot images.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
index 663bd102e9a2..d619995496ac 100644
--- a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
+++ b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
@@ -5,3 +5,4 @@ soc imx8mp
 loadaddr 0x920000
 max_load_size 0x3f000
 ivtofs 0x0
+#include <mach/imx/habv4-imx8-gencsf.h>
-- 
2.39.2




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: boards: polyhex-debix: fix file mode for 8g-lpddr4-timing.c
  2023-12-20 14:54 [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Marco Felsch
@ 2023-12-20 14:54 ` Marco Felsch
  2023-12-20 15:44 ` [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Ahmad Fatoum
  1 sibling, 0 replies; 5+ messages in thread
From: Marco Felsch @ 2023-12-20 14:54 UTC (permalink / raw)
  To: barebox

Drop the execution mode from the file.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/boards/polyhex-debix/8g-lpddr4-timing.c | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 arch/arm/boards/polyhex-debix/8g-lpddr4-timing.c

diff --git a/arch/arm/boards/polyhex-debix/8g-lpddr4-timing.c b/arch/arm/boards/polyhex-debix/8g-lpddr4-timing.c
old mode 100755
new mode 100644
-- 
2.39.2




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support
  2023-12-20 14:54 [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Marco Felsch
  2023-12-20 14:54 ` [PATCH 2/2] ARM: boards: polyhex-debix: fix file mode for 8g-lpddr4-timing.c Marco Felsch
@ 2023-12-20 15:44 ` Ahmad Fatoum
  2023-12-20 15:48   ` Marco Felsch
  1 sibling, 1 reply; 5+ messages in thread
From: Ahmad Fatoum @ 2023-12-20 15:44 UTC (permalink / raw)
  To: Marco Felsch, barebox

Hello Marco,

On 20.12.23 15:54, Marco Felsch wrote:
> From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> 
> Include the gencsf header to enable the secure-boot images.
> 
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>

Any downside in just doing this for all i.MX8M boards?

Thanks,
Ahmad

> ---
>  arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
> index 663bd102e9a2..d619995496ac 100644
> --- a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
> +++ b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
> @@ -5,3 +5,4 @@ soc imx8mp
>  loadaddr 0x920000
>  max_load_size 0x3f000
>  ivtofs 0x0
> +#include <mach/imx/habv4-imx8-gencsf.h>

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support
  2023-12-20 15:44 ` [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Ahmad Fatoum
@ 2023-12-20 15:48   ` Marco Felsch
  2023-12-20 16:00     ` Ahmad Fatoum
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Felsch @ 2023-12-20 15:48 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On 23-12-20, Ahmad Fatoum wrote:
> Hello Marco,
> 
> On 20.12.23 15:54, Marco Felsch wrote:
> > From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> > 
> > Include the gencsf header to enable the secure-boot images.
> > 
> > Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> 
> Any downside in just doing this for all i.MX8M boards?

Thought about this too. If HABV4 is not enabled this will have no
impact. I didn't added the support for all boards since some custom
boards may don't want this. What about adding it to all EVK boards?

Regards,
  Marco

> Thanks,
> Ahmad
> 
> > ---
> >  arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
> > index 663bd102e9a2..d619995496ac 100644
> > --- a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
> > +++ b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
> > @@ -5,3 +5,4 @@ soc imx8mp
> >  loadaddr 0x920000
> >  max_load_size 0x3f000
> >  ivtofs 0x0
> > +#include <mach/imx/habv4-imx8-gencsf.h>
> 
> -- 
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support
  2023-12-20 15:48   ` Marco Felsch
@ 2023-12-20 16:00     ` Ahmad Fatoum
  0 siblings, 0 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2023-12-20 16:00 UTC (permalink / raw)
  To: Marco Felsch; +Cc: barebox

Hello Marco,

On 20.12.23 16:48, Marco Felsch wrote:
> On 23-12-20, Ahmad Fatoum wrote:
>> Hello Marco,
>>
>> On 20.12.23 15:54, Marco Felsch wrote:
>>> From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
>>>
>>> Include the gencsf header to enable the secure-boot images.
>>>
>>> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
>>
>> Any downside in just doing this for all i.MX8M boards?
> 
> Thought about this too. If HABV4 is not enabled this will have no
> impact. I didn't added the support for all boards since some custom
> boards may don't want this. What about adding it to all EVK boards?

I don't see why some boards wouldn't want this. I say, let's enable
it for all.

Cheers,
Ahmad

> 
> Regards,
>   Marco
> 
>> Thanks,
>> Ahmad
>>
>>> ---
>>>  arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
>>> index 663bd102e9a2..d619995496ac 100644
>>> --- a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
>>> +++ b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
>>> @@ -5,3 +5,4 @@ soc imx8mp
>>>  loadaddr 0x920000
>>>  max_load_size 0x3f000
>>>  ivtofs 0x0
>>> +#include <mach/imx/habv4-imx8-gencsf.h>
>>
>> -- 
>> Pengutronix e.K.                           |                             |
>> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
>> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>>
>>
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-20 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-20 14:54 [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Marco Felsch
2023-12-20 14:54 ` [PATCH 2/2] ARM: boards: polyhex-debix: fix file mode for 8g-lpddr4-timing.c Marco Felsch
2023-12-20 15:44 ` [PATCH 1/2] ARM: boards: polyhex-debix: enable HAB support Ahmad Fatoum
2023-12-20 15:48   ` Marco Felsch
2023-12-20 16:00     ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox