On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote:
>
> From: Chris Morgan
>
> Add a node for the trng found on RK3588 SoCs.
>
> Changes in V3:
> - Added Reviewed-By tag.
>
> Changes in V2:
> - None
>
> Signed-off-by: Chris Morgan
> Reviewed-by: Kever Yang
> ---
>
patch.
Other than that
Acked-by: Sughosh Ganu
-sughosh
>
> Signed-off-by: Chris Morgan
> Reviewed-by: Kever Yang
> ---
> arch/arm/dts/rk3588s-u-boot.dtsi | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/rk3588s-u-boot.dtsi
> b/arch/a
hi Chris,
On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote:
>
> From: Chris Morgan
>
> This adds support for the TRNG found in the RK3588 SoC to the
> rockchip_rng driver so that it can be used for things such as
> seeding randomness to Linux.
>
> Changes in V3:
> - Moved notes from commit to
> As we're calling memset with the length set to the size of the pointer
> and not the size of the buffer. Correct this with a call of the size of
> the buffer itself.
>
> Signed-off-by: Tom Rini
> ---
Acked-by: Sughosh Ganu
-sughosh
> Cc: Tuomas Tynkkynen
> Cc: Sugho
| 105 ++-
> drivers/fwu-mdata/fwu-mdata-uclass.c | 151 +
> drivers/fwu-mdata/gpt_blk.c | 175 +++
> include/fwu.h | 198 ++--
> lib/fwu_updates/fwu.c | 296 --
> test/dm/fwu_mdata.c | 22 +-
> 7 files changed, 299 insertions(+), 665 deletions(-)
Tested the changes on the STM32MP1 DK2 board.
Tested-by: Sughosh Ganu
-sughosh
On Thu, 16 Mar 2023 at 13:56, Ilias Apalodimas
wrote:
>
> On Mon, Mar 06, 2023 at 05:18:41PM -0600, jassisinghb...@gmail.com wrote:
> > From: Jassi Brar
> >
> > The common code can now read, verify and fix meta-data copies
> > while exposing one consistent structure to users.
> > Only the
On Mon, 9 Jan 2023 at 06:36, Jassi Brar wrote:
>
> From: Sughosh Ganu
>
> Add helper functions needed for accessing the FWU metadata which
> contains information on the updatable images.
>
> Signed-off-by: Sughosh Ganu
> Signed-off-by: Jassi Brar
> ---
This
On Mon, 9 Jan 2023 at 06:36, Jassi Brar wrote:
>
> From: 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
> region. Add a driver for reading from and writing to the metadata
&g
The sandbox config file is to be removed. Move the GUID declarations
needed for capsule update functionality to the board file where they
are used.
Signed-off-by: Sughosh Ganu
---
board/sandbox/sandbox.c | 13 +
include/configs/sandbox.h | 13 -
2 files changed, 13
Enable the UEFI capsule update functionality on the RockPi4B and
RockPi4C boards. Support is being enabled for updating the idbloader
and u-boot firmware images residing on GPT partitioned uSD card
storage device.
Signed-off-by: Sughosh Ganu
Reviewed-by: Kever Yang
---
Changes since V5: None
Add information that will be needed for enabling the UEFI capsule
update feature on the RockPi4 boards. With the feature enabled, it
would be possible to update the idbloader and u-boot.itb images on the
RockPi4B and RockPi4C variants.
Signed-off-by: Sughosh Ganu
Reviewed-by: Kever Yang
Add functions needed to support the UEFI capsule update feature on
rockchip boards. Currently, the feature is being enabled on the
RockPi4 boards with firmware images residing on GPT partitioned
storage media.
Signed-off-by: Sughosh Ganu
Reviewed-by: Kever Yang
---
Changes since V4:
* Get
through struct
efi_capsule_update_info
* Mark fw_images array as a static variable
* Populate num_image_type_guids through ROCKPI4_UPDATABLE_IMAGES
Sughosh Ganu (3):
rockchip: capsule: Add functions for supporting capsule updates
rockpi4: board: Add firmware image information for capsule
On Wed, 9 Nov 2022 at 10:52, AKASHI Takahiro wrote:
>
> On Tue, Nov 08, 2022 at 12:53:27PM +0530, Sughosh Ganu wrote:
> > Add information that will be needed for enabling the UEFI capsule
> > update feature on the RockPi4 boards. With the feature enabled, it
> > wou
Enable the UEFI capsule update functionality on the RockPi4B and
RockPi4C boards. Support is being enabled for updating the idbloader
and u-boot firmware images residing on GPT partitioned uSD card
storage device.
Signed-off-by: Sughosh Ganu
Reviewed-by: Kever Yang
---
Changes since V3: None
Add information that will be needed for enabling the UEFI capsule
update feature on the RockPi4 boards. With the feature enabled, it
would be possible to update the idbloader and u-boot.itb images on the
RockPi4B and RockPi4C variants.
Signed-off-by: Sughosh Ganu
Reviewed-by: Kever Yang
Add functions needed to support the UEFI capsule update feature on
rockchip boards. Currently, the feature is being enabled on the
RockPi4 boards with firmware images residing on GPT partitioned
storage media.
Signed-off-by: Sughosh Ganu
Reviewed-by: Kever Yang
---
Changes since V3:
* s
Changes since V3:
* s/blk_get_if_type_name/blk_get_uclass_name as the API was changed in
8149b1500d8
Sughosh Ganu (3):
rockchip: capsule: Add functions for supporting capsule updates
rockpi4: board: Add firmware image information for capsule updates
rockpi4: capsule: Enable UEFI capsule
hi Kever,
On Wed, 2 Nov 2022 at 14:53, Kever Yang wrote:
>
>
> On 2022/11/2 14:21, Sughosh Ganu wrote:
> > hi Tom,
> >
> > On Wed, 14 Sept 2022 at 15:40, Sughosh Ganu wrote:
> >>
> >> Add capsule update support for the RockPi4B and RockPi4C
>
hi Tom,
On Wed, 2 Nov 2022 at 18:52, Tom Rini wrote:
>
> On Wed, Nov 02, 2022 at 05:23:48PM +0800, Kever Yang wrote:
> >
> > On 2022/11/2 14:21, Sughosh Ganu wrote:
> > > hi Tom,
> > >
> > > On Wed, 14 Sept 2022 at 15:40, Sughosh Ganu
> >
hi Tom,
On Wed, 14 Sept 2022 at 15:40, Sughosh Ganu wrote:
>
>
> Add capsule update support for the RockPi4B and RockPi4C
> boards. Support is being added for updating the idbloader.img and
> u-boot.itb firmware images on configurations with the firmware images
> stored on G
hi Ilias,
On Fri, 21 Oct 2022 at 20:38, Ilias Apalodimas
wrote:
>
> Hi Sughosh,
>
> >
> > #include
> > #include
> > @@ -44,6 +53,96 @@ static int fwu_get_dev_mdata(struct udevice **dev,
> > struct fwu_mdata *mdata)
> > return ret;
> > }
> >
> > +static int trial_counter_update(u16
hi Ilias,
On Fri, 21 Oct 2022 at 20:33, Ilias Apalodimas
wrote:
>
> Hi Sughosh
>
> > +{
> > + int ret;
> > + u32 len, blk_start, blkcnt;
> > + struct disk_partition info;
> > +
> > + ALLOC_CACHE_ALIGN_BUFFER_PAD(struct fwu_mdata, mdata_aligned, 1,
> > +
Add documentation for the FWU Multi Bank Update feature. The document
describes the steps needed for setting up the platform for the
feature, as well as steps for enabling the feature on the platform.
Signed-off-by: Sughosh Ganu
Acked-by: Etienne Carriere
---
Changes since V14:
* s/updation
-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Acked-by: Etienne Carriere
---
Changes since V14:
* Add a range check for the oemflags passed as suggested by Etienne
doc/mkeficapsule.1 | 4
tools/mkeficapsule.c | 22 +++---
2 files changed, 23 insertions(+), 3 deletions(-)
diff
Add a command to read the metadata as specified in the FWU
specification and print the fields of the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
---
Changes since V14: None
cmd/Kconfig | 6 +++
cmd/Makefile
://git.codelinaro.org/linaro/dependable-boot/mbfw/uploads/6f7ddfe3be24e18d4319e108a758d02e/mbfw.pdf
Signed-off-by: Sughosh Ganu
Acked-by: Ilias Apalodimas
Acked-by: Etienne Carriere
---
Changes since V14: None
doc/mkeficapsule.1 | 29 +
tools/eficapsule.h | 8
tools/mkeficapsule.c
the updated bank as active
bank to subsequently boot from.
Signed-off-by: Sughosh Ganu
---
Changes since V14:
* Initialise the return value to EFI_INVALID_PARAMETER in
fwu_empty_capsule_process() and get rid of the else part as
suggested by Ilias
* Remove the superfluous assignment
--
the FIT capsule test will be run on the sandbox_flattree variant.
Signed-off-by: Sughosh Ganu
Suggested-by: Heinrich Schuchardt
Acked-by: Ilias Apalodimas
---
Changes since V14: None
arch/sandbox/Kconfig | 6 +
arch/sandbox/dts/test.dts | 7
. If the system boots
in the Trial State for more than a specified number of boot counts,
change the Active Bank to be booting the platform from.
Call these checks through the main loop event at the time of platform
boot.
Signed-off-by: Sughosh Ganu
Reviewed-by: Etienne Carriere
---
Changes since V14
Add an event type EVT_MAIN_LOOP that can be used for registering
events that need to be run after the platform has been initialised and
before the main_loop function is called.
Signed-off-by: Sughosh Ganu
Reviewed-by: Simon Glass
Reviewed-by: Ilias Apalodimas
Acked-by: Etienne Carriere
, this value is passed through one of the SoC's
backup register. Add a function to read the boot index value from the
backup register.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Acked-by: Ilias Apalodimas
Acked-by: Etienne Carriere
---
Changes since V14: None
arch/arm/mach-stm32mp/include
Enabling capsule update functionality on the platform requires
populating information on the images that are to be updated using the
functionality. Do so for the DK2 board.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
. The function to get the dfu alternate
number has been added for platforms with GPT partitioned storage
devices. Platforms with other storage partition scheme need to
implement their own function.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Acked-by: Etienne Carriere
Reviewed
, and implementations can be added based on parameters
like how the metadata partition is accessed and what type of storage
device houses the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
---
Changes since V14:
* Copy the primary metadata copy to the secondary metadata partition
when
The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c dk2 and ev1 boards, the FWU metadata is
stored on the uSD card. Add the fwu-mdata node on the u-boot specifc
dtsi file for accessing the metadata structure.
Signed-off-by: Sughosh Ganu
Reviewed
based partition scheme.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
---
Changes since V14:
* Remove the check for nparts while iterating over the partitions as
suggested by Ilias
* Drop the superfluous braces in gpt_get_mdata_disk_part()
* Add a NULL check for mdata
devices.
Signed-off-by: Sughosh Ganu
Reviewed-by: Heinrich Schuchardt
Acked-by: Etienne Carriere
Reviewed-by: Ilias Apalodimas
---
Changes since V14: None
.../firmware/fwu-mdata-gpt.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644 doc/device-tree
application
of empty capsules only in trial state
* Add a range check for the oemflags passed as suggested by Etienne
* s/updation/update/ as suggested by Etienne
Sughosh Ganu (15):
dt/bindings: Add bindings for GPT based FWU Metadata storage device
FWU: Add FWU metadata structure and driver
On Thu, 20 Oct 2022 at 19:25, Etienne Carriere
wrote:
>
> On Tue, 18 Oct 2022 at 13:44, Sughosh Ganu wrote:
> >
> > Add support for setting OEM flags in the capsule header. As per the
> > UEFI specification, bits 0-15 of the flags member of the capsule
> > header c
hi Ilias,
On Thu, 20 Oct 2022 at 01:26, Ilias Apalodimas
wrote:
>
> Hi Sughosh
>
>
> [...]
>
> > + *
> > + * Read both the metadata copies from the storage media, verify their
> > checksum,
> > + * and ascertain that both copies match. If one of the copies has gone bad,
> > + * restore it from
hi Ilias,
On Thu, 20 Oct 2022 at 01:31, Ilias Apalodimas
wrote:
>
> Hi Sughosh,
>
> On Tue, Oct 18, 2022 at 05:13:31PM +0530, Sughosh Ganu wrote:
> > The FWU Multi Bank Update specification requires the Update Agent to
> > carry out certain checks at the time of p
hi Simon,
On Tue, 18 Oct 2022 at 20:18, Simon Glass wrote:
>
> Hi Sughosh,
>
> I just noticed some GUIDs added to the include/configs/sandbox.h file.
> These files are being removed so we should not be adding to them.
>
> Please can you send a patch to drop this or move it elsewhere?
Will take
hi Simon,
On Tue, 18 Oct 2022 at 13:34, Sughosh Ganu wrote:
>
> The sandbox64 defconfig does not enable the thermal uclass, but builds
> the thermal sandbox driver. This breaks booting the sandbox64 variant
> with the test device tree. Do not build the driver for the sandbox
hi Ilias,
On Tue, 18 Oct 2022 at 20:38, Ilias Apalodimas
wrote:
>
> Hi Sughosh,
>
> [...]
>
> > +};
> > +
> > +static int gpt_get_mdata_partitions(struct blk_desc *desc,
> > + uint mdata_parts[2])
> > +{
> > + int i, ret;
> > + u32 nparts;
> > +
On Tue, 18 Oct 2022 at 22:29, Simon Glass wrote:
>
> Hi,
>
> On Tue, 18 Oct 2022 at 05:44, Sughosh Ganu wrote:
> >
> > Add test cases for accessing the FWU Metadata on the sandbox
> > platform. The sandbox platform also uses the metadata access driver
> &g
Add documentation for the FWU Multi Bank Update feature. The document
describes the steps needed for setting up the platform for the
feature, as well as steps for enabling the feature on the platform.
Signed-off-by: Sughosh Ganu
---
Changes since V13: None
doc/develop/uefi/fwu_updates.rst
-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
---
Changes since V13: None
doc/mkeficapsule.1 | 4
tools/mkeficapsule.c | 17 ++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/mkeficapsule.1 b/doc/mkeficapsule.1
index 77ca061efd..6fb2dd0810 100644
--- a/doc
to set the updated bank as active
bank to subsequently boot from.
Signed-off-by: Sughosh Ganu
---
Changes since V13:
* Add a check for the accept capsule in fwu_empty_capsule_process() as
suggested by Ilias
* Return EFI_NOT_FOUND instead of EFI_DEVICE_ERROR for -ENODEV
drivers/Kconfig
Add a command to read the metadata as specified in the FWU
specification and print the fields of the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
---
Changes since V13:
* Call fwu_check_mdata_validity() instead of fwu_mdata_check()
cmd
--
the FIT capsule test will be run on the sandbox_flattree variant.
Signed-off-by: Sughosh Ganu
Suggested-by: Heinrich Schuchardt
---
Changes since V13:
* Use uclass_first_device_err() to get the FWU metadata device
* Call fwu_check_mdata_validity() instead of fwu_mdata_check()
arch/sandbox
://git.codelinaro.org/linaro/dependable-boot/mbfw/uploads/6f7ddfe3be24e18d4319e108a758d02e/mbfw.pdf
Signed-off-by: Sughosh Ganu
Acked-by: Ilias Apalodimas
---
Changes since V13: None
doc/mkeficapsule.1 | 29 +
tools/eficapsule.h | 8
tools/mkeficapsule.c | 96
. If the system boots
in the Trial State for more than a specified number of boot counts,
change the Active Bank to be booting the platform from.
Call these checks through the main loop event at the time of platform
boot.
Signed-off-by: Sughosh Ganu
Reviewed-by: Etienne Carriere
---
Changes since V13
, this value is passed through one of the SoC's
backup register. Add a function to read the boot index value from the
backup register.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Acked-by: Ilias Apalodimas
---
Changes since V13: None
arch/arm/mach-stm32mp/include/mach/stm32.h | 5
. The function to get the dfu alternate
number has been added for platforms with GPT partitioned storage
devices. Platforms with other storage partition scheme need to
implement their own function.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Acked-by: Etienne Carriere
Reviewed
Add an event type EVT_MAIN_LOOP that can be used for registering
events that need to be run after the platform has been initialised and
before the main_loop function is called.
Signed-off-by: Sughosh Ganu
Reviewed-by: Simon Glass
Reviewed-by: Ilias Apalodimas
---
Changes since V13: None
, and implementations can be added based on parameters
like how the metadata partition is accessed and what type of storage
device houses the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
---
Changes since V13:
* Move the implementation of fwu_gpt_mdata_check() to a common
function
Enabling capsule update functionality on the platform requires
populating information on the images that are to be updated using the
functionality. Do so for the DK2 board.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
based partition scheme.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
---
Changes since V13:
* Move the implementation of fwu_gpt_mdata_check() to a common
function, fwu_check_mdata_validity()
* Add GPT implementations for fwu_get_mdata_part_num(),
fwu_read_mdata_partition
The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c dk2 and ev1 boards, the FWU metadata is
stored on the uSD card. Add the fwu-mdata node on the u-boot specifc
dtsi file for accessing the metadata structure.
Signed-off-by: Sughosh Ganu
Reviewed
devices.
Signed-off-by: Sughosh Ganu
Reviewed-by: Heinrich Schuchardt
Acked-by: Etienne Carriere
Reviewed-by: Ilias Apalodimas
---
Changes since V13: None
.../firmware/fwu-mdata-gpt.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644 doc/device-tree
for -ENODEV
* Call fwu_check_mdata_validity() instead of fwu_mdata_check()
* Use uclass_first_device_err() to get the FWU metadata device
* Call fwu_check_mdata_validity() instead of fwu_mdata_check()
Sughosh Ganu (15):
dt/bindings: Add bindings for GPT based FWU Metadata storage device
FWU: Add FWU
to allow the test to be run on the
sandbox64 variant.
Signed-off-by: Sughosh Ganu
---
configs/sandbox64_defconfig | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
index ade1505439..2badf1c386 100644
--- a/configs
hi,
On Tue, 18 Oct 2022 at 13:47, Robert Marko wrote:
>
>
>
> On Tue, Oct 18, 2022 at 10:04 AM Sughosh Ganu wrote:
>>
>> The sandbox64 defconfig does not enable the thermal uclass, but builds
>> the thermal sandbox driver. This breaks booting the sandbox64 varian
The sandbox64 defconfig does not enable the thermal uclass, but builds
the thermal sandbox driver. This breaks booting the sandbox64 variant
with the test device tree. Do not build the driver for the sandbox64
variant.
Signed-off-by: Sughosh Ganu
---
drivers/thermal/Makefile | 2 ++
1 file
hi,
Since "1fad2cb852 thermal: add sandbox driver", sandbox64 does not
boot with the test device tree. Trying to boot with the -T option
results in a crash.
Creating new bloblist size 400 at c000
Error binding driver 'thermal-sandbox': -96
Some drivers failed to bind
initcall sequence
hi Simon,
On Fri, 14 Oct 2022 at 21:26, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Thu, 6 Oct 2022 at 03:07, Sughosh Ganu wrote:
> >
> > The FWU Multi Bank Update specification requires the Update Agent to
> > carry out certain checks at the time of platf
hi Ilias,
On Fri, 14 Oct 2022 at 12:12, Ilias Apalodimas
wrote:
>
> On Thu, Oct 06, 2022 at 02:36:24PM +0530, Sughosh Ganu wrote:
> > The FWU Multi Bank Update feature supports updation of firmware images
>
> s/updation/updating
Umm, is the current sentence wrong? The m
On Fri, 14 Oct 2022 at 13:29, Ilias Apalodimas
wrote:
>
> [...]
>
> > > > > > +}
> > > > > > +
> > > > > > +static __maybe_unused efi_status_t fwu_empty_capsule_process(
> > > > > > + struct efi_capsule_header *capsule)
> > > > > > +{
> > > > > > + int status;
> > > > > > + u32
hi Ilias,
On Fri, 14 Oct 2022 at 13:02, Ilias Apalodimas
wrote:
>
> On Fri, 14 Oct 2022 at 10:06, Sughosh Ganu wrote:
> >
> > On Fri, 14 Oct 2022 at 12:12, Ilias Apalodimas
> > wrote:
> > >
> > > On Thu, Oct 06, 2022 at 02:36:24PM +0530, Sughosh Gan
On Fri, 14 Oct 2022 at 12:12, Ilias Apalodimas
wrote:
>
> On Thu, Oct 06, 2022 at 02:36:24PM +0530, Sughosh Ganu wrote:
> > The FWU Multi Bank Update feature supports updation of firmware images
>
> s/updation/updating
>
> > to one of multiple sets(also called ban
On Fri, 14 Oct 2022 at 12:04, Ilias Apalodimas
wrote:
>
> On Thu, Oct 06, 2022 at 02:36:23PM +0530, Sughosh Ganu wrote:
> > The FWU Multi Bank Update specification requires the Update Agent to
> > carry out certain checks at the time of platform boot. The Update
> > Agen
On Fri, 14 Oct 2022 at 11:46, Ilias Apalodimas
wrote:
>
> On Thu, Oct 06, 2022 at 02:36:17PM +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.
hi Etienne,
On Mon, 10 Oct 2022 at 11:53, Etienne Carriere
wrote:
>
> Hi Sughosh,
>
> On Fri, 7 Oct 2022 at 05:16, Sughosh Ganu wrote:
> >
> > hi Etienne,
> >
> > On Thu, 6 Oct 2022 at 19:36, Etienne Carriere
> > wrote:
> > >
> > >
hi Simon,
On Fri, 7 Oct 2022 at 00:37, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Thu, 6 Oct 2022 at 03:07, Sughosh Ganu wrote:
> >
> > Add test cases for accessing the FWU Metadata on the sandbox
> > platform. The sandbox platform also uses the metadata access
hi Etienne,
On Thu, 6 Oct 2022 at 19:36, Etienne Carriere
wrote:
>
> Hi Sughosh,
>
> On Thu, 6 Oct 2022 at 11:07, Sughosh Ganu wrote:
> >
> > Add test cases for accessing the FWU Metadata on the sandbox
> > platform. The sandbox platform also uses the meta
Add documentation for the FWU Multi Bank Update feature. The document
describes the steps needed for setting up the platform for the
feature, as well as steps for enabling the feature on the platform.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Reviewed-by: Simon Glass
-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
---
Changes since V12: None
doc/mkeficapsule.1 | 4
tools/mkeficapsule.c | 17 ++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/mkeficapsule.1 b/doc/mkeficapsule.1
index 77ca061efd..6fb2dd0810 100644
--- a/doc
://git.codelinaro.org/linaro/dependable-boot/mbfw/uploads/6f7ddfe3be24e18d4319e108a758d02e/mbfw.pdf
Signed-off-by: Sughosh Ganu
---
Changes since V12: None
doc/mkeficapsule.1 | 29 +
tools/eficapsule.h | 8
tools/mkeficapsule.c | 96
3 files
--
the FIT capsule test will be run on the sandbox_flattree variant.
Signed-off-by: Sughosh Ganu
Suggested-by: Heinrich Schuchardt
---
Changes since V12: None
arch/sandbox/Kconfig | 6 +
arch/sandbox/dts/test.dts | 7 +-
board/sandbox/sandbox.c
Add a command to read the metadata as specified in the FWU
specification and print the fields of the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
---
Changes since V12: None
cmd/Kconfig | 6 +++
cmd/Makefile
to set the updated bank as active
bank to subsequently boot from.
Signed-off-by: Sughosh Ganu
---
Changes since V12: None
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
include/fwu.h | 30 +
lib/Kconfig | 6 +
lib/Makefile
. If the system boots
in the Trial State for more than a specified number of boot counts,
change the Active Bank to be booting the platform from.
Call these checks through the main loop event at the time of platform
boot.
Signed-off-by: Sughosh Ganu
Reviewed-by: Etienne Carriere
---
Changes since V12
Add an event type EVT_MAIN_LOOP that can be used for registering
events that need to be run after the platform has been initialised and
before the main_loop function is called.
Signed-off-by: Sughosh Ganu
Reviewed-by: Simon Glass
Reviewed-by: Ilias Apalodimas
---
Changes since V12: None
. The function to get the dfu alternate
number has been added for platforms with GPT partitioned storage
devices. Platforms with other storage partition scheme need to
implement their own function.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Acked-by: Etienne Carriere
---
Changes
, this value is passed through one of the SoC's
backup register. Add a function to read the boot index value from the
backup register.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Acked-by: Ilias Apalodimas
---
Changes since V12: None
arch/arm/mach-stm32mp/include/mach/stm32.h | 5
The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c-dk2 board, the FWU metadata is stored on
the uSD card. Add the fwu-mdata node on the u-boot specifc dtsi file
for accessing the metadata structure.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick
based partition scheme.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Reviewed-by: Etienne Carriere
---
Changes since V12: None
drivers/fwu-mdata/Kconfig | 16 ++
drivers/fwu-mdata/Makefile | 8 +
drivers/fwu-mdata/gpt_blk.c | 357
Enabling capsule update functionality on the platform requires
populating information on the images that are to be updated using the
functionality. Do so for the DK2 board.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
, and implementations can be added based on parameters
like how the metadata partition is accessed and what type of storage
device houses the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
Reviewed-by: Etienne Carriere
---
Changes since V12: None
drivers/fwu-mdata/fwu-mdata-uclass.c
devices.
Signed-off-by: Sughosh Ganu
Reviewed-by: Heinrich Schuchardt
Acked-by: Etienne Carriere
Reviewed-by: Ilias Apalodimas
---
Changes since V12: None
.../firmware/fwu-mdata-gpt.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644 doc/device-tree
the return value of dfu_init_env_entities()
* Explicitly mention about setting up the metadata partitions at the
time of board provisioning
* Put a reference in the uefi capsule update section to the
fwu_updates.rst document
Sughosh Ganu (15):
dt/bindings: Add bindings for GPT based FWU Metadata
On Mon, 3 Oct 2022 at 21:20, Etienne Carriere
wrote:
>
> On Mon, 3 Oct 2022 at 16:25, Sughosh Ganu wrote:
> >
> > Add weak functions for getting the update index value and dfu
> > alternate number needed for FWU Multi Bank update
> > functionality.
> >
> &
hi Takahiro,
On Tue, 4 Oct 2022 at 08:24, Takahiro Akashi wrote:
>
> Sughosh,
>
> On Wed, Sep 28, 2022 at 02:59:56PM +0530, Sughosh Ganu wrote:
> > Add documentation for the FWU Multi Bank Update feature. The document
> > describes the steps needed for setting up the plat
Add documentation for the FWU Multi Bank Update feature. The document
describes the steps needed for setting up the platform for the
feature, as well as steps for enabling the feature on the platform.
Signed-off-by: Sughosh Ganu
---
Changes since V11:
* Describe the config
-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
---
Changes since V11: None
doc/mkeficapsule.1 | 4
tools/mkeficapsule.c | 17 ++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/mkeficapsule.1 b/doc/mkeficapsule.1
index 77ca061efd..6fb2dd0810 100644
--- a/doc
://git.codelinaro.org/linaro/dependable-boot/mbfw/uploads/6f7ddfe3be24e18d4319e108a758d02e/mbfw.pdf
Signed-off-by: Sughosh Ganu
---
Changes since V11: None
doc/mkeficapsule.1 | 29 +
tools/eficapsule.h | 8
tools/mkeficapsule.c | 96
3 files
--
the FIT capsule test will be run on the sandbox_flattree variant.
Signed-off-by: Sughosh Ganu
Suggested-by: Heinrich Schuchardt
---
arch/sandbox/Kconfig | 6 +
arch/sandbox/dts/test.dts | 7 +-
board/sandbox/sandbox.c | 8
Add a command to read the metadata as specified in the FWU
specification and print the fields of the metadata.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Reviewed-by: Etienne Carriere
---
Changes since V11: None
cmd/Kconfig | 6 +++
cmd/Makefile
to set the updated bank as active
bank to subsequently boot from.
Signed-off-by: Sughosh Ganu
---
Changes since V11: None
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
include/fwu.h | 30 +
lib/Kconfig | 6 +
lib/Makefile
401 - 500 of 1494 matches
Mail list logo