By default, Digi Embedded Yocto uses the Digi Linux kernel. Digi recommends you use this vendor kernel, as it offers full support for all interfaces and features available on the ConnectCore 6UL and its carrier board, has been tested extensively with Digi hardware, and allows you to leverage Digi support and updates.

As an alternative to using the Digi Linux kernel, you can also use a mainline kernel. However, mainline kernels typically only support a subset of the functionality of a system-on-module or carrier board, and you must rely on support from the wider Linux kernel community.

## Instructions

1. Navigate to the `sources` folder of your Digi Embedded Yocto installation folder:

``$cd <path-to-dey>/sources/`` 2. Clone the meta-freescale-3rdparty Yocto Project layer and specify the appropriate branch to check out: ``$ git clone https://github.com/Freescale/meta-freescale-3rdparty.git -b gatesgarth``
3. Go to your project directory and add the meta-freescale-3rdparty layer to your `conf/bblayers.conf` configuration file:

conf/bblayers.conf
``````   /usr/local/dey-3.2/sources/meta-digi/meta-digi-arm \
/usr/local/dey-3.2/sources/meta-digi/meta-digi-dey \
+  /usr/local/dey-3.2/sources/meta-freescale-3rdparty \
"``````
4. Add the following configuration on your project’s `conf/local.conf` to use mainline BSP:

conf/local.conf
``MACHINEOVERRIDES .= ":use-mainline-bsp"``

You can now build any supported Digi Embedded Yocto image, as usual.