## Create projects

Before you build Digi Embedded Yocto, you need to create a platform-specific project.

 If you are using the Digi Embedded Yocto Docker container, the startup script offers to create a new project. If you already created one, go directly to Build images. You can also follow these steps to create a project manually.

Use the mkproject.sh script to check supported platforms:

~$source /usr/local/dey-3.0/mkproject.sh -l To initialize the project and environment, use the mkproject.sh script. For example, for the ConnectCore 6UL SBC Express, do the following: ~$ mkdir -p ${HOME}/workspace/ccimx6ulstarter ~$ cd ${HOME}/workspace/ccimx6ulstarter ~$ source /usr/local/dey-3.0/mkproject.sh -p ccimx6ulstarter

To initialize the project and environment, use the mkproject.sh script. For example, for the ConnectCore 6UL SBC Pro, do the following:

~$mkdir -p${HOME}/workspace/ccimx6ulsbc
~$cd${HOME}/workspace/ccimx6ulsbc
 For ConnectCore 6UL SBC Express the default Digi Embedded Yocto image recipe is: ~$bitbake core-image-base This builds framebuffer-based images with Qt libraries.  The compilation can take several hours on a powerful state-of-the-art workstation, depending on the selected image recipe. ## Inspect build deliverables You can find generated images inside your project’s directory, in the <project_folder>/tmp/deploy/images/<platform> folder. This directory contains the following files: • Boot image, with the boot.ubifs file extension, which contains the Linux kernel, device trees and U-Boot scripts • Root file system images in the following formats: • rootfs.ubifs, a UBIFS partition image suitable for NAND devices • rootfs.tar.bz2, a compressed root file system tarball that you can use to set up a remote NFS share to boot from • rootfs.manifest, a text file with the list of all the built packages • Recovery image, with the recovery.ubifs file extension, which contains the recovery Linux kernel, device tree files, and U-Boot scripts • U-Boot images with the imx file extension • Linux kernel images with the bin file extension, which you can use to update an existing boot partition • Linux kernel device tree images with the dtb file extension, which you can use to update an existing boot partition ## Build a software update package To build a software update package, use the following command from your project’s directory: ~$ bitbake core-image-base-swu

This will generate the update package under <project_folder>/tmp/deploy/images/<platform>:

core-image-base-swu-<platform>-<timestamp>.swu

To build a software update package, use the following command from your project’s directory:

~\$ bitbake dey-image-qt-swu

This will generate the update package under <project_folder>/tmp/deploy/images/<platform>:

dey-image-qt-swu-<platform>-<timestamp>.swu

To install the update package in your device, see Program firmware from Linux.