-
Notifications
You must be signed in to change notification settings - Fork 108
MinnowBoard MAX Instructions
#Pre-requisites
-
Familiarity with yocto (point to a doc/tutorial here) + bitbake requirements (e.g. python2)
-
This guide uses ~/yocto as the path to poky and other layers. If you put them anywhere else, adjust the instructions accordingly
-
Create a directory to place yocto subdirs, e.g.:
mkdir ~/yocto && cd ~/yocto
-
Get poky (Yocto's reference distro):
git clone git://git.yoctoproject.org/poky
-
Get the Soletta layer:
git clone git://github.com/solettaproject/meta-soletta.git
-
Get Intel layer:
git clone git://git.yoctoproject.org/meta-intel
#Compiling Soletta
##Load the environment:
cd ~/yocto/poky
source oe-init-build-env
##Add the layers to bblayers:
cd ~/yocto/poky/build
echo 'BBLAYERS += "~/yocto/meta-intel"' >> conf/bblayers.conf
echo 'BBLAYERS += "~/yocto/meta-soletta"' >> conf/bblayers.conf
##Set the specific machine to target the build with. In the case of MinnowBoard MAX, do:
echo 'MACHINE = "intel-corei7-64"' >> conf/local.conf
##For building without x11:
echo 'DISTRO_FEATURES_remove = "x11"' >> conf/local.conf
It is highly recommended to build directly it with the smallos distro:
echo 'DISTRO = "smallos"' >> conf/local.conf
Now after configuring everything you can run the following, it will take several hours:
bitbake soletta-image
##Create bootable USB/SDCard:
With root permissions, run:
~/yocto/poky/scripts/contrib/mkefidisk.sh /dev/<target_device> ~/yocto/poky/build/tmp/deploy/images/intel-corei7-64/soletta-image-intel-corei7-64.hddimg /dev/<device_on_target>
-
target_device - the device name used by your host/build system. Usually /dev/sd[b-d] for USB stick and /dev/mmcblk0 for SD card.
-
device_on_target - it's the device the target will see. Usually /dev/sda for USB stick and /dev/mmcblk0 for SD card.
Depending on the minnoboard when running the first time it will drop on a EFI shell. If this happens run the following:
bootx64
If it is unwanted to type this command every time, just go the boot setup and change boot order to boot the sdcard or pendrive before the EFI shell. Do the following:
- Boot Maintenance Manager → Boot Options → Change Boot Order
- Press Enter to popup the list
- Hghlight EFI Hard Drive and use
-
and+
to move it to the top of the list. - Press Enter and select Commit Changes and Exit
- Press Esc, select Reset System and press Ente