2023-10-04 08:09:52 -07:00
2023-10-04 08:09:52 -07:00
2023-10-01 21:56:32 -07:00
2023-10-01 21:56:32 -07:00
2023-10-01 13:36:31 -07:00
2023-10-04 08:09:52 -07:00

t2linux-fedora-kernel

This is a patched kernel for Fedora on T2 macs. A dnf repo is avaliable by installing the t2linux-repo package from the latest release.

The internal ssd, camera, mic, and the keyboard/trackpad work out of the box. WiFi and Bluetooth work with some extra steps. Read this for information about the latest hardware support.

This kernel is usually at the same version as the stable Fedora kernel. It is currently built for Fedora 38.

Instalation

Download the live ISO from here. Follow the installation guide.

WiFi/Bluetooth

Follow the firmware guide. When you get to the On Linux section, you can just run firmware.sh.

Troubleshooting

  • Problem: The touchbar is not working and is blank
    Solution: Reboot into MacOS Recovery by holding command+r while booting up, then reboot into Fedora again.

  • Problem: Suspend is not working
    Solution: Put this in /usr/lib/systemd/system-sleep/rmmod_wifi.sh:

    #!/usr/bin/env bash
    if [ "${1}" = "pre" ]; then
            modprobe -r brcmfmac_wcc
            modprobe -r brcmfmac
    elif [ "${1}" = "post" ]; then
            modprobe brcmfmac
    fi
    

Building from source

Clone this repo locally:

git clone --depth 1 https://github.com/t2linux/fedora-kernel
cd t2linux-fedora-kernel

Then run the build container, which has dependencies already installed. The packages will be in the _output directory:

podman run -it -v "$PWD":/repo ghcr.io/t2linux/fedora-dev:latest /repo/build-packages.sh

Credits

This kernel was heavily inspired by mikeeq/mbp-fedora-kernel. The patches are from the t2linux project and created by everyone that contributed to to it.

Disclaimer

This project is not officially provided or supported by the Fedora Project. The official Fedora software is available at https://fedoraproject.org/. This project is not related to Fedora in any way.

S
Description
No description provided
Readme 426 KiB
Languages
Shell 95.9%
Just 4.1%