summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2014-06-30 09:12:49 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2014-06-30 09:12:49 +0100
commit50e22e4414116f57cfe6c4e2ba5ab3af4ac11cb5 (patch)
treef4c9ce91630cd00ec54141912b7e30d9d501a32c /openembedded
parenta345b6bb00765482dd32f603bb738494ef87e0c7 (diff)
14.06: fix problems with cmp and zipped images
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/juno-lsk/INSTALL.textile10
1 files changed, 6 insertions, 4 deletions
diff --git a/openembedded/juno-lsk/INSTALL.textile b/openembedded/juno-lsk/INSTALL.textile
index 888658c..1962acc 100644
--- a/openembedded/juno-lsk/INSTALL.textile
+++ b/openembedded/juno-lsk/INSTALL.textile
@@ -48,9 +48,11 @@ DRIVE=/dev/sdX # USB drive found from dmesg above
* Unmount all partitions on the drive
** If you do not unmount all of the USB drive's partitions, you run the risk that the image will not be created successfully.
* Write the image to the drive
-zcat *minimal*.img.gz | sudo dd of=$DRIVE
-Replace *minimal*.img.gz with the full filename of the prebuilt image you are attempting to write to the disk.
+bc. gunzip *minimal*.img.gz
+sudo dd if=*minimal*.img of=$DRIVE
+
+Replace @*minimal*.img.gz@ with the full filename of the prebuilt image you are attempting to write to the disk.
When the image is created, skip down to the section "Booting the image".
@@ -67,7 +69,7 @@ You should also ensure that you have written the image to the USB drive correctl
Once you are ready, run the following commands:
-bc. $ sudo cmp /dev/sdX *minimal*.img.gz
+bc. $ sudo cmp /dev/sdX *minimal*.img
Replace *minimal*.img.gz with the full filename of the prebuilt image you are attempting to write to the disk.
@@ -249,7 +251,7 @@ It may take a long time, perhaps over a minute for UEFI to save the Boot Device
After you have configured the Boot Device Entry, next you must configure the Flattened Device Tree (FDT) path. You do this by selecting the option "Update FDT path" by pressing the 4 key and pressing enter. As with the Add Boot Device Entry option, next you will be presented with a list of Boot Devices that can host the FDT file. On our test system, the list looked like this:
-bc. [1] Firmware Volume (4068 MB)
+bc. [1] Firmware Volume (4068 MB)
[2] Firmware Volume (4068 MB)
[3] NOR Flash (63 MB)
[4] boot (67 MB)