* [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility
@ 2021-01-29 16:08 Ahmad Fatoum
2021-02-01 0:26 ` Roland Hieber
0 siblings, 1 reply; 3+ messages in thread
From: Ahmad Fatoum @ 2021-01-29 16:08 UTC (permalink / raw)
To: distrokit
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility
2021-01-29 16:08 [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility Ahmad Fatoum
@ 2021-02-01 0:26 ` Roland Hieber
2021-02-01 10:02 ` Ahmad Fatoum
0 siblings, 1 reply; 3+ messages in thread
From: Roland Hieber @ 2021-02-01 0:26 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: distrokit
On Fri, Jan 29, 2021 at 05:08:12PM +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
Please add a Signed-off-by.
> ---
> 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
>
--
Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility
2021-02-01 0:26 ` Roland Hieber
@ 2021-02-01 10:02 ` Ahmad Fatoum
0 siblings, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2021-02-01 10:02 UTC (permalink / raw)
To: Roland Hieber; +Cc: distrokit
On 01.02.21 01:26, Roland Hieber wrote:
> On Fri, Jan 29, 2021 at 05:08:12PM +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
>
> Please add a Signed-off-by.
Thanks. Just sent out v2.
>
>> ---
>> 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
>>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-01 10:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 16:08 [DistroKit] [PATCH] v7a: barebox: stm32mp: enable mmc_extcsd utility Ahmad Fatoum
2021-02-01 0:26 ` Roland Hieber
2021-02-01 10:02 ` Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox