summaryrefslogtreecommitdiffstats
path: root/scripts/setup-environment.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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>