Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Log in or create an account to edit The Apple Wiki.

Linux is an operating system kernel project first released by Linus Torvalds on 17 September 1991 (1991-09-17). The term "Linux" is frequently used to describe the ecosystem of projects that provide a full operating system using the Linux kernel, named distributions.

Porting Linux

Several projects have ported Linux to Apple platforms, with varying degrees of functionality.

Linux efforts have consolidated under the Asahi Linux project, which has provided significant contributions to the upstream Linux kernel. Early bootloaders, such as OpeniBoot and Project Sandcastle's unnamed bootloader, are considered to be superseded by m1n1, developed by Asahi Linux as a first-stage loader for U-Boot.

Drivers

Drivers in the upstream Linux kernel tree written specifically for Apple devices include:

  • Core interfaces:
    • AOP (Always-on Processor)
    • DART (Device Address Resolution Table)
    • NVMe
    • RTKit coprocessor messaging (mailboxes)
    • SEP (Secure Enclave Processor)
    • SMC (System Management Controller)
    • SPI
    • SPMI (System Power Management Interface)
  • Features:
    • Audio
    • Camera
      • Dual-GPU switching (Gmux - Graphics Multiplexer)
    • Infrared
    • Touch Bar
    • Trackpad and keyboard

The kernel tree contains DeviceTrees for Apple hardware, including Apple Silicon Macs, and A7 through A11 iOS devices.

Graphics drivers are partially merged into the kernel (Direct Rendering Manager) and Mesa. Asahi Linux currently maintains downstream forks for its distributions.

Linux software

Contents