* [U-Boot] [PATCH] mx6sabresd: Reduce overall SPL size
@ 2019-07-23 15:20 Fabio Estevam
2019-07-24 1:12 ` Peng Fan
2019-08-05 18:43 ` sbabic at denx.de
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-07-23 15:20 UTC (permalink / raw)
To: u-boot
Currently the SPL binary is 67 kB, which leaves only 1 kB of free
internal RAM space.
The following options can be safely removed to save some precious
SPL space:
- CONFIG_SPL_FS_EXT4: u-boot-dtb.img is stored in raw sector via dd
command (at offset 69 kB)
- CONFIG_SPL_I2C_SUPPORT: I2C is not used during SPL
- CONFIG_SPL_OS_BOOT: no need to make Falcon mode supported
by default
After this change the SPL binary size gets down to 51 kB.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
configs/mx6sabresd_defconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 9400805831..84862feb8b 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -23,9 +23,6 @@ CONFIG_BOUNCE_BUFFER=y
CONFIG_SPL_TEXT_BASE=0x00908000
CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SPL_FIT_IMAGE_TINY=y
-CONFIG_SPL_FS_EXT4=y
-CONFIG_SPL_I2C_SUPPORT=y
-CONFIG_SPL_OS_BOOT=y
CONFIG_SPL_USB_HOST_SUPPORT=y
CONFIG_SPL_USB_GADGET=y
CONFIG_SPL_USB_SDP_SUPPORT=y
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx6sabresd: Reduce overall SPL size
2019-07-23 15:20 [U-Boot] [PATCH] mx6sabresd: Reduce overall SPL size Fabio Estevam
@ 2019-07-24 1:12 ` Peng Fan
2019-08-05 18:43 ` sbabic at denx.de
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2019-07-24 1:12 UTC (permalink / raw)
To: u-boot
> Subject: [PATCH] mx6sabresd: Reduce overall SPL size
>
> Currently the SPL binary is 67 kB, which leaves only 1 kB of free internal RAM
> space.
>
> The following options can be safely removed to save some precious SPL space:
>
> - CONFIG_SPL_FS_EXT4: u-boot-dtb.img is stored in raw sector via dd
> command (at offset 69 kB)
> - CONFIG_SPL_I2C_SUPPORT: I2C is not used during SPL
> - CONFIG_SPL_OS_BOOT: no need to make Falcon mode supported by default
>
> After this change the SPL binary size gets down to 51 kB.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> configs/mx6sabresd_defconfig | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
> index 9400805831..84862feb8b 100644
> --- a/configs/mx6sabresd_defconfig
> +++ b/configs/mx6sabresd_defconfig
> @@ -23,9 +23,6 @@ CONFIG_BOUNCE_BUFFER=y
> CONFIG_SPL_TEXT_BASE=0x00908000
> CONFIG_SPL_SEPARATE_BSS=y
> CONFIG_SPL_FIT_IMAGE_TINY=y
> -CONFIG_SPL_FS_EXT4=y
> -CONFIG_SPL_I2C_SUPPORT=y
> -CONFIG_SPL_OS_BOOT=y
> CONFIG_SPL_USB_HOST_SUPPORT=y
> CONFIG_SPL_USB_GADGET=y
> CONFIG_SPL_USB_SDP_SUPPORT=y
Reviewed-by: Peng Fan <peng.fan@nxp.com>
> --
> 2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx6sabresd: Reduce overall SPL size
2019-07-23 15:20 [U-Boot] [PATCH] mx6sabresd: Reduce overall SPL size Fabio Estevam
2019-07-24 1:12 ` Peng Fan
@ 2019-08-05 18:43 ` sbabic at denx.de
1 sibling, 0 replies; 3+ messages in thread
From: sbabic at denx.de @ 2019-08-05 18:43 UTC (permalink / raw)
To: u-boot
> Currently the SPL binary is 67 kB, which leaves only 1 kB of free
> internal RAM space.
> The following options can be safely removed to save some precious
> SPL space:
> - CONFIG_SPL_FS_EXT4: u-boot-dtb.img is stored in raw sector via dd
> command (at offset 69 kB)
> - CONFIG_SPL_I2C_SUPPORT: I2C is not used during SPL
> - CONFIG_SPL_OS_BOOT: no need to make Falcon mode supported
> by default
> After this change the SPL binary size gets down to 51 kB.
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-05 18:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-23 15:20 [U-Boot] [PATCH] mx6sabresd: Reduce overall SPL size Fabio Estevam
2019-07-24 1:12 ` Peng Fan
2019-08-05 18:43 ` sbabic at denx.de
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.