summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-21 18:48:26 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-21 18:48:26 +0000
commit2d67ef7081d7ca0e9df375b1d9e938ce50332afa (patch)
treef5331447d9870409478583871232f62251b378ef
parentc331b63566b38eea12c0acd87dbfcfd375567f39 (diff)
Make copy to sdcard more reliable
Change-Id: Ia7e9875f6999aa50f386c82945a430db93664254 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--docs/3-Usage.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/3-Usage.md b/docs/3-Usage.md
index 4460c91a..cc76f1f2 100644
--- a/docs/3-Usage.md
+++ b/docs/3-Usage.md
@@ -51,8 +51,12 @@ Copy, still from your host:
> **CAUTION:** Make sure to sync IO with sync command before unplug your SDcard. It could be corrupted if removed before all pending IO aren't done.
```bash
-$ sudo cp ~/devel/docker/share/libafbwsc-dev-1.0-r0.cortexa15hf_neon.rpm /run/media/claneys/97f418a5-612f-44e9-b968-a19505695151/home/root
+$ sudo umount /dev/sdc1
+$ export SDCARD=/mnt
+$ sudo mount /dev/sdc1 $SDCARD
+$ sudo cp ~/devel/docker/share/libafbwsc-dev-1.0-r0.cortexa15hf_neon.rpm $SDCARD/home/root
$ sync
+$ sudo umount $SDCARD
```
Insert the modified SDcard in your Porter board and boot from it. You are ready to go.