All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
@ 2023-10-25 23:04 Adam Ford
  2023-10-25 23:04 ` [PATCH 2/5] configs: imx8mm_beacon: Enable fastboot downloading Adam Ford
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Adam Ford @ 2023-10-25 23:04 UTC (permalink / raw)
  To: u-boot; +Cc: sbabic, aford, 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 <aford173@gmail.com>
---
 configs/imx8mp_beacon_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8mp_beacon_defconfig b/configs/imx8mp_beacon_defconfig
index b686af8d18..c758ff371d 100644
--- a/configs/imx8mp_beacon_defconfig
+++ b/configs/imx8mp_beacon_defconfig
@@ -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
-- 
2.40.1


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

* [PATCH 2/5] configs: imx8mm_beacon: Enable fastboot downloading
  2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
@ 2023-10-25 23:04 ` Adam Ford
  2023-10-25 23:04 ` [PATCH 3/5] configs: imx8mm_beacon: Disable the WDT autostart Adam Ford
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Adam Ford @ 2023-10-25 23:04 UTC (permalink / raw)
  To: u-boot; +Cc: sbabic, aford, Adam Ford

Fastboot is necessary to use UUU enhanced functions, so enable it.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 configs/imx8mm_beacon_defconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig
index 031470c169..886d912650 100644
--- a/configs/imx8mm_beacon_defconfig
+++ b/configs/imx8mm_beacon_defconfig
@@ -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
-- 
2.40.1


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

* [PATCH 3/5] configs: imx8mm_beacon: Disable the WDT autostart
  2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
  2023-10-25 23:04 ` [PATCH 2/5] configs: imx8mm_beacon: Enable fastboot downloading Adam Ford
@ 2023-10-25 23:04 ` Adam Ford
  2023-10-25 23:04 ` [PATCH 4/5] configs: imx8mn_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Adam Ford @ 2023-10-25 23:04 UTC (permalink / raw)
  To: u-boot; +Cc: sbabic, aford, Adam Ford

Auto-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.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 configs/imx8mm_beacon_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig
index 886d912650..b33e113580 100644
--- a/configs/imx8mm_beacon_defconfig
+++ b/configs/imx8mm_beacon_defconfig
@@ -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
-- 
2.40.1


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

* [PATCH 4/5] configs: imx8mn_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
  2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
  2023-10-25 23:04 ` [PATCH 2/5] configs: imx8mm_beacon: Enable fastboot downloading Adam Ford
  2023-10-25 23:04 ` [PATCH 3/5] configs: imx8mm_beacon: Disable the WDT autostart Adam Ford
@ 2023-10-25 23:04 ` Adam Ford
  2023-10-25 23:04 ` [PATCH 5/5] configs: imx8mn_beacon: Disable the WDT autostart Adam Ford
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Adam Ford @ 2023-10-25 23:04 UTC (permalink / raw)
  To: u-boot; +Cc: sbabic, aford, 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 <aford173@gmail.com>
---
 configs/imx8mn_beacon_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8mn_beacon_defconfig b/configs/imx8mn_beacon_defconfig
index 9409d5142c..cfff20f84f 100644
--- a/configs/imx8mn_beacon_defconfig
+++ b/configs/imx8mn_beacon_defconfig
@@ -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
-- 
2.40.1


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

* [PATCH 5/5] configs: imx8mn_beacon: Disable the WDT autostart
  2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
                   ` (2 preceding siblings ...)
  2023-10-25 23:04 ` [PATCH 4/5] configs: imx8mn_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
@ 2023-10-25 23:04 ` Adam Ford
  2023-10-26 14:20 ` [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Fabio Estevam
  2023-12-13 16:32 ` Fabio Estevam
  5 siblings, 0 replies; 9+ messages in thread
From: Adam Ford @ 2023-10-25 23:04 UTC (permalink / raw)
  To: u-boot; +Cc: sbabic, aford, Adam Ford

Auto-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.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 configs/imx8mn_beacon_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8mn_beacon_defconfig b/configs/imx8mn_beacon_defconfig
index cfff20f84f..d1c27ce22c 100644
--- a/configs/imx8mn_beacon_defconfig
+++ b/configs/imx8mn_beacon_defconfig
@@ -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
-- 
2.40.1


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

* Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
  2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
                   ` (3 preceding siblings ...)
  2023-10-25 23:04 ` [PATCH 5/5] configs: imx8mn_beacon: Disable the WDT autostart Adam Ford
@ 2023-10-26 14:20 ` Fabio Estevam
  2023-12-12 17:05   ` Adam Ford
  2023-12-13 16:32 ` Fabio Estevam
  5 siblings, 1 reply; 9+ messages in thread
From: Fabio Estevam @ 2023-10-26 14:20 UTC (permalink / raw)
  To: Adam Ford; +Cc: u-boot, sbabic, aford

On Wed, Oct 25, 2023 at 8:05 PM Adam Ford <aford173@gmail.com> wrote:
>
> 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 <aford173@gmail.com>

For the series:

Reviewed-by: Fabio Estevam <festevam@gmail.com>

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

* Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
  2023-10-26 14:20 ` [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Fabio Estevam
@ 2023-12-12 17:05   ` Adam Ford
  2023-12-12 17:09     ` Fabio Estevam
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Ford @ 2023-12-12 17:05 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: u-boot, sbabic, aford

On Thu, Oct 26, 2023 at 9:20 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> On Wed, Oct 25, 2023 at 8:05 PM Adam Ford <aford173@gmail.com> wrote:
> >
> > 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 <aford173@gmail.com>
>
> For the series:
>

Fabio / Stefan,

Is there any chance this series can be applied to imx-next?


> Reviewed-by: Fabio Estevam <festevam@gmail.com>

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

* Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
  2023-12-12 17:05   ` Adam Ford
@ 2023-12-12 17:09     ` Fabio Estevam
  0 siblings, 0 replies; 9+ messages in thread
From: Fabio Estevam @ 2023-12-12 17:09 UTC (permalink / raw)
  To: Adam Ford; +Cc: u-boot, sbabic, aford

Hi Adam,

On Tue, Dec 12, 2023 at 2:05 PM Adam Ford <aford173@gmail.com> wrote:

> 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.

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

* Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV
  2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
                   ` (4 preceding siblings ...)
  2023-10-26 14:20 ` [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Fabio Estevam
@ 2023-12-13 16:32 ` Fabio Estevam
  5 siblings, 0 replies; 9+ messages in thread
From: Fabio Estevam @ 2023-12-13 16:32 UTC (permalink / raw)
  To: Adam Ford; +Cc: u-boot, sbabic, aford

On Wed, Oct 25, 2023 at 8:05 PM Adam Ford <aford173@gmail.com> wrote:
>
> 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 <aford173@gmail.com>

Applied all to u-boot-imx next, thanks.

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

end of thread, other threads:[~2023-12-13 16:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25 23:04 [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
2023-10-25 23:04 ` [PATCH 2/5] configs: imx8mm_beacon: Enable fastboot downloading Adam Ford
2023-10-25 23:04 ` [PATCH 3/5] configs: imx8mm_beacon: Disable the WDT autostart Adam Ford
2023-10-25 23:04 ` [PATCH 4/5] configs: imx8mn_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Adam Ford
2023-10-25 23:04 ` [PATCH 5/5] configs: imx8mn_beacon: Disable the WDT autostart Adam Ford
2023-10-26 14:20 ` [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV Fabio Estevam
2023-12-12 17:05   ` Adam Ford
2023-12-12 17:09     ` Fabio Estevam
2023-12-13 16:32 ` Fabio Estevam

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.