Skip to contentSkip to conversation

config: xea: Disable support for boot methods EXTLINUX and VBE

PATCH New Lukasz Majewski 2 participants 4 messages Jul 12, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 config: xea: Disable support for boot methods EXTLINUX and VBE

The XEA system (imx287 based) is not using support for EXTLINUX and VBE. As those configuration options have been enabled by default with modern Kconfig it is safe to explicitly disable them.

After that change the u-boot.img size has been reduced by ~16 KiB.

---
 configs/imx28_xea_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/imx28_xea_defconfig +2 -0
index c6c6a03245..a174bdb939 100644
@@ -29,6 +29,8 @@ CONFIG_SYS_LOAD_ADDR=0x42000000
 CONFIG_SPL_PAYLOAD="u-boot.img"
 CONFIG_FIT=y
 CONFIG_TIMESTAMP=y
+# CONFIG_BOOTMETH_EXTLINUX is not set
+# CONFIG_BOOTMETH_VBE is not set
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyAMA0,115200n8"
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 config: xea: Disable support for FAT file system

On the XEA (imx287) system the FAT file system is not used neither in SPL nor u-boot proper.

Hence, to save ~6KiB of u-boot.img size - it has been disabled.

---
 configs/imx28_xea_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/imx28_xea_defconfig +0 -1
index a174bdb939..96d15e89af 100644
@@ -123,5 +123,4 @@ CONFIG_DM_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXS_SPI=y
-CONFIG_FS_FAT=y
 # CONFIG_SPL_OF_LIBFDT is not set
Signature · 1 line
2.30.2
#2 lore raw

PATCH 2/2 config: xea: Disable support for FAT file system

Quoted 4 lines

On the XEA (imx287) system the FAT file system is not used neither in SPL nor u-boot proper.
Hence, to save ~6KiB of u-boot.img size - it has been disabled.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

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

PATCH 1/2 config: xea: Disable support for boot methods EXTLINUX and VBE

In reply to Lukasz Majewski
Quoted 5 lines

The XEA system (imx287 based) is not using support for EXTLINUX and VBE. As those configuration options have been enabled by default with modern Kconfig it is safe to explicitly disable them.
After that change the u-boot.img size has been reduced by ~16 KiB.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

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