From 826f775182ee541cd8e82b6d6264b8527f036b2e Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 25 Apr 2017 13:29:28 +0300 Subject: Add support for Renesas R-Car Gen3 boards Support for Salvator-X (H3/M3), H3 and M3 Starter Kits. Requires driver package installed as instructed in meta-renesas and correct SOC_FAMILY set in the local.conf For Qt Company internal builds, required driver packages are in the renesas-rcar-gen3 git repository. Change-Id: I051591f98f773a1453f531ae1b49cb2f18ce93bd Reviewed-by: Teemu Holappa --- conf/bblayers.conf.rcar-gen3.sample | 54 ++++++++++++++++++++++++++++++ conf/distro/include/h3ulcb.conf | 32 ++++++++++++++++++ conf/distro/include/m3ulcb.conf | 32 ++++++++++++++++++ conf/distro/include/rcar-gen3.inc | 66 +++++++++++++++++++++++++++++++++++++ conf/distro/include/salvator-x.conf | 32 ++++++++++++++++++ 5 files changed, 216 insertions(+) create mode 100644 conf/bblayers.conf.rcar-gen3.sample create mode 100644 conf/distro/include/h3ulcb.conf create mode 100644 conf/distro/include/m3ulcb.conf create mode 100644 conf/distro/include/rcar-gen3.inc create mode 100644 conf/distro/include/salvator-x.conf (limited to 'conf') diff --git a/conf/bblayers.conf.rcar-gen3.sample b/conf/bblayers.conf.rcar-gen3.sample new file mode 100644 index 0000000..8f7a3c4 --- /dev/null +++ b/conf/bblayers.conf.rcar-gen3.sample @@ -0,0 +1,54 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +POKY_BBLAYERS_CONF_VERSION = "2" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" +BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" + +BBLAYERS ?= " \ + ${BSPDIR}/sources/poky/meta \ + ${BSPDIR}/sources/poky/meta-poky \ + ${BSPDIR}/sources/meta-renesas/meta-rcar-gen3 \ + ${BSPDIR}/sources/meta-freescale \ + ${BSPDIR}/sources/meta-linaro/meta-optee \ + ${BSPDIR}/sources/meta-openembedded/meta-oe \ + ${BSPDIR}/sources/meta-openembedded/meta-python \ + ${BSPDIR}/sources/meta-openembedded/meta-networking \ + ${BSPDIR}/sources/meta-openembedded/meta-initramfs \ + ${BSPDIR}/sources/meta-openembedded/meta-multimedia \ + ${BSPDIR}/sources/meta-boot2qt \ + ${BSPDIR}/sources/meta-boot2qt/meta-renesas-extras \ + ${BSPDIR}/sources/meta-mingw \ + ${BSPDIR}/sources/meta-qt5 \ + " + diff --git a/conf/distro/include/h3ulcb.conf b/conf/distro/include/h3ulcb.conf new file mode 100644 index 0000000..ddb40e0 --- /dev/null +++ b/conf/distro/include/h3ulcb.conf @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +include conf/distro/include/rcar-gen3.inc + +DEPLOY_CONF_NAME = "Renesas R-Car-H3 Starter Kit Premier" diff --git a/conf/distro/include/m3ulcb.conf b/conf/distro/include/m3ulcb.conf new file mode 100644 index 0000000..cff7893 --- /dev/null +++ b/conf/distro/include/m3ulcb.conf @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +include conf/distro/include/rcar-gen3.inc + +DEPLOY_CONF_NAME = "Renesas R-Car-M3 Starter Kit Pro" diff --git a/conf/distro/include/rcar-gen3.inc b/conf/distro/include/rcar-gen3.inc new file mode 100644 index 0000000..231dd27 --- /dev/null +++ b/conf/distro/include/rcar-gen3.inc @@ -0,0 +1,66 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +include conf/distro/include/fsl.inc + +QBSP_IMAGE_CONTENT = "\ + ${IMAGE_LINK_NAME}.img \ + ${IMAGE_LINK_NAME}.conf \ + " + +BOOT_SPACE = "16384" + +# uncomment following if using the evaluation drivers +#DISTRO_FEATURES_append = " use_eva_pkg" + +MACHINE_FEATURES_append = " gsx multimedia" + +MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" + +#DISTRO_FEATURES_append = " pam" +PREFERRED_PROVIDER_virtual/libgles1 = "" +PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" +PREFERRED_PROVIDER_virtual/egl = "gles-user-module" +PREFERRED_PROVIDER_virtual/libgl = "" +PREFERRED_PROVIDER_virtual/mesa = "" +PREFERRED_PROVIDER_libgbm = "libgbm" +PREFERRED_PROVIDER_libgbm-dev = "libgbm" +PREFERRED_PROVIDER_virtual/libgbm = "libgbm" +BBMASK += "mesa-gl" + +# internal copy of R-Car_Series_Evaluation_Software_Packages used for CI +FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen3/${PN}:" + +BBMASK += "\ + meta-linaro/meta-optee/recipes-security/optee \ + meta-rcar-gen3/recipes-connectivity/ppp \ + meta-rcar-gen3/recipes-graphics/mesa \ + meta-rcar-gen3/recipes-multimedia/gstreamer \ + meta-rcar-gen3/recipes-multimedia/webp \ + " diff --git a/conf/distro/include/salvator-x.conf b/conf/distro/include/salvator-x.conf new file mode 100644 index 0000000..c44dbe1 --- /dev/null +++ b/conf/distro/include/salvator-x.conf @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +include conf/distro/include/rcar-gen3.inc + +DEPLOY_CONF_NAME = "Renesas R-Car H3/M3 Salvator-X" -- cgit v1.2.3-54-g00ecf