-
Notifications
You must be signed in to change notification settings - Fork 108
Creating an Edison Image with Yocto
To build the system image it is needed to have installed the following on host Linux distro:
-
dfu-util
: tested on version 0.8 and driver 1.0
1- Prepare your workspace:
mkdir my_Edison_Workspace
cd my_Edison_Workspace
2- Get meta-intel-edison layer:
git clone git://git.yoctoproject.org/meta-intel-edison
3- Make link to be able to use make command:
ln -s meta-intel-edison/utils/Makefile.mk Makefile
4- Download all the needed dependencies to BUILD :
make setup
5- Prepare Soletta™ framework layer to build it with
git clone https://github.com/solettaproject/meta-soletta
echo 'IMAGE_INSTALL_append = " soletta"' >> out/current/build/conf/local.conf
echo 'BBLAYERS += "FULL_PATH_TO_META_SOLETTA"' >> out/current/build/conf/bblayers.conf
Replace FULL_PATH_TO_META_SOLETTA to actual path where meta-soletta was cloned.
5.1- Add soletta-dev-app to be built along with its dependencies (Optional)
echo 'IMAGE_INSTALL_append = " soletta-dev-app graphviz git"' >> out/current/build/conf/local.conf
6- Build Intel Edison Yocto distribution:
make edison-image
7- Flash the board (AS ROOT):
make flash
Edison is not being flashed when running make flash
1- Be aware to use cable USB to micro USB 2.0 on energy supply port otherwise edison will not be found.
2- Use command: lsusb to verify if edison is found when plugging the usb.
3- You may also encounter some problem with dfu-util. If so try updating its drive to the new one.