imx8m*_venice_defconfig: fix default bootcmd
PATCH 1/1 imx8m*_venice_defconfig: fix default bootcmd
commit 970bf8603b87 ("Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig") had an unintended side effect of resulting in a bootcmd env var change for boards like venice that did not have CONFIG_USE_BOOTCOMMAND defined and relied on it being defaulted in include/config_distro_bootcmd.h. Following that patch it instead got defaulted in tools/env/fw_env_private.h
Fix this by enabling CONFIG_USE_BOOTCOMMAND for venice.
--- configs/imx8mm_venice_defconfig | 1 - configs/imx8mn_venice_defconfig | 1 - configs/imx8mp_venice_defconfig | 1 - 3 files changed, 3 deletions(-)
configs/imx8mm_venice_defconfig +0 -1
@@ -28,7 +28,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=y
configs/imx8mn_venice_defconfig +0 -1
@@ -29,7 +29,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=y
configs/imx8mp_venice_defconfig +0 -1
@@ -29,7 +29,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=y
Signature · 1 line
2.25.1
Quoted 54 lines · Tim Harvey
commit
970bf8603b87("ConvertCONFIG_USE_BOOTCOMMANDet al toKconfig") had an unintended side effect of resulting in a bootcmd env var change for boards like venice that did not haveCONFIG_USE_BOOTCOMMANDdefined and relied on it being defaulted ininclude/config_distro_bootcmd.h. Following that patch it instead got defaulted intools/env/fw_env_private.hFix this by enabling
CONFIG_USE_BOOTCOMMANDfor venice.Fixes commit 970bf8603b87 ("Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig")Signed-off-by Tim Harvey <[email protected]>--- configs/imx8mm_venice_defconfig | 1 - configs/imx8mn_venice_defconfig | 1 - configs/imx8mp_venice_defconfig | 1 - 3 files changed, 3 deletions(-)configs/imx8mm_venice_defconfig +0
-1@@ -28,7 +28,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=yconfigs/imx8mn_venice_defconfig +0
-1@@ -29,7 +29,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=yconfigs/imx8mp_venice_defconfig +0
-2@@ -29,7 +29,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=y --
Quoted 2 lines
2.25.1
Stefano,
I probably needed to send this one to you as it is for imx8m board defconfigs and has a Fixes tag that fixes a regression. With a pending release in a few weeks, it would be nice to get fixes merged. I'm not sure if this must go through your tree or could instead go through Tom's tree.
Best Regards,
Tim
Quoted 60 lines · Tim Harvey
Quoted 54 lines · Tim Harvey
commit
970bf8603b87("ConvertCONFIG_USE_BOOTCOMMANDet al toKconfig") had an unintended side effect of resulting in a bootcmd env var change for boards like venice that did not haveCONFIG_USE_BOOTCOMMANDdefined and relied on it being defaulted ininclude/config_distro_bootcmd.h. Following that patch it instead got defaulted intools/env/fw_env_private.hFix this by enabling
CONFIG_USE_BOOTCOMMANDfor venice.Fixes commit 970bf8603b87 ("Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig")Signed-off-by Tim Harvey <[email protected]>--- configs/imx8mm_venice_defconfig | 1 - configs/imx8mn_venice_defconfig | 1 - configs/imx8mp_venice_defconfig | 1 - 3 files changed, 3 deletions(-)configs/imx8mm_venice_defconfig +0
-1@@ -28,7 +28,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=yconfigs/imx8mn_venice_defconfig +0
-1@@ -29,7 +29,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=yconfigs/imx8mp_venice_defconfig +0
-2@@ -29,7 +29,6 @@ CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="gsc wd-disable" CONFIG_BOARD_LATE_INIT=y --Quoted 2 lines
2.25.1
Stefano,
Quoted 5 lines
I probably needed to send this one to you as it is for imx8m board defconfigs and has a Fixes tag that fixes a regression. With a pending release in a few weeks, it would be nice to get fixes merged. I'm not sure if this must go through your tree or could instead go through Tom's tree.
As this applies cleanly on top of the current imx PR, and is a Fixes, I'll take this directly.
Signature · 1 line
Tom
Quoted 10 lines · Tim Harvey
commit
970bf8603b87("ConvertCONFIG_USE_BOOTCOMMANDet al toKconfig") had an unintended side effect of resulting in a bootcmd env var change for boards like venice that did not haveCONFIG_USE_BOOTCOMMANDdefined and relied on it being defaulted ininclude/config_distro_bootcmd.h. Following that patch it instead got defaulted intools/env/fw_env_private.hFix this by enabling
CONFIG_USE_BOOTCOMMANDfor venice.Fixes commit 970bf8603b87 ("Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig")Signed-off-by Tim Harvey <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom