DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v2] v7a: barebox: stm32mp: enable mmc_extcsd utility
@ 2021-02-01 10:01 Ahmad Fatoum
  2021-02-01 18:03 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2021-02-01 10:01 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

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

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
v1 -> v2:
  - Add missing S-o-b (Roland)
---
 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

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

* Re: [DistroKit] [PATCH v2] v7a: barebox: stm32mp: enable mmc_extcsd utility
  2021-02-01 10:01 [DistroKit] [PATCH v2] v7a: barebox: stm32mp: enable mmc_extcsd utility Ahmad Fatoum
@ 2021-02-01 18:03 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2021-02-01 18:03 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: distrokit

On Mon, Feb 01, 2021 at 11:01:48AM +0100, Ahmad Fatoum wrote:
> 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
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> v1 -> v2:
>   - Add missing S-o-b (Roland)
> ---
>  configs/platform-v7a/barebox-stm32mp.config      | 2 +-
>  configs/platform-v7a/barebox-stm32mp.config.diff | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)

Applied, thx.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2021-02-01 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01 10:01 [DistroKit] [PATCH v2] v7a: barebox: stm32mp: enable mmc_extcsd utility Ahmad Fatoum
2021-02-01 18:03 ` Robert Schwebel

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