DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Subject: [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility
Date: Fri, 29 Jan 2021 17:08:12 +0100	[thread overview]
Message-ID: <20210129160812.5534-1-a.fatoum@pengutronix.de> (raw)

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

             reply	other threads:[~2021-01-29 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 16:08 Ahmad Fatoum [this message]
2021-02-01  0:26 ` Roland Hieber
2021-02-01 10:02   ` Ahmad Fatoum

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=20210129160812.5534-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox