* [PATCH 1/2] ARM: i.MX6: GuF Santaro: Use emmc boot1 for storing the environment
@ 2014-11-06 11:37 Sascha Hauer
2014-11-06 11:37 ` [PATCH 2/2] Documentation: Add GuF Santaro documentation Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2014-11-06 11:37 UTC (permalink / raw)
To: barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/dts/imx6q-guf-santaro.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6q-guf-santaro.dts b/arch/arm/dts/imx6q-guf-santaro.dts
index db93a48..7978d80 100644
--- a/arch/arm/dts/imx6q-guf-santaro.dts
+++ b/arch/arm/dts/imx6q-guf-santaro.dts
@@ -28,7 +28,7 @@
environment-emmc {
compatible = "barebox,environment";
- device-path = &usdhc2, "partname:barebox-environment";
+ device-path = &usdhc4, "partname:boot1";
};
};
--
2.1.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] Documentation: Add GuF Santaro documentation
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
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-11-06 11:37 UTC (permalink / raw)
To: barebox
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-06 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 2/2] Documentation: Add GuF Santaro documentation Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox