一名开发者将经典的Project Oberon操作系统从Niklaus Wirth设计的RISC-5架构迁移到了RISC-V架构[1]。该项目采用OP2编译器的RV32后端实现,已经在模拟环境中成功运行[1]。
这次迁移涉及将所有Oberon-07源代码转换至Oberon 90版本,以确保与OP2编译器兼容[1]。OP2编译器此前已被验证用于将Oberon System 3成功移植到树莓派平台[1]。原始Project Oberon源代码基于Niklaus Wirth在1986年至1989年间于ETH Zürich设计实现的版本[1]。该项目通过build.sh脚本在Debian Bookworm Linux上完成了构建和测试[1]。
开发者计划进一步将该系统迁移到Espressif ESP32和Olimex等实际硬件开发板上[1]。
A developer has successfully migrated Project Oberon, the classic operating system originally designed by Niklaus Wirth, from its native RISC-5 architecture to the more widely-used RISC-V instruction set.[1] The port leverages the OP2 compiler's RV32 backend to enable this transition, with all Oberon-07 source code converted to Oberon 90 to ensure compatibility with the OP2 toolchain.[1] The system currently runs in an emulated environment and incorporates a RISC-V virtual machine that maintains fidelity to Wirth's original design specifications.[1]
The OP2 compiler was previously validated for porting Oberon System 3 to the Raspberry Pi platform, establishing a proven track record for such migrations.[1] The implementation includes a build script that has been tested and validated on Debian Bookworm Linux.[1] The original Project Oberon codebase was designed and implemented by Wirth at ETH Zürich between 1986 and 1989.[1]
Looking ahead, the developer plans to migrate the system from its current emulated environment to actual hardware platforms, including the Espressif ESP32 and Olimex development boards.[1]