public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ian Ray <ian.ray@gehealthcare.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: sbabic@denx.de, ian.ray@ge.com, martyn.welch@collabora.com,
	u-boot@lists.denx.de, Fabio Estevam <festevam@denx.de>
Subject: Re: EXT: [PATCH 4/5] msc_sm2s_imx8mp: Add redundant environment support
Date: Thu, 15 Feb 2024 14:05:51 +0200	[thread overview]
Message-ID: <Zc3-H0ATlxQan_i4@de2cfed78370> (raw)
In-Reply-To: <20240213114342.2728075-4-festevam@gmail.com>

On Tue, Feb 13, 2024 at 08:43:41AM -0300, Fabio Estevam wrote:
> 
> From: Fabio Estevam <festevam@denx.de>
> 
> Redundant environment support is required for software updates.
> 
> Add support for it.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Reviewed-by: Ian Ray <ian.ray@gehealthcare.com>

> ---
>  configs/msc_sm2s_imx8mp_defconfig | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/msc_sm2s_imx8mp_defconfig b/configs/msc_sm2s_imx8mp_defconfig
> index a190c1ea22..3a49b7d55c 100644
> --- a/configs/msc_sm2s_imx8mp_defconfig
> +++ b/configs/msc_sm2s_imx8mp_defconfig
> @@ -5,7 +5,8 @@ CONFIG_SYS_MALLOC_LEN=0x2000000
>  CONFIG_SPL_GPIO=y
>  CONFIG_SPL_LIBCOMMON_SUPPORT=y
>  CONFIG_SPL_LIBGENERIC_SUPPORT=y
> -CONFIG_ENV_SIZE=0x1000
> +CONFIG_ENV_SIZE=0x4000
> +CONFIG_ENV_OFFSET=0x200000
>  CONFIG_DM_GPIO=y
>  CONFIG_DEFAULT_DEVICE_TREE="imx8mp-msc-sm2s"
>  CONFIG_SPL_TEXT_BASE=0x920000
> @@ -16,6 +17,7 @@ CONFIG_SPL_SERIAL=y
>  CONFIG_SPL_DRIVERS_MISC=y
>  CONFIG_SPL_STACK=0x960000
>  CONFIG_SPL=y
> +CONFIG_ENV_OFFSET_REDUND=0x204000
>  CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000
>  CONFIG_SYS_LOAD_ADDR=0x40480000
>  CONFIG_SYS_BOOT_GET_CMDLINE=y
> @@ -62,6 +64,8 @@ CONFIG_CMD_EXT4_WRITE=y
>  CONFIG_OF_CONTROL=y
>  CONFIG_SPL_OF_CONTROL=y
>  CONFIG_ENV_OVERWRITE=y
> +CONFIG_ENV_IS_IN_MMC=y
> +CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>  CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
>  CONFIG_USE_ETHPRIME=y
> -- 
> 2.34.1
> 
> 

  reply	other threads:[~2024-02-15 13:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13 11:43 [PATCH 1/5] msc_sm2s_imx8mp: Convert to DM_SERIAL Fabio Estevam
2024-02-13 11:43 ` [PATCH 2/5] msc_sm2s_imx8mp: Make Ethernet functional Fabio Estevam
2024-02-15 12:05   ` EXT: " Ian Ray
2024-02-13 11:43 ` [PATCH 3/5] imx8mp-msc-sm2s: Add mmc aliases Fabio Estevam
2024-02-15 12:05   ` EXT: " Ian Ray
2024-02-13 11:43 ` [PATCH 4/5] msc_sm2s_imx8mp: Add redundant environment support Fabio Estevam
2024-02-15 12:05   ` Ian Ray [this message]
2024-02-13 11:43 ` [PATCH 5/5] msc_sm2s_imx8mp: Fix CONFIG_DEFAULT_FDT_FILE Fabio Estevam
2024-02-15 12:06   ` EXT: " Ian Ray
2024-02-15 12:05 ` EXT: [PATCH 1/5] msc_sm2s_imx8mp: Convert to DM_SERIAL Ian Ray
2024-02-19 13:15   ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zc3-H0ATlxQan_i4@de2cfed78370 \
    --to=ian.ray@gehealthcare.com \
    --cc=festevam@denx.de \
    --cc=festevam@gmail.com \
    --cc=ian.ray@ge.com \
    --cc=martyn.welch@collabora.com \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox