All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for 11.2] tests/functional: update to newer sunxi kernels again
@ 2026-12-01 12:06 Daniel P. Berrangé
  2026-12-01 12:18 ` Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Daniel P. Berrangé @ 2026-12-01 12:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-arm, Niek Linnenbank, Peter Maydell,
	Philippe Mathieu-Daudé, Brian Cain, Strahinja Jankovic,
	Alex Bennée, Paolo Bonzini, Thomas Huth,
	Daniel P. Berrangé

The recent update to 6.6.44 kernels did not survive long, before
armbian purged that version from their download site.

Update to the newer 6.18.65 version that is the newest version
published which has 'linux-image-current' kernels for sunxi.

The newer kernels do not detect a gmac device, possibly due to
the driver being disabled.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 tests/functional/arm/test_bpim2u.py     | 26 ++++++++++++++-----------
 tests/functional/arm/test_cubieboard.py | 16 +++++++--------
 tests/functional/arm/test_orangepi.py   | 20 +++++++++----------
 tests/functional/arm/test_replay.py     | 12 ++++++------
 4 files changed, 39 insertions(+), 35 deletions(-)

diff --git a/tests/functional/arm/test_bpim2u.py b/tests/functional/arm/test_bpim2u.py
index e6fd80ae9d0..69cb3e6f31f 100755
--- a/tests/functional/arm/test_bpim2u.py
+++ b/tests/functional/arm/test_bpim2u.py
@@ -10,14 +10,16 @@
 from qemu_test import skipBigDataTest
 from qemu_test.utils import image_pow2ceil_expand
 
+from unittest import skip
+
 
 class BananaPiMachine(LinuxKernelTest):
 
     ASSET_DEB = Asset(
-        ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
-         'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
-         'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
-        'd960131bed01a8bf48882ff133a37826dfdce84138f9a82e0bea331ba795fe78')
+        ('https://apt.armbian.com/pool/main/l/linux-6.18.65/'
+         'linux-image-current-sunxi_26.11.4_armhf__6.18.65-'
+         'S4700-D7c7d-P2865-C70ca-H4b9e-HKff8b-V014b-Bdf9b-CVEfee3-R448a.deb'),
+        '2884801a24fa8da60b8ee07ec7650c1cc73571a4013c0bf4a986c136bd077715')
 
     ASSET_INITRD = Asset(
         ('https://github.com/groeck/linux-build-test/raw/'
@@ -38,8 +40,8 @@ class BananaPiMachine(LinuxKernelTest):
     def test_arm_bpim2u(self):
         self.set_machine('bpim2u')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/'
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/'
                     'sun8i-r40-bananapi-m2-ultra.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
 
@@ -57,8 +59,8 @@ def test_arm_bpim2u(self):
     def test_arm_bpim2u_initrd(self):
         self.set_machine('bpim2u')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/'
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/'
                     'sun8i-r40-bananapi-m2-ultra.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
         initrd_path = self.uncompress(self.ASSET_INITRD)
@@ -84,14 +86,15 @@ def test_arm_bpim2u_initrd(self):
         # Wait for VM to shut down gracefully
         self.vm.wait()
 
+    @skip("latest armbian sunxi kernels appear to be missing gmac driver")
     def test_arm_bpim2u_gmac(self):
         self.set_machine('bpim2u')
         self.require_netdev('user')
 
         deb_path = self.ASSET_DEB.fetch()
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/'
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/'
                     'sun8i-r40-bananapi-m2-ultra.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
         rootfs_path = self.uncompress(self.ASSET_ROOTFS)
@@ -118,7 +121,8 @@ def test_arm_bpim2u_gmac(self):
         exec_command_and_wait_for_pattern(self, 'cat /proc/partitions',
                                                 'mmcblk')
         exec_command_and_wait_for_pattern(self, 'ifconfig eth0 up',
-                                                 'eth0: Link is Up')
+                                                 'eth0: Link is Up',
+                                                 'No such device')
         exec_command_and_wait_for_pattern(self, 'udhcpc eth0',
             'udhcpc: lease of 10.0.2.15 obtained')
         exec_command_and_wait_for_pattern(self, 'ping -c 3 10.0.2.2',
diff --git a/tests/functional/arm/test_cubieboard.py b/tests/functional/arm/test_cubieboard.py
index eeafc26f90d..83c654ad959 100755
--- a/tests/functional/arm/test_cubieboard.py
+++ b/tests/functional/arm/test_cubieboard.py
@@ -13,10 +13,10 @@
 class CubieboardMachine(LinuxKernelTest):
 
     ASSET_DEB = Asset(
-        ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
-         'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
-         'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
-        'd960131bed01a8bf48882ff133a37826dfdce84138f9a82e0bea331ba795fe78')
+        ('https://apt.armbian.com/pool/main/l/linux-6.18.65/'
+         'linux-image-current-sunxi_26.11.4_armhf__6.18.65-'
+         'S4700-D7c7d-P2865-C70ca-H4b9e-HKff8b-V014b-Bdf9b-CVEfee3-R448a.deb'),
+        '2884801a24fa8da60b8ee07ec7650c1cc73571a4013c0bf4a986c136bd077715')
 
     ASSET_INITRD = Asset(
         ('https://github.com/groeck/linux-build-test/raw/'
@@ -38,8 +38,8 @@ class CubieboardMachine(LinuxKernelTest):
     def test_arm_cubieboard_initrd(self):
         self.set_machine('cubieboard')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/' +
                     'sun4i-a10-cubieboard.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
         initrd_path = self.uncompress(self.ASSET_INITRD)
@@ -69,8 +69,8 @@ def test_arm_cubieboard_initrd(self):
     def test_arm_cubieboard_sata(self):
         self.set_machine('cubieboard')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/' +
                     'sun4i-a10-cubieboard.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
 
diff --git a/tests/functional/arm/test_orangepi.py b/tests/functional/arm/test_orangepi.py
index c9cfdbd67aa..2c690a9dcf0 100755
--- a/tests/functional/arm/test_orangepi.py
+++ b/tests/functional/arm/test_orangepi.py
@@ -16,10 +16,10 @@
 class OrangePiMachine(LinuxKernelTest):
 
     ASSET_DEB = Asset(
-        ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
-         'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
-         'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
-        'd960131bed01a8bf48882ff133a37826dfdce84138f9a82e0bea331ba795fe78')
+        ('https://apt.armbian.com/pool/main/l/linux-6.18.65/'
+         'linux-image-current-sunxi_26.11.4_armhf__6.18.65-'
+         'S4700-D7c7d-P2865-C70ca-H4b9e-HKff8b-V014b-Bdf9b-CVEfee3-R448a.deb'),
+        '2884801a24fa8da60b8ee07ec7650c1cc73571a4013c0bf4a986c136bd077715')
 
     ASSET_INITRD = Asset(
         ('https://github.com/groeck/linux-build-test/raw/'
@@ -50,8 +50,8 @@ class OrangePiMachine(LinuxKernelTest):
     def test_arm_orangepi(self):
         self.set_machine('orangepi-pc')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/' +
                     'sun8i-h3-orangepi-pc.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
 
@@ -69,8 +69,8 @@ def test_arm_orangepi(self):
     def test_arm_orangepi_initrd(self):
         self.set_machine('orangepi-pc')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/' +
                     'sun8i-h3-orangepi-pc.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
         initrd_path = self.uncompress(self.ASSET_INITRD)
@@ -100,8 +100,8 @@ def test_arm_orangepi_sd(self):
         self.set_machine('orangepi-pc')
         self.require_netdev('user')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
+            self.ASSET_DEB, member='boot/vmlinuz-6.18.65-current-sunxi')
+        dtb_path = ('usr/lib/linux-image-6.18.65-current-sunxi/' +
                     'sun8i-h3-orangepi-pc.dtb')
         dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
         rootfs_path = self.uncompress(self.ASSET_ROOTFS)
diff --git a/tests/functional/arm/test_replay.py b/tests/functional/arm/test_replay.py
index ee61f475930..b8015e2ee52 100755
--- a/tests/functional/arm/test_replay.py
+++ b/tests/functional/arm/test_replay.py
@@ -24,10 +24,10 @@ def test_virt(self):
         self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=1)
 
     ASSET_CUBIE_KERNEL = Asset(
-        ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
-         'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
-         'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
-        'd960131bed01a8bf48882ff133a37826dfdce84138f9a82e0bea331ba795fe78')
+        ('https://apt.armbian.com/pool/main/l/linux-6.18.65/'
+         'linux-image-current-sunxi_26.11.4_armhf__6.18.65-'
+         'S4700-D7c7d-P2865-C70ca-H4b9e-HKff8b-V014b-Bdf9b-CVEfee3-R448a.deb'),
+        '2884801a24fa8da60b8ee07ec7650c1cc73571a4013c0bf4a986c136bd077715')
 
     ASSET_CUBIE_INITRD = Asset(
         ('https://github.com/groeck/linux-build-test/raw/'
@@ -37,9 +37,9 @@ def test_virt(self):
     def test_cubieboard(self):
         self.set_machine('cubieboard')
         kernel_path = self.archive_extract(self.ASSET_CUBIE_KERNEL,
-            member='boot/vmlinuz-6.6.44-current-sunxi')
+            member='boot/vmlinuz-6.18.65-current-sunxi')
         dtb_path = self.archive_extract(self.ASSET_CUBIE_KERNEL,
-            member='usr/lib/linux-image-6.6.44-current-sunxi/sun4i-a10-cubieboard.dtb')
+            member='usr/lib/linux-image-6.18.65-current-sunxi/sun4i-a10-cubieboard.dtb')
         initrd_path = self.uncompress(self.ASSET_CUBIE_INITRD)
 
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
-- 
2.56.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-02 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 12:06 [PATCH for 11.2] tests/functional: update to newer sunxi kernels again Daniel P. Berrangé
2026-12-01 12:18 ` Thomas Huth
2026-12-01 16:21 ` Alex Bennée
2026-12-01 16:23   ` Daniel P. Berrangé
2026-12-02 15:41 ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.