From f209dead7d9419b457e8db89662a16ff26939867 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 20 Feb 2015 13:43:24 +0200 Subject: kontron: Add support for Kontron SMARC-sARX6i Enable building b2qt image for Kontron SMARC-sARX6i. Depends on the patch set from Kontron on top of meta-fsl-arm-extra. Kontron does not provide recipe for their u-boot, which makes it impossible to boot into b2qt image without modifying some of the u-boot args currently in the device (that's how their images work as well). Change-Id: Id3e0ee506c192fd0b969d1541fca0e9e2ff3ac6b Reviewed-by: aavit --- b2qt-init-build-env | 2 +- conf/distro/include/smarc-samx6i.conf | 46 +++++++++++++++++++++++++++++++++++ scripts/setup-environment.sh | 2 +- 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 conf/distro/include/smarc-samx6i.conf diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 2dfed01..0ccd952 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env @@ -88,7 +88,7 @@ get_groups() { apalis-imx6|colibri-imx6|colibri-vf) PROJECT_GROUPS="toradex" ;; - imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) + imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x|smarc-samx6i) PROJECT_GROUPS="fsl" ;; tibidabo) diff --git a/conf/distro/include/smarc-samx6i.conf b/conf/distro/include/smarc-samx6i.conf new file mode 100644 index 0000000..8e69ac8 --- /dev/null +++ b/conf/distro/include/smarc-samx6i.conf @@ -0,0 +1,46 @@ +############################################################################# +## +## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +## +## This file is part of the Qt Enterprise Embedded Scripts of the Qt +## framework. +## +## $QT_BEGIN_LICENSE$ +## Commercial License Usage Only +## Licensees holding valid commercial Qt license agreements with Digia +## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, +## may use this file in accordance with the terms contained in said license +## agreement. +## +## For further information use the contact form at +## http://www.qt.io/contact-us. +## +## +## $QT_END_LICENSE$ +## +############################################################################# + +include conf/distro/include/imx6.inc + +KERNEL_IMAGETYPE = "uImage" + +BOOTFS_CONTENT = " " + +MACHINE_EXTRA_INSTALL = "\ + libgal-mx6 \ + libegl-mx6 \ + libgles2-mx6 \ + ${@base_contains("DISTRO_FEATURES", "gstreamer010", "gst-fsl-plugin", "", d)} \ + ${@base_contains("DISTRO_FEATURES", "gstreamer", "gstreamer1.0-plugins-imx-meta", "", d)} \ + kernel-devicetree \ + " + +MACHINE_EXTRA_INSTALL_SDK = " \ + libgal-mx6 \ + libegl-mx6 \ + libegl-mx6-dev \ + libgles2-mx6 \ + libgles2-mx6-dev \ + " + +KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index ce593c6..683f19f 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh @@ -52,7 +52,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then apalis-imx6|colibri-imx6|colibri-vf) LAYERSCONF="bblayers.conf.toradex.sample" ;; - imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) + imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x|smarc-samx6i) LAYERSCONF="bblayers.conf.fsl.sample" ;; tibidabo) -- cgit v1.2.3-54-g00ecf