diff options
author | Jianxun Zhang <jianxun.zhang@linux.intel.com> | 2016-07-26 15:26:17 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-07-28 12:09:25 -0500 |
commit | 0109c3d7f2c3ae269842b6126a65323a6dd4608b (patch) | |
tree | 11f37728d7383ae959917b9dd0e99a26e6109d1a /README | |
parent | 7d00922e1cd3caabb8046e68a6107b9f4f3f1d34 (diff) | |
download | meta-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-- | README | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -211,9 +211,10 @@ the downloaded BSP layer or from the meta-intel git repository, you'll | |||
211 | find the bootable image in the build/tmp/deploy/images/xxx directory, | 211 | find the bootable image in the build/tmp/deploy/images/xxx directory, |
212 | where again 'xxx' refers to the machine name used in the build. | 212 | where again 'xxx' refers to the machine name used in the build. |
213 | 213 | ||
214 | The Galileo board boots off of an SD card that has a special disk | 214 | The Galileo board can boot off of either an SD card or USB storage |
215 | layout. The 'wic' tool can be used to create an SD card adhering to | 215 | media that has a special disk layout. The 'wic' tool can be used to |
216 | that format via the following steps. | 216 | create directly bootable images for either of the two formats via the |
217 | following steps. | ||
217 | 218 | ||
218 | If you haven't already, you need to build parted-native. (You will get | 219 | If you haven't already, you need to build parted-native. (You will get |
219 | an error message when running the wic script if you haven't.) | 220 | an 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.) | |||
223 | Use the wic script to create an SD card image: | 224 | Use 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 | ||
229 | Assuming you want to boot the 'core-image-minimal' image: | 231 | Assuming 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 | ||
233 | If successful, the wic script generates the image and prints its location: | 235 | If 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 | ||
239 | Write the output image to an SD Card | 241 | Write 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 | ||
243 | Insert the SD Card into the reference platform and power on. | 245 | Insert the SD Card into the reference platform and power on. |
244 | 246 | ||
247 | To create a direct-boot image for USB storage media, simply specify | ||
248 | galileodisk-usb instead of galileodisk-sd in the "wic create ..." | ||
249 | command, then write the output image to USB storage media and boot it. | ||
245 | 250 | ||
246 | III. Technical Miscellany | 251 | III. Technical Miscellany |
247 | ========================= | 252 | ========================= |