diff options
-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 | -------------------------- |