Moonix: An Educational Operating System on Nezha D1-H RISC-V Development Board

  • Conference paper
  • First Online:
Computer Science and Educational Informatization (CSEI 2023)

Abstract

RISC-V has been favored by major research institutions and universities since its emergence. However, there is a lack of relevant information on the research of general-purpose operating systems based on the RISC-V ISA, and the specialized nature of the available information has become an important obstacle to its entry into academic research and teaching. To address the aforementioned issues and further promote the adoption of RISC-V in university education and research, we design a RISC-V operating system based on the C language, called Moonix. It is divided into four modules: interrupt management, memory management, thread scheduling, and file system. Moonix can not only run on QEMU but also on the Nezha D1-H development board. Students can run Moonix on a real hardware, which can further stimulate their interest in learning operating systems.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 59.99
Price includes VAT (United Kingdom)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 74.99
Price includes VAT (United Kingdom)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Allwinner Technology Co., L: D1-H User Manual Version 1.0 (2022)

    Google Scholar 

  2. Asanović, K., Patterson, D.A.: Instruction sets should be free: The case for risc-v. EECS Department, University of California, Berkeley, Tech. Rep. UCB/EECS-2014-146 (2014)

    Google Scholar 

  3. Blem, E., Menon, J., Sankaralingam, K.: Power struggles: Revisiting the RISC vs. CISC debate on contemporary ARM and x86 architectures. In: 2013 IEEE 19th International Symposium on High Performance Computer Architecture (HPCA), pp. 1–12 (2013). https://doi.org/10.1109/HPCA.2013.6522302

  4. Di Mascio, S., Menicucci, A., Furano, G., Monteleone, C., Ottavi, M.: The case for RISC-V in space. In: Saponara, S., De Gloria, A. (eds.) ApplePies 2018. LNEE, vol. 573, pp. 319–325. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-11973-7_37

    Chapter  Google Scholar 

  5. Flamand, E., et al.: GAP-8: A RISC-V SoC for AI at the Edge of the IoT. In: 2018 IEEE 29th International Conference on Application-specific Systems, Architectures and Processors (ASAP), pp. 1–4 (2018). https://doi.org/10.1109/ASAP.2018.8445101

  6. Greengard, S.: Will RISC-V revolutionize computing? Commun. ACM 63(5), 30–32 (2020). https://doi.org/10.1145/3386377

    Article  Google Scholar 

  7. Jiang, J.: XFEL: Tiny FEL tools for allwinner SOC. https://github.com/xboot/xfel

  8. Kanter, D.: RISC-V Offers Simple. Modular ISA. Tech. rep, The Linley Group (2016)

    Google Scholar 

  9. Keller, B., et al.: A RISC-V processor SoC With integrated power management at submicrosecond timescales in 28 nm FD-SOI. IEEE J. Solid-State Circ. 52(7), 1863–1875 (2017). https://doi.org/10.1109/JSSC.2017.2690859

    Article  Google Scholar 

  10. Lee, Y., et al.: An agile approach to building RISC-V microprocessors. IEEE Micro 36(2), 8–20 (2016). https://doi.org/10.1109/MM.2016.11

    Article  MathSciNet  Google Scholar 

  11. Matthews, E., Shannon, L.: TAIGA: a new RISC-V soft-processor framework enabling high performance CPU architectural features. In: 2017 27th International Conference on Field Programmable Logic and Applications (FPL), pp. 1–4 (2017). https://doi.org/10.23919/FPL.2017.8056766

  12. Rasmussen, R.V., Trick, M.A.: Round robin scheduling - a survey. Eur. J. Oper. Res. 188(3), 617–636 (2008). https://doi.org/10.1016/j.ejor.2007.05.046

    Article  MathSciNet  Google Scholar 

  13. Waterman, A., Lee, Y., Patterson, D.A., Asanovi, K.: The RISC-V Instruction Set Manual. Volume 1: User-Level ISA, Version 2.0. Tech. rep. (2014)

    Google Scholar 

  14. Waterman, A., Lee, Y., Patterson, D.A., Asanovi, K.: The RISC-V Instruction Set Manual Volume 2: Privileged Architecture Version 1.7. Tech. rep. (2015)

    Google Scholar 

  15. Western Digital Corporation or its affiliates: RISC-V Open Source Supervisor Binary Interface (OpenSBI). https://github.com/riscv-software-src/opensbi

Download references

Acknowledgements

This work is supported by the National Natural Science Foundation of China (61976071), and the Natural Science Foundation of Heilongjiang Province of China (LH2020F012).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Guojun Liu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Liu, G., Li, E., Huang, J., Guo, Z. (2024). Moonix: An Educational Operating System on Nezha D1-H RISC-V Development Board. In: Gan, J., Pan, Y., Zhou, J., Liu, D., Song, X., Lu, Z. (eds) Computer Science and Educational Informatization. CSEI 2023. Communications in Computer and Information Science, vol 1900. Springer, Singapore. https://doi.org/10.1007/978-981-99-9492-2_2

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-9492-2_2

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-9491-5

  • Online ISBN: 978-981-99-9492-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics

Navigation