All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Hahn <B.Hahn@phytec.de>
To: Thorsten Schmelzer <t.schmelzer@phytec.de>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	upstream@lists.phytec.de, u-boot@lists.u-boot-project.org
Cc: Tom Rini <trini@konsulko.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Stefano Babic <sbabic@nabladev.com>,
	Fabio Estevam <festevam@gmail.com>,
	Francesco Dolcini <francesco.dolcini@toradex.com>,
	Peng Fan <peng.fan@nxp.com>,
	Benedikt Spranger <b.spranger@linutronix.de>,
	INgo Rah <ingo.rah@linutronix.de>
Subject: Re: [PATCH 2/4] configs: phycore-imx8mm: Add support for loading via UUU tool
Date: Wed, 25 Nov 2026 17:50:25 +0100	[thread overview]
Message-ID: <413d5576-b844-4432-88dd-e86cf80db28b@phytec.de> (raw)
In-Reply-To: <20261119-wip-t-schmelzer-phytec-de-usb-uuu-support-imx8mm-v1-2-dd6db9e5edfd@phytec.de>

Am 19.11.26 um 15:12 schrieb Thorsten Schmelzer:
> Enable all options, which are required to load and run u-boot through
> the USB serial download mode and to do basic flash operations with the
> NXP UUU tool. This includes:
>
> - generic USB support for imx8mm
> - USB gadget support including gadget configuration
> - SDP protocol support
> - fastboot support including fastboot configuration
> - fastboot UUU support
>
> Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
Reviewed-by: Benjamin Hahn <B.Hahn@phytec.de>
> ---
>   configs/phycore-imx8mm_defconfig | 28 ++++++++++++++++++++++++++++
>   1 file changed, 28 insertions(+)
>
> diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig
> index 2be57246addd..7d4f6005dbaa 100644
> --- a/configs/phycore-imx8mm_defconfig
> +++ b/configs/phycore-imx8mm_defconfig
> @@ -29,6 +29,7 @@ CONFIG_SPL_HAVE_INIT_STACK=y
>   CONFIG_SPL=y
>   CONFIG_ENV_OFFSET_REDUND=0x3E0000
>   CONFIG_PCI=y
> +# CONFIG_ANDROID_BOOT_IMAGE is not set
>   CONFIG_FIT=y
>   CONFIG_FIT_EXTERNAL_OFFSET=0x3000
>   CONFIG_SPL_LOAD_FIT=y
> @@ -58,6 +59,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
> @@ -65,6 +67,9 @@ CONFIG_CMD_I2C=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF_TEST=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
> @@ -82,6 +87,17 @@ CONFIG_CLK_COMPOSITE_CCF=y
>   CONFIG_SPL_CLK_IMX8MM=y
>   CONFIG_CLK_IMX8MM=y
>   CONFIG_FSL_CAAM=y
> +CONFIG_USB_FUNCTION_FASTBOOT=y
> +CONFIG_FASTBOOT_BUF_ADDR=0x44200000
> +CONFIG_FASTBOOT_BUF_SIZE=0x13000000
> +CONFIG_FASTBOOT_FLASH=y
> +CONFIG_FASTBOOT_UUU_SUPPORT=y
> +CONFIG_FASTBOOT_FLASH_MMC_DEV=2
> +CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
> +CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc2boot0"
> +CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc2boot1"
> +CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> +CONFIG_FASTBOOT_MMC_USER_NAME="mmc2"
>   CONFIG_MXC_GPIO=y
>   CONFIG_DM_I2C=y
>   CONFIG_I2C_EEPROM=y
> @@ -131,4 +147,16 @@ CONFIG_SYSRESET_PSCI=y
>   CONFIG_SYSRESET_WATCHDOG=y
>   CONFIG_TEE=y
>   CONFIG_OPTEE=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_MANUFACTURER="PHYTEC"
> +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
>

  reply	other threads:[~2026-11-25 16:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 14:12 [PATCH 0/4] board: phycore-imx8mm: Add support for flashing through UUU Thorsten Schmelzer
2026-11-19 14:12 ` [PATCH 1/4] arm: dts: imx8mm-phyboard-polis-rdk-u-boot: Add usb entries for SPL Thorsten Schmelzer
2026-11-25 16:48   ` Benjamin Hahn
2026-11-25 16:49   ` Benjamin Hahn
2026-11-19 14:12 ` [PATCH 2/4] configs: phycore-imx8mm: Add support for loading via UUU tool Thorsten Schmelzer
2026-11-25 16:50   ` Benjamin Hahn [this message]
2026-11-19 14:12 ` [PATCH 3/4] board: phycore-imx8mm: Start fastboot when booted through USB Thorsten Schmelzer
2026-11-25 16:50   ` [Upstream] " Benjamin Hahn
2026-11-19 14:12 ` [PATCH 4/4] board: phycore_imx8mm: env: Add fastboot raw partitions for UUU Thorsten Schmelzer
2026-11-25 16:51   ` [Upstream] " Benjamin Hahn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=413d5576-b844-4432-88dd-e86cf80db28b@phytec.de \
    --to=b.hahn@phytec.de \
    --cc=b.spranger@linutronix.de \
    --cc=festevam@gmail.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=ingo.rah@linutronix.de \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@nabladev.com \
    --cc=t.schmelzer@phytec.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=uboot-imx@nxp.com \
    --cc=upstream@lists.phytec.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.