tests/functional: migrate sbsa_ref test images
As the builds in codelinaro.org are going away migrate the binaries to share.linaro.org. As the hotlinks don't encode the filename we need to explicitly tell uncompress how to handle the files. Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20260128105839.3487840-3-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> (cherry picked from commit d9ca273f8f31acb22d3f5aca5f063b94fb962e19) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
49d3f1381d
commit
92e6f27829
1 changed files with 8 additions and 10 deletions
|
|
@ -31,10 +31,10 @@ def fetch_firmware(test):
|
|||
"""
|
||||
|
||||
# Secure BootRom (TF-A code)
|
||||
fs0_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH0)
|
||||
fs0_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH0, format="xz")
|
||||
|
||||
# Non-secure rom (UEFI and EFI variables)
|
||||
fs1_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH1)
|
||||
fs1_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH1, format="xz")
|
||||
|
||||
for path in [fs0_path, fs1_path]:
|
||||
with open(path, "ab+") as fd:
|
||||
|
|
@ -54,15 +54,13 @@ class Aarch64SbsarefMachine(QemuSystemTest):
|
|||
|
||||
timeout = 180
|
||||
|
||||
ASSET_FLASH0 = Asset(
|
||||
('https://artifacts.codelinaro.org/artifactory/linaro-419-sbsa-ref/'
|
||||
'20241122-189881/edk2/SBSA_FLASH0.fd.xz'),
|
||||
'76eb89d42eebe324e4395329f47447cda9ac920aabcf99aca85424609c3384a5')
|
||||
# SBSA_FLASH0.fd.xz
|
||||
ASSET_FLASH0 = Asset('https://share.linaro.org/downloadFile?id=kyoMLGC9zXa4oA7',
|
||||
'76eb89d42eebe324e4395329f47447cda9ac920aabcf99aca85424609c3384a5')
|
||||
|
||||
ASSET_FLASH1 = Asset(
|
||||
('https://artifacts.codelinaro.org/artifactory/linaro-419-sbsa-ref/'
|
||||
'20241122-189881/edk2/SBSA_FLASH1.fd.xz'),
|
||||
'f850f243bd8dbd49c51e061e0f79f1697546938f454aeb59ab7d93e5f0d412fc')
|
||||
# SBSA_FLASH1.fd.xz
|
||||
ASSET_FLASH1 = Asset('https://share.linaro.org/downloadFile?id=Dj1HRXnDnKtU6Nj',
|
||||
'f850f243bd8dbd49c51e061e0f79f1697546938f454aeb59ab7d93e5f0d412fc')
|
||||
|
||||
def test_sbsaref_edk2_firmware(self):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue