Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-13 Thread Etienne Carriere
Hi Ilias, On Thu, 9 Dec 2021 at 08:37, Ilias Apalodimas wrote: > > Hi Etienne, > > > [...] > > > > > + > > > > > + /* And now the replica */ > > > > > + ret = gpt_write_metadata_partition(desc, metadata, > > > > secondary_mpart); > > > > > + if (ret < 0) { > > > > > +

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-08 Thread Ilias Apalodimas
Hi Etienne, [...] > > > > + > > > > + /* And now the replica */ > > > > + ret = gpt_write_metadata_partition(desc, metadata, > > > secondary_mpart); > > > > + if (ret < 0) { > > > > + log_err("Updating secondary metadata partition failed\n"); > > > > + return

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-08 Thread Simon Glass
Hi Etienne, On Wed, 8 Dec 2021 at 07:18, Etienne Carriere wrote: > > Hi Sughosh, Ilias (and all), > > On Thu, 2 Dec 2021 at 08:43, Sughosh Ganu wrote: > > > > hi Ilias, > > > > On Wed, 1 Dec 2021 at 17:56, Ilias Apalodimas > > wrote: > > > > > Hi Sughosh, > > > > > > On Thu, Nov 25, 2021 at

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-08 Thread Etienne Carriere
Hi Sughosh, Ilias (and all), On Thu, 2 Dec 2021 at 08:43, Sughosh Ganu wrote: > > hi Ilias, > > On Wed, 1 Dec 2021 at 17:56, Ilias Apalodimas > wrote: > > > Hi Sughosh, > > > > On Thu, Nov 25, 2021 at 12:42:56PM +0530, Sughosh Ganu wrote: > > > In the FWU Multi Bank Update feature, the

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-02 Thread Sughosh Ganu
hi Simon, On Thu, 2 Dec 2021 at 19:04, Simon Glass wrote: > Hi Sughosh, > > On Thu, 2 Dec 2021 at 01:05, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: > >> > >> Hi Sughosh, > >> > >> On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu > wrote: > >> > >

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-02 Thread Simon Glass
Hi Sughosh, On Thu, 2 Dec 2021 at 01:05, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: >> >> Hi Sughosh, >> >> On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu wrote: >> > >> > In the FWU Multi Bank Update feature, the information about the >> > updatable

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-02 Thread Sughosh Ganu
hi Simon, On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: > Hi Sughosh, > > On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu > wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, on a separate > > partition. Add

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-01 Thread Sughosh Ganu
hi Ilias, On Wed, 1 Dec 2021 at 17:56, Ilias Apalodimas wrote: > Hi Sughosh, > > On Thu, Nov 25, 2021 at 12:42:56PM +0530, Sughosh Ganu wrote: > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, on a separate > > partition.

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-01 Thread Simon Glass
Hi Sughosh, On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu wrote: > > In the FWU Multi Bank Update feature, the information about the > updatable images is stored as part of the metadata, on a separate > partition. Add functions for reading from and writing to the metadata > when the updatable

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-01 Thread Ilias Apalodimas
Hi Sughosh, On Thu, Nov 25, 2021 at 12:42:56PM +0530, Sughosh Ganu wrote: > In the FWU Multi Bank Update feature, the information about the > updatable images is stored as part of the metadata, on a separate > partition. Add functions for reading from and writing to the metadata > when the

[RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-11-24 Thread Sughosh Ganu
In the FWU Multi Bank Update feature, the information about the updatable images is stored as part of the metadata, on a separate partition. Add functions for reading from and writing to the metadata when the updatable images and the metadata are stored on a block device which is formated with GPT