All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
To: u-boot@lists.denx.de
Cc: Peng Fan <peng.fan@nxp.com>,
	Oleksandr Suvorov <oleksandr.suvorov@foundries.io>,
	Fabio Estevam <festevam@gmail.com>, Marek Vasut <marex@denx.de>,
	Oliver Graute <oliver.graute@kococonnector.com>
Subject: [PATCH 3/3] imx8qm_mek: Increase CONFIG_SYS_BOOTM_LEN to 64MB
Date: Sun, 29 Aug 2021 22:39:13 +0300	[thread overview]
Message-ID: <20210829193913.124217-3-oleksandr.suvorov@foundries.io> (raw)
In-Reply-To: <20210829193913.124217-2-oleksandr.suvorov@foundries.io>

The BSP platform LmP supports the board NXP iMX8QM MEK. The
kernel size in LmP exceeds 32Mb. Increase the maximum size
of an uncompressed kernel to fix the following error:
    Uncompressing Kernel Image
    Error: inflate() returned -5
    Image too large: increase CONFIG_SYS_BOOTM_LEN
    Must RESET board to recover

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
---

 include/configs/imx8qm_mek.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h
index 99e73a9446..03fa51168a 100644
--- a/include/configs/imx8qm_mek.h
+++ b/include/configs/imx8qm_mek.h
@@ -10,6 +10,8 @@
 #include <linux/stringify.h>
 #include <asm/arch/imx-regs.h>
 
+#define CONFIG_SYS_BOOTM_LEN		(64 * SZ_1M)
+
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_SPL_MAX_SIZE				(124 * 1024)
 #define CONFIG_SYS_MONITOR_LEN				(1024 * 1024)
-- 
2.31.1


  reply	other threads:[~2021-08-29 19:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29 19:39 [PATCH 1/3] imx8mm_evk: Increase CONFIG_SYS_BOOTM_LEN to 64MB Oleksandr Suvorov
2021-08-29 19:39 ` [PATCH 2/3] imx8mq_evk: " Oleksandr Suvorov
2021-08-29 19:39   ` Oleksandr Suvorov [this message]
2021-08-29 19:55     ` [PATCH 3/3] imx8qm_mek: " Marek Vasut
2021-08-29 20:53       ` Tom Rini
2021-08-30 11:11       ` Oleksandr Suvorov
2021-08-30 12:18         ` Marek Vasut
2021-08-30 15:05           ` Marcel Ziswiler
2021-08-30 15:10             ` Marek Vasut
2021-08-30 16:34               ` Marcel Ziswiler
2021-08-30 16:49                 ` Marek Vasut
2021-08-30 17:46             ` Tom Rini
2021-08-30 19:42               ` Marcel Ziswiler
2021-09-15  3:06         ` Peng Fan (OSS)
2021-10-07 14:13     ` sbabic
2021-10-07 14:13   ` [PATCH 2/3] imx8mq_evk: " sbabic
2021-10-07 14:13 ` [PATCH 1/3] imx8mm_evk: " sbabic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210829193913.124217-3-oleksandr.suvorov@foundries.io \
    --to=oleksandr.suvorov@foundries.io \
    --cc=festevam@gmail.com \
    --cc=marex@denx.de \
    --cc=oliver.graute@kococonnector.com \
    --cc=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.