Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-29 Thread Sughosh Ganu
On Thu, 29 Sept 2022 at 00:59, Jassi Brar wrote: > > On Wed, Sep 28, 2022 at 1:00 AM Sughosh Ganu wrote: > > > > On Tue, 27 Sept 2022 at 21:55, Jassi Brar wrote: > > > > > > On Tue, Sep 27, 2022 at 2:14 AM Sughosh Ganu > > > wrote: > > > > > > > > On Mon, 26 Sept 2022 at 20:12, Jassi Brar >

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-28 Thread Jassi Brar
On Wed, Sep 28, 2022 at 1:00 AM Sughosh Ganu wrote: > > On Tue, 27 Sept 2022 at 21:55, Jassi Brar wrote: > > > > On Tue, Sep 27, 2022 at 2:14 AM Sughosh Ganu > > wrote: > > > > > > On Mon, 26 Sept 2022 at 20:12, Jassi Brar > > > wrote: > > > > > > > > On Mon, Sep 26, 2022 at 5:00 AM Sughosh

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-28 Thread Sughosh Ganu
On Tue, 27 Sept 2022 at 21:55, Jassi Brar wrote: > > On Tue, Sep 27, 2022 at 2:14 AM Sughosh Ganu wrote: > > > > On Mon, 26 Sept 2022 at 20:12, Jassi Brar wrote: > > > > > > On Mon, Sep 26, 2022 at 5:00 AM Sughosh Ganu > > > wrote: > > > > > > > > On Mon, 26 Sept 2022 at 08:28, Jassi Brar >

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-27 Thread Jassi Brar
On Tue, Sep 27, 2022 at 2:14 AM Sughosh Ganu wrote: > > On Mon, 26 Sept 2022 at 20:12, Jassi Brar wrote: > > > > On Mon, Sep 26, 2022 at 5:00 AM Sughosh Ganu > > wrote: > > > > > > On Mon, 26 Sept 2022 at 08:28, Jassi Brar > > > wrote: > > > > > > > > > > > > > > . > > > > > +/** > > > >

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-27 Thread Sughosh Ganu
On Mon, 26 Sept 2022 at 20:12, Jassi Brar wrote: > > On Mon, Sep 26, 2022 at 5:00 AM Sughosh Ganu wrote: > > > > On Mon, 26 Sept 2022 at 08:28, Jassi Brar wrote: > > > > > > > > > > . > > > > +/** > > > > + * fwu_revert_boot_index() - Revert the active index in the FWU > > > > metadata > >

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-26 Thread Jassi Brar
On Mon, Sep 26, 2022 at 5:00 AM Sughosh Ganu wrote: > > On Mon, 26 Sept 2022 at 08:28, Jassi Brar wrote: > > > > > > . > > > +/** > > > + * fwu_revert_boot_index() - Revert the active index in the FWU metadata > > > + * > > > + * Revert the active_index value in the FWU metadata, by

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-26 Thread Sughosh Ganu
On Mon, 26 Sept 2022 at 08:28, Jassi Brar wrote: > > On Thu, Sep 15, 2022 at 3:15 AM Sughosh Ganu wrote: > > > +/** > > + * @mdata_check: check the validity of the FWU metadata partitions > > + * @get_mdata() - Get a FWU metadata copy > > + * @update_mdata() - Update the FWU metadata copy >

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-25 Thread Jassi Brar
On Thu, Sep 15, 2022 at 3:15 AM Sughosh Ganu wrote: > +/** > + * @mdata_check: check the validity of the FWU metadata partitions > + * @get_mdata() - Get a FWU metadata copy > + * @update_mdata() - Update the FWU metadata copy > + */ > +struct fwu_mdata_ops { > + /** > +*

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-19 Thread Sughosh Ganu
On Mon, 19 Sept 2022 at 06:03, Jassi Brar wrote: > > On Thu, 15 Sept 2022 at 03:15, Sughosh Ganu wrote: > > > +/** > > + * fwu_get_active_index() - Get active_index from the FWU metadata > > + * @active_idxp: active_index value to be read > > + * > > + * Read the active_index field from the

Re: [PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-18 Thread Jassi Brar
On Thu, 15 Sept 2022 at 03:15, Sughosh Ganu wrote: > +/** > + * fwu_get_active_index() - Get active_index from the FWU metadata > + * @active_idxp: active_index value to be read > + * > + * Read the active_index field from the FWU metadata and place it in > + * the variable pointed to be the

[PATCH v10 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-15 Thread Sughosh Ganu
In the FWU Multi Bank Update feature, the information about the updatable images is stored as part of the metadata, which is stored on a dedicated partition. Add the metadata structure, and a driver model uclass which provides functions to access the metadata. These are generic API's, and