[PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-11 Thread Roman Kopytin
In order to reduce the coupling between building the kernel and U-Boot, I'd like a tool that can add a public key to U-Boot's dtb without simultaneously signing a FIT image. That tool doesn't seem to exist, so I stole the necessary pieces from mkimage et al and put it in a single .c file. I'm stil

Re: binman replace broken? (was: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool)

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 13:49, Jan Kiszka wrote: > > On 10.11.21 08:20, Jan Kiszka wrote: > > On 10.11.21 07:55, Jan Kiszka wrote: > >> On 10.11.21 01:58, Simon Glass wrote: > >>> Hi, > >>> > >>> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > > On 08.11.21 16:28, Roman Kopytin

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
gt;>>>> > >>>>>> On 09.11.21 10:37, Roman Kopytin wrote: > >>>>>>> Can we have discussion with code lines? For me it is not very clear, > >>>>>>> because it isn't my code. > >>>>>>> > >&

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 13:58, Jan Kiszka wrote: > > On 10.11.21 20:36, Simon Glass wrote: > > Hi Jan, > > > > On Wed, 10 Nov 2021 at 09:49, Jan Kiszka wrote: > >> > >> On 10.11.21 17:31, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 20:36, Simon Glass wrote: > Hi Jan, > > On Wed, 10 Nov 2021 at 09:49, Jan Kiszka wrote: >> >> On 10.11.21 17:31, Simon Glass wrote: >>> Hi Jan, >>> >>> On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: On 10.11.21 07:55, Jan Kiszka wrote: > On 10.11.21 01:58, Simon Glass

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
discussion with code lines? For me it is not very clear, >>>>>>> because it isn't my code. >>>>>>> >>>>>> >>>>>> Please do not top-post. >>>>>> >>>>>>> -Original Message- >&

binman replace broken? (was: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool)

2021-11-10 Thread Jan Kiszka
On 10.11.21 08:20, Jan Kiszka wrote: > On 10.11.21 07:55, Jan Kiszka wrote: >> On 10.11.21 01:58, Simon Glass wrote: >>> Hi, >>> >>> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: On 08.11.21 16:28, Roman Kopytin wrote: > In order to reduce the coupling between building the kernel an

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 09:49, Jan Kiszka wrote: > > On 10.11.21 17:31, Simon Glass wrote: > > Hi Jan, > > > > On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: > >> > >> On 10.11.21 07:55, Jan Kiszka wrote: > >>> On 10.11.21 01:58, Simon Glass wrote: > Hi, > > On Tue, 9 Nov

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
27;t my code. > >>>>> > >>>> > >>>> Please do not top-post. > >>>> > >>>>> -Original Message- > >>>>> From: Jan Kiszka > >>>>> Sent: Tuesday, November 9, 2021 12:17 PM > >>

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
; > >>>> Please do not top-post. > >>>> > >>>>> -Original Message- > >>>>> From: Jan Kiszka <mailto:jan.kis...@siemens.com>> > >>>>> Sent: Tuesday, November 9, 2021 12:17 PM >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread François Ozog
t;>>> > >>>> > >>>> Please do not top-post. > >>>> > >>>>> -Original Message- > >>>>> From: Jan Kiszka > >>>>> Sent: Tuesday, November 9, 2021 12:17 PM > >>>>> To:

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
On 10.11.21 17:31, Simon Glass wrote: > Hi Jan, > > On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: >> >> On 10.11.21 07:55, Jan Kiszka wrote: >>> On 10.11.21 01:58, Simon Glass wrote: Hi, On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > > On 08.11.21 16:28, Roman Kopytin

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Jan Kiszka
gt; -Original Message----- >>>>> From: Jan Kiszka >>>>> Sent: Tuesday, November 9, 2021 12:17 PM >>>>> To: Roman Kopytin ; u-boot@lists.denx.de; >>>>> Rasmus Villemoes >>>>> Subject: Re: [PATCH 0/2] RFC: add fdt_add_pubkey to

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
Hi Jan, On Wed, 10 Nov 2021 at 00:20, Jan Kiszka wrote: > > On 10.11.21 07:55, Jan Kiszka wrote: > > On 10.11.21 01:58, Simon Glass wrote: > >> Hi, > >> > >> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > >>> > >>> On 08.11.21 16:28, Roman Kopytin wrote: > In order to reduce the coupling

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-10 Thread Simon Glass
iscussion with code lines? For me it is not very clear, > >>> because it isn't my code. > >>> > >> > >> Please do not top-post. > >> > >>> -Original Message- > >>> From: Jan Kiszka > >>> Sent: T

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
On 10.11.21 07:55, Jan Kiszka wrote: > On 10.11.21 01:58, Simon Glass wrote: >> Hi, >> >> On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: >>> >>> On 08.11.21 16:28, Roman Kopytin wrote: In order to reduce the coupling between building the kernel and U-Boot, I'd like a tool that can add a

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
On 10.11.21 01:58, Simon Glass wrote: > Hi, > > On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: >> >> On 08.11.21 16:28, Roman Kopytin wrote: >>> In order to reduce the coupling between building the kernel and >>> U-Boot, I'd like a tool that can add a public key to U-Boot's dtb >>> without simult

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
;t my code. >>> >> >> Please do not top-post. >> >>> -Original Message- >>> From: Jan Kiszka >>> Sent: Tuesday, November 9, 2021 12:17 PM >>> To: Roman Kopytin ; u-boot@lists.denx.de; >>> Rasmus Villemoes >>> Subject: Re:

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Simon Glass
Hi, On Tue, 9 Nov 2021 at 02:17, Jan Kiszka wrote: > > On 08.11.21 16:28, Roman Kopytin wrote: > > In order to reduce the coupling between building the kernel and > > U-Boot, I'd like a tool that can add a public key to U-Boot's dtb > > without simultaneously signing a FIT image. That tool doesn'

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Simon Glass
Message- > > > From: Jan Kiszka > > > Sent: Tuesday, November 9, 2021 12:17 PM > > > To: Roman Kopytin ; u-boot@lists.denx.de; > > Rasmus Villemoes > > > Subject: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool > > > > > > On 08.11.21 16:28,

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Simon Glass
--Original Message- > > From: Jan Kiszka > > Sent: Tuesday, November 9, 2021 12:17 PM > > To: Roman Kopytin ; u-boot@lists.denx.de; > > Rasmus Villemoes > > Subject: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool > > > > On 08.11.21 16:28, Roman Kopytin wrote:

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread François Ozog
Hi Jan, On Tue, 9 Nov 2021 at 15:00, Jan Kiszka wrote: > On 09.11.21 14:16, François Ozog wrote: > > Hi Jan > > > > On Tue, 9 Nov 2021 at 13:58, Jan Kiszka > > wrote: > > > > On 09.11.21 13:43, François Ozog wrote: > > > Hi > > > > > > as we are in

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
On 09.11.21 14:16, François Ozog wrote: > Hi Jan > > On Tue, 9 Nov 2021 at 13:58, Jan Kiszka > wrote: > > On 09.11.21 13:43, François Ozog wrote: > > Hi > > > > as we are in design discussions, I would promote the idea of not > pushing > > n

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread François Ozog
e it is not very > > clear, because it isn't my code. > > > > > > > Please do not top-post. > > > > > -Original Message- > > > From: Jan Kiszka > <mailto:jan.kis...@siemens.com>> > &

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
> From: Jan Kiszka <mailto:jan.kis...@siemens.com>> > > Sent: Tuesday, November 9, 2021 12:17 PM > > To: Roman Kopytin <mailto:roman.kopy...@kaspersky.com>>; u-boot@lists.denx.de > <mailto:u-boot@lists.denx.de>; Rasmus Villemoes >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread François Ozog
-Original Message- > > From: Jan Kiszka > > Sent: Tuesday, November 9, 2021 12:17 PM > > To: Roman Kopytin ; u-boot@lists.denx.de; > Rasmus Villemoes > > Subject: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool > > > > On 08.11.21 16:28, Roman Kopytin wrote: >

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
To: Roman Kopytin ; u-boot@lists.denx.de; Rasmus > Villemoes > Subject: Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool > > On 08.11.21 16:28, Roman Kopytin wrote: >> In order to reduce the coupling between building the kernel and >> U-Boot, I'd like a tool that can add

RE: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Roman Kopytin
Can we have discussion with code lines? For me it is not very clear, because it isn't my code. -Original Message- From: Jan Kiszka Sent: Tuesday, November 9, 2021 12:17 PM To: Roman Kopytin ; u-boot@lists.denx.de; Rasmus Villemoes Subject: Re: [PATCH 0/2] RFC: add fdt_add_pubkey

Re: [PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-09 Thread Jan Kiszka
On 08.11.21 16:28, Roman Kopytin wrote: > In order to reduce the coupling between building the kernel and > U-Boot, I'd like a tool that can add a public key to U-Boot's dtb > without simultaneously signing a FIT image. That tool doesn't seem to > exist, so I stole the necessary pieces from mkimage

[PATCH 0/2] RFC: add fdt_add_pubkey tool

2021-11-08 Thread Roman Kopytin
In order to reduce the coupling between building the kernel and U-Boot, I'd like a tool that can add a public key to U-Boot's dtb without simultaneously signing a FIT image. That tool doesn't seem to exist, so I stole the necessary pieces from mkimage et al and put it in a single .c file. I'm stil