How to make a custom Linux image for Toradex Apalis iMX6Q

What is Yocto?

Toradex

Hardware Requirements

Install

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm make xsltproc docbook-utils fop dblatex xmlto autoconf automake libtool libglib2.0-dev python-gtk2 bsdmainutils screen
$ sudo dpkg --add-architecture i386$ sudo apt-get update$ sudo apt-get install g++-5-multilib$ sudo apt-get install curl dosfstools gawk g++-multilib gcc-multilib lib32z1-dev libcrypto++6:i386 libcrypto++-dev:i386 liblzo2-dev:i386 lzop libsdl1.2-dev libstdc++-5-dev:i386 libusb-1.0-0:i386 libusb-1.0-0-dev:i386 uuid-dev:i386 texinfo chrpath
$ sudo apt install git$ git config --global user.name "Name"$ git config --global user.email Name@example.com
$ mkdir ~/bin$ export PATH=~/bin:$PATH$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo$ chmod a+x ~/bin/repo
$ mkdir oe-core$ cd oe-core$ repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.8$ repo sync
MACHINE ?= "apalis-imx6”#INHERIT += "rm_work”ACCEPT_FSL_EULA = "1”DISTRO_FEATURES_remove = "x11 wayland”IMAGE_INSTALL_remove = "eglinfo-x11”IMAGE_INSTALL_append = " qtbase qtbase-plugins cinematicexperience liberation-fonts"PACKAGECONFIG_FONTS_append_pn-qtbase = " fontconfig”IMAGE_INSTALL_remove = "backports"CORE_IMAGE_EXTRA_INSTALL += "openssh \vim \qtbase-plugins \qtbase-tools \qtdeclarative \qtdeclarative-tools \qtdeclarative-qmlplugins \qtmultimedia \qtmultimedia-plugins \qtmultimedia-qmlplugins \qtsvg \qtsvg-plugins \qtsensors \qtimageformats-plugins \qtsystems \qtsystems-tools \qtsystems-qmlplugins \qtscript \qt3d \qt3d-qmlplugins \qt3d \qt3d-qmlplugins \qt3d-tools \qtgraphicaleffects-qmlplugins \qtconnectivity-qmlplugins \qtlocation-plugins \qtlocation-qmlplugins \cinematicexperience \fb-test fbgrab fbida fbset-modes \es2gears \qt4-examples \"PACKAGECONFIG_append_pn-qtbase = " gles2 eglfs "DISTRO_FEATURES_append = " opengles2 egl opengl gles gbm dri eglfs gles2 "MACHINEOVERRIDES .= ":use-mainline-bsp"PACKAGECONFIG_append = " linuxfb eglfs gbm gles2 kms”PACKAGECONFIG_remove = "gl xcb xcb-xinput"

Reference

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store