Jump to content

Apple Macbook Air M1 (apple-tonga): Difference between revisions

From postmarketOS Wiki
No edit summary
No edit summary
Line 37: Line 37:
| status_fossbootloader = Y
| status_fossbootloader = Y
| status_uboot = yes
| status_uboot = yes
| status_uboot_primary = Y
| status_uboot_primary = -
| status_uboot_secondary = N
| status_uboot_secondary = Y
| status_uboot_mainline = Y
| status_uboot_mainline = Y
| status_uboot_internalstorage = Y
| status_uboot_internalstorage = Y

Revision as of 13:45, 15 April 2023

Apple MacBook Air
MacBook Air M1 2020 running Asahi Linux.
MacBook Air M1 2020 running Asahi Linux.
Manufacturer Apple
Name MacBook Air
Codename MacBookAir10,1
Released 2020
Hardware
Chipset Apple M1
CPU 3.2 GHz 8cores (4× Apple Firestorm high-performance + 4× Apple Icestorm high-efficiency)
GPU Apple G13G (either 7 or 8 cores dependent on base spec)
Display 13.3", native 2560 x 1600 pixels (16:10, 227 ppi) IPS
Storage 128GB (education only), 256GB, 512GB, 1TB, 2TB
Memory 8/16 GB LPDDR4 @ 4266 MT/s
Architecture aarch64
Software
Original software macOS 11.0
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Keyboard
Works
Touchpad
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Camera Flash
No data
Connectivity
WiFi
Partial
NFC
No data
Miscellaneous
FDE
Partial
HDMI/DP
No data
Sensors
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
U-Boot
Secondary Bootloader
Works
Mainline
Works
Internal Storage
Works
USB Host
Works
USB Peripheral
Works
Display
Works
Keyboard
Works
Note Note: for active development see https://asahilinux.org/ .

Contributors

  1. Asahi Linux Project

Users owning this device

How to enter flash mode

for DFU mode: https://support.apple.com/en-gb/guide/apple-configurator-2/apdd5f3c75ad/mac

Bootloader

According to Asahi Linux's Wiki, m1n1 is the bootloader for Linux kernel booting.
m1n1 is the bootloader developed by the Asahi Linux project to bridge the Apple (XNU) boot ecosystem to the Linux boot ecosystem.

What it does(from their wiki)

  • Initializes hardware
  • Puts up a pretty logo
  • Loads embedded (appended) payloads, which can be:
  • Device Trees (FDTs), with automatic selection based on the platform
  • Initramfs images (compressed CPIO archives)
  • Kernel images in Linux ARM64 boot format (optionally compressed)
  • Configuration statements
  • Chainloads another version of itself from a FAT32 partition (if configured to do so)

Proxy mode enables a huge toolset of developer features, from reducing your Linux kernel test cycle to 7 seconds, to live hardware probing and experimentation, to a hypervisor capable of running macOS or Linux and tracing hardware accesses in real time while providing a virtual UART over USB.
m1n1 can load U-Boot as a payload.

U-Boot

Note Note: You can look up their wiki for further informations.

U-Boot is the default payload for m1n1 stage 2, and is used to provide a standard preboot environment familiar to AArch64 developers. External boot is not supported with the native Apple Silicon boot tooling, making U-Boot a hard necessity for providing a PC-like boot environment.
It is able to boot from any external media (USB drive, network, etc.) and users an execute any EFI binaries.

Installation

See also

This device does currently boot and works to a degree, it has a actively developed Linux port (https://asahilinux.org/), as well as a somewhat working port by corellium that is claimed to be "completely usable" yet lacks any optimisation (https://www.corellium.com/blog/linux-m1)

Notes

Note Note: An available GPU driver is ready for daily usage.

Now you can install other Linux like Debian from this website:[Other]. To use Asahi's graphics driver, Update your kernel to their develop branch.