Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 607 Bytes

README.md

File metadata and controls

33 lines (31 loc) · 607 Bytes

rusted_os

Environment

Rust & Cargo

rustup target add riscv64gc-unknown-none-elf
cargo install cargo-binutils
rustup component add llvm-tools-preview

QEMU

sudo apt install pkg-config libglib2.0-dev libpixman-1-dev
wget https://download.qemu.org/qemu-6.2.0.tar.xz  
tar xvJf qemu-6.2.0.tar.xz  
cd qemu-6.2.0  
./configure --target-list=riscv64-softmmu,riscv64-linux-user  
make -j$(nproc)  
sudo make install    

Run

Build fs_tool

cd fs_tool
cargo build

Run

./rebuild-and-run.sh 

Force quit

Ctrl + a + x