pixel-stuck / reboot_to_rcm Goto Github PK
View Code? Open in Web Editor NEWA small app to reboot 1.0 Switches into RCM mode
License: ISC License
A small app to reboot 1.0 Switches into RCM mode
License: ISC License
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.