Re: [PATCH 2/6] fwu: v2: try reading both copies of metadata

2024-09-04 Thread Michal Simek
On 8/30/24 13:40, Sughosh Ganu wrote: In the version 2 of the FWU metadata, the metadata is broken into two parts, a top-level structure, which provides information on the total size of the structure among other things. Try reading the primary partition first, and if that fails, try reading th

Re: [PATCH 2/6] fwu: v2: try reading both copies of metadata

2024-09-04 Thread Sughosh Ganu
On Tue, 3 Sept 2024 at 22:37, Michal Simek wrote: > > > > On 8/30/24 13:40, Sughosh Ganu wrote: > > In the version 2 of the FWU metadata, the metadata is broken into two > > parts, a top-level structure, which provides information on the total > > size of the structure among other things. Try read

Re: [PATCH 2/6] fwu: v2: try reading both copies of metadata

2024-09-03 Thread Michal Simek
On 8/30/24 13:40, Sughosh Ganu wrote: In the version 2 of the FWU metadata, the metadata is broken into two parts, a top-level structure, which provides information on the total size of the structure among other things. Try reading the primary partition first, and if that fails, try reading th

[PATCH 2/6] fwu: v2: try reading both copies of metadata

2024-08-30 Thread Sughosh Ganu
In the version 2 of the FWU metadata, the metadata is broken into two parts, a top-level structure, which provides information on the total size of the structure among other things. Try reading the primary partition first, and if that fails, try reading the secondary partition. This will help in th