u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] imx8mm: Add serial download support
@ 2021-07-03 19:58 Fabio Estevam
  2021-07-03 19:58 ` [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM Fabio Estevam
                   ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

This series brings USB gadget support for i.MX8MM
and allows the usage of the Serial Download Protocol,
which is a convenient way for loading U-Boot via the 
'uuu' tool and and flashing the eMMC via the U-Boot 
'ums' command.

Tested on imx8mm-evk and imx7s-warp.

Fabio Estevam (4):
  usb: ehci-mx6: Allow building SDP for imx8mm
  imx8mm_evk: Add an entry for USB boot
  imx8mm_evk: Add Serial Download Protocol support
  doc: imx8mm_evk: Add instructions for eMMC boot

Frieder Schrempf (2):
  imx8mm: Fix USB reg addresses for i.MX8MM
  clock_imx8mm: Add enable_usboh3_clk() for i.MX8MM

Tim Harvey (2):
  usb: ehci-mx6: move mode set/detect to probe
  usb: ehci-mx6: add IMX8MM and IMX8MN OTG support

 arch/arm/include/asm/arch-imx8m/clock.h    |  1 +
 arch/arm/include/asm/arch-imx8m/imx-regs.h | 11 ++++
 arch/arm/mach-imx/imx8m/clock_imx8mm.c     | 16 ++++++
 board/freescale/imx8mm_evk/spl.c           |  2 +
 configs/imx8mm_evk_defconfig               | 19 +++++++
 doc/board/freescale/imx8mm_evk.rst         | 42 +++++++++++++--
 drivers/usb/host/ehci-mx6.c                | 62 ++++++++++------------
 7 files changed, 114 insertions(+), 39 deletions(-)

-- 
2.25.1


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

* [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-07-03 20:55   ` Marek Vasut
  2021-07-03 19:58 ` [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M Fabio Estevam
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

From: Frieder Schrempf <frieder.schrempf@kontron.de>

The i.MX8MM register addresses differ from i.MX8M in many ways. One
thing to fix is the USB addresses.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/include/asm/arch-imx8m/imx-regs.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h
index b800da13a1e4..de01e9969626 100644
--- a/arch/arm/include/asm/arch-imx8m/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h
@@ -51,6 +51,17 @@
 
 #define TZASC_BASE_ADDR		0x32F80000
 
+#ifdef CONFIG_IMX8MM
+#define USB1_BASE_ADDR		0x32E40000
+#define USB2_BASE_ADDR		0x32E50000
+#else
+#define USB1_BASE_ADDR		0x38100000
+#define USB2_BASE_ADDR		0x38200000
+#endif
+#define USB_BASE_ADDR		USB1_BASE_ADDR
+#define USB1_PHY_BASE_ADDR	0x381F0000
+#define USB2_PHY_BASE_ADDR	0x382F0000
+
 #define MXS_LCDIF_BASE		IS_ENABLED(CONFIG_IMX8MQ) ? \
 					0x30320000 : 0x32e00000
 
-- 
2.25.1


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

* [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
  2021-07-03 19:58 ` [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-08-06 12:12   ` Stefano Babic
  2021-07-03 19:58 ` [PATCH 3/8] usb: ehci-mx6: move mode set/detect to probe Fabio Estevam
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

From: Frieder Schrempf <frieder.schrempf@kontron.de>

Currently we can't use DM_USB in SPL as the ci_udc driver is not
ported to DM yet.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/include/asm/arch-imx8m/clock.h |  1 +
 arch/arm/mach-imx/imx8m/clock_imx8mm.c  | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h
index 77d9428a188a..fcd111c918fd 100644
--- a/arch/arm/include/asm/arch-imx8m/clock.h
+++ b/arch/arm/include/asm/arch-imx8m/clock.h
@@ -276,3 +276,4 @@ int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
 int set_clk_enet(enum enet_freq type);
 int set_clk_eqos(enum enet_freq type);
 void hab_caam_clock_enable(unsigned char enable);
+void enable_usboh3_clk(unsigned char enable);
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
index f8e4ec0d9052..dd40e2f1e772 100644
--- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
+++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
@@ -277,6 +277,22 @@ int intpll_configure(enum pll_clocks pll, ulong freq)
 	return 0;
 }
 
+void enable_usboh3_clk(unsigned char enable)
+{
+	if (enable) {
+		clock_enable(CCGR_USB_MSCALE_PL301, 0);
+		/* 500M */
+		clock_set_target_val(USB_BUS_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
+		/* 100M */
+		clock_set_target_val(USB_CORE_REF_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
+		/* 100M */
+		clock_set_target_val(USB_PHY_REF_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
+		clock_enable(CCGR_USB_MSCALE_PL301, 1);
+	} else {
+		clock_enable(CCGR_USB_MSCALE_PL301, 0);
+	}
+}
+
 void init_uart_clk(u32 index)
 {
 	/*
-- 
2.25.1


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

* [PATCH 3/8] usb: ehci-mx6: move mode set/detect to probe
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
  2021-07-03 19:58 ` [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM Fabio Estevam
  2021-07-03 19:58 ` [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-07-03 19:58 ` [PATCH 4/8] usb: ehci-mx6: add IMX8MM and IMX8MN OTG support Fabio Estevam
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

From: Tim Harvey <tharvey@gateworks.com>

There is no need to set and/or detect mode in of_to_plat and
accessing phy registers at that point before device power domain and
clock are enabled will cause hangs on platforms such as IMX8M Mini.

Move the mode set/detect from of_to_plat into the probe and remove
the unnecessary of_to_plat.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/usb/host/ehci-mx6.c | 42 ++++++++++++++-----------------------
 1 file changed, 16 insertions(+), 26 deletions(-)

diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index c3e4170513ec..ff23a5e35e64 100644
--- a/drivers/usb/host/ehci-mx6.c
+++ b/drivers/usb/host/ehci-mx6.c
@@ -539,28 +539,6 @@ static int ehci_usb_phy_mode(struct udevice *dev)
 	return 0;
 }
 
-static int ehci_usb_of_to_plat(struct udevice *dev)
-{
-	struct usb_plat *plat = dev_get_plat(dev);
-	enum usb_dr_mode dr_mode;
-
-	dr_mode = usb_get_dr_mode(dev_ofnode(dev));
-
-	switch (dr_mode) {
-	case USB_DR_MODE_HOST:
-		plat->init_type = USB_INIT_HOST;
-		break;
-	case USB_DR_MODE_PERIPHERAL:
-		plat->init_type = USB_INIT_DEVICE;
-		break;
-	case USB_DR_MODE_OTG:
-	case USB_DR_MODE_UNKNOWN:
-		return ehci_usb_phy_mode(dev);
-	};
-
-	return 0;
-}
-
 static int mx6_parse_dt_addrs(struct udevice *dev)
 {
 #if !defined(CONFIG_PHY)
@@ -622,7 +600,6 @@ static int ehci_usb_probe(struct udevice *dev)
 	struct usb_plat *plat = dev_get_plat(dev);
 	struct usb_ehci *ehci = dev_read_addr_ptr(dev);
 	struct ehci_mx6_priv_data *priv = dev_get_priv(dev);
-	enum usb_init_type type = plat->init_type;
 	struct ehci_hccr *hccr;
 	struct ehci_hcor *hcor;
 	int ret;
@@ -640,7 +617,6 @@ static int ehci_usb_probe(struct udevice *dev)
 		return ret;
 
 	priv->ehci = ehci;
-	priv->init_type = type;
 
 #if CONFIG_IS_ENABLED(CLK)
 	ret = clk_get_by_index(dev, 0, &priv->clk);
@@ -656,6 +632,21 @@ static int ehci_usb_probe(struct udevice *dev)
 	mdelay(1);
 #endif
 
+	switch (usb_get_dr_mode(dev_ofnode(dev))) {
+	case USB_DR_MODE_HOST:
+		plat->init_type = USB_INIT_HOST;
+		break;
+	case USB_DR_MODE_PERIPHERAL:
+		plat->init_type = USB_INIT_DEVICE;
+		break;
+	case USB_DR_MODE_OTG:
+	case USB_DR_MODE_UNKNOWN:
+		ret = ehci_usb_phy_mode(dev);
+		if (ret)
+			return ret;
+	};
+	priv->init_type = plat->init_type;
+
 #if CONFIG_IS_ENABLED(DM_REGULATOR)
 	ret = device_get_supply_regulator(dev, "vbus-supply",
 					  &priv->vbus_supply);
@@ -679,7 +670,7 @@ static int ehci_usb_probe(struct udevice *dev)
 #if CONFIG_IS_ENABLED(DM_REGULATOR)
 	if (priv->vbus_supply) {
 		ret = regulator_set_enable(priv->vbus_supply,
-					   (type == USB_INIT_DEVICE) ?
+					   (priv->init_type == USB_INIT_DEVICE) ?
 					   false : true);
 		if (ret && ret != -ENOSYS) {
 			printf("Error enabling VBUS supply (ret=%i)\n", ret);
@@ -764,7 +755,6 @@ U_BOOT_DRIVER(usb_mx6) = {
 	.name	= "ehci_mx6",
 	.id	= UCLASS_USB,
 	.of_match = mx6_usb_ids,
-	.of_to_plat = ehci_usb_of_to_plat,
 	.probe	= ehci_usb_probe,
 	.remove = ehci_usb_remove,
 	.ops	= &ehci_usb_ops,
-- 
2.25.1


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

* [PATCH 4/8] usb: ehci-mx6: add IMX8MM and IMX8MN OTG support
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
                   ` (2 preceding siblings ...)
  2021-07-03 19:58 ` [PATCH 3/8] usb: ehci-mx6: move mode set/detect to probe Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-07-03 19:58 ` [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm Fabio Estevam
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

From: Tim Harvey <tharvey@gateworks.com>

Add support for determining host vs peripheral mode for IMX8MM
and IMX8MN configured as OTG.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/usb/host/ehci-mx6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index ff23a5e35e64..de53f0c15204 100644
--- a/drivers/usb/host/ehci-mx6.c
+++ b/drivers/usb/host/ehci-mx6.c
@@ -523,7 +523,7 @@ static int ehci_usb_phy_mode(struct udevice *dev)
 			plat->init_type = USB_INIT_DEVICE;
 		else
 			plat->init_type = USB_INIT_HOST;
-	} else if (is_mx7()) {
+	} else if (is_mx7() || is_imx8mm() || is_imx8mn()) {
 		phy_status = (void __iomem *)(addr +
 					      USBNC_PHY_STATUS_OFFSET);
 		val = readl(phy_status);
-- 
2.25.1


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

* [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
                   ` (3 preceding siblings ...)
  2021-07-03 19:58 ` [PATCH 4/8] usb: ehci-mx6: add IMX8MM and IMX8MN OTG support Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-07-03 20:57   ` Marek Vasut
  2022-03-27 21:02   ` Jaap Crezee
  2021-07-03 19:58 ` [PATCH 6/8] imx8mm_evk: Add an entry for USB boot Fabio Estevam
                   ` (2 subsequent siblings)
  7 siblings, 2 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

After selecting USB SDP support for i.MX8MM, there are some build errors
and warnings.

Make the necessary adjustments for fixing the build.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/usb/host/ehci-mx6.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index de53f0c15204..16cd1369aef1 100644
--- a/drivers/usb/host/ehci-mx6.c
+++ b/drivers/usb/host/ehci-mx6.c
@@ -141,12 +141,12 @@ static void __maybe_unused
 usb_power_config_mx6(void *anatop, int anatop_bits_index) { }
 #endif
 
-#if defined(CONFIG_MX7) && !defined(CONFIG_PHY)
+#if (defined(CONFIG_MX7) || defined(CONFIG_IMX8M)) && !defined(CONFIG_PHY)
 static void usb_power_config_mx7(struct usbnc_regs *usbnc)
 {
 	void __iomem *phy_cfg2 = (void __iomem *)(&usbnc->phy_cfg2);
 
-	if (!is_mx7())
+	if (!is_mx7() || !is_imx8mm() || is_imx8mn())
 		return;
 
 	/*
@@ -248,10 +248,10 @@ int usb_phy_mode(int port)
 		return USB_INIT_HOST;
 }
 
-#elif defined(CONFIG_MX7)
+#elif defined(CONFIG_MX7) || defined(CONFIG_IMX8M)
 int usb_phy_mode(int port)
 {
-	struct usbnc_regs *usbnc = (struct usbnc_regs *)(USB_BASE_ADDR +
+	struct usbnc_regs *usbnc = (struct usbnc_regs *)(uintptr_t)(USB_BASE_ADDR +
 			(0x10000 * port) + USBNC_OFFSET);
 	void __iomem *status = (void __iomem *)(&usbnc->phy_status);
 	u32 val;
@@ -346,9 +346,9 @@ int ehci_hcd_init(int index, enum usb_init_type init,
 		(struct anatop_regs __iomem *)ANATOP_BASE_ADDR;
 	struct usbnc_regs *usbnc = (struct usbnc_regs *)(USB_BASE_ADDR +
 			USB_OTHERREGS_OFFSET);
-#elif defined(CONFIG_MX7)
+#elif defined(CONFIG_MX7) || defined(CONFIG_IMX8M)
 	u32 controller_spacing = 0x10000;
-	struct usbnc_regs *usbnc = (struct usbnc_regs *)(USB_BASE_ADDR +
+	struct usbnc_regs *usbnc = (struct usbnc_regs *)(uintptr_t)(USB_BASE_ADDR +
 			(0x10000 * index) + USBNC_OFFSET);
 #elif defined(CONFIG_MX7ULP)
 	u32 controller_spacing = 0x10000;
@@ -357,7 +357,7 @@ int ehci_hcd_init(int index, enum usb_init_type init,
 	struct usbnc_regs *usbnc = (struct usbnc_regs *)(USB_BASE_ADDR +
 			(0x10000 * index) + USBNC_OFFSET);
 #endif
-	struct usb_ehci *ehci = (struct usb_ehci *)(USB_BASE_ADDR +
+	struct usb_ehci *ehci = (struct usb_ehci *)(uintptr_t)(USB_BASE_ADDR +
 		(controller_spacing * index));
 	int ret;
 
@@ -384,13 +384,15 @@ int ehci_hcd_init(int index, enum usb_init_type init,
 
 #if defined(CONFIG_MX6) || defined(CONFIG_IMXRT)
 	usb_power_config_mx6(anatop, index);
-#elif defined (CONFIG_MX7)
+#elif defined (CONFIG_MX7) || defined(CONFIG_IMX8M)
 	usb_power_config_mx7(usbnc);
 #elif defined (CONFIG_MX7ULP)
 	usb_power_config_mx7ulp(usbphy);
 #endif
 
+#if !defined(CONFIG_PHY)
 	usb_oc_config(usbnc, index);
+#endif
 
 #if defined(CONFIG_MX6) || defined(CONFIG_MX7ULP) || defined(CONFIG_IMXRT)
 	if (index < ARRAY_SIZE(phy_bases)) {
-- 
2.25.1


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

* [PATCH 6/8] imx8mm_evk: Add an entry for USB boot
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
                   ` (4 preceding siblings ...)
  2021-07-03 19:58 ` [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-07-03 19:58 ` [PATCH 7/8] imx8mm_evk: Add Serial Download Protocol support Fabio Estevam
  2021-07-03 19:58 ` [PATCH 8/8] doc: imx8mm_evk: Add instructions for eMMC boot Fabio Estevam
  7 siblings, 0 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

Add an entry for USB boot so that U-Boot could be loaded via
the Serial Download Protocol.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 board/freescale/imx8mm_evk/spl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c
index 4ef7f6f18060..c707e57f1ff5 100644
--- a/board/freescale/imx8mm_evk/spl.c
+++ b/board/freescale/imx8mm_evk/spl.c
@@ -33,6 +33,8 @@ DECLARE_GLOBAL_DATA_PTR;
 int spl_board_boot_device(enum boot_device boot_dev_spl)
 {
 	switch (boot_dev_spl) {
+	case USB_BOOT:
+		return BOOT_DEVICE_BOARD;
 	case SD2_BOOT:
 	case MMC2_BOOT:
 		return BOOT_DEVICE_MMC1;
-- 
2.25.1


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

* [PATCH 7/8] imx8mm_evk: Add Serial Download Protocol support
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
                   ` (5 preceding siblings ...)
  2021-07-03 19:58 ` [PATCH 6/8] imx8mm_evk: Add an entry for USB boot Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  2021-07-03 19:58 ` [PATCH 8/8] doc: imx8mm_evk: Add instructions for eMMC boot Fabio Estevam
  7 siblings, 0 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

Add Serial Download Protocol support as it is a useful method to
load flash.bin and u-boot.itb via 'uuu' and use "ums 0 mmc 2" to
flash the eMMC.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 configs/imx8mm_evk_defconfig | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig
index a06c6f9794ac..403f91e258f3 100644
--- a/configs/imx8mm_evk_defconfig
+++ b/configs/imx8mm_evk_defconfig
@@ -30,6 +30,9 @@ CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_POWER_SUPPORT=y
+CONFIG_SPL_USB_HOST_SUPPORT=y
+CONFIG_SPL_USB_GADGET=y
+CONFIG_SPL_USB_SDP_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_PROMPT="u-boot=> "
 # CONFIG_CMD_EXPORTENV is not set
@@ -40,6 +43,9 @@ CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USB_SDP=y
+CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
@@ -73,6 +79,8 @@ CONFIG_MII=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
+CONFIG_POWER_DOMAIN=y
+CONFIG_IMX8M_POWER_DOMAIN=y
 CONFIG_DM_PMIC=y
 CONFIG_SPL_DM_PMIC_PCA9450=y
 CONFIG_DM_REGULATOR=y
@@ -84,4 +92,15 @@ CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_PSCI=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_DM_THERMAL=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+# CONFIG_SPL_DM_USB is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_MXC_USB_OTG_HACTIVE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="FSL"
+CONFIG_USB_GADGET_VENDOR_NUM=0x0525
+CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
+CONFIG_CI_UDC=y
+CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_IMX_WATCHDOG=y
-- 
2.25.1


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

* [PATCH 8/8] doc: imx8mm_evk: Add instructions for eMMC boot
  2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
                   ` (6 preceding siblings ...)
  2021-07-03 19:58 ` [PATCH 7/8] imx8mm_evk: Add Serial Download Protocol support Fabio Estevam
@ 2021-07-03 19:58 ` Fabio Estevam
  7 siblings, 0 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 19:58 UTC (permalink / raw)
  To: sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx, Fabio Estevam

Improve the readme by adding instructions on how to load U-Boot via
USB and flash the eMMC.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 doc/board/freescale/imx8mm_evk.rst | 42 +++++++++++++++++++++++++++---
 1 file changed, 38 insertions(+), 4 deletions(-)

diff --git a/doc/board/freescale/imx8mm_evk.rst b/doc/board/freescale/imx8mm_evk.rst
index 7fd3d7256490..7d77f6d354f6 100644
--- a/doc/board/freescale/imx8mm_evk.rst
+++ b/doc/board/freescale/imx8mm_evk.rst
@@ -45,13 +45,47 @@ Build U-Boot
    $ export ATF_LOAD_ADDR=0x920000
    $ make
 
-Burn the flash.bin to MicroSD card offset 33KB:
+Booting from the SD card
+------------------------
+
+Burn the flash.bin to MicroSD card offset 33KB and u-boot.itb to
+offset 384kB.
 
 .. code-block:: bash
 
    $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc
    $sudo dd if=u-boot.itb of=/dev/sdc bs=1024 seek=384 conv=sync
 
-Boot
-----
-Set Boot switch to SD boot
+Booting from the eMMC
+---------------------
+
+Power off the board and put the boot mode switches
+to Download Mode.
+
+Connect a USB cable between the TypeC port 1 and the host PC.
+
+Load flash.bin via the 'uuu' tool:
+
+.. code-block:: bash
+
+   $ sudo uuu flash.bin
+
+Load u-boot.itb via the 'uuu' tool:
+
+.. code-block:: bash
+
+   $ sudo uuu SDPV: write -f u-boot.itb -addr 0x42000000
+   $ sudo uuu SDPV: jump -addr 0x42000000
+
+Then U-Boot will be launched.
+
+Run the ums tool to flash the eMMC:
+
+.. code-block:: bash
+
+   => ums 0 mmc 2
+   => sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33; sync
+   => sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384; sync
+
+Power off the board. Put the boot switches to eMMC boot mode
+and power it on.
-- 
2.25.1


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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-03 19:58 ` [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM Fabio Estevam
@ 2021-07-03 20:55   ` Marek Vasut
  2021-07-03 21:38     ` Fabio Estevam
  0 siblings, 1 reply; 25+ messages in thread
From: Marek Vasut @ 2021-07-03 20:55 UTC (permalink / raw)
  To: Fabio Estevam, sbabic; +Cc: u-boot, frieder.schrempf, tharvey, uboot-imx

On 7/3/21 9:58 PM, Fabio Estevam wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> The i.MX8MM register addresses differ from i.MX8M in many ways. One
> thing to fix is the USB addresses.
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>   arch/arm/include/asm/arch-imx8m/imx-regs.h | 11 +++++++++++
>   1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h
> index b800da13a1e4..de01e9969626 100644
> --- a/arch/arm/include/asm/arch-imx8m/imx-regs.h
> +++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h
> @@ -51,6 +51,17 @@
>   
>   #define TZASC_BASE_ADDR		0x32F80000
>   
> +#ifdef CONFIG_IMX8MM
> +#define USB1_BASE_ADDR		0x32E40000
> +#define USB2_BASE_ADDR		0x32E50000
> +#else
> +#define USB1_BASE_ADDR		0x38100000
> +#define USB2_BASE_ADDR		0x38200000
> +#endif
> +#define USB_BASE_ADDR		USB1_BASE_ADDR
> +#define USB1_PHY_BASE_ADDR	0x381F0000
> +#define USB2_PHY_BASE_ADDR	0x382F0000

All of this should come from DT, no ?

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2021-07-03 19:58 ` [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm Fabio Estevam
@ 2021-07-03 20:57   ` Marek Vasut
  2021-07-03 21:39     ` Fabio Estevam
  2022-03-27 21:02   ` Jaap Crezee
  1 sibling, 1 reply; 25+ messages in thread
From: Marek Vasut @ 2021-07-03 20:57 UTC (permalink / raw)
  To: Fabio Estevam, sbabic; +Cc: u-boot, frieder.schrempf, tharvey, uboot-imx

On 7/3/21 9:58 PM, Fabio Estevam wrote:
> After selecting USB SDP support for i.MX8MM, there are some build errors
> and warnings.
> 
> Make the necessary adjustments for fixing the build.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>   drivers/usb/host/ehci-mx6.c | 18 ++++++++++--------
>   1 file changed, 10 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
> index de53f0c15204..16cd1369aef1 100644
> --- a/drivers/usb/host/ehci-mx6.c
> +++ b/drivers/usb/host/ehci-mx6.c
> @@ -141,12 +141,12 @@ static void __maybe_unused
>   usb_power_config_mx6(void *anatop, int anatop_bits_index) { }
>   #endif
>   
> -#if defined(CONFIG_MX7) && !defined(CONFIG_PHY)
> +#if (defined(CONFIG_MX7) || defined(CONFIG_IMX8M)) && !defined(CONFIG_PHY)

This should never happen -- MX8M should always enable CONFIG_PHY.

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-03 20:55   ` Marek Vasut
@ 2021-07-03 21:38     ` Fabio Estevam
  2021-07-04  1:04       ` Marek Vasut
  0 siblings, 1 reply; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 21:38 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Fabio Estevam, Stefano Babic, U-Boot-Denx, Schrempf Frieder,
	Tim Harvey, dl-uboot-imx

Hi Marek,

On Sat, Jul 3, 2021 at 5:57 PM Marek Vasut <marex@denx.de> wrote:
>
> On 7/3/21 9:58 PM, Fabio Estevam wrote:
> > From: Frieder Schrempf <frieder.schrempf@kontron.de>
> >
> > The i.MX8MM register addresses differ from i.MX8M in many ways. One
> > thing to fix is the USB addresses.
> >
> > Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> > Signed-off-by: Fabio Estevam <festevam@denx.de>
> > ---
> >   arch/arm/include/asm/arch-imx8m/imx-regs.h | 11 +++++++++++
> >   1 file changed, 11 insertions(+)
> >
> > diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h
> > index b800da13a1e4..de01e9969626 100644
> > --- a/arch/arm/include/asm/arch-imx8m/imx-regs.h
> > +++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h
> > @@ -51,6 +51,17 @@
> >
> >   #define TZASC_BASE_ADDR             0x32F80000
> >
> > +#ifdef CONFIG_IMX8MM
> > +#define USB1_BASE_ADDR               0x32E40000
> > +#define USB2_BASE_ADDR               0x32E50000
> > +#else
> > +#define USB1_BASE_ADDR               0x38100000
> > +#define USB2_BASE_ADDR               0x38200000
> > +#endif
> > +#define USB_BASE_ADDR                USB1_BASE_ADDR
> > +#define USB1_PHY_BASE_ADDR   0x381F0000
> > +#define USB2_PHY_BASE_ADDR   0x382F0000
>
> All of this should come from DT, no ?

Retrieving the USB base addresses from DT would be preferred, yes, but
the current code does not do that.

Without providing these defines:

drivers/usb/host/ehci-mx6.c:254:62: error: ‘USB_BASE_ADDR’ undeclared
(first use in this function); did you mean ‘SRC_BASE_ADDR’?
  254 |  struct usbnc_regs *usbnc = (struct usbnc_regs
*)(uintptr_t)(USB_BASE_ADDR +

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2021-07-03 20:57   ` Marek Vasut
@ 2021-07-03 21:39     ` Fabio Estevam
  0 siblings, 0 replies; 25+ messages in thread
From: Fabio Estevam @ 2021-07-03 21:39 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Fabio Estevam, Stefano Babic, U-Boot-Denx, Schrempf Frieder,
	Tim Harvey, dl-uboot-imx

Hi Marek,

On Sat, Jul 3, 2021 at 5:57 PM Marek Vasut <marex@denx.de> wrote:
>
> On 7/3/21 9:58 PM, Fabio Estevam wrote:
> > After selecting USB SDP support for i.MX8MM, there are some build errors
> > and warnings.
> >
> > Make the necessary adjustments for fixing the build.
> >
> > Signed-off-by: Fabio Estevam <festevam@denx.de>
> > ---
> >   drivers/usb/host/ehci-mx6.c | 18 ++++++++++--------
> >   1 file changed, 10 insertions(+), 8 deletions(-)
> >
> > diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
> > index de53f0c15204..16cd1369aef1 100644
> > --- a/drivers/usb/host/ehci-mx6.c
> > +++ b/drivers/usb/host/ehci-mx6.c
> > @@ -141,12 +141,12 @@ static void __maybe_unused
> >   usb_power_config_mx6(void *anatop, int anatop_bits_index) { }
> >   #endif
> >
> > -#if defined(CONFIG_MX7) && !defined(CONFIG_PHY)
> > +#if (defined(CONFIG_MX7) || defined(CONFIG_IMX8M)) && !defined(CONFIG_PHY)
>
> This should never happen -- MX8M should always enable CONFIG_PHY.

Good catch, thanks. I will drop this change.

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-03 21:38     ` Fabio Estevam
@ 2021-07-04  1:04       ` Marek Vasut
  2021-07-04 15:35         ` Fabio Estevam
  0 siblings, 1 reply; 25+ messages in thread
From: Marek Vasut @ 2021-07-04  1:04 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Fabio Estevam, Stefano Babic, U-Boot-Denx, Schrempf Frieder,
	Tim Harvey, dl-uboot-imx

On 7/3/21 11:38 PM, Fabio Estevam wrote:

[...]

>>> +#ifdef CONFIG_IMX8MM
>>> +#define USB1_BASE_ADDR               0x32E40000
>>> +#define USB2_BASE_ADDR               0x32E50000
>>> +#else
>>> +#define USB1_BASE_ADDR               0x38100000
>>> +#define USB2_BASE_ADDR               0x38200000
>>> +#endif
>>> +#define USB_BASE_ADDR                USB1_BASE_ADDR
>>> +#define USB1_PHY_BASE_ADDR   0x381F0000
>>> +#define USB2_PHY_BASE_ADDR   0x382F0000
>>
>> All of this should come from DT, no ?
> 
> Retrieving the USB base addresses from DT would be preferred, yes, but
> the current code does not do that.

I implemented exactly that in mx6_parse_dt_addrs() , see:
4dcfa3bcbcb ("usb: ehci-mx6: Parse USB PHY and MISC offsets from DT")

> Without providing these defines:
> 
> drivers/usb/host/ehci-mx6.c:254:62: error: ‘USB_BASE_ADDR’ undeclared
> (first use in this function); did you mean ‘SRC_BASE_ADDR’?
>    254 |  struct usbnc_regs *usbnc = (struct usbnc_regs
> *)(uintptr_t)(USB_BASE_ADDR +

I suspect you need CONFIG_PHY for mx8m .

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-04  1:04       ` Marek Vasut
@ 2021-07-04 15:35         ` Fabio Estevam
  2021-07-04 19:25           ` Marek Vasut
  0 siblings, 1 reply; 25+ messages in thread
From: Fabio Estevam @ 2021-07-04 15:35 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Fabio Estevam, Stefano Babic, U-Boot-Denx, Schrempf Frieder,
	Tim Harvey, dl-uboot-imx

Hi Marek,

On Sat, Jul 3, 2021 at 10:04 PM Marek Vasut <marex@denx.de> wrote:

> > Retrieving the USB base addresses from DT would be preferred, yes, but
> > the current code does not do that.
>
> I implemented exactly that in mx6_parse_dt_addrs() , see:
> 4dcfa3bcbcb ("usb: ehci-mx6: Parse USB PHY and MISC offsets from DT")

We are talking about USB_BASE_ADDR, right?

imx6/imx7/imxrt provide the USB_BASE_ADDR as define.

If we remove the imx6 definition from arch/arm/include/asm/arch-mx6/imx-regs.h
the ehci-mx6: driver fails to build.

I didn't want to change ehci-mx6 in this aspect, so that's why I used
Frieder's patch that passes
USB_BASE_ADDR via define for i.MX8MM too.

Is this an acceptable solution?

> > Without providing these defines:
> >
> > drivers/usb/host/ehci-mx6.c:254:62: error: ‘USB_BASE_ADDR’ undeclared
> > (first use in this function); did you mean ‘SRC_BASE_ADDR’?
> >    254 |  struct usbnc_regs *usbnc = (struct usbnc_regs
> > *)(uintptr_t)(USB_BASE_ADDR +
>
> I suspect you need CONFIG_PHY for mx8m .

CONFIG_PHY is already selected by imx8mm_evk_defconfig.

Thanks,

Fabio Estevam

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-04 15:35         ` Fabio Estevam
@ 2021-07-04 19:25           ` Marek Vasut
  2021-07-06 16:11             ` Tim Harvey
  0 siblings, 1 reply; 25+ messages in thread
From: Marek Vasut @ 2021-07-04 19:25 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Fabio Estevam, Stefano Babic, U-Boot-Denx, Schrempf Frieder,
	Tim Harvey, dl-uboot-imx

On 7/4/21 5:35 PM, Fabio Estevam wrote:
> Hi Marek,

Hi,

> On Sat, Jul 3, 2021 at 10:04 PM Marek Vasut <marex@denx.de> wrote:
> 
>>> Retrieving the USB base addresses from DT would be preferred, yes, but
>>> the current code does not do that.
>>
>> I implemented exactly that in mx6_parse_dt_addrs() , see:
>> 4dcfa3bcbcb ("usb: ehci-mx6: Parse USB PHY and MISC offsets from DT")
> 
> We are talking about USB_BASE_ADDR, right?

All of the addresses used by the driver, I am trying hard to get rid of 
all that hard-coding in the driver. They should be parsed out of DT.

> imx6/imx7/imxrt provide the USB_BASE_ADDR as define.

That's only because they still need to be fully converted, someone needs 
to write the PHY driver for those. For MX8M, the NOP PHY driver is used.

> If we remove the imx6 definition from arch/arm/include/asm/arch-mx6/imx-regs.h
> the ehci-mx6: driver fails to build.
> 
> I didn't want to change ehci-mx6 in this aspect, so that's why I used
> Frieder's patch that passes
> USB_BASE_ADDR via define for i.MX8MM too.
> 
> Is this an acceptable solution?

No, let's not do that, because that exactly un-does the attempt to get 
rid of these hard-coded addresses. Please parse the address out of DT. 
And if you run into something which might still need hard-coded 
addresses, please fix it.

The ehci-mx6 is bad, let's not make it worse, lets fix it instead.

>>> Without providing these defines:
>>>
>>> drivers/usb/host/ehci-mx6.c:254:62: error: ‘USB_BASE_ADDR’ undeclared
>>> (first use in this function); did you mean ‘SRC_BASE_ADDR’?
>>>     254 |  struct usbnc_regs *usbnc = (struct usbnc_regs
>>> *)(uintptr_t)(USB_BASE_ADDR +
>>
>> I suspect you need CONFIG_PHY for mx8m .
> 
> CONFIG_PHY is already selected by imx8mm_evk_defconfig.

USBNC is iMX7 specific , so you cannot hit that error on iMX8M, there is 
#elif defined(CONFIG_MX7) around it.

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-04 19:25           ` Marek Vasut
@ 2021-07-06 16:11             ` Tim Harvey
  2021-07-06 21:17               ` Marek Vasut
  0 siblings, 1 reply; 25+ messages in thread
From: Tim Harvey @ 2021-07-06 16:11 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Fabio Estevam, Fabio Estevam, Stefano Babic, U-Boot-Denx,
	Schrempf Frieder, dl-uboot-imx

On Sun, Jul 4, 2021 at 12:25 PM Marek Vasut <marex@denx.de> wrote:
>
> On 7/4/21 5:35 PM, Fabio Estevam wrote:
> > Hi Marek,
>
> Hi,
>
> > On Sat, Jul 3, 2021 at 10:04 PM Marek Vasut <marex@denx.de> wrote:
> >
> >>> Retrieving the USB base addresses from DT would be preferred, yes, but
> >>> the current code does not do that.
> >>
> >> I implemented exactly that in mx6_parse_dt_addrs() , see:
> >> 4dcfa3bcbcb ("usb: ehci-mx6: Parse USB PHY and MISC offsets from DT")
> >
> > We are talking about USB_BASE_ADDR, right?
>
> All of the addresses used by the driver, I am trying hard to get rid of
> all that hard-coding in the driver. They should be parsed out of DT.
>

Marek,

I agree with trying to get rid of all the hard-coding but not all of
us are using SPL_DM_USB. I'm not sure how to best tell who is not
using DM in the SPL. I know I ran into issues as I'm supporting a
family of boards with the same U-Boot and could not find a way to
switch dt's early in the SPL after I've detected via EEPROM what board
I have.

Tim

> > imx6/imx7/imxrt provide the USB_BASE_ADDR as define.
>
> That's only because they still need to be fully converted, someone needs
> to write the PHY driver for those. For MX8M, the NOP PHY driver is used.
>
> > If we remove the imx6 definition from arch/arm/include/asm/arch-mx6/imx-regs.h
> > the ehci-mx6: driver fails to build.
> >
> > I didn't want to change ehci-mx6 in this aspect, so that's why I used
> > Frieder's patch that passes
> > USB_BASE_ADDR via define for i.MX8MM too.
> >
> > Is this an acceptable solution?
>
> No, let's not do that, because that exactly un-does the attempt to get
> rid of these hard-coded addresses. Please parse the address out of DT.
> And if you run into something which might still need hard-coded
> addresses, please fix it.
>
> The ehci-mx6 is bad, let's not make it worse, lets fix it instead.
>
> >>> Without providing these defines:
> >>>
> >>> drivers/usb/host/ehci-mx6.c:254:62: error: ‘USB_BASE_ADDR’ undeclared
> >>> (first use in this function); did you mean ‘SRC_BASE_ADDR’?
> >>>     254 |  struct usbnc_regs *usbnc = (struct usbnc_regs
> >>> *)(uintptr_t)(USB_BASE_ADDR +
> >>
> >> I suspect you need CONFIG_PHY for mx8m .
> >
> > CONFIG_PHY is already selected by imx8mm_evk_defconfig.
>
> USBNC is iMX7 specific , so you cannot hit that error on iMX8M, there is
> #elif defined(CONFIG_MX7) around it.

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-06 16:11             ` Tim Harvey
@ 2021-07-06 21:17               ` Marek Vasut
  2021-07-07 17:37                 ` Simon Glass
  0 siblings, 1 reply; 25+ messages in thread
From: Marek Vasut @ 2021-07-06 21:17 UTC (permalink / raw)
  To: Tim Harvey
  Cc: Fabio Estevam, Fabio Estevam, Stefano Babic, U-Boot-Denx,
	Schrempf Frieder, dl-uboot-imx, Simon Glass

On 7/6/21 6:11 PM, Tim Harvey wrote:
> On Sun, Jul 4, 2021 at 12:25 PM Marek Vasut <marex@denx.de> wrote:
>>
>> On 7/4/21 5:35 PM, Fabio Estevam wrote:
>>> Hi Marek,
>>
>> Hi,
>>
>>> On Sat, Jul 3, 2021 at 10:04 PM Marek Vasut <marex@denx.de> wrote:
>>>
>>>>> Retrieving the USB base addresses from DT would be preferred, yes, but
>>>>> the current code does not do that.
>>>>
>>>> I implemented exactly that in mx6_parse_dt_addrs() , see:
>>>> 4dcfa3bcbcb ("usb: ehci-mx6: Parse USB PHY and MISC offsets from DT")
>>>
>>> We are talking about USB_BASE_ADDR, right?
>>
>> All of the addresses used by the driver, I am trying hard to get rid of
>> all that hard-coding in the driver. They should be parsed out of DT.
>>
> 
> Marek,
> 
> I agree with trying to get rid of all the hard-coding but not all of
> us are using SPL_DM_USB. I'm not sure how to best tell who is not
> using DM in the SPL.

You should be able to use PLATDATA in SPL.

The current situation in the driver is total chaos, that must be fixed. 
So, I would say in SPL -> PLATDATA , U-Boot -> DM/DT .

> I know I ran into issues as I'm supporting a
> family of boards with the same U-Boot and could not find a way to
> switch dt's early in the SPL after I've detected via EEPROM what board
> I have.

Right, the platdata should help here. Then you don't need DT.

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

* Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
  2021-07-06 21:17               ` Marek Vasut
@ 2021-07-07 17:37                 ` Simon Glass
  0 siblings, 0 replies; 25+ messages in thread
From: Simon Glass @ 2021-07-07 17:37 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Tim Harvey, Fabio Estevam, Fabio Estevam, Stefano Babic,
	U-Boot-Denx, Schrempf Frieder, dl-uboot-imx

Hi,

On Tue, 6 Jul 2021 at 15:17, Marek Vasut <marex@denx.de> wrote:
>
> On 7/6/21 6:11 PM, Tim Harvey wrote:
> > On Sun, Jul 4, 2021 at 12:25 PM Marek Vasut <marex@denx.de> wrote:
> >>
> >> On 7/4/21 5:35 PM, Fabio Estevam wrote:
> >>> Hi Marek,
> >>
> >> Hi,
> >>
> >>> On Sat, Jul 3, 2021 at 10:04 PM Marek Vasut <marex@denx.de> wrote:
> >>>
> >>>>> Retrieving the USB base addresses from DT would be preferred, yes, but
> >>>>> the current code does not do that.
> >>>>
> >>>> I implemented exactly that in mx6_parse_dt_addrs() , see:
> >>>> 4dcfa3bcbcb ("usb: ehci-mx6: Parse USB PHY and MISC offsets from DT")
> >>>
> >>> We are talking about USB_BASE_ADDR, right?
> >>
> >> All of the addresses used by the driver, I am trying hard to get rid of
> >> all that hard-coding in the driver. They should be parsed out of DT.
> >>
> >
> > Marek,
> >
> > I agree with trying to get rid of all the hard-coding but not all of
> > us are using SPL_DM_USB. I'm not sure how to best tell who is not
> > using DM in the SPL.
>
> You should be able to use PLATDATA in SPL.
>
> The current situation in the driver is total chaos, that must be fixed.
> So, I would say in SPL -> PLATDATA , U-Boot -> DM/DT .
>
> > I know I ran into issues as I'm supporting a
> > family of boards with the same U-Boot and could not find a way to
> > switch dt's early in the SPL after I've detected via EEPROM what board
> > I have.
>
> Right, the platdata should help here. Then you don't need DT.

I suggest using of-platdata, so you can still use DT but it gets
compiled into the C code.

Regards,
Simon

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

* Re: [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M
  2021-07-03 19:58 ` [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M Fabio Estevam
@ 2021-08-06 12:12   ` Stefano Babic
  0 siblings, 0 replies; 25+ messages in thread
From: Stefano Babic @ 2021-08-06 12:12 UTC (permalink / raw)
  To: Fabio Estevam, sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx

Hi Fabio,

On 03.07.21 21:58, Fabio Estevam wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> Currently we can't use DM_USB in SPL as the ci_udc driver is not
> ported to DM yet.
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>   arch/arm/include/asm/arch-imx8m/clock.h |  1 +
>   arch/arm/mach-imx/imx8m/clock_imx8mm.c  | 16 ++++++++++++++++
>   2 files changed, 17 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h
> index 77d9428a188a..fcd111c918fd 100644
> --- a/arch/arm/include/asm/arch-imx8m/clock.h
> +++ b/arch/arm/include/asm/arch-imx8m/clock.h
> @@ -276,3 +276,4 @@ int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
>   int set_clk_enet(enum enet_freq type);
>   int set_clk_eqos(enum enet_freq type);
>   void hab_caam_clock_enable(unsigned char enable);
> +void enable_usboh3_clk(unsigned char enable);
> diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
> index f8e4ec0d9052..dd40e2f1e772 100644
> --- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
> +++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
> @@ -277,6 +277,22 @@ int intpll_configure(enum pll_clocks pll, ulong freq)
>   	return 0;
>   }
>   
> +void enable_usboh3_clk(unsigned char enable)
> +{
> +	if (enable) {
> +		clock_enable(CCGR_USB_MSCALE_PL301, 0);
> +		/* 500M */
> +		clock_set_target_val(USB_BUS_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
> +		/* 100M */
> +		clock_set_target_val(USB_CORE_REF_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
> +		/* 100M */
> +		clock_set_target_val(USB_PHY_REF_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
> +		clock_enable(CCGR_USB_MSCALE_PL301, 1);
> +	} else {
> +		clock_enable(CCGR_USB_MSCALE_PL301, 0);
> +	}
> +}
> +
>   void init_uart_clk(u32 index)
>   {
>   	/*
> 

This breaks phycore-imx8mp, I cannot build it anymore. Could you take a 
look ?

Best regards,
Stefano

-- 
=====================================================================
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@denx.de
=====================================================================

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2021-07-03 19:58 ` [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm Fabio Estevam
  2021-07-03 20:57   ` Marek Vasut
@ 2022-03-27 21:02   ` Jaap Crezee
  2022-03-27 21:43     ` Fabio Estevam
  2022-03-28 10:26     ` Tommaso Merciai
  1 sibling, 2 replies; 25+ messages in thread
From: Jaap Crezee @ 2022-03-27 21:02 UTC (permalink / raw)
  To: Fabio Estevam, sbabic; +Cc: marex, u-boot, frieder.schrempf, tharvey, uboot-imx

[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

Hi all,

On 7/3/21 21:58, Fabio Estevam wrote:
> After selecting USB SDP support for i.MX8MM, there are some build errors
> and warnings.
> 
> Make the necessary adjustments for fixing the build.
It seems this is also breaking imx8mq_evk on mainline (cbc05bba8cb7da62eae65f41e1b0ddbcadc06bba) as of now.
What should be done to get it working on imx8mq_evk?
It seems I can work around it a bit by configuring

...
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_SPL_SDP_USB_DEV=0
# CONFIG_CMD_USB_SDP is not set
# CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
CONFIG_USB_GADGET_DWC2_OTG=y
# CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 is not set
CONFIG_SDP_LOADADDR=0
CONFIG_USB_FUNCTION_SDP=y
...

But then SDP boot still fails with:

( make flash.bin && uuu ./flash.bin )
U-Boot SPL 2022.04-rc4-00079-gcbc05bba8c (Mar 27 2022 - 22:52:29 +0200)
PMIC:  PFUZE100 ID=0x10
Normal Boot
SPL: Unsupported Boot Device 9
SPL: failed to boot from all boot devices (err=-6)
### ERROR ### Please RESET the board ###

I have attached my complete .config is that helps anyone.


regards,

Jaap Crezee

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 43542 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2022.04-rc4 Configuration
#

#
# Compiler: aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621
#
CONFIG_CREATE_ARCH_SYMLINK=y
CONFIG_SYS_CACHE_SHIFT_6=y
CONFIG_SYS_CACHELINE_SIZE=64
CONFIG_LINKER_LIST_ALIGN=8
# CONFIG_ARC is not set
CONFIG_ARM=y
# CONFIG_M68K is not set
# CONFIG_MICROBLAZE is not set
# CONFIG_MIPS is not set
# CONFIG_NDS32 is not set
# CONFIG_NIOS2 is not set
# CONFIG_PPC is not set
# CONFIG_RISCV is not set
# CONFIG_SANDBOX is not set
# CONFIG_SH is not set
# CONFIG_X86 is not set
# CONFIG_XTENSA is not set
CONFIG_SYS_ARCH="arm"
CONFIG_SYS_CPU="armv8"
CONFIG_SYS_SOC="imx8m"
CONFIG_SYS_VENDOR="freescale"
CONFIG_SYS_BOARD="imx8mq_evk"
CONFIG_SYS_CONFIG_NAME="imx8mq_evk"
# CONFIG_SKIP_LOWLEVEL_INIT is not set
# CONFIG_SPL_SKIP_LOWLEVEL_INIT is not set
# CONFIG_TPL_SKIP_LOWLEVEL_INIT is not set
# CONFIG_SKIP_LOWLEVEL_INIT_ONLY is not set
# CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY is not set
# CONFIG_SYS_ICACHE_OFF is not set
# CONFIG_SPL_SYS_ICACHE_OFF is not set
# CONFIG_SYS_DCACHE_OFF is not set
# CONFIG_SPL_SYS_DCACHE_OFF is not set

#
# ARM architecture
#
CONFIG_ARM64=y
CONFIG_ARM64_CRC32=y
# CONFIG_POSITION_INDEPENDENT is not set
# CONFIG_INIT_SP_RELATIVE is not set
# CONFIG_GIC_V3_ITS is not set
CONFIG_STATIC_RELA=y
CONFIG_DMA_ADDR_T_64BIT=y
CONFIG_GPIO_EXTRA_HEADER=y
CONFIG_ARM_ASM_UNIFIED=y
# CONFIG_SYS_ARM_CACHE_CP15 is not set
# CONFIG_SYS_ARM_MMU is not set
# CONFIG_SYS_ARM_MPU is not set
CONFIG_SYS_ARM_ARCH=8
CONFIG_SYS_ARM_CACHE_WRITEBACK=y
# CONFIG_SYS_ARM_CACHE_WRITETHROUGH is not set
# CONFIG_SYS_ARM_CACHE_WRITEALLOC is not set
# CONFIG_ARCH_CPU_INIT is not set
CONFIG_SYS_ARCH_TIMER=y
CONFIG_ARM_SMCCC=y
# CONFIG_SEMIHOSTING is not set
# CONFIG_SYS_L2CACHE_OFF is not set
# CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set
# CONFIG_USE_ARCH_MEMCPY is not set
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
# CONFIG_USE_ARCH_MEMSET is not set
# CONFIG_SPL_USE_ARCH_MEMSET is not set
CONFIG_ARM64_SUPPORT_AARCH32=y
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_TARGET_STV0991 is not set
# CONFIG_ARCH_BCM283X is not set
# CONFIG_ARCH_BCM63158 is not set
# CONFIG_ARCH_BCM68360 is not set
# CONFIG_ARCH_BCM6858 is not set
# CONFIG_ARCH_BCMSTB is not set
# CONFIG_TARGET_VEXPRESS_CA9X4 is not set
# CONFIG_TARGET_BCMCYGNUS is not set
# CONFIG_TARGET_BCMNS2 is not set
# CONFIG_TARGET_BCMNS3 is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_S5PC1XX is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_IPQ40XX is not set
# CONFIG_ARCH_KEYSTONE is not set
# CONFIG_ARCH_K3 is not set
# CONFIG_ARCH_OMAP2PLUS is not set
# CONFIG_ARCH_MESON is not set
# CONFIG_ARCH_MEDIATEK is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_IMX8 is not set
CONFIG_ARCH_IMX8M=y
# CONFIG_ARCH_IMX8ULP is not set
# CONFIG_ARCH_IMXRT is not set
# CONFIG_ARCH_MX23 is not set
# CONFIG_ARCH_MX28 is not set
# CONFIG_ARCH_MX31 is not set
# CONFIG_ARCH_MX7ULP is not set
# CONFIG_ARCH_MX7 is not set
# CONFIG_ARCH_MX6 is not set
CONFIG_SPL_LDSCRIPT="arch/arm/cpu/armv8/u-boot-spl.lds"
# CONFIG_ARCH_MX5 is not set
# CONFIG_ARCH_NEXELL is not set
# CONFIG_ARCH_APPLE is not set
# CONFIG_ARCH_OWL is not set
# CONFIG_ARCH_QEMU is not set
# CONFIG_ARCH_RMOBILE is not set
# CONFIG_ARCH_SNAPDRAGON is not set
# CONFIG_ARCH_SOCFPGA is not set
# CONFIG_ARCH_SUNXI is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_VERSAL is not set
# CONFIG_ARCH_VF610 is not set
# CONFIG_ARCH_ZYNQ is not set
# CONFIG_ARCH_ZYNQMP_R5 is not set
# CONFIG_ARCH_ZYNQMP is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_TARGET_VEXPRESS64_AEMV8A is not set
# CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set
# CONFIG_TARGET_VEXPRESS64_JUNO is not set
# CONFIG_TARGET_TOTAL_COMPUTE is not set
# CONFIG_TARGET_LS2080A_EMU is not set
# CONFIG_TARGET_LS1088AQDS is not set
# CONFIG_TARGET_LS2080AQDS is not set
# CONFIG_TARGET_LS2080ARDB is not set
# CONFIG_TARGET_LS2081ARDB is not set
# CONFIG_TARGET_LX2160ARDB is not set
# CONFIG_TARGET_LX2160AQDS is not set
# CONFIG_TARGET_LX2162AQDS is not set
# CONFIG_TARGET_HIKEY is not set
# CONFIG_TARGET_HIKEY960 is not set
# CONFIG_TARGET_POPLAR is not set
# CONFIG_TARGET_LS1012AQDS is not set
# CONFIG_TARGET_LS1012ARDB is not set
# CONFIG_TARGET_LS1012A2G5RDB is not set
# CONFIG_TARGET_LS1012AFRWY is not set
# CONFIG_TARGET_LS1012AFRDM is not set
# CONFIG_TARGET_LS1028AQDS is not set
# CONFIG_TARGET_LS1028ARDB is not set
# CONFIG_TARGET_LS1088ARDB is not set
# CONFIG_TARGET_LS1021AQDS is not set
# CONFIG_TARGET_LS1021ATWR is not set
# CONFIG_TARGET_PG_WCOM_SELI8 is not set
# CONFIG_TARGET_PG_WCOM_EXPU1 is not set
# CONFIG_TARGET_LS1021ATSN is not set
# CONFIG_TARGET_LS1021AIOT is not set
# CONFIG_TARGET_LS1043AQDS is not set
# CONFIG_TARGET_LS1043ARDB is not set
# CONFIG_TARGET_LS1046AQDS is not set
# CONFIG_TARGET_LS1046ARDB is not set
# CONFIG_TARGET_LS1046AFRWY is not set
# CONFIG_TARGET_SL28 is not set
# CONFIG_TARGET_TEN64 is not set
# CONFIG_TARGET_COLIBRI_PXA270 is not set
# CONFIG_ARCH_UNIPHIER is not set
# CONFIG_ARCH_SYNQUACER is not set
# CONFIG_ARCH_STM32 is not set
# CONFIG_ARCH_STI is not set
# CONFIG_ARCH_STM32MP is not set
# CONFIG_ARCH_ROCKCHIP is not set
# CONFIG_ARCH_OCTEONTX is not set
# CONFIG_ARCH_OCTEONTX2 is not set
# CONFIG_TARGET_THUNDERX_88XX is not set
# CONFIG_ARCH_ASPEED is not set
# CONFIG_TARGET_DURIAN is not set
# CONFIG_TARGET_PRESIDIO_ASIC is not set
# CONFIG_TARGET_XENGUEST_ARM64 is not set
# CONFIG_STATIC_MACH_TYPE is not set
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SYS_MALLOC_LEN=0x600000
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_SPL_GPIO=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=4
CONFIG_ENV_SIZE=0x1000
CONFIG_ENV_OFFSET=0x400000
CONFIG_IMX_CONFIG="arch/arm/mach-imx/imx8m/imximage.cfg"
CONFIG_SYS_I2C_MXC_I2C1=y
CONFIG_SYS_I2C_MXC_I2C2=y
CONFIG_SYS_I2C_MXC_I2C3=y
# CONFIG_SYS_I2C_MXC_I2C4 is not set
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="imx8mq-evk"
CONFIG_SPL_TEXT_BASE=0x7E1000
CONFIG_IMX8M=y
CONFIG_IMX8MQ=y
# CONFIG_TARGET_IMX8MQ_CM is not set
CONFIG_TARGET_IMX8MQ_EVK=y
# CONFIG_TARGET_IMX8MQ_PHANBELL is not set
# CONFIG_TARGET_IMX8MM_EVK is not set
# CONFIG_TARGET_IMX8MM_ICORE_MX8MM is not set
# CONFIG_TARGET_IMX8MM_VENICE is not set
# CONFIG_TARGET_KONTRON_MX8MM is not set
# CONFIG_TARGET_IMX8MN_EVK is not set
# CONFIG_TARGET_IMX8MN_DDR4_EVK is not set
# CONFIG_TARGET_IMX8MN_VENICE is not set
# CONFIG_TARGET_IMX8MP_EVK is not set
# CONFIG_TARGET_PICO_IMX8MQ is not set
# CONFIG_TARGET_IMX8MN_VAR_SOM is not set
# CONFIG_TARGET_KONTRON_PITX_IMX8M is not set
# CONFIG_TARGET_VERDIN_IMX8MM is not set
# CONFIG_TARGET_VERDIN_IMX8MP is not set
# CONFIG_TARGET_IMX8MM_BEACON is not set
# CONFIG_TARGET_IMX8MN_BEACON is not set
# CONFIG_TARGET_PHYCORE_IMX8MM is not set
# CONFIG_TARGET_PHYCORE_IMX8MP is not set
# CONFIG_TARGET_IMX8MM_CL_IOT_GATE is not set
# CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE is not set
# CONFIG_TARGET_IMX8MP_RSB3720A1_4G is not set
# CONFIG_TARGET_IMX8MP_RSB3720A1_6G is not set
CONFIG_MULTI_DTB_FIT_UNCOMPRESS_SZ=0x8000
CONFIG_SPL_MMC=y
CONFIG_SPL_SERIAL=y
CONFIG_SPL_DRIVERS_MISC=y
CONFIG_SPL_SYS_MALLOC_F_LEN=0x2000
CONFIG_ERR_PTR_OFFSET=0x0
CONFIG_SPL_SIZE_LIMIT=0x0
CONFIG_SPL=y
CONFIG_BOOTSTAGE_STASH_ADDR=0
CONFIG_IDENT_STRING=""
CONFIG_SYS_CLK_FREQ=0
# CONFIG_CHIP_DIP_SCAN is not set
# CONFIG_SPL_FS_FAT is not set
# CONFIG_SPL_LIBDISK_SUPPORT is not set
# CONFIG_SPL_SPI is not set
# CONFIG_ARMV8_SPL_EXCEPTION_VECTORS is not set
# CONFIG_ARMV8_MULTIENTRY is not set
# CONFIG_ARMV8_SET_SMPEN is not set

#
# ARMv8 secure monitor firmware
#
# CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT is not set
# CONFIG_SPL_ARMV8_SEC_FIRMWARE_SUPPORT is not set
# CONFIG_SPL_RECOVER_DATA_SECTION is not set
CONFIG_PSCI_RESET=y
# CONFIG_ARMV8_PSCI is not set
# CONFIG_ARMV8_EA_EL3_FIRST is not set
CONFIG_MACH_IMX=y
CONFIG_HAS_CAAM=y
CONFIG_ROM_UNIFIED_SECTIONS=y
CONFIG_IMX_BOOTAUX=y
# CONFIG_IMX_HAB is not set
# CONFIG_CMD_DEKBLOB is not set
# CONFIG_IMX_CAAM_DEK_ENCAP is not set
# CONFIG_IMX_OPTEE_DEK_ENCAP is not set
# CONFIG_IMX_SECO_DEK_ENCAP is not set
# CONFIG_CMD_HDMIDETECT is not set
CONFIG_IMX_DCD_ADDR=0x00910000
# CONFIG_SPL_LOAD_IMX_CONTAINER is not set
CONFIG_IMX_CONTAINER_CFG=""

#
# ARM debug
#
CONFIG_SPL_PAYLOAD="u-boot.bin"
CONFIG_BUILD_TARGET=""
# CONFIG_DEBUG_UART is not set
# CONFIG_AHCI is not set
# CONFIG_OF_BOARD_FIXUP is not set

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100301
CONFIG_CLANG_VERSION=0
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_SPL_OPTIMIZE_INLINING is not set
CONFIG_ARCH_SUPPORTS_LTO=y
# CONFIG_LTO is not set
CONFIG_CC_HAS_ASM_INLINE=y
# CONFIG_XEN is not set
CONFIG_DISTRO_DEFAULTS=y
CONFIG_ENV_VARS_UBOOT_CONFIG=y
# CONFIG_SYS_BOOT_GET_CMDLINE is not set
# CONFIG_SYS_BOOT_GET_KBD is not set
CONFIG_SYS_MALLOC_F=y
CONFIG_EXPERT=y
CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
# CONFIG_SYS_MALLOC_DEFAULT_TO_INIT is not set
# CONFIG_TOOLS_DEBUG is not set
CONFIG_PHYS_64BIT=y
CONFIG_SPL_IMAGE="spl/u-boot-spl.bin"
CONFIG_REMAKE_ELF=y
# CONFIG_SYS_CUSTOM_LDSCRIPT is not set
CONFIG_SYS_LOAD_ADDR=0x40480000
CONFIG_PLATFORM_ELFENTRY="_start"
CONFIG_STACK_SIZE=0x1000000
CONFIG_SYS_SRAM_BASE=0x0
CONFIG_SYS_SRAM_SIZE=0x0
# CONFIG_MP is not set
# CONFIG_EXAMPLES is not set

#
# API
#
# CONFIG_API is not set

#
# Boot options
#

#
# Boot images
#
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_FIT=y
# CONFIG_TIMESTAMP is not set
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
CONFIG_FIT_FULL_CHECK=y
# CONFIG_FIT_SIGNATURE is not set
# CONFIG_FIT_CIPHER is not set
# CONFIG_FIT_VERBOSE is not set
# CONFIG_FIT_BEST_MATCH is not set
CONFIG_FIT_PRINT=y
CONFIG_SPL_FIT=y
# CONFIG_SPL_FIT_PRINT is not set
# CONFIG_SPL_FIT_FULL_CHECK is not set
CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_LOAD_FIT_ADDRESS=0x40400000
# CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY is not set
CONFIG_SPL_LOAD_FIT_FULL=y
# CONFIG_SPL_FIT_IMAGE_POST_PROCESS is not set
CONFIG_SPL_FIT_SOURCE=""
# CONFIG_USE_SPL_FIT_GENERATOR is not set
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_SUPPORT_RAW_INITRD=y
# CONFIG_OF_BOARD_SETUP is not set
CONFIG_OF_SYSTEM_SETUP=y
# CONFIG_OF_STDOUT_VIA_ALIAS is not set
CONFIG_SYS_EXTRA_OPTIONS=""
CONFIG_HAVE_SYS_TEXT_BASE=y
# CONFIG_DYNAMIC_SYS_CLK_FREQ is not set
CONFIG_ARCH_FIXUP_FDT_MEMORY=y
# CONFIG_CHROMEOS is not set
# CONFIG_CHROMEOS_VBOOT is not set
# CONFIG_RAMBOOT_PBL is not set

#
# Boot timing
#
# CONFIG_BOOTSTAGE is not set
CONFIG_BOOTSTAGE_STASH_SIZE=0x1000
# CONFIG_SHOW_BOOT_PROGRESS is not set
# CONFIG_SPL_SHOW_BOOT_PROGRESS is not set

#
# Boot media
#
# CONFIG_NAND_BOOT is not set
# CONFIG_ONENAND_BOOT is not set
# CONFIG_QSPI_BOOT is not set
# CONFIG_SATA_BOOT is not set
# CONFIG_SD_BOOT is not set
# CONFIG_SD_BOOT_QSPI is not set
# CONFIG_SPI_BOOT is not set

#
# Autoboot options
#
CONFIG_AUTOBOOT=y
CONFIG_BOOTDELAY=2
# CONFIG_AUTOBOOT_KEYED is not set
# CONFIG_AUTOBOOT_USE_MENUKEY is not set
# CONFIG_USE_BOOTARGS is not set
# CONFIG_BOOTARGS_SUBST is not set
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="run distro_bootcmd"
# CONFIG_USE_PREBOOT is not set
CONFIG_DEFAULT_FDT_FILE=""

#
# Console
#
CONFIG_MENU=y
# CONFIG_CONSOLE_RECORD is not set
# CONFIG_DISABLE_CONSOLE is not set
CONFIG_LOGLEVEL=4
CONFIG_SPL_LOGLEVEL=4
CONFIG_TPL_LOGLEVEL=4
# CONFIG_SILENT_CONSOLE is not set
# CONFIG_PRE_CONSOLE_BUFFER is not set
# CONFIG_CONSOLE_MUX is not set
# CONFIG_SYS_CONSOLE_IS_IN_ENV is not set
# CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set
# CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set
# CONFIG_SYS_CONSOLE_INFO_QUIET is not set
# CONFIG_SYS_STDIO_DEREGISTER is not set
# CONFIG_SPL_SYS_STDIO_DEREGISTER is not set
# CONFIG_SYS_DEVICE_NULLDEV is not set

#
# Logging
#
# CONFIG_LOG is not set

#
# Init options
#
# CONFIG_BOARD_TYPES is not set
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
# CONFIG_DISPLAY_BOARDINFO_LATE is not set

#
# Start-up hooks
#
# CONFIG_ARCH_EARLY_INIT_R is not set
# CONFIG_ARCH_MISC_INIT is not set
CONFIG_BOARD_EARLY_INIT_F=y
# CONFIG_BOARD_EARLY_INIT_R is not set
CONFIG_BOARD_LATE_INIT=y
# CONFIG_LAST_STAGE_INIT is not set
# CONFIG_MISC_INIT_F is not set
# CONFIG_MISC_INIT_R is not set
# CONFIG_ID_EEPROM is not set

#
# Security support
#
CONFIG_HASH=y
CONFIG_SPL_HASH=y
# CONFIG_STACKPROTECTOR is not set

#
# Update support
#
# CONFIG_UPDATE_TFTP is not set
# CONFIG_ANDROID_AB is not set

#
# Blob list
#
# CONFIG_BLOBLIST is not set

#
# SPL / TPL
#
CONFIG_SUPPORT_SPL=y
CONFIG_SPL_FRAMEWORK=y
# CONFIG_SPL_FRAMEWORK_BOARD_INIT_F is not set
CONFIG_SPL_SYS_STACK_F_CHECK_BYTE=0xaa
# CONFIG_SPL_SYS_REPORT_STACK_F_USAGE is not set
CONFIG_SPL_SHOW_ERRORS=y
CONFIG_SPL_BINMAN_SYMBOLS=y

#
# PowerPC and LayerScape SPL Boot options
#
CONFIG_SPL_BOARD_INIT=y
# CONFIG_SPL_BOOTROM_SUPPORT is not set
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y
# CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK is not set
# CONFIG_SPL_SYS_MALLOC_SIMPLE is not set
# CONFIG_SPL_STACK_R is not set
# CONFIG_SPL_SEPARATE_BSS is not set
CONFIG_SPL_BANNER_PRINT=y
# CONFIG_SPL_DISPLAY_PRINT is not set
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET=0x0
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set
# CONFIG_SUPPORT_EMMC_BOOT_OVERRIDE_PART_CONFIG is not set
CONFIG_SPL_CRC32=y
# CONFIG_SPL_MD5 is not set
# CONFIG_SPL_FIT_IMAGE_TINY is not set
# CONFIG_SPL_CACHE is not set
# CONFIG_SPL_CPU is not set
# CONFIG_SPL_CRYPTO is not set
# CONFIG_SPL_DMA is not set
# CONFIG_SPL_ENV_SUPPORT is not set
# CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_FS_SQUASHFS is not set
# CONFIG_SPL_FAT_WRITE is not set
# CONFIG_SPL_FPGA is not set
CONFIG_SPL_I2C=y
# CONFIG_SPL_DM_MAILBOX is not set
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION=1
# CONFIG_SPL_MMC_TINY is not set
# CONFIG_SPL_MMC_WRITE is not set
# CONFIG_SPL_MPC8XXX_INIT_DDR is not set
# CONFIG_SPL_MTD_SUPPORT is not set
# CONFIG_SPL_MUSB_NEW is not set
# CONFIG_SPL_NAND_SUPPORT is not set
# CONFIG_SPL_NAND_DRIVERS is not set
# CONFIG_SPL_NAND_ECC is not set
# CONFIG_SPL_NAND_SIMPLE is not set
# CONFIG_SPL_UBI is not set
# CONFIG_SPL_NET is not set
# CONFIG_SPL_NO_CPU_SUPPORT is not set
# CONFIG_SPL_NOR_SUPPORT is not set
# CONFIG_SPL_XIP_SUPPORT is not set
# CONFIG_SPL_ONENAND_SUPPORT is not set
# CONFIG_SPL_OS_BOOT is not set
# CONFIG_SPL_PCI is not set
# CONFIG_SPL_PCH is not set
# CONFIG_SPL_POST_MEM_SUPPORT is not set
# CONFIG_SPL_DM_RESET is not set
CONFIG_SPL_POWER=y
# CONFIG_SPL_POWER_DOMAIN is not set
# CONFIG_SPL_RAM_SUPPORT is not set
# CONFIG_SPL_REMOTEPROC is not set
# CONFIG_SPL_RTC is not set
# CONFIG_SPL_SATA is not set
# CONFIG_SPL_THERMAL is not set
# CONFIG_SPL_USB_HOST is not set
CONFIG_SPL_USB_GADGET=y
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_SPL_SDP_USB_DEV=0
CONFIG_SPL_WATCHDOG=y
# CONFIG_SPL_YMODEM_SUPPORT is not set
# CONFIG_SPL_ATF is not set
# CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is not set
# CONFIG_SPL_OPTEE_IMAGE is not set
# CONFIG_FDT_SIMPLEFB is not set

#
# Command line interface
#
CONFIG_CMDLINE=y
CONFIG_HUSH_PARSER=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
CONFIG_SYS_LONGHELP=y
CONFIG_SYS_PROMPT="u-boot=> "
CONFIG_SYS_PROMPT_HUSH_PS2="> "
CONFIG_SYS_XTRACE=y

#
# Commands
#

#
# Info commands
#
CONFIG_CMD_BDI=y
# CONFIG_CMD_CONFIG is not set
CONFIG_CMD_CONSOLE=y
# CONFIG_CMD_LICENSE is not set
# CONFIG_CMD_PMC is not set

#
# Boot commands
#
CONFIG_CMD_BOOTD=y
CONFIG_CMD_BOOTM=y
CONFIG_BOOTM_EFI=y
# CONFIG_CMD_BOOTZ is not set
CONFIG_CMD_BOOTI=y
CONFIG_BOOTM_LINUX=y
# CONFIG_BOOTM_NETBSD is not set
# CONFIG_BOOTM_OPENRTOS is not set
# CONFIG_BOOTM_OSE is not set
CONFIG_BOOTM_PLAN9=y
CONFIG_BOOTM_RTEMS=y
CONFIG_BOOTM_VXWORKS=y
CONFIG_CMD_BOOTEFI=y
CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y
# CONFIG_CMD_BOOTEFI_HELLO is not set
# CONFIG_CMD_BOOTEFI_SELFTEST is not set
# CONFIG_CMD_BOOTMENU is not set
# CONFIG_CMD_ADTIMG is not set
CONFIG_CMD_ELF=y
CONFIG_CMD_FDT=y
CONFIG_CMD_GO=y
CONFIG_CMD_RUN=y
CONFIG_CMD_IMI=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_XIMG=y
# CONFIG_CMD_SPL is not set
# CONFIG_CMD_THOR_DOWNLOAD is not set
# CONFIG_CMD_ZBOOT is not set

#
# Environment commands
#
# CONFIG_CMD_ASKENV is not set
# CONFIG_CMD_EXPORTENV is not set
# CONFIG_CMD_IMPORTENV is not set
CONFIG_CMD_EDITENV=y
# CONFIG_CMD_GREPENV is not set
CONFIG_CMD_SAVEENV=y
# CONFIG_CMD_ERASEENV is not set
CONFIG_CMD_ENV_EXISTS=y
# CONFIG_CMD_ENV_CALLBACK is not set
# CONFIG_CMD_ENV_FLAGS is not set
# CONFIG_CMD_NVEDIT_EFI is not set
# CONFIG_CMD_NVEDIT_INFO is not set
# CONFIG_CMD_NVEDIT_LOAD is not set
# CONFIG_CMD_NVEDIT_SELECT is not set

#
# Memory commands
#
# CONFIG_CMD_BINOP is not set
# CONFIG_CMD_BLOBLIST is not set
# CONFIG_CMD_CRC32 is not set
# CONFIG_CMD_EEPROM is not set
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=0
# CONFIG_LOOPW is not set
# CONFIG_CMD_MD5SUM is not set
# CONFIG_CMD_MEMINFO is not set
CONFIG_CMD_MEMORY=y
# CONFIG_CMD_MEM_SEARCH is not set
# CONFIG_CMD_MX_CYCLIC is not set
CONFIG_CMD_RANDOM=y
# CONFIG_CMD_MEMTEST is not set
# CONFIG_CMD_SHA1SUM is not set
# CONFIG_CMD_STRINGS is not set

#
# Compression commands
#
CONFIG_CMD_LZMADEC=y
CONFIG_CMD_UNLZ4=y
CONFIG_CMD_UNZIP=y
# CONFIG_CMD_ZIP is not set

#
# Device access commands
#
# CONFIG_CMD_ARMFLASH is not set
# CONFIG_CMD_ADC is not set
# CONFIG_CMD_BCB is not set
# CONFIG_CMD_BIND is not set
# CONFIG_CMD_CLK is not set
# CONFIG_CMD_DEMO is not set
# CONFIG_CMD_DFU is not set
CONFIG_CMD_DM=y
# CONFIG_CMD_FPGAD is not set
CONFIG_CMD_FUSE=y
CONFIG_CMD_GPIO=y
# CONFIG_CMD_GPT is not set
# CONFIG_RANDOM_UUID is not set
# CONFIG_CMD_IDE is not set
# CONFIG_CMD_IO is not set
# CONFIG_CMD_IOTRACE is not set
CONFIG_CMD_I2C=y
CONFIG_CMD_LOADB=y
CONFIG_CMD_LOADS=y
# CONFIG_CMD_LSBLK is not set
# CONFIG_CMD_MBR is not set
CONFIG_CMD_MMC=y
# CONFIG_CMD_BKOPS_ENABLE is not set
# CONFIG_CMD_MMC_SWRITE is not set
# CONFIG_CMD_CLONE is not set
# CONFIG_CMD_OSD is not set
CONFIG_CMD_PART=y
# CONFIG_CMD_PCI is not set
CONFIG_CMD_PINMUX=y
# CONFIG_CMD_POWEROFF is not set
# CONFIG_CMD_READ is not set
# CONFIG_CMD_SATA is not set
# CONFIG_CMD_SAVES is not set
# CONFIG_CMD_SCSI is not set
# CONFIG_CMD_SDRAM is not set
# CONFIG_CMD_TSI148 is not set
# CONFIG_CMD_UNIVERSE is not set
CONFIG_CMD_USB=y
# CONFIG_CMD_USB_SDP is not set
# CONFIG_CMD_USB_MASS_STORAGE is not set

#
# Shell scripting commands
#
CONFIG_CMD_ECHO=y
CONFIG_CMD_ITEST=y
CONFIG_CMD_SOURCE=y
CONFIG_CMD_SETEXPR=y
# CONFIG_CMD_SETEXPR_FMT is not set

#
# Android support commands
#
CONFIG_CMD_NET=y
CONFIG_CMD_BOOTP=y
CONFIG_CMD_DHCP=y
CONFIG_BOOTP_BOOTPATH=y
CONFIG_BOOTP_DNS=y
# CONFIG_BOOTP_DNS2 is not set
CONFIG_BOOTP_GATEWAY=y
CONFIG_BOOTP_HOSTNAME=y
# CONFIG_BOOTP_PREFER_SERVERIP is not set
CONFIG_BOOTP_SUBNETMASK=y
# CONFIG_BOOTP_NTPSERVER is not set
# CONFIG_CMD_PCAP is not set
CONFIG_BOOTP_PXE=y
CONFIG_BOOTP_PXE_CLIENTARCH=0x16
CONFIG_BOOTP_VCI_STRING="U-Boot.armv8"
CONFIG_CMD_TFTPBOOT=y
# CONFIG_CMD_TFTPPUT is not set
# CONFIG_CMD_TFTPSRV is not set
CONFIG_NET_TFTP_VARS=y
# CONFIG_CMD_RARP is not set
CONFIG_CMD_NFS=y
CONFIG_CMD_MII=y
# CONFIG_CMD_MDIO is not set
CONFIG_CMD_PING=y
# CONFIG_CMD_CDP is not set
# CONFIG_CMD_SNTP is not set
# CONFIG_CMD_DNS is not set
# CONFIG_CMD_LINK_LOCAL is not set
# CONFIG_CMD_ETHSW is not set
CONFIG_CMD_PXE=y
# CONFIG_CMD_WOL is not set

#
# Misc commands
#
# CONFIG_CMD_BSP is not set
CONFIG_CMD_BLOCK_CACHE=y
CONFIG_CMD_CACHE=y
# CONFIG_CMD_CONITRACE is not set
# CONFIG_CMD_EFIDEBUG is not set
# CONFIG_CMD_EXCEPTION is not set
# CONFIG_CMD_DATE is not set
# CONFIG_CMD_TIME is not set
# CONFIG_CMD_GETTIME is not set
CONFIG_CMD_SLEEP=y
# CONFIG_CMD_TIMER is not set
CONFIG_CMD_SYSBOOT=y
# CONFIG_CMD_QFW is not set
# CONFIG_CMD_PSTORE is not set
# CONFIG_CMD_TERMINAL is not set
# CONFIG_CMD_UUID is not set

#
# TI specific command line interface
#
# CONFIG_CMD_DDR3 is not set

#
# Power commands
#
CONFIG_CMD_REGULATOR=y

#
# Security commands
#
# CONFIG_CMD_AES is not set
# CONFIG_CMD_BLOB is not set
# CONFIG_CMD_HASH is not set
# CONFIG_CMD_HVC is not set
# CONFIG_CMD_SMC is not set

#
# Firmware commands
#

#
# Filesystem commands
#
# CONFIG_CMD_BTRFS is not set
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
# CONFIG_CMD_SQUASHFS is not set
CONFIG_CMD_FS_GENERIC=y
# CONFIG_CMD_FS_UUID is not set
# CONFIG_CMD_JFFS2 is not set
# CONFIG_CMD_REISER is not set
# CONFIG_CMD_ZFS is not set

#
# Debug commands
#
# CONFIG_CMD_DIAG is not set
# CONFIG_CMD_LOG is not set
# CONFIG_CMD_UBI is not set
# CONFIG_MMC_SPEED_MODE_SET is not set

#
# Partition Types
#
CONFIG_PARTITIONS=y
# CONFIG_MAC_PARTITION is not set
# CONFIG_SPL_MAC_PARTITION is not set
CONFIG_DOS_PARTITION=y
CONFIG_SPL_DOS_PARTITION=y
CONFIG_ISO_PARTITION=y
# CONFIG_SPL_ISO_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_SPL_AMIGA_PARTITION is not set
CONFIG_EFI_PARTITION=y
CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=128
CONFIG_EFI_PARTITION_ENTRIES_OFF=0
CONFIG_SPL_EFI_PARTITION=y
CONFIG_PARTITION_UUIDS=y
CONFIG_SPL_PARTITION_UUIDS=y
# CONFIG_PARTITION_TYPE_GUID is not set
CONFIG_SUPPORT_OF_CONTROL=y
CONFIG_PYLIBFDT=y
CONFIG_DTOC=y
CONFIG_BINMAN=y

#
# Device Tree Control
#
CONFIG_OF_CONTROL=y
CONFIG_OF_REAL=y
# CONFIG_SPL_OF_CONTROL is not set
# CONFIG_OF_LIVE is not set
CONFIG_OF_SEPARATE=y
# CONFIG_OF_EMBED is not set
# CONFIG_OF_BOARD is not set
# CONFIG_OF_OMIT_DTB is not set
CONFIG_DEVICE_TREE_INCLUDES=""
CONFIG_OF_LIST="imx8mq-evk"
# CONFIG_MULTI_DTB_FIT is not set
# CONFIG_OF_DTB_PROPS_REMOVE is not set

#
# Environment
#
CONFIG_ENV_SUPPORT=y
CONFIG_ENV_SOURCE_FILE=""
CONFIG_SAVEENV=y
CONFIG_ENV_OVERWRITE=y
# CONFIG_ENV_IS_NOWHERE is not set
# CONFIG_ENV_IS_IN_EEPROM is not set
# CONFIG_ENV_IS_IN_FAT is not set
# CONFIG_ENV_IS_IN_EXT4 is not set
# CONFIG_ENV_IS_IN_FLASH is not set
CONFIG_ENV_IS_IN_MMC=y
# CONFIG_ENV_IS_IN_NAND is not set
# CONFIG_ENV_IS_IN_NVRAM is not set
# CONFIG_ENV_IS_IN_ONENAND is not set
# CONFIG_ENV_IS_IN_REMOTE is not set
# CONFIG_SYS_REDUNDAND_ENVIRONMENT is not set
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_SYS_MMC_ENV_PART=0
# CONFIG_USE_DEFAULT_ENV_FILE is not set
# CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG is not set
# CONFIG_ENV_IMPORT_FDT is not set
# CONFIG_ENV_APPEND is not set
# CONFIG_ENV_WRITEABLE_LIST is not set
# CONFIG_ENV_ACCESS_IGNORE_FORCE is not set
# CONFIG_VERSION_VARIABLE is not set
CONFIG_NET=y
# CONFIG_PROT_UDP is not set
# CONFIG_BOOTP_SEND_HOSTNAME is not set
# CONFIG_NET_RANDOM_ETHADDR is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_IP_DEFRAG is not set
CONFIG_TFTP_BLOCKSIZE=1468
CONFIG_TFTP_WINDOWSIZE=1
# CONFIG_TFTP_TSIZE is not set
# CONFIG_SERVERIP_FROM_PROXYDHCP is not set
CONFIG_SERVERIP_FROM_PROXYDHCP_DELAY_MS=100
# CONFIG_KEEP_SERVERADDR is not set
# CONFIG_UDP_CHECKSUM is not set
# CONFIG_BOOTP_SERVERIP is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_DM=y
# CONFIG_SPL_DM is not set
CONFIG_DM_WARN=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_DEVICE_REMOVE=y
CONFIG_DM_STDIO=y
CONFIG_DM_SEQ_ALIAS=y
# CONFIG_DM_DMA is not set
# CONFIG_REGMAP is not set
CONFIG_DEVRES=y
# CONFIG_DEBUG_DEVRES is not set
CONFIG_SIMPLE_BUS=y
# CONFIG_SIMPLE_BUS_CORRECT_RANGE is not set
CONFIG_OF_TRANSLATE=y
# CONFIG_TRANSLATION_OFFSET is not set
CONFIG_DM_DEV_READ_INLINE=y
# CONFIG_ACPIGEN is not set
# CONFIG_BOUNCE_BUFFER is not set
# CONFIG_ADC is not set
# CONFIG_ADC_EXYNOS is not set
# CONFIG_ADC_SANDBOX is not set
# CONFIG_SARADC_MESON is not set
# CONFIG_SARADC_ROCKCHIP is not set
# CONFIG_SATA is not set
# CONFIG_SCSI_AHCI is not set

#
# SATA/SCSI device support
#
# CONFIG_AXI is not set

#
# Bus devices
#
CONFIG_BLK=y
CONFIG_HAVE_BLOCK_DEVICE=y
CONFIG_BLOCK_CACHE=y
# CONFIG_EFI_MEDIA is not set
# CONFIG_IDE is not set
# CONFIG_BOOTCOUNT_LIMIT is not set

#
# Button Support
#
# CONFIG_BUTTON is not set

#
# Cache Controller drivers
#
# CONFIG_CACHE is not set
# CONFIG_L2X0_CACHE is not set
# CONFIG_NCORE_CACHE is not set
# CONFIG_SIFIVE_CCACHE is not set

#
# Clock
#
# CONFIG_CLK is not set
# CONFIG_SPL_CLK_CCF is not set
# CONFIG_CLK_CCF is not set
# CONFIG_SPL_CLK_IMX8MM is not set
# CONFIG_CLK_IMX8MM is not set
# CONFIG_SPL_CLK_IMX8MN is not set
# CONFIG_CLK_IMX8MN is not set
# CONFIG_SPL_CLK_IMX8MP is not set
# CONFIG_CLK_IMX8MP is not set
# CONFIG_CPU is not set

#
# Hardware crypto devices
#
# CONFIG_DM_HASH is not set
# CONFIG_FSL_CAAM is not set
CONFIG_SYS_FSL_SEC_COMPAT_4=y
# CONFIG_SYS_FSL_SEC_BE is not set
CONFIG_SYS_FSL_SEC_LE=y
# CONFIG_DDR_SPD is not set

#
# i.MX8M DDR controllers
#
CONFIG_IMX8M_DRAM=y
CONFIG_IMX8M_LPDDR4=y
# CONFIG_IMX8M_DDR4 is not set
# CONFIG_IMX8M_DDR3L is not set
CONFIG_SAVED_DRAM_TIMING_BASE=0x40000000
# CONFIG_IMX8M_LPDDR4_FREQ0_2400MTS is not set

#
# Demo for driver model
#
# CONFIG_DM_DEMO is not set

#
# DFU support
#

#
# DMA Support
#
# CONFIG_DMA is not set
# CONFIG_DMA_LPC32XX is not set
# CONFIG_TI_EDMA3 is not set
# CONFIG_APBH_DMA is not set
# CONFIG_DMA_LEGACY is not set

#
# Fastboot support
#
# CONFIG_USB_FUNCTION_FASTBOOT is not set
# CONFIG_UDP_FUNCTION_FASTBOOT is not set
CONFIG_FIRMWARE=y
# CONFIG_SPL_FIRMWARE is not set
CONFIG_ARM_PSCI_FW=y
# CONFIG_ZYNQMP_FIRMWARE is not set
# CONFIG_SCMI_FIRMWARE is not set

#
# FPGA support
#
# CONFIG_FPGA_ALTERA is not set
# CONFIG_FPGA_SOCFPGA is not set
# CONFIG_FPGA_XILINX is not set
CONFIG_GPIO=y
# CONFIG_GPIO_HOG is not set
# CONFIG_DM_GPIO_LOOKUP_LABEL is not set
# CONFIG_ALTERA_PIO is not set
# CONFIG_DWAPB_GPIO is not set
# CONFIG_AT91_GPIO is not set
# CONFIG_ATMEL_PIO4 is not set
# CONFIG_DA8XX_GPIO is not set
# CONFIG_FXL6408_GPIO is not set
# CONFIG_INTEL_BROADWELL_GPIO is not set
# CONFIG_INTEL_GPIO is not set
# CONFIG_INTEL_ICH6_GPIO is not set
# CONFIG_IMX_RGPIO2P is not set
# CONFIG_IPROC_GPIO is not set
# CONFIG_HSDK_CREG_GPIO is not set
# CONFIG_KIRKWOOD_GPIO is not set
# CONFIG_LPC32XX_GPIO is not set
# CONFIG_MAX7320_GPIO is not set
# CONFIG_MCP230XX_GPIO is not set
# CONFIG_MSM_GPIO is not set
CONFIG_MXC_GPIO=y
# CONFIG_MXS_GPIO is not set
# CONFIG_CMD_PCA953X is not set
# CONFIG_PCF8575_GPIO is not set
# CONFIG_ROCKCHIP_GPIO is not set
# CONFIG_XILINX_GPIO is not set
# CONFIG_CMD_TCA642X is not set
# CONFIG_TEGRA_GPIO is not set
# CONFIG_TEGRA186_GPIO is not set
# CONFIG_VYBRID_GPIO is not set
# CONFIG_SIFIVE_GPIO is not set
# CONFIG_ZYNQ_GPIO is not set
# CONFIG_DM_74X164 is not set
# CONFIG_DM_PCA953X is not set
# CONFIG_SPL_DM_PCA953X is not set
# CONFIG_MPC8XXX_GPIO is not set
# CONFIG_NX_GPIO is not set
# CONFIG_NOMADIK_GPIO is not set
# CONFIG_ZYNQMP_GPIO_MODEPIN is not set

#
# Hardware Spinlock Support
#
# CONFIG_DM_HWSPINLOCK is not set
CONFIG_I2C=y
CONFIG_DM_I2C=y
CONFIG_SPL_SYS_I2C_LEGACY=y
# CONFIG_SYS_I2C_EARLY_INIT is not set
# CONFIG_I2C_SET_DEFAULT_BUS_NUM is not set
# CONFIG_DM_I2C_GPIO is not set
# CONFIG_SYS_I2C_IPROC is not set
# CONFIG_SYS_I2C_FSL is not set
# CONFIG_SYS_I2C_CADENCE is not set
# CONFIG_SYS_I2C_DW is not set
# CONFIG_SYS_I2C_INTEL is not set
# CONFIG_SYS_I2C_IMX_LPI2C is not set
# CONFIG_SYS_I2C_MICROCHIP is not set
CONFIG_SYS_I2C_MXC=y
# CONFIG_SYS_I2C_MXC_I2C5 is not set
# CONFIG_SYS_I2C_MXC_I2C6 is not set
# CONFIG_SYS_I2C_MXC_I2C7 is not set
# CONFIG_SYS_I2C_MXC_I2C8 is not set
CONFIG_SYS_MXC_I2C1_SPEED=100000
CONFIG_SYS_MXC_I2C1_SLAVE=0
CONFIG_SYS_MXC_I2C2_SPEED=100000
CONFIG_SYS_MXC_I2C2_SLAVE=0
CONFIG_SYS_MXC_I2C3_SPEED=100000
CONFIG_SYS_MXC_I2C3_SLAVE=0
# CONFIG_SYS_I2C_NEXELL is not set
# CONFIG_SYS_I2C_OCORES is not set
# CONFIG_SYS_I2C_ROCKCHIP is not set
# CONFIG_SYS_I2C_SOFT is not set
# CONFIG_SYS_I2C_MV is not set
# CONFIG_SYS_I2C_MVTWSI is not set
CONFIG_SYS_I2C_SLAVE=0xfe
CONFIG_SYS_I2C_SPEED=100000
# CONFIG_SYS_I2C_XILINX_XIIC is not set
# CONFIG_SYS_I2C_IHS is not set
# CONFIG_I2C_MUX is not set
CONFIG_INPUT=y
# CONFIG_DM_KEYBOARD is not set
# CONFIG_KEYBOARD is not set
# CONFIG_CROS_EC_KEYB is not set
# CONFIG_TEGRA_KEYBOARD is not set
# CONFIG_TWL4030_INPUT is not set

#
# IOMMU device drivers
#
# CONFIG_IOMMU is not set

#
# LED Support
#
# CONFIG_LED is not set
# CONFIG_LED_STATUS is not set

#
# Mailbox Controller Support
#
# CONFIG_DM_MAILBOX is not set

#
# Memory Controller drivers
#

#
# Multifunction device drivers
#
# CONFIG_MISC is not set
# CONFIG_CROS_EC is not set
# CONFIG_SPL_CROS_EC is not set
# CONFIG_DS4510 is not set
# CONFIG_FSL_SEC_MON is not set
# CONFIG_IRQ is not set
CONFIG_MXC_OCOTP=y
CONFIG_SPL_MXC_OCOTP=y
# CONFIG_NUVOTON_NCT6102D is not set
# CONFIG_PWRSEQ is not set
# CONFIG_PCA9551_LED is not set
# CONFIG_TEST_DRV is not set
# CONFIG_TWL4030_LED is not set
# CONFIG_WINBOND_W83627 is not set
# CONFIG_FS_LOADER is not set
# CONFIG_SPL_FS_LOADER is not set
# CONFIG_SL28CPLD is not set

#
# MMC Host controller Support
#
CONFIG_MMC=y
CONFIG_MMC_WRITE=y
# CONFIG_MMC_BROKEN_CD is not set
CONFIG_DM_MMC=y
# CONFIG_ARM_PL180_MMCI is not set
CONFIG_MMC_QUIRKS=y
CONFIG_MMC_HW_PARTITIONING=y
# CONFIG_SUPPORT_EMMC_RPMB is not set
CONFIG_SUPPORT_EMMC_BOOT=y
# CONFIG_MMC_IO_VOLTAGE is not set
# CONFIG_SPL_MMC_IO_VOLTAGE is not set
# CONFIG_MMC_HS400_ES_SUPPORT is not set
# CONFIG_SPL_MMC_HS400_ES_SUPPORT is not set
# CONFIG_MMC_HS400_SUPPORT is not set
# CONFIG_SPL_MMC_HS400_SUPPORT is not set
# CONFIG_MMC_HS200_SUPPORT is not set
# CONFIG_SPL_MMC_HS200_SUPPORT is not set
CONFIG_MMC_VERBOSE=y
# CONFIG_MMC_TRACE is not set
# CONFIG_MMC_DW is not set
# CONFIG_MMC_MXC is not set
# CONFIG_PXA_MMC_GENERIC is not set
# CONFIG_MMC_OMAP_HS is not set
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_PITON is not set
# CONFIG_STM32_SDMMC2 is not set
# CONFIG_FTSDC010 is not set
# CONFIG_FSL_ESDHC is not set
CONFIG_FSL_ESDHC_IMX=y
CONFIG_FSL_USDHC=y

#
# MTD Support
#
# CONFIG_MTD is not set
# CONFIG_DM_MTD is not set
# CONFIG_MTD_NOR_FLASH is not set
# CONFIG_FLASH_CFI_DRIVER is not set
# CONFIG_USE_SYS_MAX_FLASH_BANKS is not set
# CONFIG_MTD_RAW_NAND is not set

#
# SPI Flash Support
#
# CONFIG_SPI_FLASH is not set

#
# UBI support
#
# CONFIG_UBI_SILENCE_MSG is not set
# CONFIG_MTD_UBI is not set

#
# Multiplexer drivers
#
# CONFIG_MULTIPLEXER is not set
# CONFIG_BITBANGMII is not set
# CONFIG_MV88E6352_SWITCH is not set
CONFIG_PHYLIB=y
# CONFIG_PHY_ADDR_ENABLE is not set
# CONFIG_B53_SWITCH is not set
# CONFIG_MV88E61XX_SWITCH is not set
# CONFIG_PHYLIB_10G is not set
# CONFIG_PHY_AQUANTIA is not set
CONFIG_PHY_ATHEROS=y
# CONFIG_PHY_BROADCOM is not set
# CONFIG_PHY_CORTINA is not set
# CONFIG_PHY_DAVICOM is not set
# CONFIG_PHY_ET1011C is not set
# CONFIG_PHY_LXT is not set
# CONFIG_PHY_MARVELL is not set
# CONFIG_PHY_MESON_GXL is not set
# CONFIG_PHY_MICREL is not set
# CONFIG_PHY_MSCC is not set
# CONFIG_PHY_NATSEMI is not set
# CONFIG_PHY_NXP_C45_TJA11XX is not set
# CONFIG_PHY_REALTEK is not set
# CONFIG_PHY_SMSC is not set
# CONFIG_PHY_TERANETICS is not set
# CONFIG_PHY_TI is not set
# CONFIG_PHY_TI_DP83867 is not set
# CONFIG_PHY_TI_DP83869 is not set
# CONFIG_PHY_TI_GENERIC is not set
# CONFIG_PHY_VITESSE is not set
# CONFIG_PHY_XILINX is not set
# CONFIG_PHY_XILINX_GMII2RGMII is not set
# CONFIG_PHY_FIXED is not set
# CONFIG_PHY_NCSI is not set
# CONFIG_FSL_PFE is not set
# CONFIG_BNXT_ETH is not set
CONFIG_ETH=y
CONFIG_DM_ETH=y
# CONFIG_DM_MDIO is not set
# CONFIG_DM_ETH_PHY is not set
CONFIG_NETDEVICES=y
CONFIG_PHY_GIGE=y
# CONFIG_ALTERA_TSE is not set
# CONFIG_BCM_SF2_ETH is not set
# CONFIG_BCMGENET is not set
# CONFIG_CALXEDA_XGMAC is not set
# CONFIG_DWC_ETH_QOS is not set
# CONFIG_E1000 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_ETH_DESIGNWARE is not set
# CONFIG_ETH_DESIGNWARE_MESON8B is not set
# CONFIG_ETHOC is not set
# CONFIG_FEC_MXC_SHARE_MDIO is not set
CONFIG_FEC_MXC=y
# CONFIG_FMAN_ENET is not set
# CONFIG_FTMAC100 is not set
# CONFIG_FTGMAC100 is not set
# CONFIG_MCFFEC is not set
# CONFIG_FSLDMAFEC is not set
# CONFIG_KS8851_MLL is not set
# CONFIG_MACB is not set
# CONFIG_PCH_GBE is not set
# CONFIG_RGMII is not set
CONFIG_MII=y
# CONFIG_PCNET is not set
# CONFIG_QE_UEC is not set
# CONFIG_RTL8139 is not set
# CONFIG_RTL8169 is not set
# CONFIG_SMC911X is not set
# CONFIG_SUN7I_GMAC is not set
# CONFIG_SUN4I_EMAC is not set
# CONFIG_SUN8I_EMAC is not set
# CONFIG_SH_ETHER is not set
# CONFIG_DRIVER_TI_CPSW is not set
# CONFIG_DRIVER_TI_EMAC is not set
# CONFIG_DRIVER_TI_KEYSTONE_NET is not set
# CONFIG_TULIP is not set
# CONFIG_XILINX_AXIEMAC is not set
# CONFIG_XILINX_EMACLITE is not set
# CONFIG_ZYNQ_GEM is not set
# CONFIG_SYS_DPAA_QBMAN is not set
# CONFIG_TSEC_ENET is not set
# CONFIG_MEDIATEK_ETH is not set
# CONFIG_HIGMACV300_ETH is not set
# CONFIG_NVME is not set
# CONFIG_NVME_APPLE is not set
# CONFIG_PCI is not set

#
# PCI Endpoint
#
# CONFIG_PCI_ENDPOINT is not set
# CONFIG_X86_PCH7 is not set
# CONFIG_X86_PCH9 is not set

#
# PHY Subsystem
#
CONFIG_PHY=y
# CONFIG_SPL_PHY is not set
# CONFIG_NOP_PHY is not set
# CONFIG_MIPI_DPHY_HELPERS is not set
# CONFIG_BCM_SR_PCIE_PHY is not set
# CONFIG_MSM8916_USB_PHY is not set
CONFIG_PHY_IMX8MQ_USB=y

#
# Rockchip PHY driver
#
# CONFIG_PHY_CADENCE_SIERRA is not set
# CONFIG_PHY_CADENCE_TORRENT is not set
# CONFIG_MVEBU_COMPHY_SUPPORT is not set

#
# Pin controllers
#
CONFIG_PINCTRL=y
CONFIG_PINCTRL_FULL=y
CONFIG_PINCTRL_GENERIC=y
CONFIG_PINMUX=y
# CONFIG_PINCONF is not set
CONFIG_PINCONF_RECURSIVE=y
# CONFIG_PINCTRL_AT91 is not set
# CONFIG_PINCTRL_AT91PIO4 is not set
# CONFIG_PINCTRL_INTEL is not set
# CONFIG_PINCTRL_QE is not set
# CONFIG_PINCTRL_ROCKCHIP_RV1108 is not set
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_PINCTRL_STM32 is not set
# CONFIG_PINCTRL_STMFX is not set
# CONFIG_PINCTRL_K210 is not set
CONFIG_PINCTRL_IMX=y
CONFIG_PINCTRL_IMX8M=y
CONFIG_POWER=y
# CONFIG_POWER_LEGACY is not set
CONFIG_SPL_POWER_LEGACY=y
# CONFIG_ACPI_PMC is not set
# CONFIG_SPL_ACPI_PMC is not set
# CONFIG_TPL_ACPI_PMC is not set

#
# Power Domain Support
#
CONFIG_POWER_DOMAIN=y
# CONFIG_APPLE_PMGR_POWER_DOMAIN is not set
CONFIG_IMX8M_POWER_DOMAIN=y
# CONFIG_DM_PMIC is not set
# CONFIG_POWER_MC34VR500 is not set
CONFIG_DM_REGULATOR=y
# CONFIG_SPL_DM_REGULATOR is not set
# CONFIG_REGULATOR_PWM is not set
CONFIG_DM_REGULATOR_COMMON=y
CONFIG_DM_REGULATOR_FIXED=y
# CONFIG_SPL_DM_REGULATOR_FIXED is not set
CONFIG_DM_REGULATOR_GPIO=y
# CONFIG_SPL_DM_REGULATOR_GPIO is not set
# CONFIG_DM_REGULATOR_PBIAS is not set
# CONFIG_DM_REGULATOR_TPS62360 is not set
# CONFIG_DM_REGULATOR_ANATOP is not set
# CONFIG_DM_REGULATOR_SCMI is not set
# CONFIG_POWER_MT6323 is not set
CONFIG_SPL_POWER_I2C=y
# CONFIG_DM_PWM is not set
# CONFIG_PWM_IMX is not set
# CONFIG_PWM_SANDBOX is not set
# CONFIG_U_QE is not set
# CONFIG_RAM is not set

#
# Reboot Mode Support
#
# CONFIG_DM_REBOOT_MODE is not set

#
# Remote Processor drivers
#

#
# Reset Controller Support
#
CONFIG_DM_RESET=y
# CONFIG_RESET_AST2500 is not set
# CONFIG_RESET_AST2600 is not set
# CONFIG_RESET_HISILICON is not set
CONFIG_RESET_IMX7=y
# CONFIG_RESET_SYSCON is not set
# CONFIG_RESET_SCMI is not set
# CONFIG_RESET_DRA7 is not set
# CONFIG_DM_RNG is not set

#
# Real Time Clock
#
# CONFIG_DM_RTC is not set
# CONFIG_RTC_ENABLE_32KHZ_OUTPUT is not set
# CONFIG_RTC_PCF8563 is not set
# CONFIG_RTC_PL031 is not set
# CONFIG_RTC_S35392A is not set
# CONFIG_RTC_MC146818 is not set
# CONFIG_RTC_M41T62 is not set
# CONFIG_SCSI is not set
# CONFIG_DM_SCSI is not set
CONFIG_SERIAL=y
CONFIG_BAUDRATE=115200
CONFIG_SPECIFY_CONSOLE_INDEX=y
CONFIG_CONS_INDEX=1
# CONFIG_DM_SERIAL is not set
# CONFIG_ARM_DCC is not set
# CONFIG_ATMEL_USART is not set
# CONFIG_FSL_LPUART is not set
# CONFIG_MVEBU_A3700_UART is not set
# CONFIG_MCFUART is not set
CONFIG_MXC_UART=y
# CONFIG_NULLDEV_SERIAL is not set
# CONFIG_SYS_NS16550 is not set
# CONFIG_NS16550_DYNAMIC is not set
# CONFIG_PL011_SERIAL is not set
# CONFIG_MSM_GENI_SERIAL is not set
# CONFIG_PXA_SERIAL is not set
# CONFIG_SMEM is not set

#
# Sound support
#
# CONFIG_SOUND is not set

#
# SOC (System On Chip) specific Drivers
#
# CONFIG_SOC_DEVICE is not set
# CONFIG_SOC_TI is not set
# CONFIG_SPI is not set

#
# SPMI support
#
# CONFIG_SPMI is not set
# CONFIG_SYSINFO is not set

#
# System reset device drivers
#
# CONFIG_SYSRESET is not set
# CONFIG_TEE is not set
CONFIG_DM_THERMAL=y
# CONFIG_IMX_TMU is not set
# CONFIG_TI_DRA7_THERMAL is not set

#
# Timer Support
#
# CONFIG_TIMER is not set

#
# TPM support
#
CONFIG_USB=y
CONFIG_DM_USB=y
# CONFIG_DM_USB_GADGET is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_HOST=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DWC3=y
# CONFIG_USB_XHCI_DWC3_OF_SIMPLE is not set
# CONFIG_USB_XHCI_PCI is not set
# CONFIG_USB_XHCI_FSL is not set
# CONFIG_USB_XHCI_BRCM is not set
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_CDNS3 is not set
CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_GADGET is not set

#
# Platform Glue Driver Support
#
# CONFIG_USB_DWC3_OMAP is not set
# CONFIG_USB_DWC3_LAYERSCAPE is not set

#
# PHY Subsystem
#
# CONFIG_USB_DWC3_PHY_OMAP is not set
# CONFIG_USB_DWC3_PHY_SAMSUNG is not set

#
# Legacy MUSB Support
#
# CONFIG_USB_MUSB_HCD is not set
# CONFIG_USB_MUSB_UDC is not set

#
# MUSB Controller Driver
#
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_GADGET is not set
# CONFIG_USB_MUSB_PIO_ONLY is not set

#
# USB Phy
#
# CONFIG_TWL4030_USB is not set
# CONFIG_ROCKCHIP_USB2_PHY is not set

#
# ULPI drivers
#

#
# USB peripherals
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_KEYBOARD is not set
# CONFIG_USB_HOST_ETHER is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="U-Boot"
CONFIG_USB_GADGET_VENDOR_NUM=0x0
CONFIG_USB_GADGET_PRODUCT_NUM=0x0
# CONFIG_USB_GADGET_ATMEL_USBA is not set
# CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
CONFIG_USB_GADGET_DWC2_OTG=y
# CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 is not set
# CONFIG_USB_GADGET_OS_DESCRIPTORS is not set
# CONFIG_CI_UDC is not set
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_SDP_LOADADDR=0
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_GADGET_DOWNLOAD=y
# CONFIG_USB_FUNCTION_MASS_STORAGE is not set
# CONFIG_USB_FUNCTION_ROCKUSB is not set
CONFIG_USB_FUNCTION_SDP=y
# CONFIG_USB_FUNCTION_THOR is not set
# CONFIG_USB_FUNCTION_ACM is not set
# CONFIG_USB_ETHER is not set

#
# UFS Host Controller Support
#
# CONFIG_TI_J721E_UFS is not set

#
# Graphics support
#
# CONFIG_DM_VIDEO is not set
# CONFIG_SYS_WHITE_ON_BLACK is not set
# CONFIG_NO_FB_CLEAR is not set

#
# TrueType Fonts
#
# CONFIG_VIDEO_VESA is not set
# CONFIG_VIDEO_LCD_ANX9804 is not set
# CONFIG_VIDEO_LCD_SSD2828 is not set
# CONFIG_VIDEO_LCD_HITACHI_TX18D42VM is not set
# CONFIG_VIDEO_MVEBU is not set
# CONFIG_I2C_EDID is not set
# CONFIG_DISPLAY is not set
# CONFIG_ATMEL_HLCD is not set
# CONFIG_AM335X_LCD is not set
# CONFIG_VIDEO_TEGRA20 is not set
# CONFIG_VIDEO_BRIDGE is not set
# CONFIG_VIDEO is not set
# CONFIG_LCD is not set
# CONFIG_VIDEO_SIMPLE is not set
# CONFIG_VIDEO_DT_SIMPLEFB is not set
# CONFIG_OSD is not set
# CONFIG_SPLASH_SCREEN is not set
# CONFIG_VIDEO_VCXK is not set

#
# VirtIO Drivers
#
# CONFIG_VIRTIO_MMIO is not set

#
# 1-Wire support
#
# CONFIG_W1 is not set

#
# 1-wire EEPROM support
#
# CONFIG_W1_EEPROM is not set

#
# Watchdog Timer Support
#
# CONFIG_WATCHDOG is not set
CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
# CONFIG_IMX_WATCHDOG is not set
# CONFIG_ULP_WATCHDOG is not set
# CONFIG_DESIGNWARE_WATCHDOG is not set
# CONFIG_WDT is not set
# CONFIG_PVBLOCK is not set
# CONFIG_PHYS_TO_BUS is not set

#
# File systems
#
# CONFIG_FS_BTRFS is not set
# CONFIG_FS_CBFS is not set
# CONFIG_SPL_FS_CBFS is not set
CONFIG_FS_EXT4=y
CONFIG_EXT4_WRITE=y
CONFIG_FS_FAT=y
CONFIG_FAT_WRITE=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=65536
# CONFIG_FS_JFFS2 is not set
# CONFIG_UBIFS_SILENCE_MSG is not set
# CONFIG_FS_CRAMFS is not set
# CONFIG_YAFFS2 is not set
# CONFIG_FS_SQUASHFS is not set

#
# Library routines
#
# CONFIG_ADDR_MAP is not set
# CONFIG_PHYSMEM is not set
# CONFIG_BCH is not set
CONFIG_BINMAN_FDT=y
# CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
CONFIG_CHARSET=y
# CONFIG_DYNAMIC_CRC_TABLE is not set
CONFIG_LIB_UUID=y
CONFIG_PRINTF=y
CONFIG_SPL_PRINTF=y
CONFIG_SPRINTF=y
CONFIG_SPL_SPRINTF=y
CONFIG_STRTO=y
CONFIG_SPL_STRTO=y
CONFIG_SYS_HZ=1000
CONFIG_SPL_USE_TINY_PRINTF=y
# CONFIG_PANIC_HANG is not set
CONFIG_REGEX=y
CONFIG_LIB_RAND=y
# CONFIG_LIB_HW_RAND is not set
CONFIG_SUPPORT_ACPI=y
# CONFIG_GENERATE_ACPI_TABLE is not set
# CONFIG_SPL_TINY_MEMSET is not set
# CONFIG_TPL_TINY_MEMSET is not set
# CONFIG_BITREVERSE is not set
# CONFIG_TRACE is not set
# CONFIG_CIRCBUF is not set
# CONFIG_CMD_DHRYSTONE is not set

#
# Security support
#
# CONFIG_AES is not set
# CONFIG_ECDSA is not set
# CONFIG_RSA is not set
# CONFIG_ASYMMETRIC_KEY_TYPE is not set
# CONFIG_TPM is not set

#
# Android Verified Boot
#

#
# Hashing Support
#
# CONFIG_BLAKE2 is not set
CONFIG_SHA1=y
CONFIG_SHA256=y
# CONFIG_SHA512 is not set
# CONFIG_SHA384 is not set
# CONFIG_SHA_HW_ACCEL is not set
CONFIG_SPL_SHA1=y
CONFIG_SPL_SHA256=y
# CONFIG_SPL_SHA512 is not set
# CONFIG_SPL_SHA384 is not set
# CONFIG_SPL_SHA_HW_ACCEL is not set
CONFIG_MD5=y
CONFIG_CRC32=y

#
# Compression Support
#
CONFIG_LZ4=y
CONFIG_LZMA=y
# CONFIG_LZO is not set
CONFIG_GZIP=y
# CONFIG_ZLIB_UNCOMPRESS is not set
# CONFIG_BZIP2 is not set
CONFIG_ZLIB=y
# CONFIG_ZSTD is not set
# CONFIG_SPL_LZ4 is not set
# CONFIG_SPL_LZMA is not set
# CONFIG_SPL_LZO is not set
# CONFIG_SPL_GZIP is not set
# CONFIG_SPL_ZSTD is not set
# CONFIG_ERRNO_STR is not set
# CONFIG_HEXDUMP is not set
# CONFIG_GETOPT is not set
CONFIG_OF_LIBFDT=y
CONFIG_OF_LIBFDT_ASSUME_MASK=0
# CONFIG_OF_LIBFDT_OVERLAY is not set
CONFIG_SPL_OF_LIBFDT=y
CONFIG_SPL_OF_LIBFDT_ASSUME_MASK=0xff
# CONFIG_TPL_OF_LIBFDT is not set
CONFIG_TPL_OF_LIBFDT_ASSUME_MASK=0xff

#
# System tables
#
CONFIG_GENERATE_SMBIOS_TABLE=y
# CONFIG_LIB_RATIONAL is not set
# CONFIG_SPL_LIB_RATIONAL is not set
# CONFIG_SMBIOS_PARSER is not set
CONFIG_EFI_LOADER=y
CONFIG_CMD_BOOTEFI_BOOTMGR=y
CONFIG_EFI_VARIABLE_FILE_STORE=y
# CONFIG_EFI_VARIABLES_PRESEED is not set
CONFIG_EFI_VAR_BUF_SIZE=16384
# CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set
# CONFIG_EFI_CAPSULE_ON_DISK is not set
CONFIG_EFI_DEVICE_PATH_TO_TEXT=y
CONFIG_EFI_DEVICE_PATH_UTIL=y
CONFIG_EFI_DT_FIXUP=y
CONFIG_EFI_LOADER_HII=y
CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y
CONFIG_EFI_UNICODE_CAPITALIZATION=y
# CONFIG_EFI_LOADER_BOUNCE_BUFFER is not set
CONFIG_EFI_PLATFORM_LANG_CODES="en-US"
CONFIG_EFI_HAVE_RUNTIME_RESET=y
CONFIG_EFI_LOAD_FILE2_INITRD=y
# CONFIG_OPTEE_LIB is not set
# CONFIG_OPTEE_IMAGE is not set
# CONFIG_BOOTM_OPTEE is not set
# CONFIG_TEST_FDTDEC is not set
CONFIG_LIB_ELF=y
CONFIG_LMB=y
CONFIG_LMB_USE_MAX_REGIONS=y
CONFIG_LMB_MAX_REGIONS=8
# CONFIG_PHANDLE_CHECK_SEQ is not set
# CONFIG_UNIT_TEST is not set
# CONFIG_SPL_UNIT_TEST is not set

#
# Tools options
#
CONFIG_MKIMAGE_DTC_PATH="dtc"
CONFIG_TOOLS_CRC32=y
CONFIG_TOOLS_LIBCRYPTO=y
CONFIG_TOOLS_FIT=y
CONFIG_TOOLS_FIT_FULL_CHECK=y
CONFIG_TOOLS_FIT_PRINT=y
CONFIG_TOOLS_FIT_RSASSA_PSS=y
CONFIG_TOOLS_FIT_SIGNATURE=y
CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE=0x10000000
CONFIG_TOOLS_FIT_VERBOSE=y
CONFIG_TOOLS_MD5=y
CONFIG_TOOLS_OF_LIBFDT=y
CONFIG_TOOLS_SHA1=y
CONFIG_TOOLS_SHA256=y
CONFIG_TOOLS_SHA384=y
CONFIG_TOOLS_SHA512=y
# CONFIG_TOOLS_MKEFICAPSULE is not set

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2022-03-27 21:02   ` Jaap Crezee
@ 2022-03-27 21:43     ` Fabio Estevam
  2022-03-28  7:17       ` Jaap Crezee
  2022-03-28 10:26     ` Tommaso Merciai
  1 sibling, 1 reply; 25+ messages in thread
From: Fabio Estevam @ 2022-03-27 21:43 UTC (permalink / raw)
  To: jaap
  Cc: Fabio Estevam, Stefano Babic, Marek Vasut, U-Boot-Denx,
	Schrempf Frieder, Tim Harvey, dl-uboot-imx

Hi Jaap,

On Sun, Mar 27, 2022 at 6:19 PM Jaap Crezee <jaap@jcz.nl> wrote:

> But then SDP boot still fails with:
>
> ( make flash.bin && uuu ./flash.bin )
> U-Boot SPL 2022.04-rc4-00079-gcbc05bba8c (Mar 27 2022 - 22:52:29 +0200)
> PMIC:  PFUZE100 ID=0x10
> Normal Boot
> SPL: Unsupported Boot Device 9
> SPL: failed to boot from all boot devices (err=-6)
> ### ERROR ### Please RESET the board ###
>
> I have attached my complete .config is that helps anyone.

Have you tried applying this patch?
https://lists.denx.de/pipermail/u-boot/2021-July/453633.html

I need to resend the imx8mm_evk SDP support.

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2022-03-27 21:43     ` Fabio Estevam
@ 2022-03-28  7:17       ` Jaap Crezee
  0 siblings, 0 replies; 25+ messages in thread
From: Jaap Crezee @ 2022-03-28  7:17 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Fabio Estevam, Stefano Babic, Marek Vasut, U-Boot-Denx,
	Schrempf Frieder, Tim Harvey, dl-uboot-imx

Hello Fabio,

On 3/27/22 23:43, Fabio Estevam wrote:
> Have you tried applying this patch?
> https://lists.denx.de/pipermail/u-boot/2021-July/453633.html

I have not tried this (yet) as there is no board/freescale/imx8mm_evk/spl.o so I guess this is not used in my tree.
The imx8mq_evk/spl.[co] is not present.

> I need to resend the imx8mm_evk SDP support.

Maybe this needs more attention? I have seen the u-boot-imx boot this way, so there migt be the missing link.
I can investigate further if my efforts could ultimately result into mainline support?

Jaap

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2022-03-27 21:02   ` Jaap Crezee
  2022-03-27 21:43     ` Fabio Estevam
@ 2022-03-28 10:26     ` Tommaso Merciai
  2022-03-28 10:41       ` Jaap Crezee
  1 sibling, 1 reply; 25+ messages in thread
From: Tommaso Merciai @ 2022-03-28 10:26 UTC (permalink / raw)
  To: Jaap Crezee
  Cc: Fabio Estevam, sbabic, marex, u-boot, frieder.schrempf, tharvey,
	uboot-imx

On Sun, Mar 27, 2022 at 11:02:55PM +0200, Jaap Crezee wrote:
> Hi all,
> 
> On 7/3/21 21:58, Fabio Estevam wrote:
> > After selecting USB SDP support for i.MX8MM, there are some build errors
> > and warnings.
> > 
> > Make the necessary adjustments for fixing the build.
> It seems this is also breaking imx8mq_evk on mainline (cbc05bba8cb7da62eae65f41e1b0ddbcadc06bba) as of now.
> What should be done to get it working on imx8mq_evk?
> It seems I can work around it a bit by configuring


Hi Jaap,
Actually I'm able to use SDP on imx8mm_evk over SPL. You need to apply
the following patchset:

https://patchwork.ozlabs.org/project/uboot/list/?series=251796&state=*

plus you need the following configs:

CONFIG_SPL_USB_HOST=y
CONFIG_SDP_LOADADDR=0x40400000

All described here:

https://www.mail-archive.com/u-boot@lists.denx.de/msg433984.html

I share with you also all config that I use on U-Boot 2022-04-rc4:

CONFIG_SPL_USB_HOST=y
CONFIG_SPL_USB_HOST_SUPPORT=y
CONFIG_SPL_USB_GADGET=y
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_CMD_USB=y
CONFIG_CMD_USB_SDP=y
CONFIG_CMD_USB_MASS_STORAGE=y
CONFIG_POWER_DOMAIN=y
CONFIG_IMX8M_POWER_DOMAIN=y
CONFIG_USB=y
CONFIG_DM_USB=y
# CONFIG_SPL_DM_USB is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_MXC_USB_OTG_HACTIVE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
CONFIG_CI_UDC=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_SDP_LOADADDR=0x40400000


Tommaso


> 
> ...
> CONFIG_SPL_USB_SDP_SUPPORT=y
> CONFIG_SPL_SDP_USB_DEV=0
> # CONFIG_CMD_USB_SDP is not set
> # CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
> CONFIG_USB_GADGET_DWC2_OTG=y
> # CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 is not set
> CONFIG_SDP_LOADADDR=0
> CONFIG_USB_FUNCTION_SDP=y
> ...
> 
> But then SDP boot still fails with:
> 
> ( make flash.bin && uuu ./flash.bin )
> U-Boot SPL 2022.04-rc4-00079-gcbc05bba8c (Mar 27 2022 - 22:52:29 +0200)
> PMIC:  PFUZE100 ID=0x10
> Normal Boot
> SPL: Unsupported Boot Device 9
> SPL: failed to boot from all boot devices (err=-6)
> ### ERROR ### Please RESET the board ###
> 
> I have attached my complete .config is that helps anyone.
> 
> 
> regards,
> 
> Jaap Crezee

> #
> # Automatically generated file; DO NOT EDIT.
> # U-Boot 2022.04-rc4 Configuration
> #
> 
> #
> # Compiler: aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621
> #
> CONFIG_CREATE_ARCH_SYMLINK=y
> CONFIG_SYS_CACHE_SHIFT_6=y
> CONFIG_SYS_CACHELINE_SIZE=64
> CONFIG_LINKER_LIST_ALIGN=8
> # CONFIG_ARC is not set
> CONFIG_ARM=y
> # CONFIG_M68K is not set
> # CONFIG_MICROBLAZE is not set
> # CONFIG_MIPS is not set
> # CONFIG_NDS32 is not set
> # CONFIG_NIOS2 is not set
> # CONFIG_PPC is not set
> # CONFIG_RISCV is not set
> # CONFIG_SANDBOX is not set
> # CONFIG_SH is not set
> # CONFIG_X86 is not set
> # CONFIG_XTENSA is not set
> CONFIG_SYS_ARCH="arm"
> CONFIG_SYS_CPU="armv8"
> CONFIG_SYS_SOC="imx8m"
> CONFIG_SYS_VENDOR="freescale"
> CONFIG_SYS_BOARD="imx8mq_evk"
> CONFIG_SYS_CONFIG_NAME="imx8mq_evk"
> # CONFIG_SKIP_LOWLEVEL_INIT is not set
> # CONFIG_SPL_SKIP_LOWLEVEL_INIT is not set
> # CONFIG_TPL_SKIP_LOWLEVEL_INIT is not set
> # CONFIG_SKIP_LOWLEVEL_INIT_ONLY is not set
> # CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY is not set
> # CONFIG_SYS_ICACHE_OFF is not set
> # CONFIG_SPL_SYS_ICACHE_OFF is not set
> # CONFIG_SYS_DCACHE_OFF is not set
> # CONFIG_SPL_SYS_DCACHE_OFF is not set
> 
> #
> # ARM architecture
> #
> CONFIG_ARM64=y
> CONFIG_ARM64_CRC32=y
> # CONFIG_POSITION_INDEPENDENT is not set
> # CONFIG_INIT_SP_RELATIVE is not set
> # CONFIG_GIC_V3_ITS is not set
> CONFIG_STATIC_RELA=y
> CONFIG_DMA_ADDR_T_64BIT=y
> CONFIG_GPIO_EXTRA_HEADER=y
> CONFIG_ARM_ASM_UNIFIED=y
> # CONFIG_SYS_ARM_CACHE_CP15 is not set
> # CONFIG_SYS_ARM_MMU is not set
> # CONFIG_SYS_ARM_MPU is not set
> CONFIG_SYS_ARM_ARCH=8
> CONFIG_SYS_ARM_CACHE_WRITEBACK=y
> # CONFIG_SYS_ARM_CACHE_WRITETHROUGH is not set
> # CONFIG_SYS_ARM_CACHE_WRITEALLOC is not set
> # CONFIG_ARCH_CPU_INIT is not set
> CONFIG_SYS_ARCH_TIMER=y
> CONFIG_ARM_SMCCC=y
> # CONFIG_SEMIHOSTING is not set
> # CONFIG_SYS_L2CACHE_OFF is not set
> # CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set
> # CONFIG_USE_ARCH_MEMCPY is not set
> # CONFIG_SPL_USE_ARCH_MEMCPY is not set
> # CONFIG_USE_ARCH_MEMSET is not set
> # CONFIG_SPL_USE_ARCH_MEMSET is not set
> CONFIG_ARM64_SUPPORT_AARCH32=y
> # CONFIG_ARCH_AT91 is not set
> # CONFIG_ARCH_DAVINCI is not set
> # CONFIG_ARCH_KIRKWOOD is not set
> # CONFIG_ARCH_MVEBU is not set
> # CONFIG_ARCH_ORION5X is not set
> # CONFIG_TARGET_STV0991 is not set
> # CONFIG_ARCH_BCM283X is not set
> # CONFIG_ARCH_BCM63158 is not set
> # CONFIG_ARCH_BCM68360 is not set
> # CONFIG_ARCH_BCM6858 is not set
> # CONFIG_ARCH_BCMSTB is not set
> # CONFIG_TARGET_VEXPRESS_CA9X4 is not set
> # CONFIG_TARGET_BCMCYGNUS is not set
> # CONFIG_TARGET_BCMNS2 is not set
> # CONFIG_TARGET_BCMNS3 is not set
> # CONFIG_ARCH_EXYNOS is not set
> # CONFIG_ARCH_S5PC1XX is not set
> # CONFIG_ARCH_HIGHBANK is not set
> # CONFIG_ARCH_INTEGRATOR is not set
> # CONFIG_ARCH_IPQ40XX is not set
> # CONFIG_ARCH_KEYSTONE is not set
> # CONFIG_ARCH_K3 is not set
> # CONFIG_ARCH_OMAP2PLUS is not set
> # CONFIG_ARCH_MESON is not set
> # CONFIG_ARCH_MEDIATEK is not set
> # CONFIG_ARCH_LPC32XX is not set
> # CONFIG_ARCH_IMX8 is not set
> CONFIG_ARCH_IMX8M=y
> # CONFIG_ARCH_IMX8ULP is not set
> # CONFIG_ARCH_IMXRT is not set
> # CONFIG_ARCH_MX23 is not set
> # CONFIG_ARCH_MX28 is not set
> # CONFIG_ARCH_MX31 is not set
> # CONFIG_ARCH_MX7ULP is not set
> # CONFIG_ARCH_MX7 is not set
> # CONFIG_ARCH_MX6 is not set
> CONFIG_SPL_LDSCRIPT="arch/arm/cpu/armv8/u-boot-spl.lds"
> # CONFIG_ARCH_MX5 is not set
> # CONFIG_ARCH_NEXELL is not set
> # CONFIG_ARCH_APPLE is not set
> # CONFIG_ARCH_OWL is not set
> # CONFIG_ARCH_QEMU is not set
> # CONFIG_ARCH_RMOBILE is not set
> # CONFIG_ARCH_SNAPDRAGON is not set
> # CONFIG_ARCH_SOCFPGA is not set
> # CONFIG_ARCH_SUNXI is not set
> # CONFIG_ARCH_U8500 is not set
> # CONFIG_ARCH_VERSAL is not set
> # CONFIG_ARCH_VF610 is not set
> # CONFIG_ARCH_ZYNQ is not set
> # CONFIG_ARCH_ZYNQMP_R5 is not set
> # CONFIG_ARCH_ZYNQMP is not set
> # CONFIG_ARCH_TEGRA is not set
> # CONFIG_TARGET_VEXPRESS64_AEMV8A is not set
> # CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set
> # CONFIG_TARGET_VEXPRESS64_JUNO is not set
> # CONFIG_TARGET_TOTAL_COMPUTE is not set
> # CONFIG_TARGET_LS2080A_EMU is not set
> # CONFIG_TARGET_LS1088AQDS is not set
> # CONFIG_TARGET_LS2080AQDS is not set
> # CONFIG_TARGET_LS2080ARDB is not set
> # CONFIG_TARGET_LS2081ARDB is not set
> # CONFIG_TARGET_LX2160ARDB is not set
> # CONFIG_TARGET_LX2160AQDS is not set
> # CONFIG_TARGET_LX2162AQDS is not set
> # CONFIG_TARGET_HIKEY is not set
> # CONFIG_TARGET_HIKEY960 is not set
> # CONFIG_TARGET_POPLAR is not set
> # CONFIG_TARGET_LS1012AQDS is not set
> # CONFIG_TARGET_LS1012ARDB is not set
> # CONFIG_TARGET_LS1012A2G5RDB is not set
> # CONFIG_TARGET_LS1012AFRWY is not set
> # CONFIG_TARGET_LS1012AFRDM is not set
> # CONFIG_TARGET_LS1028AQDS is not set
> # CONFIG_TARGET_LS1028ARDB is not set
> # CONFIG_TARGET_LS1088ARDB is not set
> # CONFIG_TARGET_LS1021AQDS is not set
> # CONFIG_TARGET_LS1021ATWR is not set
> # CONFIG_TARGET_PG_WCOM_SELI8 is not set
> # CONFIG_TARGET_PG_WCOM_EXPU1 is not set
> # CONFIG_TARGET_LS1021ATSN is not set
> # CONFIG_TARGET_LS1021AIOT is not set
> # CONFIG_TARGET_LS1043AQDS is not set
> # CONFIG_TARGET_LS1043ARDB is not set
> # CONFIG_TARGET_LS1046AQDS is not set
> # CONFIG_TARGET_LS1046ARDB is not set
> # CONFIG_TARGET_LS1046AFRWY is not set
> # CONFIG_TARGET_SL28 is not set
> # CONFIG_TARGET_TEN64 is not set
> # CONFIG_TARGET_COLIBRI_PXA270 is not set
> # CONFIG_ARCH_UNIPHIER is not set
> # CONFIG_ARCH_SYNQUACER is not set
> # CONFIG_ARCH_STM32 is not set
> # CONFIG_ARCH_STI is not set
> # CONFIG_ARCH_STM32MP is not set
> # CONFIG_ARCH_ROCKCHIP is not set
> # CONFIG_ARCH_OCTEONTX is not set
> # CONFIG_ARCH_OCTEONTX2 is not set
> # CONFIG_TARGET_THUNDERX_88XX is not set
> # CONFIG_ARCH_ASPEED is not set
> # CONFIG_TARGET_DURIAN is not set
> # CONFIG_TARGET_PRESIDIO_ASIC is not set
> # CONFIG_TARGET_XENGUEST_ARM64 is not set
> # CONFIG_STATIC_MACH_TYPE is not set
> CONFIG_SYS_TEXT_BASE=0x40200000
> CONFIG_SYS_MALLOC_LEN=0x600000
> CONFIG_SYS_MALLOC_F_LEN=0x2000
> CONFIG_SPL_GPIO=y
> CONFIG_SPL_LIBCOMMON_SUPPORT=y
> CONFIG_SPL_LIBGENERIC_SUPPORT=y
> CONFIG_NR_DRAM_BANKS=4
> CONFIG_ENV_SIZE=0x1000
> CONFIG_ENV_OFFSET=0x400000
> CONFIG_IMX_CONFIG="arch/arm/mach-imx/imx8m/imximage.cfg"
> CONFIG_SYS_I2C_MXC_I2C1=y
> CONFIG_SYS_I2C_MXC_I2C2=y
> CONFIG_SYS_I2C_MXC_I2C3=y
> # CONFIG_SYS_I2C_MXC_I2C4 is not set
> CONFIG_DM_GPIO=y
> CONFIG_DEFAULT_DEVICE_TREE="imx8mq-evk"
> CONFIG_SPL_TEXT_BASE=0x7E1000
> CONFIG_IMX8M=y
> CONFIG_IMX8MQ=y
> # CONFIG_TARGET_IMX8MQ_CM is not set
> CONFIG_TARGET_IMX8MQ_EVK=y
> # CONFIG_TARGET_IMX8MQ_PHANBELL is not set
> # CONFIG_TARGET_IMX8MM_EVK is not set
> # CONFIG_TARGET_IMX8MM_ICORE_MX8MM is not set
> # CONFIG_TARGET_IMX8MM_VENICE is not set
> # CONFIG_TARGET_KONTRON_MX8MM is not set
> # CONFIG_TARGET_IMX8MN_EVK is not set
> # CONFIG_TARGET_IMX8MN_DDR4_EVK is not set
> # CONFIG_TARGET_IMX8MN_VENICE is not set
> # CONFIG_TARGET_IMX8MP_EVK is not set
> # CONFIG_TARGET_PICO_IMX8MQ is not set
> # CONFIG_TARGET_IMX8MN_VAR_SOM is not set
> # CONFIG_TARGET_KONTRON_PITX_IMX8M is not set
> # CONFIG_TARGET_VERDIN_IMX8MM is not set
> # CONFIG_TARGET_VERDIN_IMX8MP is not set
> # CONFIG_TARGET_IMX8MM_BEACON is not set
> # CONFIG_TARGET_IMX8MN_BEACON is not set
> # CONFIG_TARGET_PHYCORE_IMX8MM is not set
> # CONFIG_TARGET_PHYCORE_IMX8MP is not set
> # CONFIG_TARGET_IMX8MM_CL_IOT_GATE is not set
> # CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE is not set
> # CONFIG_TARGET_IMX8MP_RSB3720A1_4G is not set
> # CONFIG_TARGET_IMX8MP_RSB3720A1_6G is not set
> CONFIG_MULTI_DTB_FIT_UNCOMPRESS_SZ=0x8000
> CONFIG_SPL_MMC=y
> CONFIG_SPL_SERIAL=y
> CONFIG_SPL_DRIVERS_MISC=y
> CONFIG_SPL_SYS_MALLOC_F_LEN=0x2000
> CONFIG_ERR_PTR_OFFSET=0x0
> CONFIG_SPL_SIZE_LIMIT=0x0
> CONFIG_SPL=y
> CONFIG_BOOTSTAGE_STASH_ADDR=0
> CONFIG_IDENT_STRING=""
> CONFIG_SYS_CLK_FREQ=0
> # CONFIG_CHIP_DIP_SCAN is not set
> # CONFIG_SPL_FS_FAT is not set
> # CONFIG_SPL_LIBDISK_SUPPORT is not set
> # CONFIG_SPL_SPI is not set
> # CONFIG_ARMV8_SPL_EXCEPTION_VECTORS is not set
> # CONFIG_ARMV8_MULTIENTRY is not set
> # CONFIG_ARMV8_SET_SMPEN is not set
> 
> #
> # ARMv8 secure monitor firmware
> #
> # CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT is not set
> # CONFIG_SPL_ARMV8_SEC_FIRMWARE_SUPPORT is not set
> # CONFIG_SPL_RECOVER_DATA_SECTION is not set
> CONFIG_PSCI_RESET=y
> # CONFIG_ARMV8_PSCI is not set
> # CONFIG_ARMV8_EA_EL3_FIRST is not set
> CONFIG_MACH_IMX=y
> CONFIG_HAS_CAAM=y
> CONFIG_ROM_UNIFIED_SECTIONS=y
> CONFIG_IMX_BOOTAUX=y
> # CONFIG_IMX_HAB is not set
> # CONFIG_CMD_DEKBLOB is not set
> # CONFIG_IMX_CAAM_DEK_ENCAP is not set
> # CONFIG_IMX_OPTEE_DEK_ENCAP is not set
> # CONFIG_IMX_SECO_DEK_ENCAP is not set
> # CONFIG_CMD_HDMIDETECT is not set
> CONFIG_IMX_DCD_ADDR=0x00910000
> # CONFIG_SPL_LOAD_IMX_CONTAINER is not set
> CONFIG_IMX_CONTAINER_CFG=""
> 
> #
> # ARM debug
> #
> CONFIG_SPL_PAYLOAD="u-boot.bin"
> CONFIG_BUILD_TARGET=""
> # CONFIG_DEBUG_UART is not set
> # CONFIG_AHCI is not set
> # CONFIG_OF_BOARD_FIXUP is not set
> 
> #
> # General setup
> #
> CONFIG_LOCALVERSION=""
> CONFIG_LOCALVERSION_AUTO=y
> CONFIG_CC_IS_GCC=y
> CONFIG_GCC_VERSION=100301
> CONFIG_CLANG_VERSION=0
> CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> # CONFIG_OPTIMIZE_INLINING is not set
> # CONFIG_SPL_OPTIMIZE_INLINING is not set
> CONFIG_ARCH_SUPPORTS_LTO=y
> # CONFIG_LTO is not set
> CONFIG_CC_HAS_ASM_INLINE=y
> # CONFIG_XEN is not set
> CONFIG_DISTRO_DEFAULTS=y
> CONFIG_ENV_VARS_UBOOT_CONFIG=y
> # CONFIG_SYS_BOOT_GET_CMDLINE is not set
> # CONFIG_SYS_BOOT_GET_KBD is not set
> CONFIG_SYS_MALLOC_F=y
> CONFIG_EXPERT=y
> CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
> # CONFIG_SYS_MALLOC_DEFAULT_TO_INIT is not set
> # CONFIG_TOOLS_DEBUG is not set
> CONFIG_PHYS_64BIT=y
> CONFIG_SPL_IMAGE="spl/u-boot-spl.bin"
> CONFIG_REMAKE_ELF=y
> # CONFIG_SYS_CUSTOM_LDSCRIPT is not set
> CONFIG_SYS_LOAD_ADDR=0x40480000
> CONFIG_PLATFORM_ELFENTRY="_start"
> CONFIG_STACK_SIZE=0x1000000
> CONFIG_SYS_SRAM_BASE=0x0
> CONFIG_SYS_SRAM_SIZE=0x0
> # CONFIG_MP is not set
> # CONFIG_EXAMPLES is not set
> 
> #
> # API
> #
> # CONFIG_API is not set
> 
> #
> # Boot options
> #
> 
> #
> # Boot images
> #
> # CONFIG_ANDROID_BOOT_IMAGE is not set
> CONFIG_FIT=y
> # CONFIG_TIMESTAMP is not set
> CONFIG_FIT_EXTERNAL_OFFSET=0x3000
> CONFIG_FIT_FULL_CHECK=y
> # CONFIG_FIT_SIGNATURE is not set
> # CONFIG_FIT_CIPHER is not set
> # CONFIG_FIT_VERBOSE is not set
> # CONFIG_FIT_BEST_MATCH is not set
> CONFIG_FIT_PRINT=y
> CONFIG_SPL_FIT=y
> # CONFIG_SPL_FIT_PRINT is not set
> # CONFIG_SPL_FIT_FULL_CHECK is not set
> CONFIG_SPL_LOAD_FIT=y
> CONFIG_SPL_LOAD_FIT_ADDRESS=0x40400000
> # CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY is not set
> CONFIG_SPL_LOAD_FIT_FULL=y
> # CONFIG_SPL_FIT_IMAGE_POST_PROCESS is not set
> CONFIG_SPL_FIT_SOURCE=""
> # CONFIG_USE_SPL_FIT_GENERATOR is not set
> CONFIG_LEGACY_IMAGE_FORMAT=y
> CONFIG_SUPPORT_RAW_INITRD=y
> # CONFIG_OF_BOARD_SETUP is not set
> CONFIG_OF_SYSTEM_SETUP=y
> # CONFIG_OF_STDOUT_VIA_ALIAS is not set
> CONFIG_SYS_EXTRA_OPTIONS=""
> CONFIG_HAVE_SYS_TEXT_BASE=y
> # CONFIG_DYNAMIC_SYS_CLK_FREQ is not set
> CONFIG_ARCH_FIXUP_FDT_MEMORY=y
> # CONFIG_CHROMEOS is not set
> # CONFIG_CHROMEOS_VBOOT is not set
> # CONFIG_RAMBOOT_PBL is not set
> 
> #
> # Boot timing
> #
> # CONFIG_BOOTSTAGE is not set
> CONFIG_BOOTSTAGE_STASH_SIZE=0x1000
> # CONFIG_SHOW_BOOT_PROGRESS is not set
> # CONFIG_SPL_SHOW_BOOT_PROGRESS is not set
> 
> #
> # Boot media
> #
> # CONFIG_NAND_BOOT is not set
> # CONFIG_ONENAND_BOOT is not set
> # CONFIG_QSPI_BOOT is not set
> # CONFIG_SATA_BOOT is not set
> # CONFIG_SD_BOOT is not set
> # CONFIG_SD_BOOT_QSPI is not set
> # CONFIG_SPI_BOOT is not set
> 
> #
> # Autoboot options
> #
> CONFIG_AUTOBOOT=y
> CONFIG_BOOTDELAY=2
> # CONFIG_AUTOBOOT_KEYED is not set
> # CONFIG_AUTOBOOT_USE_MENUKEY is not set
> # CONFIG_USE_BOOTARGS is not set
> # CONFIG_BOOTARGS_SUBST is not set
> CONFIG_USE_BOOTCOMMAND=y
> CONFIG_BOOTCOMMAND="run distro_bootcmd"
> # CONFIG_USE_PREBOOT is not set
> CONFIG_DEFAULT_FDT_FILE=""
> 
> #
> # Console
> #
> CONFIG_MENU=y
> # CONFIG_CONSOLE_RECORD is not set
> # CONFIG_DISABLE_CONSOLE is not set
> CONFIG_LOGLEVEL=4
> CONFIG_SPL_LOGLEVEL=4
> CONFIG_TPL_LOGLEVEL=4
> # CONFIG_SILENT_CONSOLE is not set
> # CONFIG_PRE_CONSOLE_BUFFER is not set
> # CONFIG_CONSOLE_MUX is not set
> # CONFIG_SYS_CONSOLE_IS_IN_ENV is not set
> # CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set
> # CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set
> # CONFIG_SYS_CONSOLE_INFO_QUIET is not set
> # CONFIG_SYS_STDIO_DEREGISTER is not set
> # CONFIG_SPL_SYS_STDIO_DEREGISTER is not set
> # CONFIG_SYS_DEVICE_NULLDEV is not set
> 
> #
> # Logging
> #
> # CONFIG_LOG is not set
> 
> #
> # Init options
> #
> # CONFIG_BOARD_TYPES is not set
> CONFIG_DISPLAY_CPUINFO=y
> CONFIG_DISPLAY_BOARDINFO=y
> # CONFIG_DISPLAY_BOARDINFO_LATE is not set
> 
> #
> # Start-up hooks
> #
> # CONFIG_ARCH_EARLY_INIT_R is not set
> # CONFIG_ARCH_MISC_INIT is not set
> CONFIG_BOARD_EARLY_INIT_F=y
> # CONFIG_BOARD_EARLY_INIT_R is not set
> CONFIG_BOARD_LATE_INIT=y
> # CONFIG_LAST_STAGE_INIT is not set
> # CONFIG_MISC_INIT_F is not set
> # CONFIG_MISC_INIT_R is not set
> # CONFIG_ID_EEPROM is not set
> 
> #
> # Security support
> #
> CONFIG_HASH=y
> CONFIG_SPL_HASH=y
> # CONFIG_STACKPROTECTOR is not set
> 
> #
> # Update support
> #
> # CONFIG_UPDATE_TFTP is not set
> # CONFIG_ANDROID_AB is not set
> 
> #
> # Blob list
> #
> # CONFIG_BLOBLIST is not set
> 
> #
> # SPL / TPL
> #
> CONFIG_SUPPORT_SPL=y
> CONFIG_SPL_FRAMEWORK=y
> # CONFIG_SPL_FRAMEWORK_BOARD_INIT_F is not set
> CONFIG_SPL_SYS_STACK_F_CHECK_BYTE=0xaa
> # CONFIG_SPL_SYS_REPORT_STACK_F_USAGE is not set
> CONFIG_SPL_SHOW_ERRORS=y
> CONFIG_SPL_BINMAN_SYMBOLS=y
> 
> #
> # PowerPC and LayerScape SPL Boot options
> #
> CONFIG_SPL_BOARD_INIT=y
> # CONFIG_SPL_BOOTROM_SUPPORT is not set
> CONFIG_SPL_RAW_IMAGE_SUPPORT=y
> CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y
> # CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK is not set
> # CONFIG_SPL_SYS_MALLOC_SIMPLE is not set
> # CONFIG_SPL_STACK_R is not set
> # CONFIG_SPL_SEPARATE_BSS is not set
> CONFIG_SPL_BANNER_PRINT=y
> # CONFIG_SPL_DISPLAY_PRINT is not set
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET=0x0
> # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set
> # CONFIG_SUPPORT_EMMC_BOOT_OVERRIDE_PART_CONFIG is not set
> CONFIG_SPL_CRC32=y
> # CONFIG_SPL_MD5 is not set
> # CONFIG_SPL_FIT_IMAGE_TINY is not set
> # CONFIG_SPL_CACHE is not set
> # CONFIG_SPL_CPU is not set
> # CONFIG_SPL_CRYPTO is not set
> # CONFIG_SPL_DMA is not set
> # CONFIG_SPL_ENV_SUPPORT is not set
> # CONFIG_SPL_FS_EXT4 is not set
> # CONFIG_SPL_FS_SQUASHFS is not set
> # CONFIG_SPL_FAT_WRITE is not set
> # CONFIG_SPL_FPGA is not set
> CONFIG_SPL_I2C=y
> # CONFIG_SPL_DM_MAILBOX is not set
> CONFIG_SYS_MMCSD_FS_BOOT_PARTITION=1
> # CONFIG_SPL_MMC_TINY is not set
> # CONFIG_SPL_MMC_WRITE is not set
> # CONFIG_SPL_MPC8XXX_INIT_DDR is not set
> # CONFIG_SPL_MTD_SUPPORT is not set
> # CONFIG_SPL_MUSB_NEW is not set
> # CONFIG_SPL_NAND_SUPPORT is not set
> # CONFIG_SPL_NAND_DRIVERS is not set
> # CONFIG_SPL_NAND_ECC is not set
> # CONFIG_SPL_NAND_SIMPLE is not set
> # CONFIG_SPL_UBI is not set
> # CONFIG_SPL_NET is not set
> # CONFIG_SPL_NO_CPU_SUPPORT is not set
> # CONFIG_SPL_NOR_SUPPORT is not set
> # CONFIG_SPL_XIP_SUPPORT is not set
> # CONFIG_SPL_ONENAND_SUPPORT is not set
> # CONFIG_SPL_OS_BOOT is not set
> # CONFIG_SPL_PCI is not set
> # CONFIG_SPL_PCH is not set
> # CONFIG_SPL_POST_MEM_SUPPORT is not set
> # CONFIG_SPL_DM_RESET is not set
> CONFIG_SPL_POWER=y
> # CONFIG_SPL_POWER_DOMAIN is not set
> # CONFIG_SPL_RAM_SUPPORT is not set
> # CONFIG_SPL_REMOTEPROC is not set
> # CONFIG_SPL_RTC is not set
> # CONFIG_SPL_SATA is not set
> # CONFIG_SPL_THERMAL is not set
> # CONFIG_SPL_USB_HOST is not set
> CONFIG_SPL_USB_GADGET=y
> CONFIG_SPL_USB_SDP_SUPPORT=y
> CONFIG_SPL_SDP_USB_DEV=0
> CONFIG_SPL_WATCHDOG=y
> # CONFIG_SPL_YMODEM_SUPPORT is not set
> # CONFIG_SPL_ATF is not set
> # CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is not set
> # CONFIG_SPL_OPTEE_IMAGE is not set
> # CONFIG_FDT_SIMPLEFB is not set
> 
> #
> # Command line interface
> #
> CONFIG_CMDLINE=y
> CONFIG_HUSH_PARSER=y
> CONFIG_CMDLINE_EDITING=y
> CONFIG_AUTO_COMPLETE=y
> CONFIG_SYS_LONGHELP=y
> CONFIG_SYS_PROMPT="u-boot=> "
> CONFIG_SYS_PROMPT_HUSH_PS2="> "
> CONFIG_SYS_XTRACE=y
> 
> #
> # Commands
> #
> 
> #
> # Info commands
> #
> CONFIG_CMD_BDI=y
> # CONFIG_CMD_CONFIG is not set
> CONFIG_CMD_CONSOLE=y
> # CONFIG_CMD_LICENSE is not set
> # CONFIG_CMD_PMC is not set
> 
> #
> # Boot commands
> #
> CONFIG_CMD_BOOTD=y
> CONFIG_CMD_BOOTM=y
> CONFIG_BOOTM_EFI=y
> # CONFIG_CMD_BOOTZ is not set
> CONFIG_CMD_BOOTI=y
> CONFIG_BOOTM_LINUX=y
> # CONFIG_BOOTM_NETBSD is not set
> # CONFIG_BOOTM_OPENRTOS is not set
> # CONFIG_BOOTM_OSE is not set
> CONFIG_BOOTM_PLAN9=y
> CONFIG_BOOTM_RTEMS=y
> CONFIG_BOOTM_VXWORKS=y
> CONFIG_CMD_BOOTEFI=y
> CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y
> # CONFIG_CMD_BOOTEFI_HELLO is not set
> # CONFIG_CMD_BOOTEFI_SELFTEST is not set
> # CONFIG_CMD_BOOTMENU is not set
> # CONFIG_CMD_ADTIMG is not set
> CONFIG_CMD_ELF=y
> CONFIG_CMD_FDT=y
> CONFIG_CMD_GO=y
> CONFIG_CMD_RUN=y
> CONFIG_CMD_IMI=y
> # CONFIG_CMD_IMLS is not set
> CONFIG_CMD_XIMG=y
> # CONFIG_CMD_SPL is not set
> # CONFIG_CMD_THOR_DOWNLOAD is not set
> # CONFIG_CMD_ZBOOT is not set
> 
> #
> # Environment commands
> #
> # CONFIG_CMD_ASKENV is not set
> # CONFIG_CMD_EXPORTENV is not set
> # CONFIG_CMD_IMPORTENV is not set
> CONFIG_CMD_EDITENV=y
> # CONFIG_CMD_GREPENV is not set
> CONFIG_CMD_SAVEENV=y
> # CONFIG_CMD_ERASEENV is not set
> CONFIG_CMD_ENV_EXISTS=y
> # CONFIG_CMD_ENV_CALLBACK is not set
> # CONFIG_CMD_ENV_FLAGS is not set
> # CONFIG_CMD_NVEDIT_EFI is not set
> # CONFIG_CMD_NVEDIT_INFO is not set
> # CONFIG_CMD_NVEDIT_LOAD is not set
> # CONFIG_CMD_NVEDIT_SELECT is not set
> 
> #
> # Memory commands
> #
> # CONFIG_CMD_BINOP is not set
> # CONFIG_CMD_BLOBLIST is not set
> # CONFIG_CMD_CRC32 is not set
> # CONFIG_CMD_EEPROM is not set
> CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=0
> # CONFIG_LOOPW is not set
> # CONFIG_CMD_MD5SUM is not set
> # CONFIG_CMD_MEMINFO is not set
> CONFIG_CMD_MEMORY=y
> # CONFIG_CMD_MEM_SEARCH is not set
> # CONFIG_CMD_MX_CYCLIC is not set
> CONFIG_CMD_RANDOM=y
> # CONFIG_CMD_MEMTEST is not set
> # CONFIG_CMD_SHA1SUM is not set
> # CONFIG_CMD_STRINGS is not set
> 
> #
> # Compression commands
> #
> CONFIG_CMD_LZMADEC=y
> CONFIG_CMD_UNLZ4=y
> CONFIG_CMD_UNZIP=y
> # CONFIG_CMD_ZIP is not set
> 
> #
> # Device access commands
> #
> # CONFIG_CMD_ARMFLASH is not set
> # CONFIG_CMD_ADC is not set
> # CONFIG_CMD_BCB is not set
> # CONFIG_CMD_BIND is not set
> # CONFIG_CMD_CLK is not set
> # CONFIG_CMD_DEMO is not set
> # CONFIG_CMD_DFU is not set
> CONFIG_CMD_DM=y
> # CONFIG_CMD_FPGAD is not set
> CONFIG_CMD_FUSE=y
> CONFIG_CMD_GPIO=y
> # CONFIG_CMD_GPT is not set
> # CONFIG_RANDOM_UUID is not set
> # CONFIG_CMD_IDE is not set
> # CONFIG_CMD_IO is not set
> # CONFIG_CMD_IOTRACE is not set
> CONFIG_CMD_I2C=y
> CONFIG_CMD_LOADB=y
> CONFIG_CMD_LOADS=y
> # CONFIG_CMD_LSBLK is not set
> # CONFIG_CMD_MBR is not set
> CONFIG_CMD_MMC=y
> # CONFIG_CMD_BKOPS_ENABLE is not set
> # CONFIG_CMD_MMC_SWRITE is not set
> # CONFIG_CMD_CLONE is not set
> # CONFIG_CMD_OSD is not set
> CONFIG_CMD_PART=y
> # CONFIG_CMD_PCI is not set
> CONFIG_CMD_PINMUX=y
> # CONFIG_CMD_POWEROFF is not set
> # CONFIG_CMD_READ is not set
> # CONFIG_CMD_SATA is not set
> # CONFIG_CMD_SAVES is not set
> # CONFIG_CMD_SCSI is not set
> # CONFIG_CMD_SDRAM is not set
> # CONFIG_CMD_TSI148 is not set
> # CONFIG_CMD_UNIVERSE is not set
> CONFIG_CMD_USB=y
> # CONFIG_CMD_USB_SDP is not set
> # CONFIG_CMD_USB_MASS_STORAGE is not set
> 
> #
> # Shell scripting commands
> #
> CONFIG_CMD_ECHO=y
> CONFIG_CMD_ITEST=y
> CONFIG_CMD_SOURCE=y
> CONFIG_CMD_SETEXPR=y
> # CONFIG_CMD_SETEXPR_FMT is not set
> 
> #
> # Android support commands
> #
> CONFIG_CMD_NET=y
> CONFIG_CMD_BOOTP=y
> CONFIG_CMD_DHCP=y
> CONFIG_BOOTP_BOOTPATH=y
> CONFIG_BOOTP_DNS=y
> # CONFIG_BOOTP_DNS2 is not set
> CONFIG_BOOTP_GATEWAY=y
> CONFIG_BOOTP_HOSTNAME=y
> # CONFIG_BOOTP_PREFER_SERVERIP is not set
> CONFIG_BOOTP_SUBNETMASK=y
> # CONFIG_BOOTP_NTPSERVER is not set
> # CONFIG_CMD_PCAP is not set
> CONFIG_BOOTP_PXE=y
> CONFIG_BOOTP_PXE_CLIENTARCH=0x16
> CONFIG_BOOTP_VCI_STRING="U-Boot.armv8"
> CONFIG_CMD_TFTPBOOT=y
> # CONFIG_CMD_TFTPPUT is not set
> # CONFIG_CMD_TFTPSRV is not set
> CONFIG_NET_TFTP_VARS=y
> # CONFIG_CMD_RARP is not set
> CONFIG_CMD_NFS=y
> CONFIG_CMD_MII=y
> # CONFIG_CMD_MDIO is not set
> CONFIG_CMD_PING=y
> # CONFIG_CMD_CDP is not set
> # CONFIG_CMD_SNTP is not set
> # CONFIG_CMD_DNS is not set
> # CONFIG_CMD_LINK_LOCAL is not set
> # CONFIG_CMD_ETHSW is not set
> CONFIG_CMD_PXE=y
> # CONFIG_CMD_WOL is not set
> 
> #
> # Misc commands
> #
> # CONFIG_CMD_BSP is not set
> CONFIG_CMD_BLOCK_CACHE=y
> CONFIG_CMD_CACHE=y
> # CONFIG_CMD_CONITRACE is not set
> # CONFIG_CMD_EFIDEBUG is not set
> # CONFIG_CMD_EXCEPTION is not set
> # CONFIG_CMD_DATE is not set
> # CONFIG_CMD_TIME is not set
> # CONFIG_CMD_GETTIME is not set
> CONFIG_CMD_SLEEP=y
> # CONFIG_CMD_TIMER is not set
> CONFIG_CMD_SYSBOOT=y
> # CONFIG_CMD_QFW is not set
> # CONFIG_CMD_PSTORE is not set
> # CONFIG_CMD_TERMINAL is not set
> # CONFIG_CMD_UUID is not set
> 
> #
> # TI specific command line interface
> #
> # CONFIG_CMD_DDR3 is not set
> 
> #
> # Power commands
> #
> CONFIG_CMD_REGULATOR=y
> 
> #
> # Security commands
> #
> # CONFIG_CMD_AES is not set
> # CONFIG_CMD_BLOB is not set
> # CONFIG_CMD_HASH is not set
> # CONFIG_CMD_HVC is not set
> # CONFIG_CMD_SMC is not set
> 
> #
> # Firmware commands
> #
> 
> #
> # Filesystem commands
> #
> # CONFIG_CMD_BTRFS is not set
> CONFIG_CMD_EXT2=y
> CONFIG_CMD_EXT4=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y
> # CONFIG_CMD_SQUASHFS is not set
> CONFIG_CMD_FS_GENERIC=y
> # CONFIG_CMD_FS_UUID is not set
> # CONFIG_CMD_JFFS2 is not set
> # CONFIG_CMD_REISER is not set
> # CONFIG_CMD_ZFS is not set
> 
> #
> # Debug commands
> #
> # CONFIG_CMD_DIAG is not set
> # CONFIG_CMD_LOG is not set
> # CONFIG_CMD_UBI is not set
> # CONFIG_MMC_SPEED_MODE_SET is not set
> 
> #
> # Partition Types
> #
> CONFIG_PARTITIONS=y
> # CONFIG_MAC_PARTITION is not set
> # CONFIG_SPL_MAC_PARTITION is not set
> CONFIG_DOS_PARTITION=y
> CONFIG_SPL_DOS_PARTITION=y
> CONFIG_ISO_PARTITION=y
> # CONFIG_SPL_ISO_PARTITION is not set
> # CONFIG_AMIGA_PARTITION is not set
> # CONFIG_SPL_AMIGA_PARTITION is not set
> CONFIG_EFI_PARTITION=y
> CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=128
> CONFIG_EFI_PARTITION_ENTRIES_OFF=0
> CONFIG_SPL_EFI_PARTITION=y
> CONFIG_PARTITION_UUIDS=y
> CONFIG_SPL_PARTITION_UUIDS=y
> # CONFIG_PARTITION_TYPE_GUID is not set
> CONFIG_SUPPORT_OF_CONTROL=y
> CONFIG_PYLIBFDT=y
> CONFIG_DTOC=y
> CONFIG_BINMAN=y
> 
> #
> # Device Tree Control
> #
> CONFIG_OF_CONTROL=y
> CONFIG_OF_REAL=y
> # CONFIG_SPL_OF_CONTROL is not set
> # CONFIG_OF_LIVE is not set
> CONFIG_OF_SEPARATE=y
> # CONFIG_OF_EMBED is not set
> # CONFIG_OF_BOARD is not set
> # CONFIG_OF_OMIT_DTB is not set
> CONFIG_DEVICE_TREE_INCLUDES=""
> CONFIG_OF_LIST="imx8mq-evk"
> # CONFIG_MULTI_DTB_FIT is not set
> # CONFIG_OF_DTB_PROPS_REMOVE is not set
> 
> #
> # Environment
> #
> CONFIG_ENV_SUPPORT=y
> CONFIG_ENV_SOURCE_FILE=""
> CONFIG_SAVEENV=y
> CONFIG_ENV_OVERWRITE=y
> # CONFIG_ENV_IS_NOWHERE is not set
> # CONFIG_ENV_IS_IN_EEPROM is not set
> # CONFIG_ENV_IS_IN_FAT is not set
> # CONFIG_ENV_IS_IN_EXT4 is not set
> # CONFIG_ENV_IS_IN_FLASH is not set
> CONFIG_ENV_IS_IN_MMC=y
> # CONFIG_ENV_IS_IN_NAND is not set
> # CONFIG_ENV_IS_IN_NVRAM is not set
> # CONFIG_ENV_IS_IN_ONENAND is not set
> # CONFIG_ENV_IS_IN_REMOTE is not set
> # CONFIG_SYS_REDUNDAND_ENVIRONMENT is not set
> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> CONFIG_SYS_MMC_ENV_DEV=1
> CONFIG_SYS_MMC_ENV_PART=0
> # CONFIG_USE_DEFAULT_ENV_FILE is not set
> # CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG is not set
> # CONFIG_ENV_IMPORT_FDT is not set
> # CONFIG_ENV_APPEND is not set
> # CONFIG_ENV_WRITEABLE_LIST is not set
> # CONFIG_ENV_ACCESS_IGNORE_FORCE is not set
> # CONFIG_VERSION_VARIABLE is not set
> CONFIG_NET=y
> # CONFIG_PROT_UDP is not set
> # CONFIG_BOOTP_SEND_HOSTNAME is not set
> # CONFIG_NET_RANDOM_ETHADDR is not set
> # CONFIG_NETCONSOLE is not set
> # CONFIG_IP_DEFRAG is not set
> CONFIG_TFTP_BLOCKSIZE=1468
> CONFIG_TFTP_WINDOWSIZE=1
> # CONFIG_TFTP_TSIZE is not set
> # CONFIG_SERVERIP_FROM_PROXYDHCP is not set
> CONFIG_SERVERIP_FROM_PROXYDHCP_DELAY_MS=100
> # CONFIG_KEEP_SERVERADDR is not set
> # CONFIG_UDP_CHECKSUM is not set
> # CONFIG_BOOTP_SERVERIP is not set
> 
> #
> # Device Drivers
> #
> 
> #
> # Generic Driver Options
> #
> CONFIG_DM=y
> # CONFIG_SPL_DM is not set
> CONFIG_DM_WARN=y
> # CONFIG_DM_DEBUG is not set
> CONFIG_DM_DEVICE_REMOVE=y
> CONFIG_DM_STDIO=y
> CONFIG_DM_SEQ_ALIAS=y
> # CONFIG_DM_DMA is not set
> # CONFIG_REGMAP is not set
> CONFIG_DEVRES=y
> # CONFIG_DEBUG_DEVRES is not set
> CONFIG_SIMPLE_BUS=y
> # CONFIG_SIMPLE_BUS_CORRECT_RANGE is not set
> CONFIG_OF_TRANSLATE=y
> # CONFIG_TRANSLATION_OFFSET is not set
> CONFIG_DM_DEV_READ_INLINE=y
> # CONFIG_ACPIGEN is not set
> # CONFIG_BOUNCE_BUFFER is not set
> # CONFIG_ADC is not set
> # CONFIG_ADC_EXYNOS is not set
> # CONFIG_ADC_SANDBOX is not set
> # CONFIG_SARADC_MESON is not set
> # CONFIG_SARADC_ROCKCHIP is not set
> # CONFIG_SATA is not set
> # CONFIG_SCSI_AHCI is not set
> 
> #
> # SATA/SCSI device support
> #
> # CONFIG_AXI is not set
> 
> #
> # Bus devices
> #
> CONFIG_BLK=y
> CONFIG_HAVE_BLOCK_DEVICE=y
> CONFIG_BLOCK_CACHE=y
> # CONFIG_EFI_MEDIA is not set
> # CONFIG_IDE is not set
> # CONFIG_BOOTCOUNT_LIMIT is not set
> 
> #
> # Button Support
> #
> # CONFIG_BUTTON is not set
> 
> #
> # Cache Controller drivers
> #
> # CONFIG_CACHE is not set
> # CONFIG_L2X0_CACHE is not set
> # CONFIG_NCORE_CACHE is not set
> # CONFIG_SIFIVE_CCACHE is not set
> 
> #
> # Clock
> #
> # CONFIG_CLK is not set
> # CONFIG_SPL_CLK_CCF is not set
> # CONFIG_CLK_CCF is not set
> # CONFIG_SPL_CLK_IMX8MM is not set
> # CONFIG_CLK_IMX8MM is not set
> # CONFIG_SPL_CLK_IMX8MN is not set
> # CONFIG_CLK_IMX8MN is not set
> # CONFIG_SPL_CLK_IMX8MP is not set
> # CONFIG_CLK_IMX8MP is not set
> # CONFIG_CPU is not set
> 
> #
> # Hardware crypto devices
> #
> # CONFIG_DM_HASH is not set
> # CONFIG_FSL_CAAM is not set
> CONFIG_SYS_FSL_SEC_COMPAT_4=y
> # CONFIG_SYS_FSL_SEC_BE is not set
> CONFIG_SYS_FSL_SEC_LE=y
> # CONFIG_DDR_SPD is not set
> 
> #
> # i.MX8M DDR controllers
> #
> CONFIG_IMX8M_DRAM=y
> CONFIG_IMX8M_LPDDR4=y
> # CONFIG_IMX8M_DDR4 is not set
> # CONFIG_IMX8M_DDR3L is not set
> CONFIG_SAVED_DRAM_TIMING_BASE=0x40000000
> # CONFIG_IMX8M_LPDDR4_FREQ0_2400MTS is not set
> 
> #
> # Demo for driver model
> #
> # CONFIG_DM_DEMO is not set
> 
> #
> # DFU support
> #
> 
> #
> # DMA Support
> #
> # CONFIG_DMA is not set
> # CONFIG_DMA_LPC32XX is not set
> # CONFIG_TI_EDMA3 is not set
> # CONFIG_APBH_DMA is not set
> # CONFIG_DMA_LEGACY is not set
> 
> #
> # Fastboot support
> #
> # CONFIG_USB_FUNCTION_FASTBOOT is not set
> # CONFIG_UDP_FUNCTION_FASTBOOT is not set
> CONFIG_FIRMWARE=y
> # CONFIG_SPL_FIRMWARE is not set
> CONFIG_ARM_PSCI_FW=y
> # CONFIG_ZYNQMP_FIRMWARE is not set
> # CONFIG_SCMI_FIRMWARE is not set
> 
> #
> # FPGA support
> #
> # CONFIG_FPGA_ALTERA is not set
> # CONFIG_FPGA_SOCFPGA is not set
> # CONFIG_FPGA_XILINX is not set
> CONFIG_GPIO=y
> # CONFIG_GPIO_HOG is not set
> # CONFIG_DM_GPIO_LOOKUP_LABEL is not set
> # CONFIG_ALTERA_PIO is not set
> # CONFIG_DWAPB_GPIO is not set
> # CONFIG_AT91_GPIO is not set
> # CONFIG_ATMEL_PIO4 is not set
> # CONFIG_DA8XX_GPIO is not set
> # CONFIG_FXL6408_GPIO is not set
> # CONFIG_INTEL_BROADWELL_GPIO is not set
> # CONFIG_INTEL_GPIO is not set
> # CONFIG_INTEL_ICH6_GPIO is not set
> # CONFIG_IMX_RGPIO2P is not set
> # CONFIG_IPROC_GPIO is not set
> # CONFIG_HSDK_CREG_GPIO is not set
> # CONFIG_KIRKWOOD_GPIO is not set
> # CONFIG_LPC32XX_GPIO is not set
> # CONFIG_MAX7320_GPIO is not set
> # CONFIG_MCP230XX_GPIO is not set
> # CONFIG_MSM_GPIO is not set
> CONFIG_MXC_GPIO=y
> # CONFIG_MXS_GPIO is not set
> # CONFIG_CMD_PCA953X is not set
> # CONFIG_PCF8575_GPIO is not set
> # CONFIG_ROCKCHIP_GPIO is not set
> # CONFIG_XILINX_GPIO is not set
> # CONFIG_CMD_TCA642X is not set
> # CONFIG_TEGRA_GPIO is not set
> # CONFIG_TEGRA186_GPIO is not set
> # CONFIG_VYBRID_GPIO is not set
> # CONFIG_SIFIVE_GPIO is not set
> # CONFIG_ZYNQ_GPIO is not set
> # CONFIG_DM_74X164 is not set
> # CONFIG_DM_PCA953X is not set
> # CONFIG_SPL_DM_PCA953X is not set
> # CONFIG_MPC8XXX_GPIO is not set
> # CONFIG_NX_GPIO is not set
> # CONFIG_NOMADIK_GPIO is not set
> # CONFIG_ZYNQMP_GPIO_MODEPIN is not set
> 
> #
> # Hardware Spinlock Support
> #
> # CONFIG_DM_HWSPINLOCK is not set
> CONFIG_I2C=y
> CONFIG_DM_I2C=y
> CONFIG_SPL_SYS_I2C_LEGACY=y
> # CONFIG_SYS_I2C_EARLY_INIT is not set
> # CONFIG_I2C_SET_DEFAULT_BUS_NUM is not set
> # CONFIG_DM_I2C_GPIO is not set
> # CONFIG_SYS_I2C_IPROC is not set
> # CONFIG_SYS_I2C_FSL is not set
> # CONFIG_SYS_I2C_CADENCE is not set
> # CONFIG_SYS_I2C_DW is not set
> # CONFIG_SYS_I2C_INTEL is not set
> # CONFIG_SYS_I2C_IMX_LPI2C is not set
> # CONFIG_SYS_I2C_MICROCHIP is not set
> CONFIG_SYS_I2C_MXC=y
> # CONFIG_SYS_I2C_MXC_I2C5 is not set
> # CONFIG_SYS_I2C_MXC_I2C6 is not set
> # CONFIG_SYS_I2C_MXC_I2C7 is not set
> # CONFIG_SYS_I2C_MXC_I2C8 is not set
> CONFIG_SYS_MXC_I2C1_SPEED=100000
> CONFIG_SYS_MXC_I2C1_SLAVE=0
> CONFIG_SYS_MXC_I2C2_SPEED=100000
> CONFIG_SYS_MXC_I2C2_SLAVE=0
> CONFIG_SYS_MXC_I2C3_SPEED=100000
> CONFIG_SYS_MXC_I2C3_SLAVE=0
> # CONFIG_SYS_I2C_NEXELL is not set
> # CONFIG_SYS_I2C_OCORES is not set
> # CONFIG_SYS_I2C_ROCKCHIP is not set
> # CONFIG_SYS_I2C_SOFT is not set
> # CONFIG_SYS_I2C_MV is not set
> # CONFIG_SYS_I2C_MVTWSI is not set
> CONFIG_SYS_I2C_SLAVE=0xfe
> CONFIG_SYS_I2C_SPEED=100000
> # CONFIG_SYS_I2C_XILINX_XIIC is not set
> # CONFIG_SYS_I2C_IHS is not set
> # CONFIG_I2C_MUX is not set
> CONFIG_INPUT=y
> # CONFIG_DM_KEYBOARD is not set
> # CONFIG_KEYBOARD is not set
> # CONFIG_CROS_EC_KEYB is not set
> # CONFIG_TEGRA_KEYBOARD is not set
> # CONFIG_TWL4030_INPUT is not set
> 
> #
> # IOMMU device drivers
> #
> # CONFIG_IOMMU is not set
> 
> #
> # LED Support
> #
> # CONFIG_LED is not set
> # CONFIG_LED_STATUS is not set
> 
> #
> # Mailbox Controller Support
> #
> # CONFIG_DM_MAILBOX is not set
> 
> #
> # Memory Controller drivers
> #
> 
> #
> # Multifunction device drivers
> #
> # CONFIG_MISC is not set
> # CONFIG_CROS_EC is not set
> # CONFIG_SPL_CROS_EC is not set
> # CONFIG_DS4510 is not set
> # CONFIG_FSL_SEC_MON is not set
> # CONFIG_IRQ is not set
> CONFIG_MXC_OCOTP=y
> CONFIG_SPL_MXC_OCOTP=y
> # CONFIG_NUVOTON_NCT6102D is not set
> # CONFIG_PWRSEQ is not set
> # CONFIG_PCA9551_LED is not set
> # CONFIG_TEST_DRV is not set
> # CONFIG_TWL4030_LED is not set
> # CONFIG_WINBOND_W83627 is not set
> # CONFIG_FS_LOADER is not set
> # CONFIG_SPL_FS_LOADER is not set
> # CONFIG_SL28CPLD is not set
> 
> #
> # MMC Host controller Support
> #
> CONFIG_MMC=y
> CONFIG_MMC_WRITE=y
> # CONFIG_MMC_BROKEN_CD is not set
> CONFIG_DM_MMC=y
> # CONFIG_ARM_PL180_MMCI is not set
> CONFIG_MMC_QUIRKS=y
> CONFIG_MMC_HW_PARTITIONING=y
> # CONFIG_SUPPORT_EMMC_RPMB is not set
> CONFIG_SUPPORT_EMMC_BOOT=y
> # CONFIG_MMC_IO_VOLTAGE is not set
> # CONFIG_SPL_MMC_IO_VOLTAGE is not set
> # CONFIG_MMC_HS400_ES_SUPPORT is not set
> # CONFIG_SPL_MMC_HS400_ES_SUPPORT is not set
> # CONFIG_MMC_HS400_SUPPORT is not set
> # CONFIG_SPL_MMC_HS400_SUPPORT is not set
> # CONFIG_MMC_HS200_SUPPORT is not set
> # CONFIG_SPL_MMC_HS200_SUPPORT is not set
> CONFIG_MMC_VERBOSE=y
> # CONFIG_MMC_TRACE is not set
> # CONFIG_MMC_DW is not set
> # CONFIG_MMC_MXC is not set
> # CONFIG_PXA_MMC_GENERIC is not set
> # CONFIG_MMC_OMAP_HS is not set
> # CONFIG_MMC_SDHCI is not set
> # CONFIG_MMC_PITON is not set
> # CONFIG_STM32_SDMMC2 is not set
> # CONFIG_FTSDC010 is not set
> # CONFIG_FSL_ESDHC is not set
> CONFIG_FSL_ESDHC_IMX=y
> CONFIG_FSL_USDHC=y
> 
> #
> # MTD Support
> #
> # CONFIG_MTD is not set
> # CONFIG_DM_MTD is not set
> # CONFIG_MTD_NOR_FLASH is not set
> # CONFIG_FLASH_CFI_DRIVER is not set
> # CONFIG_USE_SYS_MAX_FLASH_BANKS is not set
> # CONFIG_MTD_RAW_NAND is not set
> 
> #
> # SPI Flash Support
> #
> # CONFIG_SPI_FLASH is not set
> 
> #
> # UBI support
> #
> # CONFIG_UBI_SILENCE_MSG is not set
> # CONFIG_MTD_UBI is not set
> 
> #
> # Multiplexer drivers
> #
> # CONFIG_MULTIPLEXER is not set
> # CONFIG_BITBANGMII is not set
> # CONFIG_MV88E6352_SWITCH is not set
> CONFIG_PHYLIB=y
> # CONFIG_PHY_ADDR_ENABLE is not set
> # CONFIG_B53_SWITCH is not set
> # CONFIG_MV88E61XX_SWITCH is not set
> # CONFIG_PHYLIB_10G is not set
> # CONFIG_PHY_AQUANTIA is not set
> CONFIG_PHY_ATHEROS=y
> # CONFIG_PHY_BROADCOM is not set
> # CONFIG_PHY_CORTINA is not set
> # CONFIG_PHY_DAVICOM is not set
> # CONFIG_PHY_ET1011C is not set
> # CONFIG_PHY_LXT is not set
> # CONFIG_PHY_MARVELL is not set
> # CONFIG_PHY_MESON_GXL is not set
> # CONFIG_PHY_MICREL is not set
> # CONFIG_PHY_MSCC is not set
> # CONFIG_PHY_NATSEMI is not set
> # CONFIG_PHY_NXP_C45_TJA11XX is not set
> # CONFIG_PHY_REALTEK is not set
> # CONFIG_PHY_SMSC is not set
> # CONFIG_PHY_TERANETICS is not set
> # CONFIG_PHY_TI is not set
> # CONFIG_PHY_TI_DP83867 is not set
> # CONFIG_PHY_TI_DP83869 is not set
> # CONFIG_PHY_TI_GENERIC is not set
> # CONFIG_PHY_VITESSE is not set
> # CONFIG_PHY_XILINX is not set
> # CONFIG_PHY_XILINX_GMII2RGMII is not set
> # CONFIG_PHY_FIXED is not set
> # CONFIG_PHY_NCSI is not set
> # CONFIG_FSL_PFE is not set
> # CONFIG_BNXT_ETH is not set
> CONFIG_ETH=y
> CONFIG_DM_ETH=y
> # CONFIG_DM_MDIO is not set
> # CONFIG_DM_ETH_PHY is not set
> CONFIG_NETDEVICES=y
> CONFIG_PHY_GIGE=y
> # CONFIG_ALTERA_TSE is not set
> # CONFIG_BCM_SF2_ETH is not set
> # CONFIG_BCMGENET is not set
> # CONFIG_CALXEDA_XGMAC is not set
> # CONFIG_DWC_ETH_QOS is not set
> # CONFIG_E1000 is not set
> # CONFIG_EEPRO100 is not set
> # CONFIG_ETH_DESIGNWARE is not set
> # CONFIG_ETH_DESIGNWARE_MESON8B is not set
> # CONFIG_ETHOC is not set
> # CONFIG_FEC_MXC_SHARE_MDIO is not set
> CONFIG_FEC_MXC=y
> # CONFIG_FMAN_ENET is not set
> # CONFIG_FTMAC100 is not set
> # CONFIG_FTGMAC100 is not set
> # CONFIG_MCFFEC is not set
> # CONFIG_FSLDMAFEC is not set
> # CONFIG_KS8851_MLL is not set
> # CONFIG_MACB is not set
> # CONFIG_PCH_GBE is not set
> # CONFIG_RGMII is not set
> CONFIG_MII=y
> # CONFIG_PCNET is not set
> # CONFIG_QE_UEC is not set
> # CONFIG_RTL8139 is not set
> # CONFIG_RTL8169 is not set
> # CONFIG_SMC911X is not set
> # CONFIG_SUN7I_GMAC is not set
> # CONFIG_SUN4I_EMAC is not set
> # CONFIG_SUN8I_EMAC is not set
> # CONFIG_SH_ETHER is not set
> # CONFIG_DRIVER_TI_CPSW is not set
> # CONFIG_DRIVER_TI_EMAC is not set
> # CONFIG_DRIVER_TI_KEYSTONE_NET is not set
> # CONFIG_TULIP is not set
> # CONFIG_XILINX_AXIEMAC is not set
> # CONFIG_XILINX_EMACLITE is not set
> # CONFIG_ZYNQ_GEM is not set
> # CONFIG_SYS_DPAA_QBMAN is not set
> # CONFIG_TSEC_ENET is not set
> # CONFIG_MEDIATEK_ETH is not set
> # CONFIG_HIGMACV300_ETH is not set
> # CONFIG_NVME is not set
> # CONFIG_NVME_APPLE is not set
> # CONFIG_PCI is not set
> 
> #
> # PCI Endpoint
> #
> # CONFIG_PCI_ENDPOINT is not set
> # CONFIG_X86_PCH7 is not set
> # CONFIG_X86_PCH9 is not set
> 
> #
> # PHY Subsystem
> #
> CONFIG_PHY=y
> # CONFIG_SPL_PHY is not set
> # CONFIG_NOP_PHY is not set
> # CONFIG_MIPI_DPHY_HELPERS is not set
> # CONFIG_BCM_SR_PCIE_PHY is not set
> # CONFIG_MSM8916_USB_PHY is not set
> CONFIG_PHY_IMX8MQ_USB=y
> 
> #
> # Rockchip PHY driver
> #
> # CONFIG_PHY_CADENCE_SIERRA is not set
> # CONFIG_PHY_CADENCE_TORRENT is not set
> # CONFIG_MVEBU_COMPHY_SUPPORT is not set
> 
> #
> # Pin controllers
> #
> CONFIG_PINCTRL=y
> CONFIG_PINCTRL_FULL=y
> CONFIG_PINCTRL_GENERIC=y
> CONFIG_PINMUX=y
> # CONFIG_PINCONF is not set
> CONFIG_PINCONF_RECURSIVE=y
> # CONFIG_PINCTRL_AT91 is not set
> # CONFIG_PINCTRL_AT91PIO4 is not set
> # CONFIG_PINCTRL_INTEL is not set
> # CONFIG_PINCTRL_QE is not set
> # CONFIG_PINCTRL_ROCKCHIP_RV1108 is not set
> # CONFIG_PINCTRL_SINGLE is not set
> # CONFIG_PINCTRL_STM32 is not set
> # CONFIG_PINCTRL_STMFX is not set
> # CONFIG_PINCTRL_K210 is not set
> CONFIG_PINCTRL_IMX=y
> CONFIG_PINCTRL_IMX8M=y
> CONFIG_POWER=y
> # CONFIG_POWER_LEGACY is not set
> CONFIG_SPL_POWER_LEGACY=y
> # CONFIG_ACPI_PMC is not set
> # CONFIG_SPL_ACPI_PMC is not set
> # CONFIG_TPL_ACPI_PMC is not set
> 
> #
> # Power Domain Support
> #
> CONFIG_POWER_DOMAIN=y
> # CONFIG_APPLE_PMGR_POWER_DOMAIN is not set
> CONFIG_IMX8M_POWER_DOMAIN=y
> # CONFIG_DM_PMIC is not set
> # CONFIG_POWER_MC34VR500 is not set
> CONFIG_DM_REGULATOR=y
> # CONFIG_SPL_DM_REGULATOR is not set
> # CONFIG_REGULATOR_PWM is not set
> CONFIG_DM_REGULATOR_COMMON=y
> CONFIG_DM_REGULATOR_FIXED=y
> # CONFIG_SPL_DM_REGULATOR_FIXED is not set
> CONFIG_DM_REGULATOR_GPIO=y
> # CONFIG_SPL_DM_REGULATOR_GPIO is not set
> # CONFIG_DM_REGULATOR_PBIAS is not set
> # CONFIG_DM_REGULATOR_TPS62360 is not set
> # CONFIG_DM_REGULATOR_ANATOP is not set
> # CONFIG_DM_REGULATOR_SCMI is not set
> # CONFIG_POWER_MT6323 is not set
> CONFIG_SPL_POWER_I2C=y
> # CONFIG_DM_PWM is not set
> # CONFIG_PWM_IMX is not set
> # CONFIG_PWM_SANDBOX is not set
> # CONFIG_U_QE is not set
> # CONFIG_RAM is not set
> 
> #
> # Reboot Mode Support
> #
> # CONFIG_DM_REBOOT_MODE is not set
> 
> #
> # Remote Processor drivers
> #
> 
> #
> # Reset Controller Support
> #
> CONFIG_DM_RESET=y
> # CONFIG_RESET_AST2500 is not set
> # CONFIG_RESET_AST2600 is not set
> # CONFIG_RESET_HISILICON is not set
> CONFIG_RESET_IMX7=y
> # CONFIG_RESET_SYSCON is not set
> # CONFIG_RESET_SCMI is not set
> # CONFIG_RESET_DRA7 is not set
> # CONFIG_DM_RNG is not set
> 
> #
> # Real Time Clock
> #
> # CONFIG_DM_RTC is not set
> # CONFIG_RTC_ENABLE_32KHZ_OUTPUT is not set
> # CONFIG_RTC_PCF8563 is not set
> # CONFIG_RTC_PL031 is not set
> # CONFIG_RTC_S35392A is not set
> # CONFIG_RTC_MC146818 is not set
> # CONFIG_RTC_M41T62 is not set
> # CONFIG_SCSI is not set
> # CONFIG_DM_SCSI is not set
> CONFIG_SERIAL=y
> CONFIG_BAUDRATE=115200
> CONFIG_SPECIFY_CONSOLE_INDEX=y
> CONFIG_CONS_INDEX=1
> # CONFIG_DM_SERIAL is not set
> # CONFIG_ARM_DCC is not set
> # CONFIG_ATMEL_USART is not set
> # CONFIG_FSL_LPUART is not set
> # CONFIG_MVEBU_A3700_UART is not set
> # CONFIG_MCFUART is not set
> CONFIG_MXC_UART=y
> # CONFIG_NULLDEV_SERIAL is not set
> # CONFIG_SYS_NS16550 is not set
> # CONFIG_NS16550_DYNAMIC is not set
> # CONFIG_PL011_SERIAL is not set
> # CONFIG_MSM_GENI_SERIAL is not set
> # CONFIG_PXA_SERIAL is not set
> # CONFIG_SMEM is not set
> 
> #
> # Sound support
> #
> # CONFIG_SOUND is not set
> 
> #
> # SOC (System On Chip) specific Drivers
> #
> # CONFIG_SOC_DEVICE is not set
> # CONFIG_SOC_TI is not set
> # CONFIG_SPI is not set
> 
> #
> # SPMI support
> #
> # CONFIG_SPMI is not set
> # CONFIG_SYSINFO is not set
> 
> #
> # System reset device drivers
> #
> # CONFIG_SYSRESET is not set
> # CONFIG_TEE is not set
> CONFIG_DM_THERMAL=y
> # CONFIG_IMX_TMU is not set
> # CONFIG_TI_DRA7_THERMAL is not set
> 
> #
> # Timer Support
> #
> # CONFIG_TIMER is not set
> 
> #
> # TPM support
> #
> CONFIG_USB=y
> CONFIG_DM_USB=y
> # CONFIG_DM_USB_GADGET is not set
> 
> #
> # USB Host Controller Drivers
> #
> CONFIG_USB_HOST=y
> CONFIG_USB_XHCI_HCD=y
> CONFIG_USB_XHCI_DWC3=y
> # CONFIG_USB_XHCI_DWC3_OF_SIMPLE is not set
> # CONFIG_USB_XHCI_PCI is not set
> # CONFIG_USB_XHCI_FSL is not set
> # CONFIG_USB_XHCI_BRCM is not set
> # CONFIG_USB_EHCI_HCD is not set
> # CONFIG_USB_OHCI_HCD is not set
> # CONFIG_USB_UHCI_HCD is not set
> # CONFIG_USB_DWC2 is not set
> # CONFIG_USB_R8A66597_HCD is not set
> # CONFIG_USB_CDNS3 is not set
> CONFIG_USB_DWC3=y
> # CONFIG_USB_DWC3_GADGET is not set
> 
> #
> # Platform Glue Driver Support
> #
> # CONFIG_USB_DWC3_OMAP is not set
> # CONFIG_USB_DWC3_LAYERSCAPE is not set
> 
> #
> # PHY Subsystem
> #
> # CONFIG_USB_DWC3_PHY_OMAP is not set
> # CONFIG_USB_DWC3_PHY_SAMSUNG is not set
> 
> #
> # Legacy MUSB Support
> #
> # CONFIG_USB_MUSB_HCD is not set
> # CONFIG_USB_MUSB_UDC is not set
> 
> #
> # MUSB Controller Driver
> #
> # CONFIG_USB_MUSB_HOST is not set
> # CONFIG_USB_MUSB_GADGET is not set
> # CONFIG_USB_MUSB_PIO_ONLY is not set
> 
> #
> # USB Phy
> #
> # CONFIG_TWL4030_USB is not set
> # CONFIG_ROCKCHIP_USB2_PHY is not set
> 
> #
> # ULPI drivers
> #
> 
> #
> # USB peripherals
> #
> CONFIG_USB_STORAGE=y
> # CONFIG_USB_KEYBOARD is not set
> # CONFIG_USB_HOST_ETHER is not set
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_MANUFACTURER="U-Boot"
> CONFIG_USB_GADGET_VENDOR_NUM=0x0
> CONFIG_USB_GADGET_PRODUCT_NUM=0x0
> # CONFIG_USB_GADGET_ATMEL_USBA is not set
> # CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
> CONFIG_USB_GADGET_DWC2_OTG=y
> # CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 is not set
> # CONFIG_USB_GADGET_OS_DESCRIPTORS is not set
> # CONFIG_CI_UDC is not set
> CONFIG_USB_GADGET_VBUS_DRAW=2
> CONFIG_SDP_LOADADDR=0
> CONFIG_USB_GADGET_DUALSPEED=y
> CONFIG_USB_GADGET_DOWNLOAD=y
> # CONFIG_USB_FUNCTION_MASS_STORAGE is not set
> # CONFIG_USB_FUNCTION_ROCKUSB is not set
> CONFIG_USB_FUNCTION_SDP=y
> # CONFIG_USB_FUNCTION_THOR is not set
> # CONFIG_USB_FUNCTION_ACM is not set
> # CONFIG_USB_ETHER is not set
> 
> #
> # UFS Host Controller Support
> #
> # CONFIG_TI_J721E_UFS is not set
> 
> #
> # Graphics support
> #
> # CONFIG_DM_VIDEO is not set
> # CONFIG_SYS_WHITE_ON_BLACK is not set
> # CONFIG_NO_FB_CLEAR is not set
> 
> #
> # TrueType Fonts
> #
> # CONFIG_VIDEO_VESA is not set
> # CONFIG_VIDEO_LCD_ANX9804 is not set
> # CONFIG_VIDEO_LCD_SSD2828 is not set
> # CONFIG_VIDEO_LCD_HITACHI_TX18D42VM is not set
> # CONFIG_VIDEO_MVEBU is not set
> # CONFIG_I2C_EDID is not set
> # CONFIG_DISPLAY is not set
> # CONFIG_ATMEL_HLCD is not set
> # CONFIG_AM335X_LCD is not set
> # CONFIG_VIDEO_TEGRA20 is not set
> # CONFIG_VIDEO_BRIDGE is not set
> # CONFIG_VIDEO is not set
> # CONFIG_LCD is not set
> # CONFIG_VIDEO_SIMPLE is not set
> # CONFIG_VIDEO_DT_SIMPLEFB is not set
> # CONFIG_OSD is not set
> # CONFIG_SPLASH_SCREEN is not set
> # CONFIG_VIDEO_VCXK is not set
> 
> #
> # VirtIO Drivers
> #
> # CONFIG_VIRTIO_MMIO is not set
> 
> #
> # 1-Wire support
> #
> # CONFIG_W1 is not set
> 
> #
> # 1-wire EEPROM support
> #
> # CONFIG_W1_EEPROM is not set
> 
> #
> # Watchdog Timer Support
> #
> # CONFIG_WATCHDOG is not set
> CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
> # CONFIG_IMX_WATCHDOG is not set
> # CONFIG_ULP_WATCHDOG is not set
> # CONFIG_DESIGNWARE_WATCHDOG is not set
> # CONFIG_WDT is not set
> # CONFIG_PVBLOCK is not set
> # CONFIG_PHYS_TO_BUS is not set
> 
> #
> # File systems
> #
> # CONFIG_FS_BTRFS is not set
> # CONFIG_FS_CBFS is not set
> # CONFIG_SPL_FS_CBFS is not set
> CONFIG_FS_EXT4=y
> CONFIG_EXT4_WRITE=y
> CONFIG_FS_FAT=y
> CONFIG_FAT_WRITE=y
> CONFIG_FS_FAT_MAX_CLUSTSIZE=65536
> # CONFIG_FS_JFFS2 is not set
> # CONFIG_UBIFS_SILENCE_MSG is not set
> # CONFIG_FS_CRAMFS is not set
> # CONFIG_YAFFS2 is not set
> # CONFIG_FS_SQUASHFS is not set
> 
> #
> # Library routines
> #
> # CONFIG_ADDR_MAP is not set
> # CONFIG_PHYSMEM is not set
> # CONFIG_BCH is not set
> CONFIG_BINMAN_FDT=y
> # CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
> CONFIG_CHARSET=y
> # CONFIG_DYNAMIC_CRC_TABLE is not set
> CONFIG_LIB_UUID=y
> CONFIG_PRINTF=y
> CONFIG_SPL_PRINTF=y
> CONFIG_SPRINTF=y
> CONFIG_SPL_SPRINTF=y
> CONFIG_STRTO=y
> CONFIG_SPL_STRTO=y
> CONFIG_SYS_HZ=1000
> CONFIG_SPL_USE_TINY_PRINTF=y
> # CONFIG_PANIC_HANG is not set
> CONFIG_REGEX=y
> CONFIG_LIB_RAND=y
> # CONFIG_LIB_HW_RAND is not set
> CONFIG_SUPPORT_ACPI=y
> # CONFIG_GENERATE_ACPI_TABLE is not set
> # CONFIG_SPL_TINY_MEMSET is not set
> # CONFIG_TPL_TINY_MEMSET is not set
> # CONFIG_BITREVERSE is not set
> # CONFIG_TRACE is not set
> # CONFIG_CIRCBUF is not set
> # CONFIG_CMD_DHRYSTONE is not set
> 
> #
> # Security support
> #
> # CONFIG_AES is not set
> # CONFIG_ECDSA is not set
> # CONFIG_RSA is not set
> # CONFIG_ASYMMETRIC_KEY_TYPE is not set
> # CONFIG_TPM is not set
> 
> #
> # Android Verified Boot
> #
> 
> #
> # Hashing Support
> #
> # CONFIG_BLAKE2 is not set
> CONFIG_SHA1=y
> CONFIG_SHA256=y
> # CONFIG_SHA512 is not set
> # CONFIG_SHA384 is not set
> # CONFIG_SHA_HW_ACCEL is not set
> CONFIG_SPL_SHA1=y
> CONFIG_SPL_SHA256=y
> # CONFIG_SPL_SHA512 is not set
> # CONFIG_SPL_SHA384 is not set
> # CONFIG_SPL_SHA_HW_ACCEL is not set
> CONFIG_MD5=y
> CONFIG_CRC32=y
> 
> #
> # Compression Support
> #
> CONFIG_LZ4=y
> CONFIG_LZMA=y
> # CONFIG_LZO is not set
> CONFIG_GZIP=y
> # CONFIG_ZLIB_UNCOMPRESS is not set
> # CONFIG_BZIP2 is not set
> CONFIG_ZLIB=y
> # CONFIG_ZSTD is not set
> # CONFIG_SPL_LZ4 is not set
> # CONFIG_SPL_LZMA is not set
> # CONFIG_SPL_LZO is not set
> # CONFIG_SPL_GZIP is not set
> # CONFIG_SPL_ZSTD is not set
> # CONFIG_ERRNO_STR is not set
> # CONFIG_HEXDUMP is not set
> # CONFIG_GETOPT is not set
> CONFIG_OF_LIBFDT=y
> CONFIG_OF_LIBFDT_ASSUME_MASK=0
> # CONFIG_OF_LIBFDT_OVERLAY is not set
> CONFIG_SPL_OF_LIBFDT=y
> CONFIG_SPL_OF_LIBFDT_ASSUME_MASK=0xff
> # CONFIG_TPL_OF_LIBFDT is not set
> CONFIG_TPL_OF_LIBFDT_ASSUME_MASK=0xff
> 
> #
> # System tables
> #
> CONFIG_GENERATE_SMBIOS_TABLE=y
> # CONFIG_LIB_RATIONAL is not set
> # CONFIG_SPL_LIB_RATIONAL is not set
> # CONFIG_SMBIOS_PARSER is not set
> CONFIG_EFI_LOADER=y
> CONFIG_CMD_BOOTEFI_BOOTMGR=y
> CONFIG_EFI_VARIABLE_FILE_STORE=y
> # CONFIG_EFI_VARIABLES_PRESEED is not set
> CONFIG_EFI_VAR_BUF_SIZE=16384
> # CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set
> # CONFIG_EFI_CAPSULE_ON_DISK is not set
> CONFIG_EFI_DEVICE_PATH_TO_TEXT=y
> CONFIG_EFI_DEVICE_PATH_UTIL=y
> CONFIG_EFI_DT_FIXUP=y
> CONFIG_EFI_LOADER_HII=y
> CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y
> CONFIG_EFI_UNICODE_CAPITALIZATION=y
> # CONFIG_EFI_LOADER_BOUNCE_BUFFER is not set
> CONFIG_EFI_PLATFORM_LANG_CODES="en-US"
> CONFIG_EFI_HAVE_RUNTIME_RESET=y
> CONFIG_EFI_LOAD_FILE2_INITRD=y
> # CONFIG_OPTEE_LIB is not set
> # CONFIG_OPTEE_IMAGE is not set
> # CONFIG_BOOTM_OPTEE is not set
> # CONFIG_TEST_FDTDEC is not set
> CONFIG_LIB_ELF=y
> CONFIG_LMB=y
> CONFIG_LMB_USE_MAX_REGIONS=y
> CONFIG_LMB_MAX_REGIONS=8
> # CONFIG_PHANDLE_CHECK_SEQ is not set
> # CONFIG_UNIT_TEST is not set
> # CONFIG_SPL_UNIT_TEST is not set
> 
> #
> # Tools options
> #
> CONFIG_MKIMAGE_DTC_PATH="dtc"
> CONFIG_TOOLS_CRC32=y
> CONFIG_TOOLS_LIBCRYPTO=y
> CONFIG_TOOLS_FIT=y
> CONFIG_TOOLS_FIT_FULL_CHECK=y
> CONFIG_TOOLS_FIT_PRINT=y
> CONFIG_TOOLS_FIT_RSASSA_PSS=y
> CONFIG_TOOLS_FIT_SIGNATURE=y
> CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE=0x10000000
> CONFIG_TOOLS_FIT_VERBOSE=y
> CONFIG_TOOLS_MD5=y
> CONFIG_TOOLS_OF_LIBFDT=y
> CONFIG_TOOLS_SHA1=y
> CONFIG_TOOLS_SHA256=y
> CONFIG_TOOLS_SHA384=y
> CONFIG_TOOLS_SHA512=y
> # CONFIG_TOOLS_MKEFICAPSULE is not set


-- 
Tommaso Merciai
Embedded Linux Engineer
tommaso.merciai@amarulasolutions.com
__________________________________

Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
info@amarulasolutions.com
www.amarulasolutions.com

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

* Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm
  2022-03-28 10:26     ` Tommaso Merciai
@ 2022-03-28 10:41       ` Jaap Crezee
  0 siblings, 0 replies; 25+ messages in thread
From: Jaap Crezee @ 2022-03-28 10:41 UTC (permalink / raw)
  To: Tommaso Merciai
  Cc: Fabio Estevam, sbabic, marex, u-boot, frieder.schrempf, tharvey,
	uboot-imx

Hello Tommaso,

On 3/28/22 12:26, Tommaso Merciai wrote:
> Hi Jaap,
> Actually I'm able to use SDP on imx8mm_evk over SPL. You need to apply
> the following patchset:
> 
> https://patchwork.ozlabs.org/project/uboot/list/?series=251796&state=*
> 
> plus you need the following configs:
> 
> CONFIG_SPL_USB_HOST=y
> CONFIG_SDP_LOADADDR=0x40400000
> 
> All described here:
> 
> https://www.mail-archive.com/u-boot@lists.denx.de/msg433984.html
> 
> I share with you also all config that I use on U-Boot 2022-04-rc4:
> 
> CONFIG_SPL_USB_HOST=y
> CONFIG_SPL_USB_HOST_SUPPORT=y
> CONFIG_SPL_USB_GADGET=y
> CONFIG_SPL_USB_SDP_SUPPORT=y
> CONFIG_CMD_USB=y
> CONFIG_CMD_USB_SDP=y
> CONFIG_CMD_USB_MASS_STORAGE=y
> CONFIG_POWER_DOMAIN=y
> CONFIG_IMX8M_POWER_DOMAIN=y
> CONFIG_USB=y
> CONFIG_DM_USB=y
> # CONFIG_SPL_DM_USB is not set
> CONFIG_USB_EHCI_HCD=y
> CONFIG_MXC_USB_OTG_HACTIVE=y
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_MANUFACTURER="FSL"
> CONFIG_USB_GADGET_VENDOR_NUM=0x0525
> CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
> CONFIG_CI_UDC=y
> CONFIG_USB_GADGET_DOWNLOAD=y
> CONFIG_SDP_LOADADDR=0x40400000

Thank you. I will give this another try, but I still assume imx8mq_evk != imx8mm_evk and it seems imx8mm is having code which imx8mq does not have 
(board/spl).
Once I have done more research I will report back.

greetings,

Jaap

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

end of thread, other threads:[~2022-03-28 10:41 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
2021-07-03 19:58 ` [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM Fabio Estevam
2021-07-03 20:55   ` Marek Vasut
2021-07-03 21:38     ` Fabio Estevam
2021-07-04  1:04       ` Marek Vasut
2021-07-04 15:35         ` Fabio Estevam
2021-07-04 19:25           ` Marek Vasut
2021-07-06 16:11             ` Tim Harvey
2021-07-06 21:17               ` Marek Vasut
2021-07-07 17:37                 ` Simon Glass
2021-07-03 19:58 ` [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M Fabio Estevam
2021-08-06 12:12   ` Stefano Babic
2021-07-03 19:58 ` [PATCH 3/8] usb: ehci-mx6: move mode set/detect to probe Fabio Estevam
2021-07-03 19:58 ` [PATCH 4/8] usb: ehci-mx6: add IMX8MM and IMX8MN OTG support Fabio Estevam
2021-07-03 19:58 ` [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm Fabio Estevam
2021-07-03 20:57   ` Marek Vasut
2021-07-03 21:39     ` Fabio Estevam
2022-03-27 21:02   ` Jaap Crezee
2022-03-27 21:43     ` Fabio Estevam
2022-03-28  7:17       ` Jaap Crezee
2022-03-28 10:26     ` Tommaso Merciai
2022-03-28 10:41       ` Jaap Crezee
2021-07-03 19:58 ` [PATCH 6/8] imx8mm_evk: Add an entry for USB boot Fabio Estevam
2021-07-03 19:58 ` [PATCH 7/8] imx8mm_evk: Add Serial Download Protocol support Fabio Estevam
2021-07-03 19:58 ` [PATCH 8/8] doc: imx8mm_evk: Add instructions for eMMC boot Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).