hooks: travis-ci: Add qemu_arm/64_spl board
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 <sjg@chromium.org>
This commit is contained in:
32
test/hooks/bin/travis-ci/conf.qemu_arm64_spl_na
Normal file
32
test/hooks/bin/travis-ci/conf.qemu_arm64_spl_na
Normal file
@@ -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
|
||||
31
test/hooks/bin/travis-ci/conf.qemu_arm_spl_na
Normal file
31
test/hooks/bin/travis-ci/conf.qemu_arm_spl_na
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user