mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Subject: [PATCH] Documentation: boards: stm32mp: document boot mode strap pins
Date: Wed, 30 Oct 2019 10:27:31 +0100	[thread overview]
Message-ID: <20191030092731.7154-1-ahmad@a3f.at> (raw)

The evaluation kits have 2P DIP-Switches for boot mode selection.
Document them.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2019-10-30  9:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-30  9:27 Ahmad Fatoum [this message]
2019-11-04  8:05 ` Sascha Hauer

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=20191030092731.7154-1-ahmad@a3f.at \
    --to=ahmad@a3f.at \
    --cc=barebox@lists.infradead.org \
    /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