imx8mq: configs: add support for distro boot commands
PATCH v3 1/1 imx8mq: configs: add support for distro boot commands
From: Alice Guo <[email protected]>
Supported boot device types in iMX8MQ: MMC, DHCP.
CONFIG_DISTRO_DEFAULTS is added for enabling the DISTRO_DEFAULTS option.
CONFIG_BOOTCOMMAND which is defined in include/configs/imx8mq_evk.h is deleted because "run distro_bootcmd" is required to be the default boot mode.
scriptaddr is the location in RAM where boot.scr.uimg/boot.scr will be loaded to prior to execution.
kernel_addr_r is the location in RAM where the kernel will be loaded to.
Delete unnecessary environment variables because "run distro_bootcmd" is set to be the default boot mode.
---
Changes for v3:
- enable the DISTRO_DEFAULTS option by adding CONFIG_DISTRO_DEFAULTS=y
- modify commit log
Changes for v2:
- re-add boot_fdt, initrd_addr and bootm_size which may need to be used
configs/imx8mq_evk_defconfig | 1 + include/configs/imx8mq_evk.h | 75 ++++++------------------------------ 2 files changed, 13 insertions(+), 63 deletions(-)
configs/imx8mq_evk_defconfig +1 -0
@@ -36,6 +36,7 @@ CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y +CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_CONTROL=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y
include/configs/imx8mq_evk.h +12 -63
91 lines not on this page · raw message
--
2.17.1
PATCH v3 1/1 imx8mq: configs: add support for distro boot commands
Quoted 11 lines
From: Alice Guo <[email protected]>
Supported boot device types in iMX8MQ: MMC, DHCP.CONFIG_DISTRO_DEFAULTSis added for enabling theDISTRO_DEFAULTSoption.CONFIG_BOOTCOMMANDwhich is defined ininclude/configs/imx8mq_evk.his deleted because "rundistro_bootcmd" is required to be the default boot mode.
scriptaddr is the location in RAM where boot.scr.uimg/boot.scr will be loaded to prior to execution.kernel_addr_ris the location in RAM where the kernel will be loaded to. Delete unnecessary environment variables because "rundistro_bootcmd" is set to be the default boot mode.
Quoted 1 line
Signed-off-by Alice Guo <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================