U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] config: imx: Add support for Phytec's phycore imx8mm running SDP gadget
@ 2024-08-15  8:45 Lukasz Majewski
  2024-08-19 13:29 ` Benjamin Hahn
  0 siblings, 1 reply; 6+ messages in thread
From: Lukasz Majewski @ 2024-08-15  8:45 UTC (permalink / raw)
  To: Teresa Remmet, Stefano Babic, Fabio Estevam
  Cc: uboot-imx, Cem Tenruh, Tom Rini, u-boot, Yannic Moog,
	Benjamin Hahn, Svyatoslav Ryhel, Simon Glass, Lukasz Majewski

After this change it would be possible to boot SDP gadget when Phytec's
Phycore imx8mm module has USB ROM boot selected.

With this change it shall be possible to flash eMMC/SD card content with
uuu program.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 configs/phycore-imx8mm_defconfig | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig
index 6748e6fafb..beb2f1e9f0 100644
--- a/configs/phycore-imx8mm_defconfig
+++ b/configs/phycore-imx8mm_defconfig
@@ -25,6 +25,7 @@ CONFIG_SPL=y
 CONFIG_ENV_OFFSET_REDUND=0x3E0000
 CONFIG_SYS_LOAD_ADDR=0x40480000
 CONFIG_PCI=y
+# CONFIG_ANDROID_BOOT_IMAGE is not set
 CONFIG_FIT=y
 CONFIG_FIT_EXTERNAL_OFFSET=0x3000
 CONFIG_SPL_LOAD_FIT=y
@@ -57,6 +58,7 @@ CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
 CONFIG_SYS_EEPROM_SIZE=4096
 CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=5
 CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
+# CONFIG_CMD_BIND is not set
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
@@ -86,6 +88,10 @@ CONFIG_SPL_CLK_COMPOSITE_CCF=y
 CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
+CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_FASTBOOT_BUF_ADDR=0x42800000
+CONFIG_FASTBOOT_BUF_SIZE=0x20000000
+CONFIG_FASTBOOT_UUU_SUPPORT=y
 CONFIG_MXC_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_MISC=y
@@ -116,7 +122,6 @@ CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_NVME_PCI=y
 CONFIG_PCIE_DW_IMX=y
-CONFIG_PHY=y
 CONFIG_PHY_IMX8M_PCIE=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
@@ -136,4 +141,15 @@ CONFIG_SYSRESET_PSCI=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_TMU=y
+CONFIG_USB=y
+CONFIG_SPL_USB_HOST=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_MXC_USB_OTG_HACTIVE=y
+CONFIG_USB_GADGET=y
+CONFIG_SPL_USB_GADGET=y
+CONFIG_USB_GADGET_VENDOR_NUM=0x0525
+CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
+CONFIG_CI_UDC=y
+CONFIG_SDP_LOADADDR=0x40400000
+CONFIG_SPL_USB_SDP_SUPPORT=y
 CONFIG_IMX_WATCHDOG=y
-- 
2.39.2


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

end of thread, other threads:[~2024-08-21 15:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15  8:45 [PATCH] config: imx: Add support for Phytec's phycore imx8mm running SDP gadget Lukasz Majewski
2024-08-19 13:29 ` Benjamin Hahn
2024-08-19 14:36   ` Lukasz Majewski
2024-08-21  9:53     ` Benjamin Hahn
2024-08-21 10:10       ` Lukasz Majewski
2024-08-21 15:06         ` Benjamin Hahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox