Skip to content

M1 Macbook Fails to Run the Kernel #227

Open
@gaoxiangliu

Description

Hi,
I used the Asahi-installer (https://github.com/AsahiLinux/asahi-installer) to install the Asahi Linux 6.5.0 with the Plasma GUI.
Below is my computer info:
Product name: MacBook Air (M1, 2020)
SoC: Apple M1
Device class: j313ap
Product type: MacBookAir10,1
Board ID: 0x26
Chip ID: 0x8103
System firmware: iBoot-10151.41.12
Boot UUID: 51ED1F02-9D5C-4186-8604-E581B015E0F5
Boot VGID: 51ED1F02-9D5C-4186-8604-E581B015E0F5
Default boot VGID: B2C2F0CC-6148-405C-B351-4235F983DF33
Boot mode: macOS
OS version: 14.1 (23B74)
Main firmware version: 14.1 (23B74)
No Fallback System Firmware / rOS
SFR version: 23.2.74.0.0,0
SystemRecovery version: 22.7.74.0.0,0 (13.5 22G74)

I tried to build the Linux kernel from this repo use the same configuration file as the system installed by the script. There were no errors when building the kernel (make) and install modules (make modules_install). But, the computer fails to boot up if I select the self-built kernel in grub.

Could anyone gives some suggestions about how to build my own modified Linux kernel and install on MacBook M1?

Thank you!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions