travis-ci: Add qemu-arm-sbsa-ref
PATCH 1/1 travis-ci: Add qemu-arm-sbsa-ref
Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI NOR flash, one for Arm-TF and one for unsecure firmware, providing ACPI tables to the OS.
Signed-off-by Patrick Rudolph <[email protected]>
--- bin/travis-ci/conf.qemu-arm-sbsa_na | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bin/travis-ci/conf.qemu-arm-sbsa_na
bin/travis-ci/conf.qemu-arm-sbsa_na new file +27 -0
@@ -0,0 +1,27 @@ +# Copyright (c) 2024 Patrick Rudolph. 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="sbsa-ref" +qemu_binary="qemu-system-aarch64" +qemu_extra_args="-cpu cortex-a57 -smp 4 -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci -semihosting" +qemu_kernel_args="-drive if=pflash,file=${U_BOOT_BUILD_DIR}/secure-world.rom,format=raw -drive if=pflash,file=${U_BOOT_BUILD_DIR}/unsecure-world.rom,format=raw" +reset_impl=none +flash_impl=none
Signature · 1 line
2.46.0
Quoted 5 lines · Patrick Rudolph
Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI NOR flash, one for Arm-TF and one for unsecure firmware, providing ACPI tables to the OS.
Signed-off-by Patrick Rudolph <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 1 line
Tom
Quoted 5 lines · Patrick Rudolph
Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI NOR flash, one for Arm-TF and one for unsecure firmware, providing ACPI tables to the OS.
Applied to u-boot/u-boot-test-hooks.git/master, thanks!
Signature · 1 line
Tom