Documentation: boards: stm32mp: document eMMC boot configuration
Subsystems (2)
PATCH 1/1 Documentation: boards: stm32mp: document eMMC boot configuration
From: Ahmad Fatoum <[email protected]>
In order to boot from eMMC on the STM32MP15x, the boot_ack bit in the ext_csd register must be set. Document this and while at it, fix a misformatted code block in the same section.
Signed-off-by Ahmad Fatoum <[email protected]>
Signed-off-by Bastian Krause <[email protected]>
--- Documentation/boards/stm32mp.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
Documentation/boards/stm32mp.rst +12 -1
@@ -64,7 +64,7 @@ An appropriate image for a SD-Card can be generated with following } For eMMC, the boot partitions are used as the FSBL partitions and so the user -partitions may look like this: +partitions may look like this:: image @[email protected] { partition ssbl {
@@ -80,6 +80,17 @@ partitions may look like this: The fsbl1 and fsbl2 can be flashed by writing to barebox ``/dev/mmcX.boot0`` and ``/dev/mmcX.boot1`` respectively or from a booted operating system. +Additionally, the eMMC's ``ext_csd`` register must be modified to activate the +boot acknowledge signal (``BOOT_ACK``) and to select a boot partition. + +Assuming ``CONFIG_CMD_MMC_EXTCSD`` is enabled and the board shall boot from +``/dev/mmc1.boot1``:: + + mmc_extcsd /dev/mmc1 -i 179 -v 0x50 + +The STM32MP1 BootROM does *not* support booting from eMMC without fast boot +acknowledge. + Boot source selection ---------------------
Signature · 7 lines
2.28.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 11 lines · Bastian Krause
From: Ahmad Fatoum <[email protected]>
In order to boot from eMMC on the STM32MP15x, the
boot_ackbit in theext_csdregister must be set. Document this and while at it, fix a misformatted code block in the same section.Signed-off-by Ahmad Fatoum <[email protected]>Signed-off-by Bastian Krause <[email protected]>--- Documentation/boards/stm32mp.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
Applied, thanks
Sascha
Signature · 9 lines
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 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox