mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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>
This commit is contained in:
parent
b3b7e012e9
commit
ced3cb1aa8
1 changed files with 18 additions and 2 deletions
|
|
@ -81,9 +81,25 @@ You have four options:
|
|||
Option 1: load via u-boot from SD-card:
|
||||
---------------------------------------
|
||||
|
||||
1. Build nuttx, and move ``nuttx.bin`` to MMC
|
||||
1. Build nuttx
|
||||
|
||||
2. Load from MMC and start nuttx payload
|
||||
2. In the u-boot console, expose the eMMC as a USB mass storage device:
|
||||
|
||||
.. code:: console
|
||||
|
||||
u-boot=> ums 0 mmc 0
|
||||
|
||||
The board will appear as a USB drive on the host PC.
|
||||
|
||||
3. On the Linux host, copy ``nuttx.bin`` to the boot partition:
|
||||
|
||||
.. code:: console
|
||||
|
||||
$ cp nuttx.bin /media/`id -un`/boot
|
||||
|
||||
4. Go back to the u-boot console and press ``Ctrl+C`` to stop UMS mode.
|
||||
|
||||
5. Load from MMC and start nuttx payload:
|
||||
|
||||
.. code:: console
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue