TipsAndTricks/Building and booting for Joule or MinnowBoard: Difference between revisions
Line 58: | Line 58: | ||
Otherwise, just press enter at boot prompt. | Otherwise, just press enter at boot prompt. | ||
Assuming all goes well, you should get a login prompt. The default user is "root" with no password. | |||
=== Joule instructions === | === Joule instructions === | ||
Insert the boot media and connect the power cable. | |||
The Joule will likely attempt to boot from the eMMC first. Stop this by pressing F7 at the first splash screen. This will bring you to the boot manager. | |||
From here, select "EFI USB Device" if your boot media is a USB flash drive, or "EFI uSD Device" if your boot media is a microSD card. | |||
== Installing the image == | == Installing the image == |
Revision as of 00:03, 4 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.
Assuming all goes well, you should get a login prompt. The default user is "root" with no password.
Joule instructions
Insert the boot media and connect the power cable.
The Joule will likely attempt to boot from the eMMC first. Stop this by pressing F7 at the first splash screen. This will bring you to the boot manager.
From here, select "EFI USB Device" if your boot media is a USB flash drive, or "EFI uSD Device" if your boot media is a microSD card.
Installing the image
To do
Troubleshooting
To do