summaryrefslogtreecommitdiffstats
path: root/scripts/setup-environment.sh
Commit message (Collapse)AuthorAgeFilesLines
* tegra: update to latest vibrante pdkSamuli Piippo2016-11-141-3/+0
| | | | | | | | | | [RC 2.5] 25.11.01 Vibrante 4.0 Linux Drive CX2 - PDK Drop support for nvidia-logan Change-Id: I9b2c55f213ff3eb01969a49ad64e596692fcee31 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* tibidabo: remove all filesSamuli Piippo2016-11-031-3/+0
| | | | | | | | Tibidabo does not build and is no longer supported. Change-Id: Iacd8ad7e8d8db68a9edc23540b22dabb1dbfcd0e Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Risto Avila <risto.avila@qt.io>
* Revert "tegra: update to latest vibrante pdk"Samuli Piippo2016-10-141-0/+3
| | | | | | | | | Problems with eglfs, so revert back to previous PDK. This reverts commit 323408406d9133a5462a24fea4ec86e649088180. Change-Id: I3ee36809cb823aefdc03f8a24d052c2a76f308db Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* tegra: update to latest vibrante pdkSamuli Piippo2016-10-061-3/+0
| | | | | | | | | [RC 2.5] 25.11.01 Vibrante 4.0 Linux Drive CX2 - PDK Drop support for nvidia-logan Change-Id: Ic8c76313704c3e666050284f02cb1a40237366e5 Reviewed-by: Risto Avila <risto.avila@qt.io>
* TI: Use latest versions of u-boot and kernelSamuli Piippo2016-09-121-4/+1
| | | | | | | | | | Remove use of meta-beagleboard and use recipes provided in meta-ti instead. Beaglebone will not work fully with the linux-ti-staging, follow up commit will fix that. U-boot changes need to be ported to newer version if still required. Change-Id: I3e06b6e310c0d40b9b4b33276802e4817cee0295 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* toradex: stop using meta-toradexSamuli Piippo2016-09-121-1/+1
| | | | | | | All needed toradex recipes are now in meta-fsl-arm-extra Change-Id: I3eedacd83845087d2369cf4d4b6df2a030d6d283 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Support for Raspberry Pi ZeroTuomas Heimonen2016-08-301-1/+1
| | | | | Change-Id: I925c77a4d1682fd1eefb6046efe05789f317a63c Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Add support for Toradex Colibri-iMX7Andy Nichols2016-07-131-1/+1
| | | | | Change-Id: I01b25ca05cff51671f3088b2aa64a02e56028ce9 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Merge remote-tracking branch 'origin/fido' into devSamuli Piippo2016-06-081-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/fido: meta layer was renamed to meta-boot2qt b2qt addons: update repository urls Use git.qt.io as the new playground repo server qtconnectivity: remove incorrect PACKAGECONFIG to enable bluez support qt5: update submodules and meta-qt5 Conflicts: conf/bblayers.conf.bbb.sample conf/bblayers.conf.emulator.sample conf/bblayers.conf.fsl.sample conf/bblayers.conf.intel.sample conf/bblayers.conf.nvidia-logan.sample conf/bblayers.conf.rpi.sample conf/bblayers.conf.sample conf/bblayers.conf.smx6.sample conf/bblayers.conf.ti.sample conf/bblayers.conf.tibidabo.sample conf/bblayers.conf.toradex.sample conf/distro/b2qt.conf recipes-qt/b2qt-addons/b2qt-demos.bb recipes-qt/b2qt-addons/b2qt-launcher.bb recipes-qt/qt5-addons/qtcharts_git.bb recipes-qt/qt5-addons/qtdatavis3d_git.bb recipes-qt/qt5-addons/qtdeclarative-render2d_git.bb recipes-qt/qt5-addons/qtquickcompiler_git.bb recipes-qt/qt5/nativesdk-qtbase_git.bbappend recipes-qt/qt5/qt3d_git.bbappend recipes-qt/qt5/qtbase-native_git.bbappend recipes-qt/qt5/qtbase_git.bbappend recipes-qt/qt5/qtcanvas3d_git.bbappend recipes-qt/qt5/qtconnectivity_git.bbappend recipes-qt/qt5/qtdeclarative_git.bbappend recipes-qt/qt5/qtgraphicaleffects_git.bbappend recipes-qt/qt5/qtimageformats_git.bbappend recipes-qt/qt5/qtlocation_git.bbappend recipes-qt/qt5/qtmultimedia_git.bbappend recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bbappend recipes-qt/qt5/qtsensors_git.bbappend recipes-qt/qt5/qtserialbus_git.bb recipes-qt/qt5/qtserialport_git.bbappend recipes-qt/qt5/qtsvg_git.bbappend recipes-qt/qt5/qttools_git.bbappend recipes-qt/qt5/qttranslations_git.bbappend recipes-qt/qt5/qtvirtualkeyboard_git.bbappend recipes-qt/qt5/qtwayland-native_git.bbappend recipes-qt/qt5/qtwayland_git.bbappend recipes-qt/qt5/qtwebchannel_git.bbappend recipes-qt/qt5/qtwebengine_git.bbappend recipes-qt/qt5/qtwebsockets_git.bbappend recipes-qt/qt5/qtxmlpatterns_git.bbappend scripts/manifest.xml Change-Id: I06904eb8ff7a30240ce289808f43fbba6339f670
| * meta layer was renamed to meta-boot2qtSamuli Piippo2016-06-081-4/+4
| | | | | | | | | | Change-Id: I1b96be87215a6ddf720c83693df1f3bcc2a99b66 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | Update license headersSamuli Piippo2016-05-181-7/+15
| | | | | | | | | | | | | | License changed to GPLv3 + Commercial Change-Id: I267c97216e717ed29071df064337e1bcf83de973 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* | Add Support for Renesas R-Car Gen2 DevicesLouai Al-Khanji2016-05-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have only personally tested the porter build as it's the only device I have, but getting the others to work as well should be straight forward. Please see the note in conf/distro/include/rcar-gen2.inc about the binary drivers. The documentation we ship with Qt Creator should expand on how to install the drivers. Additionally we must check with Renesas how we could redistribute prebuilt images if we want to do that. Change-Id: I82e03aad9b43bee068aaa0472aeac4d394f049a8 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Fix to NVidia's tegra configurations.Teemu Holappa2016-05-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed both nvidia-logan and tegra-t18x to use the same metalayer from the Vibrante 4.0 SDK. Kernel sources and libraries are stored into the internal CI repository. These definitions can be overridden by SDK folder using following environment variables: export KERN_DIR=~/Vibrante4.0_RC1/vibrante-t186ref-linux_src/kernel export PLATFORM_TOPDIR=~/Vibrante4.0_RC1/vibrante-t186ref-linux export TOOLCHAIN_PATH=~/Vibrante4.0_RC1/toolchains/tegra-4.9-nv export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOOLCHAIN_PATH KERN_DIR PLATFORM_TOPDIR" Change-Id: If58a0fcbe01daa9a55dd041b79a9d80a90fde284 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Add support for NXP SABRE iMX7DAndy Nichols2016-05-051-1/+1
| | | | | | | | | | Change-Id: Ifef4dc7a1aad2829f2c6978d02efc3b0a7f8720a Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'origin/fido' into devSamuli Piippo2016-04-181-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/fido: Move usage of internal mirrors into a bbclass Use --internal arg to fetch playground repos qtquickcompiler: update revision to work with Qt 5.6.1 qt5: update submodules gcc: patch already applied on oe layer Update revisions for poky and openembedded Fix meta-environment to work without changes in local.conf Disabled SSTATE_MIRRORS and PRE_MIRRORS. setup-environment: prevent basename argument being parsed as option. Do not pull internal repos when initializing for all devices Conflicts: conf/local.conf.sample recipes-qt/qt5/nativesdk-qtbase_git.bbappend recipes-qt/qt5/qt3d_git.bbappend recipes-qt/qt5/qtbase-native_git.bbappend recipes-qt/qt5/qtbase_git.bbappend recipes-qt/qt5/qtcanvas3d_git.bbappend recipes-qt/qt5/qtconnectivity_git.bbappend recipes-qt/qt5/qtdeclarative_git.bbappend recipes-qt/qt5/qtgraphicaleffects_git.bbappend recipes-qt/qt5/qtimageformats_git.bbappend recipes-qt/qt5/qtlocation_git.bbappend recipes-qt/qt5/qtmultimedia_git.bbappend recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bbappend recipes-qt/qt5/qtsensors_git.bbappend recipes-qt/qt5/qtserialbus_git.bb recipes-qt/qt5/qtserialport_git.bbappend recipes-qt/qt5/qtsvg_git.bbappend recipes-qt/qt5/qttools_git.bbappend recipes-qt/qt5/qttranslations_git.bbappend recipes-qt/qt5/qtwayland-native_git.bbappend recipes-qt/qt5/qtwayland_git.bbappend recipes-qt/qt5/qtwebchannel_git.bbappend recipes-qt/qt5/qtwebengine_git.bbappend recipes-qt/qt5/qtwebsockets_git.bbappend recipes-qt/qt5/qtxmlpatterns_git.bbappend scripts/manifest.xml scripts/manifest_jethro.xml Change-Id: I17c4dd6890dc4475171133cede4dc7e6217222d6
| * setup-environment: prevent basename argument being parsed as option.Jake Petroules2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes an issue where this script fails with the default Dash shell on Ubuntu (where "$0" is "-bash" and it is parsed as an option). Change-Id: I6fec2a7b4e8eee68b5f11101783d7dff7d07f712 Reviewed-by: Donald Carr <donald.carr@theqtcompany.com> Reviewed-by: Risto Avila <risto.avila@theqtcompany.com> Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* | Revert "BBB: use new kernel"Samuli Piippo2016-04-181-1/+4
| | | | | | | | | | | | | | | | This reverts commit 2848919526f575d9eaaccf19d4bfaa4a0f4043c2. New kernel is missing cape manager and HDMI output does not work. Change-Id: I5acf277c8ec96cec253a1c9cd2cbfef547baf81e Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | BBB: use new kernelSamuli Piippo2016-04-081-4/+1
| | | | | | | | | | | | | | | | | | main-line 3.8 kernel in meta-beagleboard no longer builds with gcc5. Use 3.14 kernel from beagleboard.org which should provide cape manager support as well. Change-Id: I7456fb949afc0415cfba4f865a193819183b1b51 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | NUC: use the common intel-corei7-64 BSPSamuli Piippo2016-04-081-2/+2
| | | | | | | | | | | | | | | | meta-intel no longer has specific BSPs for each machine, but they share a common BSP based on the architecture. Change-Id: Ibbb7b8b2153103367168ea37d904ce23bc245108 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | imx53: remove support for imx53Samuli Piippo2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | OE has moved to gcc 5.2 which cannot be used to build the old kernel that imx53 still uses, therefore all support for it was dropped from meta-fsl-arm. Change-Id: Ic57310f8ae6d06f62274a7c1874df0d01c95b5e9 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | Add Support for Raspberry Pi 3Tuomas Heimonen2016-04-051-1/+1
| | | | | | | | | | Change-Id: I1220cce68059328512e52b7f5a9af7110dd9578c Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* | nvidia-t18x supportLouai Al-Khanji2016-03-221-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Steps to use this: Set up vibrante installation, mine looks like this: $ ls -l ~/VibranteSDK total 234880 drwxrwxr-x 1 louai louai 298 Mar 20 2014 eclipse -r-xr-xr-x 1 louai louai 171826846 Jan 4 09:59 NVIDIA_Tegra_Graphics_Debugger_2.1_linux-v4l_l4t-egl.run -r--r--r-- 1 louai louai 68688729 Jan 4 09:59 NVIDIA_Tegra_System_Profiler_2.5-linux-x64.tar.gz drwxr-xr-x 1 louai louai 262 Jan 5 14:50 toolchains drwxrwxr-x 1 louai louai 34 Jan 5 13:55 vibrante-oss-src drwxr-xr-x 1 louai louai 12 Jan 4 09:47 vibrante-t186ref-cuda drwxrwxr-x 1 louai louai 264 Feb 10 10:50 vibrante-t186ref-foundation drwxr-xr-x 1 louai louai 164 Jan 5 14:49 vibrante-t186ref-foundation_src drwxrwxr-x 1 louai louai 228 Jan 5 13:56 vibrante-t186ref-linux drwxr-xr-x 1 louai louai 314 Feb 10 10:58 vibrante-t186ref-linux_sr Set up Yocto build dir: $ mkdir ~/work $ cd ~/work $ ~/tqtc-b2qt/yocto-meta/b2qt-init-build-env init --device tegra-t18x Add NVIDIA's Yocto things: $ mkdir ~/work/sources/nvidia-layer $ cd ~/work/sources/nvidia-layer $ tar xf ~/VibranteSDK/vibrante-t186ref-linux_src/yocto/nvidia-layer.tgz $ cd - Set up build environment: $ export MACHINE=tegra-t18x $ . setup-environment.sh Set the following environment variables: $ export KERN_DIR=~/VibranteSDK/vibrante-t186ref-linux_src/kernel $ export PLATFORM_TOPDIR=~/VibranteSDK/vibrante-t186ref-linux $ export TOOLCHAIN_PATH=~/VibranteSDK/toolchains/tegra-4.9-nv $ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOOLCHAIN_PATH KERN_DIR PLATFORM_TOPDIR" Add NVLAYER_DIR to local.conf: $ echo 'NVLAYER_DIR = "${TOPDIR}/../sources/nvidia-layer"' >> conf/local.conf Build your image: $ bitbake b2qt-embedded-qt5-image Flash your board: $ cd $PLATFORM_TOPDIR $ mv targetfs targetfs-old $ cd targetfs && tar xf /path/to/rootfs.tar.bz2 $ cd ../../vibrante-t186ref-foundation/utils/scripts/bootburn $ ./bootburn.sh -b p2382-t186 Change-Id: I4209cd0c19a007c4457460fd67342fc579c2a735 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* kontron: update to Yocto BSP for SMARC-sAMX6i R02.00Samuli Piippo2016-02-241-1/+4
| | | | | Change-Id: If0f8dc2c786bc63fba69531fa009efd8ae8111b7 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Update license headersSamuli Piippo2016-02-091-14/+13
| | | | | Change-Id: Iabcf736e6f4ae2149b57c84ebdc8b5b1be82023d Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Added support for Jetson-tk1-pro device.Teemu Holappa2015-12-141-0/+3
| | | | | | | The configuration has dependency to the interal repositories (meta-tegra and jetson-tk1-pro). Change-Id: I5e13377cf8cfbe4fad3f19215a292b49195f1546 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Added support for DC3217IYE (nuc) device.Teemu Holappa2015-11-021-0/+3
| | | | | | | Removed imx6 specific wayland configurations from packagegroup-b2qt-embedded-toolchain-target.bb to imx6.inc. Change-Id: I2b700b21bbf23fbaf59dcb8558b0b96b11bb81ec Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* kontron: Add support for Kontron SMARC-sARX6iSamuli Piippo2015-08-191-1/+1
| | | | | | | | | | | | | 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>
* Use correct path for QT_SDK_PATHSamuli Piippo2015-07-011-1/+1
| | | | | | | For BYOS builds, we need to have to the root folder of SDK in local.conf Change-Id: I91497a0eb215e57d8db92f5f4390478d688fc95f Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Handle missing meta-qt5 layerSamuli Piippo2015-06-151-0/+4
| | | | | | | | | If meta-qt5 layer is not available, remove it from bblayer.conf as well. When using --device qt5, use the pinned revisions of other meta layer repos. Change-Id: I42f12d9725f3871a49b81b711b5f97037c4febd0 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Add support for Toradex Colibri iMX6Andy Nichols2015-05-121-1/+1
| | | | | | | Uses Colibri form factor instead of Apalis. Change-Id: I7ba54323a82b151ce174f06477851523b283297b Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Add Support for Raspberry Pi 2Andy Nichols2015-03-061-1/+1
| | | | | Change-Id: Iaead44d45172f49427c4d513e31f5fbb29287990 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* change BUILDDIR var since it's used by pokySamuli Piippo2015-01-151-6/+7
| | | | | | | | BUILDDIR is exported by the poky env script, which caused problems on our env script when setting up second build dir. Change-Id: Ieeecff6ebfc5ac185de98870dc8c4305c882684f Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* BUILDDIR is also used by oe-initSamuli Piippo2014-12-031-1/+0
| | | | | | | | Must not unset BUILDDIR as it is exported by oe-init scripts, and used by Toaster and Qemu at least. Change-Id: I5b004190ad49d7846e2ae7fa3e262ea6d6354ea1 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Init script support for imx6dlsabresdSamuli Piippo2014-11-261-1/+1
| | | | | Change-Id: I2994541fb6e9489dfbbd7e5662f133d8037e5146 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Merge remote-tracking branch 'origin/stable' into devSamuli Piippo2014-11-241-1/+1
| | | | | | | | | | | | | | | | | | * origin/stable: toolchain: include base-files Update meta-fsl-arm-extra to fix u-boot-boundary fetch failure Install fonts with help of Yocto recipes bbb: remove preferred version for SGX Update Qt logo Remove u-boot-fw-utils Change copyright notice Conflicts: b2qt-init-build-env conf/distro/include/beaglebone.conf recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb Change-Id: I5b22412d0530e70057f705da34247803498ddde3
* Add Support for Colibri-VF devicesAndy Nichols2014-11-201-1/+1
| | | | | Change-Id: Ie4fdf57b986eb24cb16dfb9f347ae02e7648bf86 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Add Silica ArchiTech tibidabo boardaavit2014-11-101-0/+3
| | | | | | | | | | | | | | Builds & runs ok! The current implementation is done with the strategy of using the vendor's defined repo versions for the yocto stack, instead of the common versions defined by b2qt. The intention is to build upon the vendor stack as closely as possible, as that is (hopefully) tested and maintained. Task-number: QTEE-801 Change-Id: Ib93b54178de870b5f288b2fae982ea2b4bb74e50 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Enable to use sources from Qt SDKSamuli Piippo2014-10-171-0/+8
| | | | | | | | | | | | This enables sources to be fetched from the Qt SDK, if available, instead of internal git repositories. Required for BYOS customers to build B2Qt things. Git repositories in SRC_URI are configured with 'local-uri' parameter, that defines the path to the source code directory inside the Qt SDK. The base path to Qt SDK is set in local.conf when setup-environment.sh in run. Change-Id: I7f5e96fb6b9e9e55cac9d50cefb17830618193b8 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Fixes for setup scriptsSamuli Piippo2014-10-171-2/+2
| | | | | Change-Id: Ib506ebd57e0943cbbd2b4dfcb6291a3938807c1f Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Improvements to setup scriptsSamuli Piippo2014-10-141-0/+85
- use the already fetched .repo/repo as a workaround for repo tool's mandatory -u argument - rename environment-setup.sh script - Add notice about correctly sourcing the environment-setup.sh script Change-Id: I4ac3cf26ca30ae1c14474cf9fb15e65ebc0be3ac Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>