8 releases (breaking)

0.7.1 Jul 16, 2024
0.7.0 Jul 16, 2024
0.6.0 Oct 11, 2023
0.5.0 Mar 5, 2023
0.1.0 May 4, 2022

#309 in Operating systems

Download history 9/week @ 2024-07-23 12/week @ 2024-09-10 9/week @ 2024-09-17 12/week @ 2024-09-24 14/week @ 2024-10-01

290 downloads per month
Used in switcheroo-nx

GPL-2.0-or-later

190KB
970 lines

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!");


lib.rs:

Tegra RCM library

A library to help exploit the bootROM exploit for the Tegra X1's RCM mode Current support OS's are Linux, MacOS, and Windows

Dependencies

~0.3–13MB
~93K SLoC