Skip to content

KylinOS integration: kernel extraction, VM config, FDT chosen/bootargs

Mujica requested to merge main into master

KylinOS kernel:

  • Extracted from Kylin-Server-V11-2503-ARM64.iso via bsdtar + zcat

  • vmlinuz.elf (43MB, ARM64 Image, Linux 6.6.0-32.7.ky11.aarch64)

  • Verified bootable under QEMU: kernel panics without rootfs (expected)

AxVisor FDT (src/vmm/fdt/create.rs):

  • Added /chosen/bootargs node to dynamically-generated FDTs

  • Default bootargs: 'console=ttyAMA0 earlycon=pl011,0x09000000 rw'

  • Enables any Linux guest (KylinOS, Debian, etc.) to get console output

VM configs:

  • configs/vms/kylin-aarch64-qemu-smp1.toml:

    id=2, kernel@0x8020_0000, 1GB RAM, PL011+gic passthrough

Installation helpers:

  • kylin_boot/install_kylin_arm64.sh: QEMU+UEFI automated install

  • kylin_boot/ks.cfg: kickstart for unattended installation

  • kylin_boot/minimal.dtb: fallback DTB with /chosen/bootargs

Known: KylinOS under AxVisor boots but no guest output yet (DTB debugging needed)

Merge request reports