diff options
| author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-02-20 13:43:24 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-08-19 05:39:02 +0000 |
| commit | f209dead7d9419b457e8db89662a16ff26939867 (patch) | |
| tree | cdbcb59f887b6900860ee7225720b5a2445fe611 | |
| parent | 8c5af66bcf4b6d97061a25e238215f4130c7ed05 (diff) | |
| download | meta-boot2qt-f209dead7d9419b457e8db89662a16ff26939867.tar.gz | |
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 <eirik.aavitsland@theqtcompany.com>
| -rwxr-xr-x | b2qt-init-build-env | 2 | ||||
| -rw-r--r-- | conf/distro/include/smarc-samx6i.conf | 46 | ||||
| -rwxr-xr-x | scripts/setup-environment.sh | 2 |
3 files changed, 48 insertions, 2 deletions
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() { | |||
| 88 | apalis-imx6|colibri-imx6|colibri-vf) | 88 | apalis-imx6|colibri-imx6|colibri-vf) |
| 89 | PROJECT_GROUPS="toradex" | 89 | PROJECT_GROUPS="toradex" |
| 90 | ;; | 90 | ;; |
| 91 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) | 91 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x|smarc-samx6i) |
| 92 | PROJECT_GROUPS="fsl" | 92 | PROJECT_GROUPS="fsl" |
| 93 | ;; | 93 | ;; |
| 94 | tibidabo) | 94 | 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 @@ | |||
| 1 | ############################################################################# | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
| 4 | ## | ||
| 5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
| 6 | ## framework. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE$ | ||
| 9 | ## Commercial License Usage Only | ||
| 10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
| 11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
| 12 | ## may use this file in accordance with the terms contained in said license | ||
| 13 | ## agreement. | ||
| 14 | ## | ||
| 15 | ## For further information use the contact form at | ||
| 16 | ## http://www.qt.io/contact-us. | ||
| 17 | ## | ||
| 18 | ## | ||
| 19 | ## $QT_END_LICENSE$ | ||
| 20 | ## | ||
| 21 | ############################################################################# | ||
| 22 | |||
| 23 | include conf/distro/include/imx6.inc | ||
| 24 | |||
| 25 | KERNEL_IMAGETYPE = "uImage" | ||
| 26 | |||
| 27 | BOOTFS_CONTENT = " " | ||
| 28 | |||
| 29 | MACHINE_EXTRA_INSTALL = "\ | ||
| 30 | libgal-mx6 \ | ||
| 31 | libegl-mx6 \ | ||
| 32 | libgles2-mx6 \ | ||
| 33 | ${@base_contains("DISTRO_FEATURES", "gstreamer010", "gst-fsl-plugin", "", d)} \ | ||
| 34 | ${@base_contains("DISTRO_FEATURES", "gstreamer", "gstreamer1.0-plugins-imx-meta", "", d)} \ | ||
| 35 | kernel-devicetree \ | ||
| 36 | " | ||
| 37 | |||
| 38 | MACHINE_EXTRA_INSTALL_SDK = " \ | ||
| 39 | libgal-mx6 \ | ||
| 40 | libegl-mx6 \ | ||
| 41 | libegl-mx6-dev \ | ||
| 42 | libgles2-mx6 \ | ||
| 43 | libgles2-mx6-dev \ | ||
| 44 | " | ||
| 45 | |||
| 46 | 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 | |||
| 52 | apalis-imx6|colibri-imx6|colibri-vf) | 52 | apalis-imx6|colibri-imx6|colibri-vf) |
| 53 | LAYERSCONF="bblayers.conf.toradex.sample" | 53 | LAYERSCONF="bblayers.conf.toradex.sample" |
| 54 | ;; | 54 | ;; |
| 55 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) | 55 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x|smarc-samx6i) |
| 56 | LAYERSCONF="bblayers.conf.fsl.sample" | 56 | LAYERSCONF="bblayers.conf.fsl.sample" |
| 57 | ;; | 57 | ;; |
| 58 | tibidabo) | 58 | tibidabo) |
