diff options
| author | Jianxun Zhang <jianxun.zhang@linux.intel.com> | 2016-04-21 15:12:58 -0700 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2016-04-21 16:24:15 -0700 |
| commit | e05c3b1e86da84c91c1eaeb29598f923cb48659a (patch) | |
| tree | fb4bf43913470114b04d638ac011a2507c59faaa /README | |
| parent | 85f22beb7f95e448de412042c6656dfae0a474a7 (diff) | |
| download | meta-intel-e05c3b1e86da84c91c1eaeb29598f923cb48659a.tar.gz | |
README: Update build procedure for intel-quark
Add more detailed info and steps to build quark, also with
minor indentation and styling fixes.
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 39 |
1 files changed, 25 insertions, 14 deletions
| @@ -116,28 +116,39 @@ Building for Intel Quark X1000 microprocessor | |||
| 116 | 116 | ||
| 117 | To target the Intel Quark X1000. | 117 | To target the Intel Quark X1000. |
| 118 | 118 | ||
| 119 | 1. In conf/local.conf set the MACHINE type to be intel-quark. | 119 | 1. In conf/local.conf set the MACHINE type to be intel-quark. |
| 120 | 120 | ||
| 121 | MACHINE ??= "intel-quark" | 121 | MACHINE ??= "intel-quark" |
| 122 | 122 | ||
| 123 | 2. Build a target image of your choice. | 123 | 2. Build a target image of your choice. |
| 124 | |||
| 125 | $ bitbake core-image-minimal | ||
| 126 | 124 | ||
| 127 | 3. Use the provided wic script to create an SD card image. | 125 | $ bitbake core-image-minimal |
| 128 | 126 | ||
| 129 | $ wic list images | 127 | 3. For the first time, you need to build parted-native too. (You will get an |
| 130 | mkgalileodisk Create an Galileo Gen 1/2 disk image | 128 | error message when running wic script without it at later steps.) |
| 131 | mkgummidisk Create an EFI disk image | ||
| 132 | ... | ||
| 133 | 129 | ||
| 134 | $ wic create mkgalileodisk -e core-image-minimal | 130 | $ bitbake parted-native |
| 135 | 131 | ||
| 136 | 4. Write the output image to an SD Card | 132 | 4. Use the provided wic script to create an SD card image. |
| 137 | 133 | ||
| 138 | $ sudo dd if=~/mkgalileodisk-*-mmcblk0.direct of=/dev/mmcblk0 | 134 | $ wic list images |
| 135 | mkgalileodisk Create an Galileo Gen 1/2 disk image | ||
| 136 | mkgummidisk Create an EFI disk image | ||
| 137 | ... | ||
| 138 | |||
| 139 | $ wic create mkgalileodisk -e core-image-minimal | ||
| 140 | |||
| 141 | wic script outputs the image and its location in success, something like: | ||
| 142 | ... | ||
| 143 | Info: The new image(s) can be found here: | ||
| 144 | /var/tmp/wic/build/mkgalileodisk-201604211444-mmcblk0.direct | ||
| 145 | ... | ||
| 146 | |||
| 147 | 5. Write the output image to an SD Card | ||
| 148 | |||
| 149 | $ sudo dd if=/path/to/image/mkgalileodisk-*-mmcblk0.direct of=/dev/your_sd_dev | ||
| 139 | 150 | ||
| 140 | 5. Insert the SD Card into the reference platform and power on. | 151 | 6. Insert the SD Card into the reference platform and power on. |
| 141 | 152 | ||
| 142 | Available machine features | 153 | Available machine features |
| 143 | -------------------------- | 154 | -------------------------- |
