Skip to content

Commit

Permalink
docs/build: add "file" setting to the [storage] section
Browse files Browse the repository at this point in the history
Since a backing file/device is required for the emulated storage
to work, let's make sure setup instructions for the NanoPI NEO
have "file" set to "/dev/sda" to make sure people end-up with
something that works out of the box.

Fixes: #296
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
  • Loading branch information
chombourger committed Aug 3, 2023
1 parent e3b31cb commit 077194c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ Hit ``i`` to enter the input mode and type the following configuration::

[storage]
variant=usbf
file=/dev/sda

Hit ``ESC`` to leave the input mode and type ``:x`` to exit. You should be back
to the shell and may restart the agent::
Expand Down Expand Up @@ -493,6 +494,7 @@ The following configuration file may be used for the DE0-Nano-SoC::
[storage]
variant=samsung
serial=sdwire1
device=/dev/sda

where ``sdwire1`` is the serial number programmed into the SDWire EEPROM. Use
``sd-mux-ctrl -l`` to list SDWire devices connected to your NanoPI NEO and
Expand Down

0 comments on commit 077194c

Please sign in to comment.