Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1062026: autopkgtest: add loongarch64 support

0 views
Skip to first unread message

Zhang Na

unread,
Jan 30, 2024, 8:40:06 PM1/30/24
to
Package: autopkgtest
Version: 5.31.2
Severity: normal
X-Debbugs-Cc: zha...@loongson.cn

Dear Maintainer,

Add loongarch64 support, thanks!




-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages autopkgtest depends on:
ii apt-utils 2.7.7
ii libdpkg-perl 1.22.1
ii mawk 1.3.4.20231126-1
ii procps 2:4.0.4-2
ii python3 3.11.6-1
ii python3-debian 0.1.49

Versions of packages autopkgtest recommends:
ii autodep8 0.28
ii fakeroot 1.32.2-1

Versions of packages autopkgtest suggests:
pn docker.io <none>
pn fakemachine <none>
pn genisoimage <none>
pn lxc <none>
pn lxd <none>
pn ovmf <none>
pn ovmf-ia32 <none>
pn podman <none>
pn python3-distro-info <none>
pn qemu-efi-aarch64 <none>
pn qemu-efi-arm <none>
pn qemu-system <none>
pn qemu-utils <none>
ii schroot 1.6.13-3+b3
ii util-linux 2.39.3-2
pn vmdb2 <none>
pn zerofree <none>

-- no debconf information
0001-add-loongarch64-support.patch

Simon McVittie

unread,
Jan 31, 2024, 5:10:07 AM1/31/24
to
On Wed, 31 Jan 2024 at 01:28:43 +0000, Zhang Na wrote:
> Add loongarch64 support, thanks!

Thanks, have you successfully tested this? Does it successfully test
packages under qemu?

> + elif self.qemu_architecture in ('arm', 'riscv64', 'loongarch64'):
> argv.extend(['-machine', 'virt'])

Is this required? `qemu-system-loongarch64 -machine help` says virt is
the default anyway. We probably shouldn't be forcing particular options
if it isn't required.

(On arm there is no default, and on riscv64 qemu's default machine is
not virtio-based, so they do need this special case)

smcv
0 new messages