summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Morais <daniel.morais@toradex.com>2019-01-28 10:12:50 -0200
committerMikko Gronoff <mikko.gronoff@qt.io>2019-02-14 05:33:20 +0000
commit2c8fcd08a5a0afda57373792c4ca8575073c605c (patch)
treeabe5e8ad72e50c362c470c6b76262ed31ffe11a2
parent364b1180b27212eb3a20321feededd582ed7efc0 (diff)
downloadmeta-boot2qt-2c8fcd08a5a0afda57373792c4ca8575073c605c.tar.gz
toradex: add support for colibri-imx7-emmc
All u-boot scripts were updated and one added. Colibri-imx7-emmc only supports tezi, so dumb toradex u-boot scripts were created. Change-Id: I39c4472d781da03e60ef992eb2974f9f764c29ee Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rwxr-xr-xb2qt-init-build-env2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf48
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/0001-Update-only-u-boot.patch0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_blk.scr2
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_eth.scr2
-rwxr-xr-xscripts/setup-environment.sh2
6 files changed, 54 insertions, 2 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 66ae73b..3919b99 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -118,7 +118,7 @@ get_groups() {
118 apalis-imx8|imx8qmlpddr4arm2) 118 apalis-imx8|imx8qmlpddr4arm2)
119 PROJECT_GROUPS="fsl-imx8" 119 PROJECT_GROUPS="fsl-imx8"
120 ;; 120 ;;
121 apalis-imx6|colibri-imx6|colibri-imx6ull|colibri-vf|colibri-imx7) 121 apalis-imx6|colibri-imx6|colibri-imx6ull|colibri-vf|colibri-imx7|colibri-imx7-emmc)
122 PROJECT_GROUPS="toradex" 122 PROJECT_GROUPS="toradex"
123 ;; 123 ;;
124 nitrogen6x|nitrogen7) 124 nitrogen6x|nitrogen7)
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf
new file mode 100644
index 0000000..7bfb388
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/toradex.inc
31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX7 eMMC"
33
34QBSP_IMAGE_CONTENT += "\
35 ${IMAGE_LINK_NAME}.tezi.tar \
36 "
37
38IMAGE_BOOT_FILES += " \
39 u-boot.imx;${MACHINEDIR}/u-boot.imx \
40 "
41
42PREFERRED_PROVIDER_virtual/egl = "opengldummy"
43PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
44
45DISTRO_FEATURES_remove = "webengine wayland vulkan"
46
47# try to limit the maximum size of the tezi image
48RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/0001-Update-only-u-boot.patch
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/0001-Update-only-u-boot.patch
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_blk.scr
new file mode 100644
index 0000000..8524cef
--- /dev/null
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_blk.scr
@@ -0,0 +1,2 @@
1echo 'Legacy update is not supported for this module type'
2
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_eth.scr
new file mode 100644
index 0000000..8524cef
--- /dev/null
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7-emmc/flash_eth.scr
@@ -0,0 +1,2 @@
1echo 'Legacy update is not supported for this module type'
2
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index 5520f53..febda41 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -59,7 +59,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
59 apalis-imx8|imx8qmlpddr4arm2) 59 apalis-imx8|imx8qmlpddr4arm2)
60 LAYERSCONF="bblayers.conf.fsl-imx8.sample" 60 LAYERSCONF="bblayers.conf.fsl-imx8.sample"
61 ;; 61 ;;
62 apalis-imx6|colibri-imx6|colibri-imx6ull|colibri-vf|colibri-imx7) 62 apalis-imx6|colibri-imx6|colibri-imx6ull|colibri-vf|colibri-imx7|colibri-imx7-emmc)
63 LAYERSCONF="bblayers.conf.toradex.sample" 63 LAYERSCONF="bblayers.conf.toradex.sample"
64 ;; 64 ;;
65 nitrogen6x|nitrogen7) 65 nitrogen6x|nitrogen7)