diff mbox series

travis-ci: Add SH4 r2dplus machine with various PCI ethernet options

Message ID 20200805212648.4358-1-marek.vasut+renesas@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series travis-ci: Add SH4 r2dplus machine with various PCI ethernet options | expand

Commit Message

Marek Vasut Aug. 5, 2020, 9:26 p.m. UTC
Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Rini <trini@konsulko.com>
---
 bin/travis-ci/conf.r2dplus_i82557c_qemu       | 27 +++++++++++++++++++
 bin/travis-ci/conf.r2dplus_pcnet_qemu         | 27 +++++++++++++++++++
 bin/travis-ci/conf.r2dplus_rtl8139_qemu       | 27 +++++++++++++++++++
 bin/travis-ci/conf.r2dplus_tulip_qemu         | 27 +++++++++++++++++++
 .../u_boot_boardenv_r2dplus_i82557c_qemu.py   |  6 +++++
 .../u_boot_boardenv_r2dplus_pcnet_qemu.py     |  6 +++++
 .../u_boot_boardenv_r2dplus_rtl8139_qemu.py   |  6 +++++
 .../u_boot_boardenv_r2dplus_tulip_qemu.py     |  6 +++++
 8 files changed, 132 insertions(+)
 create mode 100644 bin/travis-ci/conf.r2dplus_i82557c_qemu
 create mode 100644 bin/travis-ci/conf.r2dplus_pcnet_qemu
 create mode 100644 bin/travis-ci/conf.r2dplus_rtl8139_qemu
 create mode 100644 bin/travis-ci/conf.r2dplus_tulip_qemu
 create mode 100644 py/travis-ci/u_boot_boardenv_r2dplus_i82557c_qemu.py
 create mode 100644 py/travis-ci/u_boot_boardenv_r2dplus_pcnet_qemu.py
 create mode 100644 py/travis-ci/u_boot_boardenv_r2dplus_rtl8139_qemu.py
 create mode 100644 py/travis-ci/u_boot_boardenv_r2dplus_tulip_qemu.py

Comments

Marek Vasut Aug. 18, 2020, 4:50 p.m. UTC | #1
On 8/5/20 11:26 PM, Marek Vasut wrote:
> Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
> options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.
> 

Bump ?
Tom Rini Sept. 2, 2020, 3:42 p.m. UTC | #2
On Tue, Aug 18, 2020 at 06:50:06PM +0200, Marek Vasut wrote:

> On 8/5/20 11:26 PM, Marek Vasut wrote:
> > Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
> > options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.
> > 
> 
> Bump ?

Stephen?
Stephen Warren Sept. 2, 2020, 3:56 p.m. UTC | #3
On 9/2/20 9:42 AM, Tom Rini wrote:
> On Tue, Aug 18, 2020 at 06:50:06PM +0200, Marek Vasut wrote:
> 
>> On 8/5/20 11:26 PM, Marek Vasut wrote:
>>> Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
>>> options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.
>>>
>>
>> Bump ?
> 
> Stephen?

Oh, this was marked as travis-ci not u-boot-test-hooks so I didn't
realize it was for me. I'll try and look at it soon.
Stephen Warren Sept. 2, 2020, 5:56 p.m. UTC | #4
On 8/5/20 3:26 PM, Marek Vasut wrote:
> Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
> options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.

Sorry for the delay. I've applied this now.
diff mbox series

Patch

diff --git a/bin/travis-ci/conf.r2dplus_i82557c_qemu b/bin/travis-ci/conf.r2dplus_i82557c_qemu
new file mode 100644
index 0000000..85ad999
--- /dev/null
+++ b/bin/travis-ci/conf.r2dplus_i82557c_qemu
@@ -0,0 +1,27 @@ 
+# Copyright (c) 2020 Marek Vasut <marek.vasut+renesas@gmail.com>
+#
+# 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="r2d"
+qemu_binary="qemu-system-sh4"
+qemu_extra_args="-nographic -serial null -serial mon:stdio -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic,model=i82557c"
+qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot.bin"
+reset_impl=none
+flash_impl=none
diff --git a/bin/travis-ci/conf.r2dplus_pcnet_qemu b/bin/travis-ci/conf.r2dplus_pcnet_qemu
new file mode 100644
index 0000000..5d208bd
--- /dev/null
+++ b/bin/travis-ci/conf.r2dplus_pcnet_qemu
@@ -0,0 +1,27 @@ 
+# Copyright (c) 2020 Marek Vasut <marek.vasut+renesas@gmail.com>
+#
+# 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="r2d"
+qemu_binary="qemu-system-sh4"
+qemu_extra_args="-nographic -serial null -serial mon:stdio -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic,model=pcnet"
+qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot.bin"
+reset_impl=none
+flash_impl=none
diff --git a/bin/travis-ci/conf.r2dplus_rtl8139_qemu b/bin/travis-ci/conf.r2dplus_rtl8139_qemu
new file mode 100644
index 0000000..b582eec
--- /dev/null
+++ b/bin/travis-ci/conf.r2dplus_rtl8139_qemu
@@ -0,0 +1,27 @@ 
+# Copyright (c) 2020 Marek Vasut <marek.vasut+renesas@gmail.com>
+#
+# 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="r2d"
+qemu_binary="qemu-system-sh4"
+qemu_extra_args="-nographic -serial null -serial mon:stdio -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic,model=rtl8139"
+qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot.bin"
+reset_impl=none
+flash_impl=none
diff --git a/bin/travis-ci/conf.r2dplus_tulip_qemu b/bin/travis-ci/conf.r2dplus_tulip_qemu
new file mode 100644
index 0000000..b04ba06
--- /dev/null
+++ b/bin/travis-ci/conf.r2dplus_tulip_qemu
@@ -0,0 +1,27 @@ 
+# Copyright (c) 2020 Marek Vasut <marek.vasut+renesas@gmail.com>
+#
+# 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="r2d"
+qemu_binary="qemu-system-sh4"
+qemu_extra_args="-nographic -serial null -serial mon:stdio -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic,model=tulip"
+qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot.bin"
+reset_impl=none
+flash_impl=none
diff --git a/py/travis-ci/u_boot_boardenv_r2dplus_i82557c_qemu.py b/py/travis-ci/u_boot_boardenv_r2dplus_i82557c_qemu.py
new file mode 100644
index 0000000..8fdb24b
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_r2dplus_i82557c_qemu.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')
diff --git a/py/travis-ci/u_boot_boardenv_r2dplus_pcnet_qemu.py b/py/travis-ci/u_boot_boardenv_r2dplus_pcnet_qemu.py
new file mode 100644
index 0000000..8fdb24b
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_r2dplus_pcnet_qemu.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')
diff --git a/py/travis-ci/u_boot_boardenv_r2dplus_rtl8139_qemu.py b/py/travis-ci/u_boot_boardenv_r2dplus_rtl8139_qemu.py
new file mode 100644
index 0000000..8fdb24b
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_r2dplus_rtl8139_qemu.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')
diff --git a/py/travis-ci/u_boot_boardenv_r2dplus_tulip_qemu.py b/py/travis-ci/u_boot_boardenv_r2dplus_tulip_qemu.py
new file mode 100644
index 0000000..8fdb24b
--- /dev/null
+++ b/py/travis-ci/u_boot_boardenv_r2dplus_tulip_qemu.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')