Skip to content

Commit

Permalink
stm32mp1: remove sudo command when loading SDcard image
Browse files Browse the repository at this point in the history
Remove the sudo command from the shell instruction . When things
can be made without sudo admin rights, it is really preferred to
use standard rights hence not recommending this in this documentation.

The fact is it may not be necessary to use sudo right to update
an SDcard device on a host, depending on the host configuration.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
  • Loading branch information
etienne-lms authored and jbech-linaro committed Sep 2, 2021
1 parent 12002db commit 9373239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion building/devices/stm32mp1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ A usual short fecth/build/load shell sequence is like the one below:
$ cd build
$ make toolchains
$ make PLATFORM=stm32mp1-157C_DK2 all
$ sudo dd if=../out/bin/sdcard.img of=/dev/sdX conv=fdatasync status=progress
$ dd if=../out/bin/sdcard.img of=/dev/sdX conv=fdatasync status=progress
.. _STM32MP157A-DK1: https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html
.. _STM32MP157C-DK2: https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html
Expand Down

0 comments on commit 9373239

Please sign in to comment.