1. RISC-V Linux Page Table I

    The RISC-V page table formats can be found in RISC-V Privileged ISA Specification. Current RISC-V (Document Version 20190608-Priv-MSU-Ratified) supports three types of virtual memory, Sv32 for RV32, Sv39 and Sv48 for RV64, which supports 32-bit, 39-bit and 48-bit virtual address space respectively.

    2019/10/20 RISC-V Linux Page Table

  2. linux4riscv-1: Install GNU toolchain for RISC-V

    Recently, my instructor decided to update the project of operating system course. The new project is about porting Linux 0.11 to ARM64 and RISC-V as well as rewriting its interrupt, memory management, and file system, etc. My task is on RISC-V and I have no knowledge about it before, so I am to record what I have done and what I have learned. This is the first blog of this series. However, the source code will not be open-sourced as it will be used in operating system teaching in the future. Anyway, it’s a big project and hopefully I can finish it before the final exam.

    2019/09/18 Linux for RISC-V Operating System Lab Cross Compiler

  3. Cross Compile Gcc 9.1 for ARM64 on Ubuntu 18.04

    This is a record of how I cross compile Gcc 9.1 on Ubuntu 18.04.

    2019/09/03 ARM64 Cross Compiler

  4. Hello, Jekyll

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse