Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,17 @@ arcbox-kernel/

## Kernel Configuration

Key configs for macOS Virtualization.framework compatibility:
Key configs for macOS VM backends (VZ = Virtualization.framework, HV = Hypervisor.framework):

```
# Required for VirtioFS on macOS
CONFIG_VIRTIO_IOMMU=y

# PL011 serial console (Virtualization.framework)
# Serial console: PL011 (VZ backend) + 8250/16550 (HV backend)
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y

# GPIO support (Virtualization.framework)
CONFIG_GPIOLIB=y
Expand Down
10 changes: 8 additions & 2 deletions configs/arcbox-arm64.config
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,17 @@ CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_TTY=y
CONFIG_VT=n
CONFIG_SERIAL_8250=n

# PL011 serial console (for Virtualization.framework)
# Serial console: PL011 for VZ backend, 8250/16550 for HV backend.
# Both are built-in so the same kernel binary works with either backend.
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_DW=n
CONFIG_SERIAL_OF_PLATFORM=y

# GPIO support (for Virtualization.framework)
CONFIG_GPIOLIB=y
Expand Down
Loading