Skip to content

Atomix-RISCV64 is an operating system built from scratch targeting the RISC-V 64-bit architecture.

License

Notifications You must be signed in to change notification settings

Aks132/Atomix-RISCV64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atomix-RISCV64

Atomix-RISCV64 is an operating system built from scratch targeting the RISC-V 64-bit architecture. The project focuses on learning, implementing fundamental OS concepts, and enabling multi-hart support in a bare-metal environment. It uses the RISC-V GNU toolchain for development and QEMU for emulation on macOS.

RISC-V GNU Toolchain Installation on macOS

This guide explains how to install the RISC-V GNU toolchain on macOS using Homebrew, allowing you to develop and run RISC-V programs in an emulated environment.

Prerequisites

Before starting, ensure that you have the following:

  • macOS system with command line tools installed.
  • Homebrew package manager installed.

Install for MacOS

Open the Terminal and paste the following command:

git clone https://github.com/Aks132/RISC-V.git
cd RISC-V
chmod +x mac-setup.sh
sh mac-setup.sh

Install for Ubuntu

Open the Terminal and paste the following command:

git clone https://github.com/Aks132/RISC-V.git
cd RISC-V
chmod +x ubuntu-setup.sh
sh ubuntu-setup.sh

Verify the Installation

You can now verify that the toolchain is properly installed and accessible by running the following commands:

riscv64-unknown-elf-gcc --version
riscv64-unknown-elf-as --version

If the toolchain is set up correctly, you should see version information for both commands.

References

TODO;

  • Core Locking
  • Memory Mapping

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

Atomix-RISCV64 is an operating system built from scratch targeting the RISC-V 64-bit architecture.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published