tegra-rcm

Crates.iotegra-rcm
lib.rstegra-rcm
version0.7.1
sourcesrc
created_at2022-05-04 01:11:56.156763
updated_at2024-07-16 03:27:25.429794
descriptionA library to help exploit the bootROM exploit for the Tegra X1's RCM mode
homepage
repositoryhttps://github.com/budde25/switcheroo
max_upload_size
id580121
size270,645
Ethan Budd (budde25)

documentation

README

Tegra RCM

A library to help exploit the bootROM exploit for the Tegra X1's RCM mode.

Currently compatible with Linux and macOS.
Windows support is WIP.

Example

    use std::fs;
    use tegra_rcm::{Payload, Rcm};

    let payload_bytes = fs::read(&payload).unwrap();
    let payload = Payload::new(&payload_bytes).unwrap();
    let mut switch = Rcm::new(wait).unwrap();
    // Init the switch device (should only be done once)
    switch.init().unwrap();
    // We MUST to read the device id first
    let _ = switch.read_device_id().unwrap();
    switch.execute(&payload).unwrap();
    println!("Done!");

Commit count: 345

cargo fmt