From bcfe14d246b8106314397a94bffe4a62a2e868fd Mon Sep 17 00:00:00 2001 From: TIKOCI RouterOS Bots Date: Mon, 30 Nov 2026 12:40:13 -0800 Subject: [PATCH 1/4] Drop the ARM64 Apple option from CHR Images ARM64 CHR still boots a 32-bit ARM /init and userspace, which Apple Silicon cannot execute, so mikropkl's chr.aarch64.apple bundle never boots under UTM's Apple Virtualization backend (tikoci/mikropkl#13). The page now leaves it out: the Apple type is disabled for aarch64 with a label saying why, and an old link or an arch switch onto it falls back to the QEMU package with a callout that explains the cause and links the issue. mikropkl keeps building the bundle in case a later CHR fixes it. Also say the remaining x86_64 Apple package is for Intel Macs only, and stop calling fat-chr "required for Apple Silicon" on the homepage. Co-Authored-By: Claude Opus 5.5 --- data/homepage-config.ts | 2 +- src/chr-images.html | 39 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/data/homepage-config.ts b/data/homepage-config.ts index be7ddeb..8ebf89c 100644 --- a/data/homepage-config.ts +++ b/data/homepage-config.ts @@ -248,7 +248,7 @@ export const HOMEPAGE_SECTIONS: Section[] = [ repo: "fat-chr", title: "fat-chr", description: - "Rebuilds RouterOS CHR .raw images into UEFI-bootable images using a FAT EFI partition — required for UTM, Apple Silicon, and UEFI-strict platforms.", + "Rebuilds RouterOS CHR .raw images into UEFI-bootable images using a FAT EFI partition — needed for Apple Virtualization (UTM on Intel Macs) and other UEFI-strict platforms.", actions: [ { label: "GitHub", href: "https://github.com/tikoci/fat-chr" }, ], diff --git a/src/chr-images.html b/src/chr-images.html index 471fea9..1b61762 100644 --- a/src/chr-images.html +++ b/src/chr-images.html @@ -210,7 +210,7 @@

CHR Images from + @@ -319,7 +319,11 @@

CHR Images from Virtualization.framework via UTM. Faster startup, but limited device support and macOS-only. - Uses a third-party EFI-bootable CHR image from tikoci/fat-chr.

+ Offered for x86_64 on Intel Macs only, with a third-party EFI-bootable CHR image from tikoci/fat-chr.

+

There is no ARM64 Apple option. ARM64 CHR still runs 32-bit ARM code at boot, which + Apple Silicon cannot execute, so Virtualization.framework cannot start it. On Apple Silicon use the + aarch64 QEMU package, which runs under TCG emulation + (mikropkl#13).


ROSE Variant

The rose.* images are standard CHR plus 4×10 GB empty qcow2 disks @@ -376,6 +380,23 @@

CHR Images from mikropkl#13 and the ' + + 'quickchr investigation.' + } + } + function unsupported(arch, type) { return UNSUPPORTED[arch + '.' + type] } + const VARIANT_INFO = { 'chr': { label: 'CHR', @@ -444,6 +465,7 @@

CHR Images from !unsupported(a.arch, a.type)) // Show release date if (currentRelease.published_at) { @@ -522,6 +545,7 @@

CHR Images from a.variant))].sort() const prev = variantEl.value @@ -646,9 +677,13 @@

CHR Images from ' + fallbackNote + '' + } if (asset.type === 'apple') { html += '
' + 'Apple Virtualization.framework — ' + + 'Intel Macs only: Apple Silicon cannot run x86_64 guests with this backend. ' + 'This image uses an EFI-bootable CHR disk from ' + 'tikoci/fat-chr ' + '(third-party build) to support UEFI boot required by Apple’s virtualization framework. ' From f0c60d7fa8cd6918d84f686c81b6ab51748bf0ef Mon Sep 17 00:00:00 2001 From: TIKOCI RouterOS Bots Date: Mon, 30 Nov 2026 12:46:03 -0800 Subject: [PATCH 2/4] Force TCG for old ARM64 bundles and keep the note on old links Cross-review findings on #52: - aarch64 bundles published before mikropkl#12 (2026-07-25) ship a qemu.sh that picks HVF on Apple Silicon. The macOS QEMU CLI steps for those releases now run QEMU_ACCEL=tcg ./qemu.sh and say why. Checked against the published 7.24rc2 (no TCG fallback) and 7.24rc3/7.23.3 (fallback present) bundles. - A ?arch=aarch64&type=apple link now gets its note even when the release has no Intel Apple or ARM64 QEMU bundle to anchor the options. - The URL rewrite after load keeps os and method overrides. - The Virtualization page's UTM Downloads link goes to the picker, and its fat-chr copy matches the homepage. Co-Authored-By: Claude Opus 5.5 --- src/chr-images.html | 40 ++++++++++++++++++++++++++++++---------- src/virtualization.html | 6 +++--- 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/src/chr-images.html b/src/chr-images.html index 1b61762..be5a438 100644 --- a/src/chr-images.html +++ b/src/chr-images.html @@ -386,10 +386,10 @@

CHR Images from mikropkl#13 and the ' + 'quickchr investigation.' @@ -397,6 +397,10 @@

CHR Images from CHR Images from CHR Images from sudo):

' + '
'
                     + '# Shared NAT network:\n'
-                    + 'sudo ./qemu.sh --shared\n\n'
+                    + 'sudo ' + run + ' --shared\n\n'
                     + '# Bridge to physical interface (full LAN access):\n'
-                    + 'sudo ./qemu.sh --bridge en0
' + + 'sudo ' + run + ' --bridge en0' + '

The VM gets its own IP — access RouterOS directly, ' + 'no port forwarding needed. Great for testing DHCP, OSPF, or BGP.

' } @@ -1002,11 +1016,16 @@

CHR Images from Virtualization

mikropkl PKL Shell

-

Packages RouterOS CHR as macOS UTM virtual machines for automated install. No more fussing with disks or display. Releases include utm:// links and .zip files for recent versions of RouterOS CHR, ready-to-use with macOS UTM.

+

Packages RouterOS CHR as macOS UTM virtual machines for automated install. No more fussing with disks or display. Releases include utm:// links and .zip files for recent versions of RouterOS CHR, ready-to-use with macOS UTM. The CHR Images picker shows which package fits your Mac.

RouterOS CHR running in UTM on macOS
RouterOS CHR in UTM with serial console open
@@ -97,7 +97,7 @@

mikropkl

fat-chr Shell

-

Rebuilds RouterOS CHR .raw images into valid UEFI images for UTM, Apple, and other virtualization platforms. Uses FAT instead of ext2 for the EFI partition. UEFI-enabled CHR images are available in the project releases.

+

Rebuilds RouterOS CHR .raw images into valid UEFI images for Apple Virtualization (UTM on Intel Macs) and other UEFI-strict platforms. Uses FAT instead of ext2 for the EFI partition. UEFI-enabled CHR images are available in the project releases.

GitHub · UEFI CHR Images From db22eaf71ac355661495401ee8c7399d47847749 Mon Sep 17 00:00:00 2001 From: TIKOCI RouterOS Bots Date: Mon, 30 Nov 2026 12:56:00 -0800 Subject: [PATCH 3/4] Show the ARM64 Apple note when no package matches CodeRabbit on #52: updateDownload() cleared the callouts before renderCallouts() when no asset matched, so a release without a QEMU fallback showed no explanation. Render the note there too, and word it as "use a QEMU package instead" since none may be shown. Co-Authored-By: Claude Opus 5.5 --- src/chr-images.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/chr-images.html b/src/chr-images.html index be5a438..d60d431 100644 --- a/src/chr-images.html +++ b/src/chr-images.html @@ -386,7 +386,7 @@

CHR Images from ' + fallbackNote + '

' + : '' return } const tag = currentRelease.tag_name From 1a7bc50ee04991ebe7bff072920ae0ef17bbd818 Mon Sep 17 00:00:00 2001 From: TIKOCI RouterOS Bots Date: Mon, 30 Nov 2026 13:03:00 -0800 Subject: [PATCH 4/4] Use refresh dates for the TCG hint and never pick Intel Apple for an ARM64 link Final Codex pass on #52: - The port-change example uses the same launch command as Download & Run. - The TCG hint keys on the later of published_at and mikropkl's "QEMU launch scripts refreshed" release note, so refreshed bundles such as 7.22.1 get a plain ./qemu.sh. The forced value keeps tb-size=256. - An ARM64 Apple link to a release with no QEMU package selects nothing and keeps its arch/type in the URL, instead of the Intel Apple default. - The Virtualization page describes the package format and sends readers to the picker rather than calling every release bundle ready to use. - The page guide links the quickchr root-cause write-up. Co-Authored-By: Claude Opus 5.5 --- src/chr-images.html | 47 +++++++++++++++++++++++++++++++---------- src/virtualization.html | 2 +- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/src/chr-images.html b/src/chr-images.html index d60d431..b84b7ce 100644 --- a/src/chr-images.html +++ b/src/chr-images.html @@ -323,7 +323,8 @@

CHR Images from mikropkl#13).

+ (mikropkl#13; + root cause).


ROSE Variant

The rose.* images are standard CHR plus 4×10 GB empty qcow2 disks @@ -397,9 +398,24 @@

CHR Images from CHR Images from ' - + '

Change the port with ./qemu.sh --port 8080

' + + '

Change the port with ' + qemuRun(plat, asset) + ' --port 8080

' } instructionsEl.innerHTML = html @@ -783,9 +807,8 @@

CHR Images from ' if (forceTcg) { h += '

This older bundle’s qemu.sh picks HVF on Apple Silicon, ' - + 'which cannot boot ARM64 CHR. QEMU_ACCEL=tcg forces TCG emulation; ' - + 'bundles published since ' + ARM64_TCG_SCRIPT_SINCE + ' do this themselves.

' + + 'which cannot boot ARM64 CHR. QEMU_ACCEL forces TCG emulation; ' + + 'bundles built or refreshed since ' + ARM64_TCG_SCRIPT_SINCE + ' do this themselves.

' } h += '

Default login: admin with empty password (press Enter). ' + 'Type /quit to exit, or press Ctrl-A then X.

' @@ -1026,7 +1049,9 @@

CHR Images from mikropkl PKL Shell

-

Packages RouterOS CHR as macOS UTM virtual machines for automated install. No more fussing with disks or display. Releases include utm:// links and .zip files for recent versions of RouterOS CHR, ready-to-use with macOS UTM. The CHR Images picker shows which package fits your Mac.

+

Packages RouterOS CHR as macOS UTM virtual machines for automated install. No more fussing with disks or display. Each release has .utm.zip packages for a RouterOS CHR version: a UTM bundle that also runs with QEMU through its qemu.sh. Not every package runs on every Mac, so get yours from the CHR Images picker.

RouterOS CHR running in UTM on macOS
RouterOS CHR in UTM with serial console open