Skip to content

Commit 24085d0

Browse files
Jeppe Odgaardfabiobaltieri
Jeppe Odgaard
authored andcommitted
boards: doc: Add programming tabs for mimx8mq_evk
Improve documentation by putting programming methods into tabs. Signed-off-by: Jeppe Odgaard <[email protected]>
1 parent 137097f commit 24085d0

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

boards/arm/mimx8mq_evk/doc/index.rst

+25-25
Original file line numberDiff line numberDiff line change
@@ -140,48 +140,48 @@ The available configurations are:
140140
141141
Load and run Zephyr on M4 from A53 using u-boot.
142142

143-
From an SD card:
143+
.. tabs::
144144

145-
Copy the compiled ``zephyr.bin`` to the first FAT partition of the
146-
SD card and plug the SD card into the board. Power it up and stop the u-boot
147-
execution at prompt.
145+
.. group-tab:: From an SD card
146+
Copy the compiled ``zephyr.bin`` to the first FAT partition of the
147+
SD card and plug the SD card into the board. Power it up and stop the u-boot
148+
execution at prompt.
148149

149-
Load the M4 binary onto the desired memory and start its execution using:
150+
Load the M4 binary onto the desired memory and start its execution using:
150151

151-
.. code-block:: console
152-
153-
fatload mmc 0:1 0x40480000 zephyr.bin
154-
cp.b 0x40480000 0x7e0000 0x8000
155-
bootaux 0x7e0000
152+
.. code-block:: console
156153
157-
From serial:
154+
fatload mmc 0:1 0x40480000 zephyr.bin
155+
cp.b 0x40480000 0x7e0000 0x8000
156+
bootaux 0x7e0000
158157
159-
This procedure requires `screen` and `lrzsz` to be installed.
158+
.. group-tab:: From serial
159+
This procedure requires ``screen`` and ``lrzsz`` to be installed.
160160

161-
Start ``screen``, power up the board, and stop the u-boot execution at prompt:
161+
Start ``screen``, power up the board, and stop the u-boot execution at prompt:
162162

163-
.. code-block:: console
163+
.. code-block:: console
164164
165-
screen <tty-device> 115200
165+
screen <tty-device> 115200
166166
167-
Start ``loadx`` with offset ``7e0000``:
167+
Start ``loadx`` with offset ``7e0000``:
168168

169-
.. code-block:: console
169+
.. code-block:: console
170170
171-
loadx 7e0000 115200
171+
loadx 7e0000 115200
172172
173-
Send the compiled ``zephyr.bin`` with ``sx`` by pressing Ctrl-a followed by ':'
174-
and write:
173+
Send the compiled ``zephyr.bin`` with ``sx`` by pressing :kbd:`Ctrl-a` followed by :kbd:`:`
174+
and write:
175175

176-
.. code-block:: console
176+
.. code-block:: console
177177
178-
exec !! sx </full/path/to/zephyr.bin>
178+
exec !! sx </full/path/to/zephyr.bin>
179179
180-
Start execution:
180+
Start execution:
181181

182-
.. code-block:: console
182+
.. code-block:: console
183183
184-
bootaux 0x7e0000
184+
bootaux 0x7e0000
185185
186186
Debugging
187187
=========

0 commit comments

Comments
 (0)