All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board: STiH410-B2260: Set SYS_BOOTM_LEN to 16M
@ 2018-07-16  8:04 Patrice Chotard
  2018-07-26 19:54 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Patrice Chotard @ 2018-07-16  8:04 UTC (permalink / raw)
  To: u-boot

With recent kernel v4.18-rcx, uImage becomes bigger than 8MB.
Set SYS_BOOTM_LEN to 16MB, this fix the following error message:
"Fix Loading Kernel Image ... Image too large: increase
CONFIG_SYS_BOOTM_LEN"

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

 include/configs/stih410-b2260.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index d8bf3b6580e3..9ce31f446311 100644
--- a/include/configs/stih410-b2260.h
+++ b/include/configs/stih410-b2260.h
@@ -7,6 +7,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#include <linux/sizes.h>
+
 /* ram memory-related information */
 #define CONFIG_NR_DRAM_BANKS		1
 #define PHYS_SDRAM_1			0x40000000
@@ -19,6 +21,7 @@
 /* Environment */
 
 #define CONFIG_LOADADDR			CONFIG_SYS_LOAD_ADDR
+#define CONFIG_SYS_BOOTM_LEN		SZ_16M
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
-- 
1.9.1

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

* [U-Boot] board: STiH410-B2260: Set SYS_BOOTM_LEN to 16M
  2018-07-16  8:04 [U-Boot] [PATCH] board: STiH410-B2260: Set SYS_BOOTM_LEN to 16M Patrice Chotard
@ 2018-07-26 19:54 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-07-26 19:54 UTC (permalink / raw)
  To: u-boot

On Mon, Jul 16, 2018 at 10:04:19AM +0200, Patrice Chotard wrote:

> With recent kernel v4.18-rcx, uImage becomes bigger than 8MB.
> Set SYS_BOOTM_LEN to 16MB, this fix the following error message:
> "Fix Loading Kernel Image ... Image too large: increase
> CONFIG_SYS_BOOTM_LEN"
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180726/1487b423/attachment.sig>

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

end of thread, other threads:[~2018-07-26 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16  8:04 [U-Boot] [PATCH] board: STiH410-B2260: Set SYS_BOOTM_LEN to 16M Patrice Chotard
2018-07-26 19:54 ` [U-Boot] " Tom Rini

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.