From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Huacai Chen" <chenhuacai@kernel.org>,
"Beraldo Leal" <bleal@redhat.com>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Stefan Hajnoczi" <stefanha@gmail.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"BALATON Zoltan" <balaton@eik.bme.hu>
Subject: [PATCH-for-8.2] tests/avocado: Stop fetching yamon-bin-02.22.zip
Date: Fri, 1 Dec 2023 15:21:39 +0100 [thread overview]
Message-ID: <20231201142139.39816-1-philmd@linaro.org> (raw)
Per https://mips.com/develop/tools/boot-loaders/:
To support existing users of these, and the QEMU project,
YAMON is now available under the GPL License.
However the link https://mips.com/downloads/yamon-version-02-22/
is invalid:
> GET /tools/mips-tools/downloads/yamon/yamon-bin-02.22.zip HTTP/1.1
> Host: www.imgtec.com
>
< HTTP/1.1 301 Moved Permanently
Stop fetching the archive, use a patch to a downloaded one.
When YAMON_02_22_ZIP_PATH is not set we get:
(4/4) tests/avocado/machine_mips_malta.py:MaltaMachineYamon.test_mips64el_malta_yamon: SKIP: YAMON_02_22_ZIP_PATH not available
Otherwise we keep testing:
(4/4) tests/avocado/machine_mips_malta.py:MaltaMachineYamon.test_mips64el_malta_yamon:
console: YAMON ROM Monitor, Revision 02.22.
console: Copyright (c) 1999-2007 MIPS Technologies, Inc. - All Rights Reserved.
console: For a list of available commands, type 'help'.
console: Compilation time = May 24 2013 12:16:34 (pburton)
console: Board type/revision = 0x02 (Malta) / 0x00
console: Core board type/revision = 0x01 (CoreLV) / 0x00
console: System controller/revision = Galileo / GT_64120A-B-0
console: FPGA revision = 0x0000
console: MAC address = ff.ff.ff.ff.ff.ff
console: Board S/N = 0123456789
console: PCI bus frequency = 33.33 MHz
console: Processor Company ID/options = 0x01 (MIPS Technologies, Inc.) / 0x00
console: Processor ID/revision = 0x82 (MIPS 20Kc) / 0xa0
console: Endianness = Little
console: CPU/Bus frequency = 320 MHz / 419 MHz
console: Coherency = None
console: Flash memory size = 4 MByte
console: SDRAM size = 128 MByte
console: First free SDRAM address = 0x800c3300
console: WARNING: Environment variable flash area is invalid!
console: HINT : Perform "erase -e"
console: YAMON>
PASS (3.50 s)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Supersedes: <20231201093633.2551497-5-alex.bennee@linaro.org>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: BALATON Zoltan <balaton@eik.bme.hu>
---
tests/avocado/machine_mips_malta.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/avocado/machine_mips_malta.py b/tests/avocado/machine_mips_malta.py
index 9bd54518bf..7f82f3abba 100644
--- a/tests/avocado/machine_mips_malta.py
+++ b/tests/avocado/machine_mips_malta.py
@@ -121,13 +121,16 @@ def test_mips_malta_i6400_framebuffer_logo_8cores(self):
"""
self.do_test_i6400_framebuffer_logo(8)
-class MaltaMachine(QemuSystemTest):
+@skipUnless(os.getenv('YAMON_02_22_ZIP_PATH'),
+ 'YAMON_02_22_ZIP_PATH not available')
+class MaltaMachineYamon(QemuSystemTest):
def do_test_yamon(self):
rom_url = ('http://www.imgtec.com/tools/mips-tools/downloads/'
'yamon/yamon-bin-02.22.zip')
rom_hash = '8da7ecddbc5312704b8b324341ee238189bde480'
- zip_path = self.fetch_asset(rom_url, asset_hash=rom_hash)
+ zip_path = os.getenv('YAMON_02_22_ZIP_PATH')
+ zip_path = self.fetch_asset(f'file://{zip_path}', asset_hash=rom_hash)
archive.extract(zip_path, self.workdir)
yamon_path = os.path.join(self.workdir, 'yamon-02.22.bin')
--
2.41.0
reply other threads:[~2023-12-01 14:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231201142139.39816-1-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=aurelien@aurel32.net \
--cc=balaton@eik.bme.hu \
--cc=bleal@redhat.com \
--cc=chenhuacai@kernel.org \
--cc=crosa@redhat.com \
--cc=jiaxun.yang@flygoat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).