Index | Thread | Search

From:
Slava Voronzoff <nerfur@openbsd.org.ru>
Subject:
loongarch64 port progress
To:
tech@openbsd.org
Date:
Tue, 22 Sep 2026 21:49:00 +0300

Download raw body.

Thread
Hello, tech@

TL/DR: Here is dirty patch of my port to loongarch64. cross-tools and cross-distrib build, efiboot boots, ACPI tables shown, RAMDISK kernel build, but not booting (I was extremely hacky to just get it building for now).

Long read:

In my free time I'm working on porting OpenBSD on loongarch64 architecture. 
Sent some mails about it before on lists.

Loongarch64 is successor to loongson architecture, but now it is not mips, 
but their own with high influence of MIPS, RISC-V, etc. You can read about 
it more for example in wikipedia https://en.wikipedia.org/wiki/Loongson

Loongson (company) takes very opensource approach to their architecture and 
actively upstreaming it (compilers, kernel, libraries, 
even debian now support it officially)

So, I started to work on it last year because I got some hw on aliexpress (probably around same time Free- and Net- guys started too) 
Add support of loongarch64-openbsd in clang/llvm, nothing fancy, everything was already there, 
just needed some more definitions. 

Dive deeper more into porting it, got stuck, started from scratch, resets all, base clang import my additions from upstream etc etc

And here we are at I believe not so humble progress. I will continue to port it and if somebody want to look into it or help with it feel free to write/ask/contact me! 

-- 
Slava Voronzoff <nerfur@openbsd.org.ru>