[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

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

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. > >>>>>>> > >>&g

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- >&g

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

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
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 > &g

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

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

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
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 &g

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: Tuesda

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

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

2021-11-09 Thread Jan Kiszka
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: [PATC

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

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

2021-11-09 Thread Simon Glass
gt; > 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 Simon Glass
ginal 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

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 > >

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

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

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

2021-11-09 Thread Jan Kiszka
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 > mailto:ra

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

2021-11-09 Thread François Ozog
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
oman 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 a public k

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 tool

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

[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