the industrial real-pg电子试玩入口

isa: loongarch
about loongson
05-12 2022

the industrial real-time operating system sylixos fully supports loongarch

recently, the sylixos v2.3.0 embedded operating system based on loongarch was officially released. with joint efforts from loongson technology and acoinfo, the loongarch embedded ecosystem has taken a step further, making sylixos the first large-scale real-time operating system adapted for loongarch processors.

currently, sylixos v2.3.0 fully supports the entire range of loongson processors including 3a, 3b, 3c, and 2k, all based on loongarch. with the release of the new version, the latest sylixos v2.3.0 operating system has incorporated loongarch code, and realevo-ide 5.0 has also introduced a loongarch compiler.

i. complete support for loongarch by sylixos

the latest sylixos v2.3.0 operating system has integrated loongarch code, which includes the following features:

features 1. supports both loongarch32 and loongarch64, and supports multicore smp and amp; 2. optimizes task register context saving based on loongarch abi (application binary interface) rules, for faster task switching and interrupt response; 3. fully manages and processes cpu exceptions, freeing users from dealing with cpu exception handling; 4. supports single-precision and double-precision fpu (floating point unit co-processors); 5. supports mmu and cache, with optimized tlb miss refill processing, and supports 4k, 16k, and 64k page sizes; 6. implements emulation handling for unaligned memory accesses to support unaligned memory access; 7. supports dynamic loading of kernel modules, applications, and shared libraries; 8. supports application debugging and call stack traceback; 9. supports openmp parallel computing and gcov code coverage analysis; 10. supports ecs real-time containers.

sylixos supports dynamic loading for kernel modules, applications, and shared libraries. the sylixos loongarch code enables the loading and relocation of elf (executable and linkable format) sections. this dynamic loading feature meets the needs of multi-departmental distributed software development, supporting the integration of departmental applications on the operating system, as shown in the figure below:

sylixos comes with a built-in c/c application debugging server. the sylixos loongarch code provides interfaces for getting and setting registers, analyzing the current instruction (especially jump and branch instructions) to calculate the jump to the next instruction, handling breakpoint instruction exceptions, and more. developers can directly use the powerful debugging functions provided by realevo-ide for graphical application debugging:

ii. realevo-ide 5.0 now includes a loongarch compiler

yihui information provides developers with a powerful integrated development kit for sylixos, including the integrated development environment realevo-ide, the simulation environment realevo-simulator, the compiler realevo-compiler, the qt graphic development package realevo-qt5sylixos, the power-failure-safe file system access tool realevo-tpsfs-explorer, and more. the upcoming realevo-ide 5.0 has already incorporated the latest loongarch gcc 12.0.1 compiler and gdb 12.0.50 debugger.

iii. the fully independent and ecosystem-compatible loongarch

in 2020, loongson technology introduced the loongson proprietary instruction set architecture, loongarch, which is based on twenty years of cpu development and ecosystem building experience. it features three main characteristics: complete independence, technological advancement, and ecosystem compatibility.

at present, loongson technology's operations have fully transitioned to loongarch. based on the la464 processor core, it successively launched general-purpose processors for the informatization fields of personal computers and servers, such as the ls3a5000/3b5000, as well as the 16-core general-purpose processor ls3c5000l aimed at the server sector. based on the la264 processor core, it introduced the ls2k0500 for industrial control internet applications, printing terminals, bmc, and other scenarios, as well as the ls2k1000la aimed at various industry sectors.