Skip to contentSkip to conversation

ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

PATCH New Marek Vasut 3 participants 5 messages May 17, 2021 – Jun 9, 2021 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

Uncompressed aarch64 kernel Image are rather large, increase the bootm size limit to 64 MiB to cater for that.

Cc Marcel Ziswiler <[email protected]>
Cc Max Krummenacher <[email protected]>
Cc Oleksandr Suvorov <[email protected]>
---
 include/configs/verdin-imx8mm.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/verdin-imx8mm.h +2 -0
index e2a817891c2..7be5e5ddf11 100644
@@ -16,6 +16,8 @@
 #define CONFIG_SYS_UBOOT_BASE	\
 	(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
 
+#define CONFIG_SYS_BOOTM_LEN           SZ_64M
+
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_SPL_STACK		0x920000
 #define CONFIG_SPL_BSS_START_ADDR	0x910000
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

Quoted 5 lines · Marek Vasut

Uncompressed aarch64 kernel Image are rather large, increase the bootm size limit to 64 MiB to cater for that.

Marek, thanks for your fix!

There is a typo in the comment message:
"kernel Image are rather large" probably should be either "kernel Images are rather large" or "kernel Image is rather large".

With that:

Quoted 23 lines
Cc Marcel Ziswiler <[email protected]>
Cc Max Krummenacher <[email protected]>
Cc Oleksandr Suvorov <[email protected]>
---
 include/configs/verdin-imx8mm.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/verdin-imx8mm.h +2 -1
index e2a817891c2..7be5e5ddf11 100644
@@ -16,6 +16,8 @@
 #define CONFIG_SYS_UBOOT_BASE  \
        (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
 
+#define CONFIG_SYS_BOOTM_LEN           SZ_64M
+
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_SPL_STACK               0x920000
 #define CONFIG_SPL_BSS_START_ADDR      0x910000
--

2.30.2

Signature · 5 lines
Best regards
Oleksandr Suvorov

Toradex AG
Ebenaustrasse 10 | 6048 Horw | Switzerland | T: +41 41 500 48 00
#2 lore raw

PATCH 1/1 ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

Quoted 5 lines · Oleksandr Suvorov
Quoted 4 lines · Marek Vasut

Uncompressed aarch64 kernel Image are rather large, increase the bootm size limit to 64 MiB to cater for that.

Quoted 7 lines
Quoted 1 line

Marek, thanks for your fix!

There is a typo in the comment message:
"kernel Image are rather large" probably should be either "kernel Images are rather large" or "kernel Image is rather large".

The Image is the filename (aarch64 image) and it is plural, so I think its neither of the options.

#3 lore raw

PATCH 1/1 ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

Quoted 9 lines · Marek Vasut
Quoted 7 lines · Oleksandr Suvorov
Quoted 5 lines · Marek Vasut

Uncompressed aarch64 kernel Image are rather large, increase the bootm size limit to 64 MiB to cater for that.

Quoted 8 lines
Quoted 5 lines

Marek, thanks for your fix!

There is a typo in the comment message:
"kernel Image are rather large" probably should be either "kernel Images are rather large" or "kernel Image is rather large".

The Image is the filename (aarch64 image) and it is plural, so I think its neither of the options.

Oh, I didn't notice the capital letter "I" :) Sorry about that. Reviewed w/o conditions :)

Signature · 5 lines
Best regards
Oleksandr Suvorov

Toradex AG
Ebenaustrasse 10 | 6048 Horw | Switzerland | T: +41 41 500 48 00
#4 lore raw

PATCH 1/1 ARM: imx8m: verdin-imx8mm: Increase bootm size to 64 MiB

In reply to Marek Vasut
Quoted 7 lines

Uncompressed aarch64 kernel Image are rather large, increase the bootm size limit to 64 MiB to cater for that.

Cc Marcel Ziswiler <[email protected]>
Cc Max Krummenacher <[email protected]>
Cc Oleksandr Suvorov <[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]
=====================================================================