diff mbox series

[3/3] board: developerbox: update flash rawwrite binary size

Message ID 20231025065103.3101666-4-masahisa.kojima@linaro.org
State Accepted
Commit f50af7ebd72fde6a959f1f1e3f1ef371b9f2fce8
Headers show
Series Developerbox: Cleanup and document update | expand

Commit Message

Masahisa Kojima Oct. 25, 2023, 6:51 a.m. UTC
Current documentation limits the firmware size to 1.5MB.
When the fTPM and StandaloneMM-based RPMB secure storage is
enabled, firmware size is bigger than that size.
Let's specify the A/B update bank size(4MB) for flash
rawwrite parameter.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
---
 doc/board/socionext/developerbox.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ilias Apalodimas Oct. 26, 2023, 6:58 p.m. UTC | #1
On Wed, 25 Oct 2023 at 09:52, Masahisa Kojima
<masahisa.kojima@linaro.org> wrote:
>
> Current documentation limits the firmware size to 1.5MB.
> When the fTPM and StandaloneMM-based RPMB secure storage is
> enabled, firmware size is bigger than that size.
> Let's specify the A/B update bank size(4MB) for flash
> rawwrite parameter.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
> ---
>  doc/board/socionext/developerbox.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/doc/board/socionext/developerbox.rst b/doc/board/socionext/developerbox.rst
> index 596cf9f908..46712c379b 100644
> --- a/doc/board/socionext/developerbox.rst
> +++ b/doc/board/socionext/developerbox.rst
> @@ -212,8 +212,8 @@ can be installed via NOR flash writer.
>  Once the flasher tool is running we are ready to flash the images.::
>  Write the FIP image to the Bank-0 & 1 at 6MB and 10MB offset.::
>
> -  flash rawwrite 600000 180000
> -  flash rawwrite a00000 180000
> +  flash rawwrite 600000 400000
> +  flash rawwrite a00000 400000
>    >> Send SPI_NOR_NEWFIP.fd via XMODEM (Control-A S in minicom) <<
>
>    flash rawwrite 500000 1000
> --
> 2.34.1
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tom Rini Oct. 31, 2023, 5:46 p.m. UTC | #2
On Wed, Oct 25, 2023 at 03:51:03PM +0900, Masahisa Kojima wrote:

> Current documentation limits the firmware size to 1.5MB.
> When the fTPM and StandaloneMM-based RPMB secure storage is
> enabled, firmware size is bigger than that size.
> Let's specify the A/B update bank size(4MB) for flash
> rawwrite parameter.
> 
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/doc/board/socionext/developerbox.rst b/doc/board/socionext/developerbox.rst
index 596cf9f908..46712c379b 100644
--- a/doc/board/socionext/developerbox.rst
+++ b/doc/board/socionext/developerbox.rst
@@ -212,8 +212,8 @@  can be installed via NOR flash writer.
 Once the flasher tool is running we are ready to flash the images.::
 Write the FIP image to the Bank-0 & 1 at 6MB and 10MB offset.::
 
-  flash rawwrite 600000 180000
-  flash rawwrite a00000 180000
+  flash rawwrite 600000 400000
+  flash rawwrite a00000 400000
   >> Send SPI_NOR_NEWFIP.fd via XMODEM (Control-A S in minicom) <<
 
   flash rawwrite 500000 1000