www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/06/17/08:28:21

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55HCSL5s397382
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 55HCSL5s397382
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=qmu1tV64
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 626E63AA901A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1750163300;
bh=Zy+LHAd/utL/Yaa1QI/PCh7k+dGjTcVgoZ8zC7NiTRQ=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=qmu1tV64L/Nvl7K8MxAOM97PkOneOmfNMyaplJZI59GNcsIq8pMbYjIPUbYAEr8fw
/L43J25DxuY1fbvW8R4GCGGzOQWcmo4H6ckCO/EBUOFp40smIoUYA39TCQ9vTWmTsu
gn6PhqUw/xZi+KQuxFUcnCv4Gzgvnh4z/DQwlyGA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 33C653844B8F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 33C653844B8F
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1750163270; cv=fail;
b=fgQoP1JVvP0vgC3/3bFngfnIe+YigQ4ikNoJ5NjnifE8J9QNHD8Re7c42YxUCQbppo2Sq0Rxbmp0PO9E1KOHzavG6xsuX1Fyfy+SU9g+CAqTrFCRVSImSJnkXCcxFWe6PvB4E7BSUaUYl0cyCJeyKUQUl30hMOTQOZ7W/vN9VrM=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1750163270; c=relaxed/simple;
bh=L5c5RE/hKrO5jp8TVAwCGOmMpxpyesPAD2tww0tftf0=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=rs2nOLlyIguy+sdTBGmkImQ4lI1NyNHkc44/iT0XMt6MS8IuTazvwQhnnLYDe1an1OJB7Fy7DBcegu1DFABOBBGkrdooaKL7Cki//L9ANHJ21w/XB2s2AnzCRPxalFAhCsOPGE3ZA/QChS8GKXHWaSw8tzvy3LKysD/l2HwICF0=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33C653844B8F
X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1750163268; a=rsa-sha256;
cv=none;
b=eljWgRFuooCgB+oC4MrDxrSckYTe6eW4h0neIbHUMTuzjHfmW4myhvzv+Ftry5fWtqZd0i
w4cTeA2n3Fktk6QPJ43QIwQmw8uvs5RRCHbHg5CmkUSN34t14quMjcm5MpBZwuItElB1gK
wpF5jxgOCq2aMHmiwbO1cKVhOoIAoVbkeZMMp0wQFEIX+oes9LRgLg3CBuGucl2XMwU9hd
vk2fHgwyJDn+mYYQmjiHFk1C6Z1+kAgMFVwBeEEJN1NexT5nRUjpRulTjt6VjczUAOsjDE
w18TuhjFeu4y5+YUq88Hx9/6RItXvXTRXGZ4kMaANPNQwJtj6ZuoPjXV2kWYYg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1750163268;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=APNmrPYFsS63/G5FXqKMdDHmqDMr3tnvON5yz498fJg=;
b=NxMEC16QDlbn4p6yVuL3EjHpyrKSs6rsG3Xz9kwIU6jVWjfL08RVUE9bB8Ayvf9oRMcSXQ
oSMP1uJMwDM8HLXJON5VGzkFBPaY7CbRY4VZJ8if/j9iKY7ILtyb84AEUrEh7W7Ts9rWs2
/J2iTBTVEa4MwvDWAEGCFU+EzlR24O7mNaZPg5L5+D8KVGzKXwutR6GzrwzDqCYKDz9IRc
re6hSASToDgTTLv710OhGAE6sW7lDPF0ZfEz6dzls4RrxOEBCfQGrJqaCfO17e5qrXS0tY
hP8ZNJgXSaGcfnVaArvx/I0qG/cHiUYul3vGE9cn6ReM6xUdSBAGuMyfDdmE5A==
ARC-Authentication-Results: i=1; rspamd-5859dfb5d9-fn8cx;
auth=pass smtp.auth=dreamhost smtp.mailfrom=roland DOT mainz AT nrubsig DOT org
X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|gisburn AT nrubsig DOT org
X-MailChannels-Auth-Id: dreamhost
X-Lettuce-Stop: 2de0e078534d7873_1750163269100_2284867949
X-MC-Loop-Signature: 1750163269100:1509181357
X-MC-Ingress-Time: 1750163269100
X-Gm-Message-State: AOJu0Yx4mZLwtVif86A7L3hwROVNVmd9LPBc26Yw8A+k5hFITpdSFu2a
JazIgPurD+k8cvzshhT4Lygf9fU+LTT7FfAHEDIJm5ArAk0Ez5+kJE359azsQYdKwQka6GBp10I
1sxZsv5jKMYg3l+wNeRRzZLDZ2jQh/IE=
X-Google-Smtp-Source: AGHT+IHV+FHMP6xP9Zl99DdVpCMrlqkl7+s/oSi3xHEhyaO8ruuWWxVy3RdchW3rL1U9rnK5W5E9r4jINzfbfTqgozY=
X-Received: by 2002:a05:6000:4602:b0:3a5:2182:bd11 with SMTP id
ffacd0b85a97d-3a572373c13mr11995372f8f.20.1750163267202; Tue, 17 Jun 2025
05:27:47 -0700 (PDT)
MIME-Version: 1.0
References: <CAHnbEGKjoqMa60Y3iQXkJnHYBuGFqCTkgzg=M6kWwP13+SySBg AT mail DOT gmail DOT com>
In-Reply-To: <CAHnbEGKjoqMa60Y3iQXkJnHYBuGFqCTkgzg=M6kWwP13+SySBg@mail.gmail.com>
Date: Tue, 17 Jun 2025 14:27:10 +0200
X-Gmail-Original-Message-ID: <CAKAoaQn7d5zZB+=r3zXFyxLzQoM492Cfjn6G6sCh_KisfBvkWg AT mail DOT gmail DOT com>
X-Gm-Features: AX0GCFvLKNLq2a6rYJAocVk0iSGmPzd-5TOaoBE6ZGoV1b7S0rxGamYqtMIxM_M
Message-ID: <CAKAoaQn7d5zZB+=r3zXFyxLzQoM492Cfjn6G6sCh_KisfBvkWg@mail.gmail.com>
Subject: Windows 11 ARM64 qemu test script... / was: Re: Cygwin AArch64
testing with Windows AArch64 on qemu?
To: cygwin AT cygwin DOT com
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Roland Mainz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 55HCSL5s397382

On Tue, Jun 17, 2025 at 9:57 AM Sebastian Feld via Cygwin
<cygwin AT cygwin DOT com> wrote:
> Now that Microsoft is porting Cygwin to Aarch64:
>
> Do you know how to run Windows Aarch64 in qemu, so people can test
> Cygwin Aarch64 changes?

I use this script for Windows 11 experiments (same as
https://nrubsig.kpaste.net/3ac000fd09):
---- snip ----
#
# run_win11arm64qemu.ksh93 - Run Windows 11/ARM64 in QEMU
#

#
# building qemu 10.0.2:
# - required Debian packages:
#     ninja-build
#     python3-venv
#     python3-tomli
#     rpm2cpio
#     libslirp-dev
# - build:
#     $ wget 'https://download.qemu.org/qemu-10.0.2.tar.xz'
#     $ tar -xf qemu-10.0.2.tar.xz
#     $ cd qemu-10.0.2
#     $ ./configure --target-list=aarch64-softmmu --enable-lto
#     $ time nice make -j4
#
# download
# # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_German_Pro_Ent_EDU_N_MLF_X23-68028.ISO'
# # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_English_Pro_Ent_EDU_N_MLF_X23-68023.ISO'
# wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO'
# wget 'http://ftp.debian.org/debian/pool/main/e/edk2/qemu-efi-aarch64_2024.05-2_all.deb'
# wget 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-2/virtio-win.iso'
#
# ar p qemu-efi-aarch64_2024.05-2_all.deb data.tar.xz | tar xvJf -
./usr/share/qemu-efi-aarch64/QEMU_EFI.fd
# mv ./usr/share/qemu-efi-aarch64/QEMU_EFI.fd .
# rm -Rf usr
#
# qemu-img create win11-arm64.img 120G
#

/home/rmainz/work/qemu/qemu-10.0.2/build/qemu-system-aarch64 \
-M virt,virtualization=true -cpu cortex-a72 -smp 4,cores=4,threads=1,sockets=1 \
-m 4G \
--accel tcg,thread=multi \
-bios $PWD/QEMU_EFI.fd \
-device ramfb \
-vnc derfwpc5131_ipv4:2 \
-device nec-usb-xhci -device usb-kbd -device usb-tablet \
-device usb-storage,drive=install \
-drive if=none,id=install,format=raw,media=cdrom,file=$PWD/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO
\
-device usb-storage,drive=virtio-drivers \
-drive if=none,id=virtio-drivers,format=raw,media=cdrom,file=$PWD/virtio-win.iso
\
-drive if=virtio,id=system,format=raw,file=$PWD/win11-arm64.img \
-nic user,model=virtio-net-pci,mac=52:54:98:76:54:32

# EOF.
---- snip ----

Problem is that this is very slow (easily factor >= 20), the Windows
setup crashes trying to configure the keyboard and network.
Technically I can get a cmd.exe shell with Shift-F10, but that doesn't
help a lot without network access.

Basically this is the reason why ms-nfs41-client has no Release
binaries for ARM64 - the sources build for ARM64, but there is no way
for me to test them... ;-(

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019