Skip to contentSkip to conversation

arm: kirkwood: sheevaplug: reduce u-boot image size

PATCH In review Tony Dinh 2 participants 2 messages Feb 2, 2023 – Feb 13, 2023

lore
Share & tools
lore

Tony Dinh

author
#0 lore raw

PATCH 1/1 arm: kirkwood: sheevaplug: reduce u-boot image size

Sheevaplug board has 512K CONFIG_BOARD_SIZE_LIMIT. Recently, DM_SERIAL has pushed the image size a few hundred bytes over that limit. So explicitly deselect some configs that are unrelated to this board
(and gain back a bit over 2K).

---

 configs/sheevaplug_defconfig | 5 +++++
 1 file changed, 5 insertions(+)
configs/sheevaplug_defconfig +5 -0
index cb38a3fbd5..40ab16dfa0 100644
@@ -26,6 +26,11 @@ CONFIG_USE_PREBOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_MAXARGS=32
 CONFIG_CMD_BOOTZ=y
+# CONFIG_BOOTM_PLAN9 is not set
+# CONFIG_BOOTM_RTEMS is not set
+# CONFIG_BOOTM_VXWORKS is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
Signature · 1 line
2.30.2
#1 lore raw
Quoted 6 lines · Tony Dinh

Sheevaplug board has 512K CONFIG_BOARD_SIZE_LIMIT. Recently, DM_SERIAL has pushed the image size a few hundred bytes over that limit. So explicitly deselect some configs that are unrelated to this board
(and gain back a bit over 2K).

Applied to u-boot-marvell/master

Thanks,
Stefan

Quoted 11 lines

---

  configs/sheevaplug_defconfig | 5 +++++
  1 file changed, 5 insertions(+)
configs/sheevaplug_defconfig +0 -0
index cb38a3fbd5..40ab16dfa0 100644
@@ -26,6 +26,11 @@ CONFIG_USE_PREBOOT=y
  CONFIG_HUSH_PARSER=y

configs/sheevaplug_defconfig CONFIG_USE_PREBOOT=y · line 36

Quoted 10 lines
configs/sheevaplug_defconfig +5 -0
  CONFIG_SYS_MAXARGS=32
  CONFIG_CMD_BOOTZ=y
+# CONFIG_BOOTM_PLAN9 is not set
+# CONFIG_BOOTM_RTEMS is not set
+# CONFIG_BOOTM_VXWORKS is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_XIMG is not set
  # CONFIG_CMD_FLASH is not set
  CONFIG_CMD_MMC=y
  CONFIG_CMD_NAND=y

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]