diff options
author | Yash Goyal <yash.goyal@arm.com> | 2020-03-27 03:01:11 -0500 |
---|---|---|
committer | Yash Goyal <Yash.Goyal@arm.com> | 2020-04-08 16:35:54 -0500 |
commit | da26ffd07b0822fa56d2a335e7c5bf36ab5a08e5 (patch) | |
tree | 962515e26d700a8bb6671e2fc085d5cac28224d5 /FLASH.md | |
parent | 1cfe1ec0c57484711df10d8f93620ca1487df9c6 (diff) |
Updated README
Diffstat (limited to 'FLASH.md')
-rw-r--r-- | FLASH.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/FLASH.md b/FLASH.md new file mode 100644 index 0000000..6e4d45b --- /dev/null +++ b/FLASH.md @@ -0,0 +1,15 @@ +# Flashing the Pelion gateway firmware image + +The built image will be located in the build directory under `poky/build/tmp/deploy/images/raspberrypi3/`. The file name will be `console-image-raspberry3.SOMETHING` (the ending will vary based on the value of IMAGE_FSTYPES in your local.conf). + +## To flash console-image-raspberry3.wic: + +To flash on Mac OS X, use dd. This example assumes the SD card is enumerated as /dev/diskX and you should verify your device's path. + + $ gunzip -c console-image-raspberrypi3.rootfs.wic.gz | sudo dd bs=4m of=/dev/diskX iflag=fullblock oflag=direct conv=fsync status=progress + +Alternatively, you can use the [Etcher](https://www.balena.io/etcher/) app (the UI is self explanatory - simply choose the file to flash, the destination SD card, and then click Flash). In some cases, using Etcher results in significant time savings over using dd. + +To flash on Linux, use dd. You can use `lsblk` to find out the name of your SD card block device. + + $ gunzip -c console-image-raspberrypi3.rootfs.wic.gz | sudo dd bs=4M of=/dev/mmcblkX conv=sync |