Skip to content

Compile Linux kernel with elfuse #337

Description

@henrybear327

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions