TipsAndTricks/Building and booting for Joule or MinnowBoard

From Yocto Project
Jump to navigationJump to search

This page is currently in progress.

Building an image

1. clone these repos:

 git clone git://git.yoctoproject.org/poky
 git clone git://git.yoctoproject.org/meta-intel

2. setup your environment:

 cd path/to/poky
 . oe-init-build-env
 echo 'BBLAYERS += "/path/to/meta-intel"' >> conf/bblayers.conf
 echo 'MACHINE = "intel-corei7-64"' >> conf/local.conf

3. build an image!

 bitbake core-image-sato

or

 bitbake core-image-minimal

This step can take a while. The second option is much quicker, but a less useful image.

Flash your image onto boot media

The produced images will be deployed into the tmp/deploy/images/intel-corei7-64/ directory. Two types of bootable images are produced by default, wic and hddimg.

wic: a standalone image intended to be flashed to the final install location.

hddimg: a live image intended to be used to evaluate the image or install the image elsewhere

For the Joule, you will need to flash the hddimg if you want to install your image to the eMMC located on the board. For a MinnowBoard, the wic image is usually recommended unless you have a Silverjaw lure and mPCI-E SSD.

Ready and plug in your install media to your workstation. USB devices can usually be found under /dev/sdX where X is some letter. SD cards are usually found under /dev/mmcblkZ where Z is a number. Run the following immediately after plugging in your install media to figure out where it is:

 dmesg | tail

Finally, use the dd utility to flash the image to the board.

 sudo dd if=tmp/deploy/images/intel-corei7-64/core-image-minimal-intel-corei7-64.wic of=/dev/YOUR_BLOCK_DEVICE

Replace core-image-minimal-intel-corei7-64.wic with whichever image target you prefer.

Booting the image

To do

Installing the image

To do

Troubleshooting

To do