All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board
@ 2022-03-23 16:52 Michael Trimarchi
  2022-03-23 17:06 ` Fabio Estevam
  2022-04-12 13:34 ` sbabic
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Trimarchi @ 2022-03-23 16:52 UTC (permalink / raw)
  To: u-boot
  Cc: Gaurav Jain, Stefano Babic, Tom Rini, Fabio Estevam,
	Raffaele RECALCATI, Jagan Teki, Simone CIANNI

Enable LTO on mamoj to reduce SPL and uboot size. Tested with gcc
gcc-11.1.0

U-Boot 2022.04-rc4-00051-g17fc5facd0 (Mar 23 2022 - 16:43:43 +0100)

CPU:   Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 40C
Reset cause: POR
Model: BTicino i.MX6DL Mamoj board
DRAM:  512 MiB
Core:  29 devices, 12 uclasses, devicetree: separate
MMC:   FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:
Error: ethernet@2188000 address not set.
No ethernet found.

Tested-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---

 configs/imx6dl_mamoj_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx6dl_mamoj_defconfig b/configs/imx6dl_mamoj_defconfig
index ae27857e6f..4a535012b2 100644
--- a/configs/imx6dl_mamoj_defconfig
+++ b/configs/imx6dl_mamoj_defconfig
@@ -14,6 +14,7 @@ CONFIG_SPL_TEXT_BASE=0x00908000
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_IMX_HAB=y
 # CONFIG_CMD_BMODE is not set
+CONFIG_LTO=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTDELAY=3
 CONFIG_SPL_OS_BOOT=y
-- 
2.25.1


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

* Re: [PATCH] configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board
  2022-03-23 16:52 [PATCH] configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board Michael Trimarchi
@ 2022-03-23 17:06 ` Fabio Estevam
  2022-04-12 13:34 ` sbabic
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2022-03-23 17:06 UTC (permalink / raw)
  To: Michael Trimarchi
  Cc: U-Boot-Denx, Gaurav Jain, Stefano Babic, Tom Rini,
	Raffaele RECALCATI, Jagan Teki, Simone CIANNI

On Wed, Mar 23, 2022 at 1:52 PM Michael Trimarchi
<michael@amarulasolutions.com> wrote:
>
> Enable LTO on mamoj to reduce SPL and uboot size. Tested with gcc
> gcc-11.1.0
>
> U-Boot 2022.04-rc4-00051-g17fc5facd0 (Mar 23 2022 - 16:43:43 +0100)
>
> CPU:   Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
> CPU:   Extended Commercial temperature grade (-20C to 105C) at 40C
> Reset cause: POR
> Model: BTicino i.MX6DL Mamoj board
> DRAM:  512 MiB
> Core:  29 devices, 12 uclasses, devicetree: separate
> MMC:   FSL_SDHC: 2
> Loading Environment from MMC... OK
> In:    serial
> Out:   serial
> Err:   serial
> Net:
> Error: ethernet@2188000 address not set.
> No ethernet found.
>
> Tested-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>

Reviewed-by: Fabio Estevam <festevam@denx.de>

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

* [PATCH] configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board
  2022-03-23 16:52 [PATCH] configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board Michael Trimarchi
  2022-03-23 17:06 ` Fabio Estevam
@ 2022-04-12 13:34 ` sbabic
  1 sibling, 0 replies; 3+ messages in thread
From: sbabic @ 2022-04-12 13:34 UTC (permalink / raw)
  To: Michael Trimarchi, u-boot

> Enable LTO on mamoj to reduce SPL and uboot size. Tested with gcc
> gcc-11.1.0
> U-Boot 2022.04-rc4-00051-g17fc5facd0 (Mar 23 2022 - 16:43:43 +0100)
> CPU:   Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
> CPU:   Extended Commercial temperature grade (-20C to 105C) at 40C
> Reset cause: POR
> Model: BTicino i.MX6DL Mamoj board
> DRAM:  512 MiB
> Core:  29 devices, 12 uclasses, devicetree: separate
> MMC:   FSL_SDHC: 2
> Loading Environment from MMC... OK
> In:    serial
> Out:   serial
> Err:   serial
> Net:
> Error: ethernet@2188000 address not set.
> No ethernet found.
> Tested-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
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@denx.de
=====================================================================

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

end of thread, other threads:[~2022-04-12 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 16:52 [PATCH] configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board Michael Trimarchi
2022-03-23 17:06 ` Fabio Estevam
2022-04-12 13:34 ` sbabic

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.