Compile Linux kernel with elfuse

Open
#337 2 comments 0 reactions 1 assignee View on GitHub

@henrybear327 is already working on this.

Since Aug 26, 2026.

Assessment

This issue has not been assessed yet.

Description

To prove that elfuse is able to handle proper linux workload, we will perform the following:

  • use gcc:14 docker image for Elfuse sysroot
  • compile linux kernel 6.12 in Elfuse
  • start the compiled linux kernel in qemu

Initial testing (with some patching to the elfuse codebase) shows

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x610f0000]
[    0.000000] Linux version 6.12.0 (root@elfuse) (gcc (GCC) 14.4.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT Wed Aug 26 14:59:06 UTC 2026
[    0.000000] KASLR enabled
[    0.000000] Machine model: linux,dummy-virt
[    0.000000] Kernel command line: console=ttyAMA0 panic=5 quiet
[    0.009961] SMP: Total of 4 processors activated.
[    0.011538] Memory: 1942984K/2097152K available (17536K kernel code, 4902K rwdata, 11872K rodata, 2880K init, 742K bss, ...)
[    0.290896] Freeing unused kernel memory: 2880K
[    0.290914] Run /init as init process

Over ssh into the running system:

Linux (none) 6.12.0 #1 SMP PREEMPT Wed Aug 26 14:59:06 UTC 2026 aarch64 GNU/Linux
Dominant language
C
Stars
268
Forks
26
Avg merge
1d 14h
Merged PRs (30d)
45

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sysprog21/elfuse

All issues in sysprog21/elfuse

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.