Skip to contentSkip to conversation

imx: ventana: correct splashimage load address

PATCH In review Andrey Zhizhikin 4 participants 6 messages Jan 17, 2022 – Feb 5, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: ventana: correct splashimage load address

Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR.

Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR.

Fixes d75ebf3482c3 ("imx: ventana: fix splash logo drawing")
Cc Tim Harvey <[email protected]>
---
 include/configs/gw_ventana.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/gw_ventana.h +1 -1
index 513b2d4679..acd495f234 100644
@@ -105,7 +105,7 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS_COMMON \
 	"splashpos=m,m\0" \
-	"splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
+	"splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
 	"usb_pgood_delay=2000\0" \
 	"console=ttymxc1\0" \
 	"bootdevs=usb mmc sata flash\0" \

base-commit: d71dbe657c3c22f50ecb3df133e5cdd884daae7d

Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Andrey,

Quoted 11 lines · Andrey Zhizhikin

Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR.

Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR.

Fixes d75ebf3482c3 ("imx: ventana: fix splash logo drawing")
Cc Tim Harvey <[email protected]>

Thanks for the fix:

Acked-by on v1 1/1
#2 lore raw
In reply to Andrey Zhizhikin
Quoted 29 lines · Andrey Zhizhikin

Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR.

Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR.

Fixes d75ebf3482c3 ("imx: ventana: fix splash logo drawing")
Cc Tim Harvey <[email protected]>
---
 include/configs/gw_ventana.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/gw_ventana.h +1 -1
index 513b2d4679..acd495f234 100644
@@ -105,7 +105,7 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS_COMMON \
        "splashpos=m,m\0" \
-       "splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
+       "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
        "usb_pgood_delay=2000\0" \
        "console=ttymxc1\0" \
        "bootdevs=usb mmc sata flash\0" \
Quoted 4 lines

base-commit: d71dbe657c3c22f50ecb3df133e5cdd884daae7d --
2.25.1

Thanks,

Tim

#3 lore raw
Quoted 32 lines · Tim Harvey
Quoted 29 lines · Andrey Zhizhikin

Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR.

Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR.

Fixes d75ebf3482c3 ("imx: ventana: fix splash logo drawing")
Cc Tim Harvey <[email protected]>
---
 include/configs/gw_ventana.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/gw_ventana.h +1 -1
index 513b2d4679..acd495f234 100644
@@ -105,7 +105,7 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS_COMMON \
        "splashpos=m,m\0" \
-       "splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
+       "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
        "usb_pgood_delay=2000\0" \
        "console=ttymxc1\0" \
        "bootdevs=usb mmc sata flash\0" \
Quoted 7 lines
Quoted 4 lines

base-commit: d71dbe657c3c22f50ecb3df133e5cdd884daae7d --
2.25.1

Andrey,

While this does restore the custom logo on the gwventana boards there is now a default U-Boot logo in the top left corner. I assume this is some new addition... how do I disable the U-Boot logo?

Best Regards,

Tim

#4 lore raw

Hello Tim,

Quoted 49 lines

-----Original Message-----
From: Tim Harvey <[email protected]>
Sent: Friday, January 28, 2022 12:20 AM
To: ZHIZHIKIN Andrey <[email protected]>
Cc: u-boot <[email protected]>
Subject: Re: [PATCH] imx: ventana: correct splashimage load address

Quoted 32 lines · Tim Harvey
Quoted 29 lines · Andrey Zhizhikin

Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR.

Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR.

Fixes d75ebf3482c3 ("imx: ventana: fix splash logo drawing")
Cc Tim Harvey <[email protected]>
---
 include/configs/gw_ventana.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/gw_ventana.h +1 -1
index 513b2d4679..acd495f234 100644
@@ -105,7 +105,7 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS_COMMON \
        "splashpos=m,m\0" \
-       "splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
+       "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
        "usb_pgood_delay=2000\0" \
        "console=ttymxc1\0" \
        "bootdevs=usb mmc sata flash\0" \
Quoted 7 lines
Quoted 4 lines

base-commit: d71dbe657c3c22f50ecb3df133e5cdd884daae7d --
2.25.1

Quoted 5 lines

Andrey,

While this does restore the custom logo on the gwventana boards there is now a default U-Boot logo in the top left corner. I assume this is some new addition... how do I disable the U-Boot logo?

THB, this I do not know. I stumbled upon the incorrect variable while I was working on imx8mq-evk, and thought that this patch would be beneficial for gwventana since this was the only place where the old variable name was used.

I guess the question of suppression of default U-Boot logo is for a bigger audience here.

Quoted 4 lines

Best Regards,

Tim

-- andrey

#5 lore raw

PATCH 1/1 imx: ventana: correct splashimage load address

In reply to Andrey Zhizhikin
Quoted 10 lines

Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR.
Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR.

Fixes d75ebf3482c3 ("imx: ventana: fix splash logo drawing")
Cc Tim Harvey <[email protected]>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================