mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] Documentation: Add GuF Santaro documentation
Date: Thu,  6 Nov 2014 12:37:10 +0100	[thread overview]
Message-ID: <1415273830-19706-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1415273830-19706-1-git-send-email-s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 Documentation/boards/garz-fricke.rst | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 Documentation/boards/garz-fricke.rst

diff --git a/Documentation/boards/garz-fricke.rst b/Documentation/boards/garz-fricke.rst
new file mode 100644
index 0000000..33d0dd3
--- /dev/null
+++ b/Documentation/boards/garz-fricke.rst
@@ -0,0 +1,33 @@
+Garz & Fricke based boards
+==========================
+
+Garz & Fricke have a variety of Freescale i.MX based boards. Most boards are
+shipped with the redboot bootloader, newer boards are shipped with a combination
+of a shim (U-Boot based) non interactive loader and a Linux based rescue system
+called 'Flash-N-Go'.
+
+Santaro (i.MX6)
+---------------
+
+This board comes with Flash-N-Go. It boots from the internal eMMC boot0 partition.
+To put barebox on this board boot the system up in the Flash-N-Go system by holding
+the user button pressed during startup. The barebox image can be transferred via
+network or any other medium the Santaro supports. You can backup the original bootloader
+with:
+
+.. code-block:: sh
+  cat /dev/mmcblk0boot0 > /mnt/mmcblk0boot0.backup
+  cat /dev/mmcblk0boot1 > /mnt/mmcblk0boot1.backup
+
+The original bootloader can be restored by copying the backup files back to the
+device.
+
+To install barebox on the board do:
+
+.. code-block:: sh
+  echo 0 > /sys/block/mmcblk0boot0/force_ro
+  cat barebox-guf-santaro.img > /dev/mmcblk0boot0
+
+The board will come up with barebox after restart. Should you end up with a nonworking
+barebox or otherwise brick your board this way write a mail to s.hauer@pengutronix.de.
+There's a way to put the board into SD/USB boot mode, but this requires opening the case.
-- 
2.1.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2014-11-06 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 11:37 [PATCH 1/2] ARM: i.MX6: GuF Santaro: Use emmc boot1 for storing the environment Sascha Hauer
2014-11-06 11:37 ` Sascha Hauer [this message]

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=1415273830-19706-2-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --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