Skip to content

Commit ced3cb1

Browse files
jasonbuxiaoxiang781216
authored andcommitted
Documentation: imx95-a55-evk: add UMS flashing steps for u-boot
Add detailed steps for copying nuttx.bin to eMMC via u-boot USB Mass Storage (ums) mode, which exposes the eMMC as a USB drive on the host PC for easy file transfer. Signed-off-by: buxiasen <buxiasen@xiaomi.com>
1 parent b3b7e01 commit ced3cb1

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

  • Documentation/platforms/arm64/imx9/boards/imx95-a55-evk

Documentation/platforms/arm64/imx9/boards/imx95-a55-evk/index.rst

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,25 @@ You have four options:
8181
Option 1: load via u-boot from SD-card:
8282
---------------------------------------
8383

84-
1. Build nuttx, and move ``nuttx.bin`` to MMC
84+
1. Build nuttx
8585

86-
2. Load from MMC and start nuttx payload
86+
2. In the u-boot console, expose the eMMC as a USB mass storage device:
87+
88+
.. code:: console
89+
90+
u-boot=> ums 0 mmc 0
91+
92+
The board will appear as a USB drive on the host PC.
93+
94+
3. On the Linux host, copy ``nuttx.bin`` to the boot partition:
95+
96+
.. code:: console
97+
98+
$ cp nuttx.bin /media/`id -un`/boot
99+
100+
4. Go back to the u-boot console and press ``Ctrl+C`` to stop UMS mode.
101+
102+
5. Load from MMC and start nuttx payload:
87103

88104
.. code:: console
89105

0 commit comments

Comments
 (0)