* [PATCH] board: gateworks: venice: add eraseenv command
@ 2023-05-02 17:45 Tim Harvey
2023-05-02 21:05 ` Fabio Estevam
2023-07-11 19:46 ` sbabic
0 siblings, 2 replies; 3+ messages in thread
From: Tim Harvey @ 2023-05-02 17:45 UTC (permalink / raw)
To: sbabic, Fabio Estevam; +Cc: u-boot, Tim Harvey
Add eraseenv command and remove the unnecessary env command.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
board/gateworks/venice/venice.env | 1 -
configs/imx8mm_venice_defconfig | 1 +
configs/imx8mn_venice_defconfig | 1 +
configs/imx8mp_venice_defconfig | 1 +
4 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/gateworks/venice/venice.env b/board/gateworks/venice/venice.env
index f81804ca12c1..2054c029a3e9 100644
--- a/board/gateworks/venice/venice.env
+++ b/board/gateworks/venice/venice.env
@@ -31,4 +31,3 @@ update_rootfs=tftpboot $loadaddr $image &&
gzwrite mmc $dev $loadaddr $filesize 100000 1000000
update_all=tftpboot $loadaddr $image &&
gzwrite mmc $dev $loadaddr $filesize
-erase_env=mmc dev $dev; mmc erase 0x7f08 0x40
diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig
index a55e0cd76b54..ad5b7616f30a 100644
--- a/configs/imx8mm_venice_defconfig
+++ b/configs/imx8mm_venice_defconfig
@@ -50,6 +50,7 @@ CONFIG_SYS_PBSIZE=2074
CONFIG_SYS_BOOTM_LEN=0x10000000
# CONFIG_CMD_EXPORTENV is not set
# CONFIG_CMD_IMPORTENV is not set
+CONFIG_CMD_ERASEENV=y
CONFIG_CRC32_VERIFY=y
CONFIG_CMD_MD5SUM=y
CONFIG_MD5SUM_VERIFY=y
diff --git a/configs/imx8mn_venice_defconfig b/configs/imx8mn_venice_defconfig
index 4709ecace65c..0742fa759b08 100644
--- a/configs/imx8mn_venice_defconfig
+++ b/configs/imx8mn_venice_defconfig
@@ -53,6 +53,7 @@ CONFIG_SYS_PBSIZE=2074
CONFIG_SYS_BOOTM_LEN=0x10000000
# CONFIG_CMD_EXPORTENV is not set
# CONFIG_CMD_IMPORTENV is not set
+CONFIG_CMD_ERASEENV=y
CONFIG_CRC32_VERIFY=y
CONFIG_CMD_MD5SUM=y
CONFIG_MD5SUM_VERIFY=y
diff --git a/configs/imx8mp_venice_defconfig b/configs/imx8mp_venice_defconfig
index 6b6a15588cd4..ae0c0120d107 100644
--- a/configs/imx8mp_venice_defconfig
+++ b/configs/imx8mp_venice_defconfig
@@ -53,6 +53,7 @@ CONFIG_SYS_PBSIZE=2074
CONFIG_SYS_BOOTM_LEN=0x10000000
# CONFIG_CMD_EXPORTENV is not set
# CONFIG_CMD_IMPORTENV is not set
+CONFIG_CMD_ERASEENV=y
CONFIG_CRC32_VERIFY=y
CONFIG_CMD_MD5SUM=y
CONFIG_MD5SUM_VERIFY=y
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] board: gateworks: venice: add eraseenv command
2023-05-02 17:45 [PATCH] board: gateworks: venice: add eraseenv command Tim Harvey
@ 2023-05-02 21:05 ` Fabio Estevam
2023-07-11 19:46 ` sbabic
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-05-02 21:05 UTC (permalink / raw)
To: Tim Harvey; +Cc: sbabic, Fabio Estevam, u-boot
On Tue, May 2, 2023 at 2:46 PM Tim Harvey <tharvey@gateworks.com> wrote:
>
> Add eraseenv command and remove the unnecessary env command.
>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] board: gateworks: venice: add eraseenv command
2023-05-02 17:45 [PATCH] board: gateworks: venice: add eraseenv command Tim Harvey
2023-05-02 21:05 ` Fabio Estevam
@ 2023-07-11 19:46 ` sbabic
1 sibling, 0 replies; 3+ messages in thread
From: sbabic @ 2023-07-11 19:46 UTC (permalink / raw)
To: Tim Harvey, u-boot
> Add eraseenv command and remove the unnecessary env command.
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-11 19:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-02 17:45 [PATCH] board: gateworks: venice: add eraseenv command Tim Harvey
2023-05-02 21:05 ` Fabio Estevam
2023-07-11 19:46 ` sbabic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox