[U-Boot] [PATCH v2 2/2] travis: Add ASPEED AST2500 EVB Qemu

Joel Stanley joel at jms.id.au
Mon Jul 15 23:14:21 UTC 2019


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 bin/travis-ci/conf.evb-ast2500_qemu              | 11 +++++++++++
 py/travis-ci/u_boot_boardenv_evb-ast2500_qemu.py |  7 +++++++
 2 files changed, 18 insertions(+)
 create mode 100644 bin/travis-ci/conf.evb-ast2500_qemu
 create mode 100644 py/travis-ci/u_boot_boardenv_evb-ast2500_qemu.py

diff --git a/bin/travis-ci/conf.evb-ast2500_qemu b/bin/travis-ci/conf.evb-ast2500_qemu
new file mode 100644
index 000000000000..41406fe38112
--- /dev/null
+++ b/bin/travis-ci/conf.evb-ast2500_qemu
@@ -0,0 +1,11 @@
+# Copyright 2019 IBM Corp.
+# Joel Stanley <joel at jms.id.au>
+# SPDX-License-Identifier: GPL-2.0+
+
+console_impl=qemu
+qemu_machine="ast2500-evb"
+qemu_binary="qemu-system-arm"
+qemu_extra_args="-nographic -m 512M -serial mon:stdio -net nic,model=ftgmac100 -net user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
+qemu_kernel_args="-drive file=${U_BOOT_BUILD_DIR}/flash.img,format=raw,if=mtd"
+reset_impl=none
+flash_impl=create_image_32mb
diff --git a/py/travis-ci/u_boot_boardenv_evb-ast2500_qemu.py b/py/travis-ci/u_boot_boardenv_evb-ast2500_qemu.py
new file mode 100644
index 000000000000..9a10a56e15dc
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_evb-ast2500_qemu.py
@@ -0,0 +1,7 @@
+import travis_tftp
+
+env__spl_skipped = True
+
+env__net_dhcp_server = True
+
+env__net_tftp_readable_file = travis_tftp.file2env('u-boot')
-- 
2.20.1



More information about the U-Boot mailing list