[PATCH test hooks 1/1] u-boot-hooks: add virtio-rng-pci
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue Sep 22 20:27:34 CEST 2020
In the UEFI subsystem we test the RNG device.
On QEMU it is provided via '-device virtio-rng-pci'.
We need to add this PCI device before enable DM_RNG on ARCH_ARM.
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
Tested on Gitlab CI:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/commits/efi-2020-10
---
bin/travis-ci/conf.qemu_arm64_na | 2 +-
bin/travis-ci/conf.qemu_arm_na | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/travis-ci/conf.qemu_arm64_na b/bin/travis-ci/conf.qemu_arm64_na
index c507aad..e7c9426 100644
--- a/bin/travis-ci/conf.qemu_arm64_na
+++ b/bin/travis-ci/conf.qemu_arm64_na
@@ -23,7 +23,7 @@
console_impl=qemu
qemu_machine="virt"
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"
+qemu_extra_args="-cpu cortex-a57 -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci"
qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/u-boot.bin"
reset_impl=none
flash_impl=none
diff --git a/bin/travis-ci/conf.qemu_arm_na b/bin/travis-ci/conf.qemu_arm_na
index 7662c62..0f07c80 100644
--- a/bin/travis-ci/conf.qemu_arm_na
+++ b/bin/travis-ci/conf.qemu_arm_na
@@ -23,7 +23,7 @@
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"
+qemu_extra_args="-nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci"
qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/u-boot.bin"
reset_impl=none
flash_impl=none
--
2.28.0
More information about the U-Boot
mailing list