diff options
author | Teemu Holappa <teemu.holappa@theqtcompany.com> | 2016-04-13 15:47:51 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-05-05 08:16:14 +0000 |
commit | 86ce53afdeb5fbf863100231b83521bf34375930 (patch) | |
tree | 2926e8631c2197bdcb10a35c0d31cf5c4e078945 /scripts | |
parent | 5800a3bfe48a2092ac3b8cf250f04840a6397f3f (diff) | |
download | meta-boot2qt-86ce53afdeb5fbf863100231b83521bf34375930.tar.gz |
Fix to NVidia's tegra configurations.
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/manifest.xml | 11 | ||||
-rw-r--r-- | scripts/manifest_jethro.xml | 9 | ||||
-rwxr-xr-x | scripts/setup-environment.sh | 7 | ||||
-rwxr-xr-x | scripts/upload.sh | 5 |
4 files changed, 23 insertions, 9 deletions
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index 28ccfa3..4c1e70f 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -73,16 +73,21 @@ | |||
73 | path="sources/meta-intel" | 73 | path="sources/meta-intel" |
74 | groups="notdefault,external,intel"/> | 74 | groups="notdefault,external,intel"/> |
75 | 75 | ||
76 | <project name="meta-tegra" | 76 | <project name="nvidia-layer" |
77 | remote="playground" | 77 | remote="playground" |
78 | revision="3125d29a5c58a471b67104d1bff965df38eb3115" | 78 | revision="38c9b1d76037ff39b9e0cbd679b3e04b36c86ed7" |
79 | path="sources/meta-tegra" | 79 | path="sources/nvidia-layer" |
80 | groups="notdefault,internal"/> | 80 | groups="notdefault,internal"/> |
81 | <project name="jetson-tk1-pro" | 81 | <project name="jetson-tk1-pro" |
82 | remote="playground" | 82 | remote="playground" |
83 | revision="a376c795d5361fda4ea5f19feecc23ab7e753646" | 83 | revision="a376c795d5361fda4ea5f19feecc23ab7e753646" |
84 | path="sources/jetson-tk1-pro" | 84 | path="sources/jetson-tk1-pro" |
85 | groups="notdefault,internal"/> | 85 | groups="notdefault,internal"/> |
86 | <project name="vibrante-t186" | ||
87 | remote="playground" | ||
88 | revision="edc10bf3f4b17333021f85e9ad32f85838e2c33f" | ||
89 | path="sources/vibrante-t186" | ||
90 | groups="notdefault,internal"/> | ||
86 | <project name="meta-smx6" | 91 | <project name="meta-smx6" |
87 | remote="playground" | 92 | remote="playground" |
88 | revision="c2f639ef4b2fd5809ab95fb330d28c2716aa290d" | 93 | revision="c2f639ef4b2fd5809ab95fb330d28c2716aa290d" |
diff --git a/scripts/manifest_jethro.xml b/scripts/manifest_jethro.xml index 29b401c..6044ae5 100644 --- a/scripts/manifest_jethro.xml +++ b/scripts/manifest_jethro.xml | |||
@@ -73,16 +73,21 @@ | |||
73 | path="sources/meta-intel" | 73 | path="sources/meta-intel" |
74 | groups="notdefault,external,intel"/> | 74 | groups="notdefault,external,intel"/> |
75 | 75 | ||
76 | <project name="meta-tegra" | 76 | <project name="nvidia-layer" |
77 | remote="playground" | 77 | remote="playground" |
78 | revision="master" | 78 | revision="master" |
79 | path="sources/meta-tegra" | 79 | path="sources/nvidia-layer" |
80 | groups="notdefault,internal"/> | 80 | groups="notdefault,internal"/> |
81 | <project name="jetson-tk1-pro" | 81 | <project name="jetson-tk1-pro" |
82 | remote="playground" | 82 | remote="playground" |
83 | revision="master" | 83 | revision="master" |
84 | path="sources/jetson-tk1-pro" | 84 | path="sources/jetson-tk1-pro" |
85 | groups="notdefault,internal"/> | 85 | groups="notdefault,internal"/> |
86 | <project name="vibrante-t186" | ||
87 | remote="playground" | ||
88 | revision="master" | ||
89 | path="sources/vibrante-t186" | ||
90 | groups="notdefault,internal"/> | ||
86 | <project name="meta-smx6" | 91 | <project name="meta-smx6" |
87 | remote="playground" | 92 | remote="playground" |
88 | revision="fido" | 93 | revision="fido" |
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index 19f7ffa..1fb4d89 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -72,8 +72,11 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
72 | intel-corei7-64) | 72 | intel-corei7-64) |
73 | LAYERSCONF="bblayers.conf.intel.sample" | 73 | LAYERSCONF="bblayers.conf.intel.sample" |
74 | ;; | 74 | ;; |
75 | nvidia-logan|tegra-x1|tegra-t18x) | 75 | nvidia-logan) |
76 | LAYERSCONF="bblayers.conf.nvidia.sample" | 76 | LAYERSCONF="bblayers.conf.nvidia-logan.sample" |
77 | ;; | ||
78 | tegra-x1|tegra-t18x) | ||
79 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" | ||
77 | ;; | 80 | ;; |
78 | emulator) | 81 | emulator) |
79 | LAYERSCONF="bblayers.conf.emulator.sample" | 82 | LAYERSCONF="bblayers.conf.emulator.sample" |
diff --git a/scripts/upload.sh b/scripts/upload.sh index 60e7e14..fc9c837 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh | |||
@@ -33,10 +33,11 @@ elif [ -e tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.img | |||
33 | 7z a -l b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ | 33 | 7z a -l b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ |
34 | $PWD/tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.img \ | 34 | $PWD/tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.img \ |
35 | $PWD/tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.conf | 35 | $PWD/tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.conf |
36 | elif [ ${MACHINE} == "nvidia-logan" || ${MACHINE} == "tegra-x1" || ${MACHINE} == "tegra-t18x" ] && [ -e tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.tar.gz ]; then | 36 | elif ([ ${MACHINE} = "nvidia-logan" ] || [ ${MACHINE} = "tegra-x1" ] || [ ${MACHINE} = "tegra-t18x" ]) \ |
37 | && [ -e tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.tar.gz ]; then | ||
37 | 7z a -l b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ | 38 | 7z a -l b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ |
38 | $PWD/tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.tar.gz \ | 39 | $PWD/tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.tar.gz \ |
39 | $PWD/tmp/deploy/images/${MACHINE}/zImage | 40 | $PWD/tmp/deploy/images/${MACHINE}/*Image |
40 | fi | 41 | fi |
41 | 42 | ||
42 | if [ -e b2qt-${PROJECT}-qt5-image-${MACHINE}.7z ]; then | 43 | if [ -e b2qt-${PROJECT}-qt5-image-${MACHINE}.7z ]; then |