Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Creating an Edison Image with Yocto

Guilherme Paes edited this page Apr 7, 2016 · 4 revisions

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

Setup and Build a custom Edison Image

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 layer to build it with

git clone https://github.com/brunobottazzini/meta-soletta -b edison
echo 'IMAGE_INSTALL_append = " soletta"' >> out/current/build/conf/local.conf
echo '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

Troubleshooting

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.

Clone this wiki locally