summaryrefslogtreecommitdiffstats
path: root/Documentation/boards/imx
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/boards/imx')
-rw-r--r--Documentation/boards/imx/embest-marsboard.rst82
-rw-r--r--Documentation/boards/imx/zii-vf610-dev/openocd.cfg8
2 files changed, 86 insertions, 4 deletions
diff --git a/Documentation/boards/imx/embest-marsboard.rst b/Documentation/boards/imx/embest-marsboard.rst
new file mode 100644
index 0000000000..bdaa0880ae
--- /dev/null
+++ b/Documentation/boards/imx/embest-marsboard.rst
@@ -0,0 +1,82 @@
+Embest MarS Board
+=================
+
+Board comes with:
+
+* 1G DDR3 SDRAM
+* 4G eMMC
+* 2M SPI-NOR Flash
+
+Layout::
+
+ .-----------------------------------------------------.
+ |O OTG-->| V | O|
+ | SW1 USB '---' .--|
+ | .-----------. v.---. .->| <|
+ | | | 1|o--| O | `--|
+ | | i.MX6Dual | 2|--o| N Debug |
+ | | SoC | `---' USB |
+ | | | |
+ | `-----------' |
+ | |
+ | |
+ | |
+ | |
+ |O O|
+ `-----------------------------------------------------'
+
+Boot Configuration
+==================
+
+DIP Switch ``SW1`` on the board can be used to set ``BOOT_MODE1`` and
+``BOOT_MODE0`` going to the i.MX6:
+
+Set ``SW1 = 01`` for serial boot::
+
+ SW1
+ v.---.
+ 1|o--| O
+ 2|--o| N
+ `---'
+
+Set ``SW1 = 10`` for internal (SPI-NOR Flash) boot::
+
+ SW1
+ v.---.
+ 1|--o| O
+ 2|o--| N
+ `---'
+
+Set ``SW1 = 00`` for boot from eFuses::
+
+ SW1
+ v.---.
+ 1|o--| O
+ 2|o--| N
+ `---'
+
+Flashing barebox
+----------------
+
+ 1. Connect to the board's Debug Mini-USB (115200 8N1)
+
+ 2. Set ``SW1 = 01`` for serial boot mode (see above)
+
+ 3. Turn board's power on
+
+ 4. Upload barebox image to the board via imx-usb-loader
+
+.. code-block:: none
+
+ host$ imx-usb-loader images/barebox-embest-imx6q-marsboard.img
+..
+
+ 4. Flash barebox to SPI-NOR Flash via Android Fastboot
+
+.. code-block:: none
+
+ host$ fastboot flash bbu-spiflash images/barebox-embest-imx6q-marsboard.img
+
+..
+
+ 5. Restore ``SW1 = 10`` for internal (SPI-NOR) boot (see above)
diff --git a/Documentation/boards/imx/zii-vf610-dev/openocd.cfg b/Documentation/boards/imx/zii-vf610-dev/openocd.cfg
index 5127c7623d..c94f9d048d 100644
--- a/Documentation/boards/imx/zii-vf610-dev/openocd.cfg
+++ b/Documentation/boards/imx/zii-vf610-dev/openocd.cfg
@@ -148,10 +148,10 @@ proc ddr_init { } {
mww phys 0x400ae210 0x00000506 ;# wm 32 DDRMC_CR132 0x00000506
mww phys 0x400ae224 0x00020000 ;# wm 32 DDRMC_CR137 0x00020000
mww phys 0x400ae228 0x01000100 ;# wm 32 DDRMC_CR138 0x01000100
- mww phys 0x400ae22c 0x04070303 ;# wm 32 DDRMC_CR154 0x682c4000
- mww phys 0x400ae230 0x00000040 ;# wm 32 DDRMC_CR155 0x00000009
- mww phys 0x400ae23c 0x06000080 ;# wm 32 DDRMC_CR158 0x00000006
- mww phys 0x400ae240 0x04070303 ;# wm 32 DDRMC_CR161 0x00010606
+ mww phys 0x400ae268 0x682c4000 ;# wm 32 DDRMC_CR154 0x682c4000
+ mww phys 0x400ae26c 0x00000009 ;# wm 32 DDRMC_CR155 0x00000009
+ mww phys 0x400ae278 0x00000006 ;# wm 32 DDRMC_CR158 0x00000006
+ mww phys 0x400ae284 0x00010606 ;# wm 32 DDRMC_CR161 0x00010606
#
# flash-header-zii-vf610-dev.imxcfg