All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot
@ 2021-12-06 21:02 Andrey Zhizhikin
  2021-12-06 22:42 ` Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrey Zhizhikin @ 2021-12-06 21:02 UTC (permalink / raw)
  To: u-boot
  Cc: peng.fan, festevam, sjg, jh80.chung, hs, rick, alice.guo, angus,
	Andrey Zhizhikin

 Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
 environment variables.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
---
 include/configs/imx8mq_evk.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 49a9526d96..63539c7649 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -63,13 +63,13 @@
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	BOOTENV \
-	"scriptaddr=0x43500000\0" \
-	"kernel_addr_r=0x40880000\0" \
+	"scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \
+	"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
 	"image=Image\0" \
 	"console=ttymxc0,115200\0" \
-	"fdt_addr=0x43000000\0"			\
+	"fdt_addr_r=0x43000000\0"	\
 	"boot_fdt=try\0" \
-	"fdt_file=imx8mq-evk.dtb\0" \
+	"fdtfile=imx8mq-evk.dtb\0" \
 	"initrd_addr=0x43800000\0"		\
 	"bootm_size=0x10000000\0" \
 	"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \

base-commit: 558002a0f2230bedf6b38716f3ed86a92fc9010b
prerequisite-patch-id: 59faad9613725a42a9057aba206b92cf084dd1c1
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot
  2021-12-06 21:02 [PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot Andrey Zhizhikin
@ 2021-12-06 22:42 ` Fabio Estevam
  2022-01-11 10:49 ` [PATCH v2] " Andrey Zhizhikin
  2022-01-16 21:38 ` Andrey Zhizhikin
  2 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2021-12-06 22:42 UTC (permalink / raw)
  To: Andrey Zhizhikin
  Cc: U-Boot-Denx, Peng Fan, Simon Glass, Jaehoon Chung,
	Heiko Schocher, Rick Chen, Alice Guo, Angus Ainslie (Purism)

Hi Andrey,

On Mon, Dec 6, 2021 at 6:03 PM Andrey Zhizhikin
<andrey.zhizhikin@leica-geosystems.com> wrote:
>
>  Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
>  environment variables.
>
> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot
  2021-12-06 21:02 [PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot Andrey Zhizhikin
  2021-12-06 22:42 ` Fabio Estevam
@ 2022-01-11 10:49 ` Andrey Zhizhikin
  2022-01-16 21:44   ` ZHIZHIKIN Andrey
  2022-01-16 21:38 ` Andrey Zhizhikin
  2 siblings, 1 reply; 6+ messages in thread
From: Andrey Zhizhikin @ 2022-01-11 10:49 UTC (permalink / raw)
  To: u-boot
  Cc: sbabic, alice.guo, angus, festevam, hs, jh80.chung, peng.fan,
	rick, sjg, trini, Andrey Zhizhikin

 Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
 environment variables.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
---

Changes in V2:
- Rebased on latest master after 2022.01 release

 include/configs/imx8mq_evk.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 6e1d387e2b..f15c49d2db 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -61,13 +61,13 @@
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	BOOTENV \
-	"scriptaddr=0x43500000\0" \
-	"kernel_addr_r=0x40880000\0" \
+	"scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \
+	"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
 	"image=Image\0" \
 	"console=ttymxc0,115200\0" \
-	"fdt_addr=0x43000000\0"			\
+	"fdt_addr_r=0x43000000\0"			\
 	"boot_fdt=try\0" \
-	"fdt_file=imx8mq-evk.dtb\0" \
+	"fdtfile=imx8mq-evk.dtb\0" \
 	"initrd_addr=0x43800000\0"		\
 	"bootm_size=0x10000000\0" \
 	"mmcpart=1\0" \

base-commit: fe04d885fb540b614a2f989e16e808b300ccb52e
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot
  2021-12-06 21:02 [PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot Andrey Zhizhikin
  2021-12-06 22:42 ` Fabio Estevam
  2022-01-11 10:49 ` [PATCH v2] " Andrey Zhizhikin
@ 2022-01-16 21:38 ` Andrey Zhizhikin
  2022-02-05 16:41   ` sbabic
  2 siblings, 1 reply; 6+ messages in thread
From: Andrey Zhizhikin @ 2022-01-16 21:38 UTC (permalink / raw)
  To: u-boot
  Cc: alice.guo, angus, festevam, hs, jh80.chung, peng.fan, rick, sjg,
	Andrey Zhizhikin

Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
environment variables.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
---
Changes in V2:
- Correct config variable name, it should be SYS_LOAD_ADDR

 include/configs/imx8mq_evk.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 6e1d387e2b..5f587f7336 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -61,13 +61,13 @@
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	BOOTENV \
-	"scriptaddr=0x43500000\0" \
-	"kernel_addr_r=0x40880000\0" \
+	"scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
+	"kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
 	"image=Image\0" \
 	"console=ttymxc0,115200\0" \
-	"fdt_addr=0x43000000\0"			\
+	"fdt_addr_r=0x43000000\0"			\
 	"boot_fdt=try\0" \
-	"fdt_file=imx8mq-evk.dtb\0" \
+	"fdtfile=imx8mq-evk.dtb\0" \
 	"initrd_addr=0x43800000\0"		\
 	"bootm_size=0x10000000\0" \
 	"mmcpart=1\0" \

base-commit: d71dbe657c3c22f50ecb3df133e5cdd884daae7d
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* RE: [PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot
  2022-01-11 10:49 ` [PATCH v2] " Andrey Zhizhikin
@ 2022-01-16 21:44   ` ZHIZHIKIN Andrey
  0 siblings, 0 replies; 6+ messages in thread
From: ZHIZHIKIN Andrey @ 2022-01-16 21:44 UTC (permalink / raw)
  To: ZHIZHIKIN Andrey, u-boot
  Cc: sbabic, alice.guo, angus, festevam, hs, jh80.chung, peng.fan,
	rick, sjg, trini

Hello Stefano,

> -----Original Message-----
> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Andrey Zhizhikin
> Sent: Tuesday, January 11, 2022 11:50 AM
> To: u-boot@lists.denx.de
> Cc: sbabic@denx.de; alice.guo@nxp.com; angus@akkea.ca; festevam@gmail.com;
> hs@denx.de; jh80.chung@samsung.com; peng.fan@nxp.com; rick@andestech.com;
> sjg@chromium.org; trini@konsulko.com; Andrey Zhizhikin <andrey.zhizhikin@leica-
> geosystems.com>
> Subject: [PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot
> 

Please discard this patch, I've sent the updated version already.

I also managed to mess up the In-Reply-To field, so the updated version comes
also as V2, so this one should be dropped completely.

Sincere apologies for this mess...

>  Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
>  environment variables.
> 
> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
> ---

-- andrey

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot
  2022-01-16 21:38 ` Andrey Zhizhikin
@ 2022-02-05 16:41   ` sbabic
  0 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2022-02-05 16:41 UTC (permalink / raw)
  To: Andrey Zhizhikin, u-boot

> Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
> environment variables.
> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-05 16:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 21:02 [PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot Andrey Zhizhikin
2021-12-06 22:42 ` Fabio Estevam
2022-01-11 10:49 ` [PATCH v2] " Andrey Zhizhikin
2022-01-16 21:44   ` ZHIZHIKIN Andrey
2022-01-16 21:38 ` Andrey Zhizhikin
2022-02-05 16:41   ` sbabic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.