TipsAndTricks/Building and booting for Joule or MinnowBoard: Difference between revisions
Line 39: | Line 39: | ||
== Booting the image == | == Booting the image == | ||
=== Board setup === | |||
Connect a monitor to the micro HDMI port (MinnowBoard or Joule) or connect to the serial port (MinnowBoard). | |||
See here[http://elinux.org/Minnowboard:MinnowMax#6-Wire_Serial_Console] for information on using the MinnowBoard's serial port. | |||
Connect a keyboard. With Joule, since there is only one USB port, you will need to connect a USB hub first if you choose to boot off of a USB flash drive. | |||
A mouse is not needed. | |||
=== MinnowBoard instructions === | |||
Insert the boot media and connect the power cable. You will be presented with the following: | |||
>>>>Start boot option, Press <F2> or < DEL> to enter setup page(5 Sec)... | |||
Either wait out the timer or repeatedly press enter to get past this. | |||
Depending on your firmware configuration, you may be presented with either a boot prompt, or an EFI command line. | |||
If you are at a command line, type the following, then press enter: | |||
bootx64 | |||
Otherwise, just press enter at boot prompt. | |||
=== Joule instructions === | |||
== Installing the image == | == Installing the image == | ||
To do | To do | ||
== Troubleshooting == | == Troubleshooting == | ||
To do | To do |
Revision as of 21:10, 3 May 2017
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
Board setup
Connect a monitor to the micro HDMI port (MinnowBoard or Joule) or connect to the serial port (MinnowBoard).
See here[1] for information on using the MinnowBoard's serial port.
Connect a keyboard. With Joule, since there is only one USB port, you will need to connect a USB hub first if you choose to boot off of a USB flash drive. A mouse is not needed.
MinnowBoard instructions
Insert the boot media and connect the power cable. You will be presented with the following:
>>>>Start boot option, Press <F2> or < DEL> to enter setup page(5 Sec)...
Either wait out the timer or repeatedly press enter to get past this.
Depending on your firmware configuration, you may be presented with either a boot prompt, or an EFI command line.
If you are at a command line, type the following, then press enter:
bootx64
Otherwise, just press enter at boot prompt.
Joule instructions
Installing the image
To do
Troubleshooting
To do