Giter Club home page Giter Club logo

reboot_to_rcm's Introduction

reboot_to_rcm

A small app to reboot 1.0 Switches into RCM mode

Note: This will only work on 1.0, due to the PMC register space being blacklisted on 2.0+

Building

Requires devkitARM64 to build

once that's installed, simply run make

the pfs0 file that is produced can then be renamed to a .nsp extension

Usage

This is intended to be used with nspwn; you can find the details of that on the ReSwitched discord. Simply put the .nsp from the release on your SD card, change the path to point to it, run the nspwn script, then open the album application on the home menu. Your 1.0 Switch will then be rebooted into RCM mode

reboot_to_rcm's People

Contributors

ognik5377 avatar pixel-stuck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

reboot_to_rcm's Issues

MAKE: warning: implicit declaration of function 'fatalSimple' [-Wimplicit-function-declaration

Wsl
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm

ERROR:

make
main.c
/mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c: In function '__appInit':
/mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:27:9: warning: implicit declaration of function 'fatalSimple' [-Wimplicit-function-declaration]
27 | fatalSimple(MAKERESULT(MODULE_HBL, 1));
| ^~~~~~~~~~~
/mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:33:5: warning: implicit declaration of function 'fsdevInit'; did you mean nsdevExit'? [-Wimplicit-function-declaration]
33 | fsdevInit();
| ^~~~~~~~~
| nsdevExit
/mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c: In function 'main':
/mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:40:18: warning: implicit declaration of function 'svcQueryIoMapping'; did you mean 'svcQueryMemoryMapping'? [-Wimplicit-function-declaration]
40 | Result res = svcQueryIoMapping(&virt_addr, PMC_PHYS_ADDR, 0xC00);
| ^~~~~~~~~~~~~~~~~
| svcQueryMemoryMapping
linking reboot_to_rcm-master.elf
/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld: main.o: in function __appInit': /mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:33:(.text.__appInit+0x1c): undefined reference to fsdevInit'
/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld: /mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:27:(.text.__appInit+0x24): undefined reference to fatalSimple' /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld: /mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:31:(.text.__appInit+0x34): undefined reference to fatalSimple'
/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld: /mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:33:(.text.__appInit+0x3c): undefined reference to fsdevInit' /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld: main.o: in function main':
/mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:40:(.text.startup.main+0x1c): undefined reference to svcQueryIoMapping' /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld: /mnt/c/Users/Administrator/source/reboot_to_rcm-master/source/main.c:42:(.text.startup.main+0x48): undefined reference to fatalSimple'
collect2: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/libnx/switch_rules:81: /mnt/c/Users/Administrator/source/reboot_to_rcm-master/reboot_to_rcm-master.elf] Error 1

Any clue what to do?

Does not work with SX OS

reboot_to_rcm enables loading various payloads successfully like hekate, but trying to run payload.bin from SX OS gives following issues:

a) If no license files are present (request and dat), SX OS boot screen appears and the information creating license_request.dat is done, but when trying to boot either CFW or OFW, black screen is shown.

b) If license files are already present, boot screen flashes up for a split second then black screen remains.

In both cases, a 12s power down is required to reboot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.