No Description

guttatus 192b67c89c Merge pull request #63 from woshiluo/patch-1 1 month ago
.cargo afa1907da5 feat(bench-kernel): impl ipi test 3 months ago
.github d9a01149ef feat: add ci and refactor code 1 month ago
bench-kernel 00935acde4 feat: update rust edition to 2024 and change `asm!` to `naked_asm!` 1 month ago
docs 3c83a541e4 docs: add a guide for booting Ubuntu on qemu with OpenSBI and EDK II 2 months ago
prototyper 192b67c89c Merge pull request #63 from woshiluo/patch-1 1 month ago
test-kernel d9a01149ef feat: add ci and refactor code 1 month ago
xtask 00935acde4 feat: update rust edition to 2024 and change `asm!` to `naked_asm!` 1 month ago
.gitignore 0f815d2c71 fix(prototyper): Nemu's device tree doesn't have `riscv,isa-extensions` field, so it is not parsed 5 months ago
.pre-commit-config.yaml 6400ea2a00 fix: Resolve pre-commit check build target conflict with xtask 3 months ago
CHANGELOG.md 7180a8d572 feat: Add pre-commit, typos, and git-cliff for automation and check typos 4 months ago
Cargo.lock 9b125f1d1b feat: bump `riscv` to 1.12.1 1 month ago
Cargo.toml d9a01149ef feat: add ci and refactor code 1 month ago
LICENSE-MIT fc3347e4a1 lib: project basic structure 11 months ago
LICENSE-MULAN fc3347e4a1 lib: project basic structure 11 months ago
README.md 07c140c7dc docs: add build tool description 3 months ago
_typos.toml 7180a8d572 feat: Add pre-commit, typos, and git-cliff for automation and check typos 4 months ago
cliff.toml 7180a8d572 feat: Add pre-commit, typos, and git-cliff for automation and check typos 4 months ago
rust-toolchain.toml 00935acde4 feat: update rust edition to 2024 and change `asm!` to `naked_asm!` 1 month ago

README.md

RustSBI Prototyper

RustSBI Prototyper is a developing RISC-V Secure Bootloader solution. It can be integrated with the Rust or C language ecosystem to form a complete RISC-V bootloader ecosystem.

Setting Up the Development Environment

Packages to be installed

cargo install cargo-binutils
sudo apt install u-boot-tools

Optional Tools

The following tools are not mandatory but can be useful for enhancing your development experience.

Install pre-commit

pre-commit is a tool that runs code checks before you commit your code.

pipx install pre-commit

# After installation, run pre-commit install to set it up for your project.
pre-commit install

Install Cargo Deny

Cargo deny is a Cargo plugin used to check the security of your dependencies.

cargo install --locked cargo-deny

Install typos

typos is a spell-checking tool.

cargo install typos-cli

Install git cliff

git cliff is a tool for generating changelogs.

cargo install git-cliff

License

This project is dual-licensed under MIT or Mulan-PSL v2. See LICENSE-MIT and LICENSE-MULAN for details.