These are similar to the existing qemu_arm/64 targets, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in u-boot.bin
Signed-off-by: Simon Glass <s...@chromium.org> --- bin/travis-ci/conf.qemu_arm64_spl_na | 32 ++++++++++++++++++++++++++++ bin/travis-ci/conf.qemu_arm_spl_na | 31 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 bin/travis-ci/conf.qemu_arm64_spl_na create mode 100644 bin/travis-ci/conf.qemu_arm_spl_na diff --git a/bin/travis-ci/conf.qemu_arm64_spl_na b/bin/travis-ci/conf.qemu_arm64_spl_na new file mode 100644 index 0000000..9a0d9b3 --- /dev/null +++ b/bin/travis-ci/conf.qemu_arm64_spl_na @@ -0,0 +1,32 @@ +# Copyright (c) 2017 Tuomas Tynkkynen. All rights reserved. +# Based on conf.vexpress_ca15_tc2_qemu which is: +# Copyright (c) 2016 Konsulko Group. All rights reserved. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +console_impl=qemu +qemu_machine="virt" +qemu_helper_script="swtpm" +qemu_binary="qemu-system-aarch64" +qemu_extra_args="-cpu cortex-a57 -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci -semihosting -chardev socket,id=chrtpm,path=/tmp/tpm/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis-device,tpmdev=tpm0" + +# Uses image.bin which contains SPL and U-Boot +qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/image.bin" +reset_impl=none +flash_impl=none diff --git a/bin/travis-ci/conf.qemu_arm_spl_na b/bin/travis-ci/conf.qemu_arm_spl_na new file mode 100644 index 0000000..1646ea3 --- /dev/null +++ b/bin/travis-ci/conf.qemu_arm_spl_na @@ -0,0 +1,31 @@ +# Copyright (c) 2017 Tuomas Tynkkynen. All rights reserved. +# Based on conf.vexpress_ca15_tc2_qemu which is: +# Copyright (c) 2016 Konsulko Group. All rights reserved. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +console_impl=qemu +qemu_machine="virt" +qemu_binary="qemu-system-arm" +qemu_extra_args="-nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci" + +# Uses image.bin which contains SPL and U-Boot +qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/image.bin" +reset_impl=none +flash_impl=none -- 2.43.0 base-commit: b580897053862411a291a477b2a11cf076a6f14c branch: push3