[U-Boot] [PATCH v2 1/2] travis: Setup QEMU_VERSION as variable

This change enables setting up specific Qemu version or sha1 for new targets which are added after (current) v3.0.0 version. This changes is preparation step for adding new Xilinx Versal Virt platform which was merge after v3.0.0.
Signed-off-by: Michal Simek michal.simek@xilinx.com Reviewed-by: Bin Meng bmeng.cn@gmail.com ---
Changes in v2: None
.travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml index 321fd793a756..6e4b4ba0a34a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,6 +63,7 @@ env: - BUILD_DIR=build - HOSTCC="cc" - HOSTCXX="c++" + - QEMU_VERSION="v3.0.0"
before_script: # install toolchains based on TOOLCHAIN} variable @@ -97,7 +98,7 @@ before_script: git clone git://git.qemu.org/qemu.git /tmp/qemu; pushd /tmp/qemu; git submodule update --init dtc && - git checkout v3.0.0 && + git checkout ${QEMU_VERSION} && ./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} && make -j4 all install; popd;

Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. When this patch is applied https://patchwork.kernel.org/patch/10754401/ Vexpress can be also turn to newer QEMU version.
Signed-off-by: Michal Simek michal.simek@xilinx.com ---
Changes in v2: - Keep vexpress on v3.0.0
.travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml index 6e4b4ba0a34a..49d9276cc524 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ env: - BUILD_DIR=build - HOSTCC="cc" - HOSTCXX="c++" - - QEMU_VERSION="v3.0.0" + - QEMU_VERSION="v3.1.0"
before_script: # install toolchains based on TOOLCHAIN} variable @@ -370,6 +370,7 @@ matrix: - TEST_PY_BD="vexpress_ca15_tc2" TEST_PY_ID="--id qemu" QEMU_TARGET="arm-softmmu" + QEMU_VERSION="v3.0.0" BUILDMAN="^vexpress_ca15_tc2$" - name: "test/py vexpress_ca9x4" env:

On Wed, Jan 16, 2019 at 03:18:44PM +0100, Michal Simek wrote:
Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. When this patch is applied https://patchwork.kernel.org/patch/10754401/ Vexpress can be also turn to newer QEMU version.
Signed-off-by: Michal Simek michal.simek@xilinx.com
Reviewed-by: Tom Rini trini@konsulko.com

On Wed, Jan 16, 2019 at 03:18:44PM +0100, Michal Simek wrote:
Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. When this patch is applied https://patchwork.kernel.org/patch/10754401/ Vexpress can be also turn to newer QEMU version.
Signed-off-by: Michal Simek michal.simek@xilinx.com Reviewed-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!

On Wed, Jan 16, 2019 at 03:18:43PM +0100, Michal Simek wrote:
This change enables setting up specific Qemu version or sha1 for new targets which are added after (current) v3.0.0 version. This changes is preparation step for adding new Xilinx Versal Virt platform which was merge after v3.0.0.
Signed-off-by: Michal Simek michal.simek@xilinx.com Reviewed-by: Bin Meng bmeng.cn@gmail.com
Reviewed-by: Tom Rini trini@konsulko.com

On Wed, Jan 16, 2019 at 03:18:43PM +0100, Michal Simek wrote:
This change enables setting up specific Qemu version or sha1 for new targets which are added after (current) v3.0.0 version. This changes is preparation step for adding new Xilinx Versal Virt platform which was merge after v3.0.0.
Signed-off-by: Michal Simek michal.simek@xilinx.com Reviewed-by: Bin Meng bmeng.cn@gmail.com Reviewed-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!
participants (2)
-
Michal Simek
-
Tom Rini