diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-16 09:59:04 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-17 09:39:24 +0100 |
commit | 0cf19c29a325c5d31fcb6984106ec3d4c75c0af9 (patch) | |
tree | 5ff1f75936bd644f9b07e5ba7384ba5347a2da92 /Documentation/boards | |
parent | 18e0d8bb177d6fe70b79a97c3bbe25b7cf6ba864 (diff) | |
download | barebox-0cf19c29a325c5d31fcb6984106ec3d4c75c0af9.tar.gz barebox-0cf19c29a325c5d31fcb6984106ec3d4c75c0af9.tar.xz |
ARM: stm32mp: add support for STM32MP157-EV1 board
The STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards are the
full-feature demonstration and development platforms for
STMicroelectronics Arm®-based dual Cortex®-A7 32 bits and
Cortex®-M4 32 bits MPUs in the STM32MP1 Series.
Add support for running barebox as SSBL on either of them.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/boards')
-rw-r--r-- | Documentation/boards/stm32mp.rst | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/Documentation/boards/stm32mp.rst b/Documentation/boards/stm32mp.rst index 87fff7d125..24b7a19ceb 100644 --- a/Documentation/boards/stm32mp.rst +++ b/Documentation/boards/stm32mp.rst @@ -32,6 +32,7 @@ The resulting images will be placed under ``images/``: barebox-stm32mp15xx-dkx.img # both DK1 and DK2 barebox-stm32mp157c-lxa-mc1.img barebox-stm32mp157c-seeed-odyssey.img + barebox-stm32mp15x-ev1.img # stm32mp157c-ev1 and friends Flashing barebox @@ -94,8 +95,38 @@ acknowledge. Boot source selection --------------------- -The STM32MP BootROM samples three boot pins at reset. Usually BOOT1 is -pulled down and BOOT0 and BOOT2 are connected to a 2P DIP switch:: +The STM32MP BootROM samples three boot pins at reset. On official +eval kit, they are either connected to a 3P DIP switch or 2P (with +BOOT1 pulled down). + +EV-1 +^^^^ +SW1 on the DK boards sets boot mode as follows:: + + +-------+ + | --- | + BOOT2 | O-- | + BOOT1 | O --O | + BOOT0 | N O-- | <---- SD-Card + +-------+ + + +-------+ + | --- | + BOOT2 | --O | + BOOT1 | O O-- | + BOOT0 | N --O | <---- eMMC + +-------+ + + +-------+ + | --- | + BOOT2 | --O | + BOOT1 | O --O | + BOOT0 | N --O | <---- DFU on UART and USB OTG + +-------+ + +DK-1/DK-2 +^^^^^^^^^ +Boot mode on the DK board is set as follows:: +-------+ BOOT2 | O O-- | |