[u-boot-test-hooks PATCH 3/4] qemu-xtensa-dc233c: New board
Jiaxun Yang
jiaxun.yang at flygoat.com
Tue Jun 11 23:00:24 CEST 2024
Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
---
bin/travis-ci/conf.qemu-xtensa-dc233c_na | 12 ++++++++++++
.../u_boot_boardenv_qemu_xtensa_dc233c_na.py | 6 ++++++
2 files changed, 18 insertions(+)
create mode 100644 bin/travis-ci/conf.qemu-xtensa-dc233c_na
create mode 100644 py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py
diff --git a/bin/travis-ci/conf.qemu-xtensa-dc233c_na b/bin/travis-ci/conf.qemu-xtensa-dc233c_na
new file mode 100644
index 000000000000..fc3b5880e5c1
--- /dev/null
+++ b/bin/travis-ci/conf.qemu-xtensa-dc233c_na
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: MIT
+#
+# Copyright (c) 2024 Jiaxun Yang
+#
+
+console_impl=qemu
+qemu_machine="virt"
+qemu_binary="qemu-system-xtensa"
+qemu_extra_args="-cpu dc233c -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-pci,netdev=net0 -device virtio-rng-pci -semihosting"
+qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot.elf"
+reset_impl=none
+flash_impl=none
diff --git a/py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py b/py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py
new file mode 100644
index 000000000000..8fdb24b284c7
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py
@@ -0,0 +1,6 @@
+import os
+import travis_tftp
+
+env__net_uses_pci = True
+env__net_dhcp_server = True
+env__net_tftp_readable_file = travis_tftp.file2env('u-boot')
--
2.43.0
More information about the U-Boot
mailing list