The evaluation kits have 2P DIP-Switches for boot mode selection. Document them. Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx> --- Documentation/boards/stm32mp.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/boards/stm32mp.rst b/Documentation/boards/stm32mp.rst index d4429aae2765..f93ec04eb04d 100644 --- a/Documentation/boards/stm32mp.rst +++ b/Documentation/boards/stm32mp.rst @@ -62,3 +62,22 @@ An appropriate image for the boot media can be generated with following } Image can then be flashed on e.g. a SD-Card. + +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:: + + +-------+ + BOOT2 | O O-- | + BOOT0 | N O-- | <---- SDMMC + +-------+ + +-------+ + BOOT2 | O O-- | + BOOT0 | N --O | <---- QSPI-NOR Flash + +-------+ + +-------+ + BOOT2 | O --O | + BOOT0 | N --O | <---- DFU on UART and USB OTG + +-------+ -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox