Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.36 KB

Sophgo Boot Tool

This tool talks to CVITEK/Sophgo SoC mask ROMs, supporting:

  • CV180xB
    • dual-core C906, with different clock speeds and cache sizes
  • SG200x
    • similar to CV180xB
    • option to switch the main core to be Arm

Boards

Building

Have a Rust toolchain installed with Cargo.

cargo build --release

Running

To run a given flat binary, e.g., oreboot_sg200x.bin on the main core:

cargo run --release -- run oreboot_sg200x.bin

For more options, see the help:

cargo run --release -- -h

Development

This tool is written in Rust 🦀 using well-known libraries from the Rust community for connecting via serial, defining the CLI, and checksums, including: