qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 05/11] testing/avocado: ppc add new BookE boot_linux_cons


From: Cédric Le Goater
Subject: Re: [RFC PATCH 05/11] testing/avocado: ppc add new BookE boot_linux_console.py tests
Date: Mon, 16 Oct 2023 10:07:56 +0200
User-agent: Mozilla Thunderbird

On 10/10/23 22:53, Nicholas Piggin wrote:
On Tue Oct 10, 2023 at 10:03 PM AEST, Joel Stanley wrote:
On Tue, 10 Oct 2023 at 18:23, Nicholas Piggin <npiggin@gmail.com> wrote:

Add simple Linux kernel boot tests for BookE 64-bit and 32-bit CPUs
using Guenter Roeck's rootfs images for Linux testing, and a gitlab
repository with kernel images that I built since there are very few
sources of modern BookE images now.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>

Reviewed-by: Joel Stanley <joel@jms.id.au>

Should we get mpe to add a https://github.com/linuxppc/qemu-ci-images
for you to keep those kernel images? But perhaps you'd prefer to keep
them on gitlab. Just a suggestion.

Not a bad idea. Or we could try for gitlab/qemu/ci-images I suppose.

Feel free to take these :

  https://github.com/legoater/qemu-ppc-boot/tree/main/buildroot

Supported machines

    prep/ppc 604 CPU
    ref405ep/ppc 405EP CPU
    bamboo/ppc 440EP CPU
    sam460ex/ppc 460EX CPU (equivalent to a 440)
    g3beige/ppc G3 CPU
    mac99/ppc G4 CPU
    e500mc/ppc e500mc CPU
    mpc8544ds/ppc e500v2 CPU
    ppce500/ppc64 e5500, e6500
    mac99/ppc64 970 CPU with 64bit and 32bit user space
    pseries/ppc64 POWER5+, 970, 970MP, POWER7
    pseries/ppc64le POWER8, POWER9, POWER10
    powernv8/ppc64le POWER8 HV CPU
    powernv9/ppc64le POWER9 HV CPU

Thanks,

C.




---
  tests/avocado/boot_linux_console.py | 53 +++++++++++++++++++++++++++++
  1 file changed, 53 insertions(+)

diff --git a/tests/avocado/boot_linux_console.py 
b/tests/avocado/boot_linux_console.py
index 9434304cd3..dc3346ef49 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -1355,6 +1355,59 @@ def test_ppc64_e500(self):
          tar_hash = '6951d86d644b302898da2fd701739c9406527fe1'
          self.do_test_advcal_2018('19', tar_hash, 'uImage')

+    def test_ppc64_e6500(self):
+        """
+        :avocado: tags=arch:ppc64
+        :avocado: tags=machine:ppce500
+        :avocado: tags=cpu:e6500
+        :avocado: tags=accel:tcg
+        """
+        kernel_url = 
('https://gitlab.com/npiggin/qemu-ci-images/-/raw/main/ppc/corenet64_vmlinux?ref_type=heads&inline=false')

Is the ref_type?heads=inline-false required? I seem to get the file
successfully with wget and those omitted.

I just copied the download link, so if it works without then
I'll remove it.

Thanks,
Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]