This article describes how to add the layer for Novus NXView hardware and build a custom Linux using Yocto Project. The following videos (in Portuguese) are complementary to the article:
This article complies to the Typographic Conventions for the Toradex Documentation.
The layer exposed in this article is intended to be used with Yocto on the dunfell branch, for information on how to install the Openembedded and fulfill his dependencies please reach to this article.
Clone the meta-nxview from the following github repository into the layers directory of your Yocto setup:
$ cd layers
$ git clone https://github.com/danielsore/meta-nxview.git
Configure the MACHINE to colibri-imx6ull in the local.conf file inside the directory build/conf/ using your prefered text editor (if you do not have this build directory, please export the configuration . export
before):
#MACHINE ?= "apalis-imx6"
#MACHINE ?= "apalis-imx8"
#MACHINE ?= "apalis-imx8x"
#MACHINE ?= "apalis-tk1"
#
#MACHINE ?= "colibri-imx6"
MACHINE ?= "colibri-imx6ull"
#MACHINE ?= "colibri-imx7"
#MACHINE ?= "colibri-imx7-emmc"
#MACHINE ?= "colibri-imx8x"
#
#MACHINE ?= "verdin-imx8mm"
#
Modify the bblayers.conf file inside the directory build/conf/ using your prefered text editor adding the new layer as below:
@@ -30,5 +30,6 @@ BBLAYERS ?= " \
${TOPDIR}/../layers/meta-toradex-distro \
${TOPDIR}/../layers/meta-yocto/meta-poky \
${TOPDIR}/../layers/openembedded-core/meta \
+ ${TOPDIR}/../layers/meta-nxview \
"
Source the file export to setup the environment.
. export
Note: Sourcing export configures the shell environment for the current shell session. You must enter this command whenever you open a new shell session for use with OpenEmbedded.
Build the image:
bitbake reference-multimedia-image