From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5WJl-0001Zg-Hv for distrokit@pengutronix.de; Fri, 29 Jan 2021 17:08:17 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1l5WJl-0001Ua-9E for distrokit@pengutronix.de; Fri, 29 Jan 2021 17:08:17 +0100 From: Ahmad Fatoum Date: Fri, 29 Jan 2021 17:08:12 +0100 Message-Id: <20210129160812.5534-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de The LXA MC-1 can boot from eMMC as well. The BootROM only supports booting with fast boot acknowledge though, which is a one time configuration. Include the mmc_extcsd tool needed to configure this: https://www.barebox.org/doc/latest/boards/stm32mp.html#flashing-barebox --- configs/platform-v7a/barebox-stm32mp.config | 2 +- configs/platform-v7a/barebox-stm32mp.config.diff | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config index 5e1faed9b977..10df8b08857a 100644 --- a/configs/platform-v7a/barebox-stm32mp.config +++ b/configs/platform-v7a/barebox-stm32mp.config @@ -242,7 +242,7 @@ CONFIG_CMD_ARM_MMUINFO=y CONFIG_CMD_REGULATOR=y CONFIG_CMD_VERSION=y CONFIG_CMD_MMC=y -# CONFIG_CMD_MMC_EXTCSD is not set +CONFIG_CMD_MMC_EXTCSD=y # CONFIG_CMD_POLLER is not set # end of Information diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff index 0d61820be5ee..4b1564f9cb7a 100644 --- a/configs/platform-v7a/barebox-stm32mp.config.diff +++ b/configs/platform-v7a/barebox-stm32mp.config.diff @@ -24,6 +24,7 @@ CONFIG_BOOTM_OFTREE_UIMAGE=y # CONFIG_CMD_LED_TRIGGER is undefined CONFIG_CMD_MENU_MANAGEMENT=y CONFIG_CMD_MIITOOL=y +CONFIG_CMD_MMC_EXTCSD=y CONFIG_CMD_OF_DIFF=y CONFIG_CMD_POWEROFF=y # CONFIG_CMD_SPI is undefined -- 2.30.0 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de