summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJianxun Zhang <jianxun.zhang@linux.intel.com>2016-07-26 22:26:17 (GMT)
committerTom Zanussi <tom.zanussi@linux.intel.com>2016-07-28 17:09:25 (GMT)
commit0109c3d7f2c3ae269842b6126a65323a6dd4608b (patch)
tree11f37728d7383ae959917b9dd0e99a26e6109d1a /README
parent7d00922e1cd3caabb8046e68a6107b9f4f3f1d34 (diff)
downloadmeta-intel-0109c3d7f2c3ae269842b6126a65323a6dd4608b.tar.gz
quark: Support direct-boot image for USB storage media
Add a new wks file for quark based on the existing mkgalileodisk.wks with necessary changes. () specify sda for partitions and rootwait for USB in new wks. () Rename the original wks file and amend its description () Update README accordingly Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'README')
-rw-r--r--README23
1 files changed, 14 insertions, 9 deletions
diff --git a/README b/README
index d2098a9..772ac4e 100644
--- a/README
+++ b/README
@@ -211,9 +211,10 @@ the downloaded BSP layer or from the meta-intel git repository, you'll
211find the bootable image in the build/tmp/deploy/images/xxx directory, 211find the bootable image in the build/tmp/deploy/images/xxx directory,
212where again 'xxx' refers to the machine name used in the build. 212where again 'xxx' refers to the machine name used in the build.
213 213
214The Galileo board boots off of an SD card that has a special disk 214The Galileo board can boot off of either an SD card or USB storage
215layout. The 'wic' tool can be used to create an SD card adhering to 215media that has a special disk layout. The 'wic' tool can be used to
216that format via the following steps. 216create directly bootable images for either of the two formats via the
217following steps.
217 218
218If you haven't already, you need to build parted-native. (You will get 219If you haven't already, you need to build parted-native. (You will get
219an error message when running the wic script if you haven't.) 220an error message when running the wic script if you haven't.)
@@ -223,25 +224,29 @@ an error message when running the wic script if you haven't.)
223Use the wic script to create an SD card image: 224Use the wic script to create an SD card image:
224 225
225 $ wic list images 226 $ wic list images
226 mkgalileodisk Create an Galileo Gen 1/2 disk image 227 galileodisk-sd Create an Galileo Gen 1/2 disk image (SD card)
227 mkgummidisk Create an EFI disk image 228 galileodisk-usb Create an Galileo Gen 1/2 disk image (USB Storage)
229 mkgummidisk Create an EFI disk image
228 230
229Assuming you want to boot the 'core-image-minimal' image: 231Assuming you want to boot the 'core-image-minimal' image for SD card media:
230 232
231 $ wic create mkgalileodisk -e core-image-minimal 233 $ wic create galileodisk-sd -e core-image-minimal
232 234
233If successful, the wic script generates the image and prints its location: 235If successful, the wic script generates the image and prints its location:
234 236
235 Info: The new image(s) can be found here: 237 Info: The new image(s) can be found here:
236 /var/tmp/wic/build/mkgalileodisk-201604211444-mmcblk0.direct 238 /var/tmp/wic/build/galileodisk-sd-201604211444-mmcblk0.direct
237 ... 239 ...
238 240
239Write the output image to an SD Card 241Write the output image to an SD Card
240 242
241 $ sudo dd if=/path/to/image/mkgalileodisk-*-mmcblk0.direct of=/dev/your_sd_dev 243 $ sudo dd if=/path/to/image/galileodisk-sd-*-mmcblk0.direct of=/dev/your_sd_dev
242 244
243Insert the SD Card into the reference platform and power on. 245Insert the SD Card into the reference platform and power on.
244 246
247To create a direct-boot image for USB storage media, simply specify
248galileodisk-usb instead of galileodisk-sd in the "wic create ..."
249command, then write the output image to USB storage media and boot it.
245 250
246III. Technical Miscellany 251III. Technical Miscellany
247========================= 252=========================