configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
PATCH 1/5 configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
The hardware only supports a specific console port, so remove the option to change the console location in the environment.
--- configs/imx8mp_beacon_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/imx8mp_beacon_defconfig +1 -0
@@ -42,6 +42,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_SYSTEM_SETUP=y CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi" CONFIG_DEFAULT_FDT_FILE="imx8mp-beacon-kit.dtb" +# CONFIG_SYS_CONSOLE_IS_IN_ENV is not set # CONFIG_SYS_DEVICE_NULLDEV is not set CONFIG_SPL_MAX_SIZE=0x26000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
Signature · 1 line
2.40.1
PATCH 2/5 configs: imx8mm_beacon: Enable fastboot downloading
Fastboot is necessary to use UUU enhanced functions, so enable it.
--- configs/imx8mm_beacon_defconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
configs/imx8mm_beacon_defconfig +5 -1
@@ -86,6 +86,11 @@ CONFIG_SPL_CLK_COMPOSITE_CCF=y CONFIG_CLK_COMPOSITE_CCF=y CONFIG_SPL_CLK_IMX8MM=y CONFIG_CLK_IMX8MM=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_FASTBOOT_BUF_ADDR=0x42800000 +CONFIG_FASTBOOT_BUF_SIZE=0x20000000 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=2 CONFIG_MXC_GPIO=y CONFIG_DM_PCA953X=y CONFIG_DM_I2C=y
@@ -142,6 +147,5 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y CONFIG_SDP_LOADADDR=0x40400000 -CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_SPL_USB_SDP_SUPPORT=y CONFIG_IMX_WATCHDOG=y
Signature · 1 line
2.40.1
PATCH 3/5 configs: imx8mm_beacon: Disable the WDT autostart
In reply to Adam FordAuto-starting the WDT can cause false reboots when the user is not intentionally trying to use the WDT, so leave it off until it is requested.
--- configs/imx8mm_beacon_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/imx8mm_beacon_defconfig +1 -0
@@ -148,4 +148,5 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y CONFIG_SDP_LOADADDR=0x40400000 CONFIG_SPL_USB_SDP_SUPPORT=y +# CONFIG_WATCHDOG_AUTOSTART is not set CONFIG_IMX_WATCHDOG=y
Signature · 1 line
2.40.1
PATCH 4/5 configs: imx8mn_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
In reply to Adam FordThe hardware only supports a specific console port, so remove the option to change the console location in the environment.
--- configs/imx8mn_beacon_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/imx8mn_beacon_defconfig +1 -0
@@ -34,6 +34,7 @@ CONFIG_OF_SYSTEM_SETUP=y CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi" CONFIG_DEFAULT_FDT_FILE="imx8mn-beacon-kit.dtb" +# CONFIG_SYS_CONSOLE_IS_IN_ENV is not set CONFIG_SPL_MAX_SIZE=0x25000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x950000
Signature · 1 line
2.40.1
PATCH 5/5 configs: imx8mn_beacon: Disable the WDT autostart
In reply to Adam FordAuto-starting the WDT can cause false reboots when the user is not intentionally trying to use the WDT, so leave it off until it is requested.
--- configs/imx8mn_beacon_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/imx8mn_beacon_defconfig +1 -0
@@ -150,4 +150,5 @@ CONFIG_USB_GADGET_MANUFACTURER="FSL" CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y +# CONFIG_WATCHDOG_AUTOSTART is not set CONFIG_IMX_WATCHDOG=y
Signature · 1 line
2.40.1
Quoted 5 lines · Adam Ford
The hardware only supports a specific console port, so remove the option to change the console location in the environment.
Signed-off-by Adam Ford <[email protected]>
For the series:
Quoted 10 lines · Fabio Estevam
Quoted 5 lines · Adam Ford
The hardware only supports a specific console port, so remove the option to change the console location in the environment.
Signed-off-by Adam Ford <[email protected]>For the series:
Fabio / Stefan,
Is there any chance this series can be applied to imx-next?
Quoted 1 line
Reviewed-by Fabio Estevam <[email protected]>
Fabio Estevam
reviewerHi Adam,
Quoted 3 lines · Adam Ford
Fabio / Stefan,
Is there any chance this series can be applied to imx-next?
Yes, I will start collecting patches for u-boot-imx next soon.
Fabio Estevam
reviewerQuoted 5 lines · Adam Ford
The hardware only supports a specific console port, so remove the option to change the console location in the environment.
Signed-off-by Adam Ford <[email protected]>
Applied all to u-boot-imx next, thanks.