How to Use DevkitPro to Build CFW in Windows

A video tutorial can be found here:


Steps:

Grab devkitpro here: https://github.com/devkitPro/installer/releases

Grab Cygwin here: https://cygwin.com/install.html

Go to PC properties > Advanced system settings > Environment variables > add ;C:\devkitPro\devkitA64\bin and press OK


Now download ReiNX here: https://github.com/Reisyukaku/ReiNX

Extract the zip to your desktop

Open cmd and run the following commands:


cd desktop

cd ReiNX-master

make

Now open the ReiNX-master folder you extracted to your desktop and you'll find an 'out' folder which contains the compiled files you need on your SD card

You will need a way to inject the ReiNX.bin to your Switch. In my case I use TegraRCM which can be downloaded here:
https://gbatemp.net/threads/tegrarcmgui-simple-gui-for-tegrarcmsmash.503510/

Now all you have to do is open the TegraRCMGUI.exe and locate the ReiNX.bin file, connect your Switch to your PC (RCM Mode) and inject the payload to your Switch.

If TegraRCM doesn't detect your Switch you may need to install the APX drivers from here and make sure to install the libusk 3.0.7.0 drivers:
https://zadig.akeo.ie/

After you injected the .bin file your Switch should boot the CFW :)



Included in the attachment is a compiled version of ReiNX for those that don't want to compile :)
 

Attachments

Let people use what they want. If you know so much why don't you make a tut instead of going around criticising everything

Because it's so simple it doesn't require a tutorial ? If you don't know how to download devkitpro and run "make", I don't think you should be compiling a WIP CFW anyway.

edit : you as in people, not you in particular
 
Because it's so simple it doesn't require a tutorial ? If you don't know how to download devkitpro and run "make", I don't think you should be compiling a WIP CFW anyway.

edit : you as in people, not you in particular
love the elitist attitude
let people compile what they want. they have to start learning somewhere

also "downloading devkit pro and running make" doesnt just work as you claim
 
love the elitist attitude
let people compile what they want. they have to start learning somewhere

also "downloading devkit pro and running make" doesnt just work as you claim
Correct. Even with this tut my pc is throwing errors when I try to make
 
I’ve never compiled anything. I’ve always wanted to, but I wasn’t sure how to even start. I’ll try this guide so I can apply it in the future. Maybe I’ll try this cfw, at least just boot it to see if I can compile it properly. Thanks!
 
  • Like
Reactions: Nevercholt
This is all I ever get when trying to compile in different environments
c:\devkitpro\devkitARM/bin/arm-none-eabi-gcc -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -Os -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -c src/fs.c -o build/fs.o
make: *** [Makefile:50: build/fs.o] Error 1
 
This is all I ever get when trying to compile in different environments
c:\devkitpro\devkitARM/bin/arm-none-eabi-gcc -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -Os -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -c src/fs.c -o build/fs.o
make: *** [Makefile:50: build/fs.o] Error 1

Im getting the same error.
Something is missing in the guide.
Anyone can help?
(in my case i placed the unzipped in C:

C:\ReiNX-master>make
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -march=armv4t -mtune=arm7tdmi -mt
humb -mthumb-interwork -Os -nostdlib -ffunction-sections -fdata-sections -fomit-
frame-pointer -fno-inline -std=gnu11 -c src/fs.c -o build/fs.o
make: *** [Makefile:50: build/fs.o] Error 1
 
Last edited by Moquedami,
Im getting the same error.
Something is missing in the guide.
Anyone can help?
(in my case i placed the unzipped in C:

C:\ReiNX-master>make
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -march=armv4t -mtune=arm7tdmi -mt
humb -mthumb-interwork -Os -nostdlib -ffunction-sections -fdata-sections -fomit-
frame-pointer -fno-inline -std=gnu11 -c src/fs.c -o build/fs.o
make: *** [Makefile:50: build/fs.o] Error 1
I actually pulled out my old linux laptop and compiled with that, since windows wasn't cooperating with me.
 
Im getting the same error.
Something is missing in the guide.
Anyone can help?
(in my case i placed the unzipped in C:

C:\ReiNX-master>make
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -march=armv4t -mtune=arm7tdmi -mt
humb -mthumb-interwork -Os -nostdlib -ffunction-sections -fdata-sections -fomit-
frame-pointer -fno-inline -std=gnu11 -c src/fs.c -o build/fs.o
make: *** [Makefile:50: build/fs.o] Error 1

same error on windows. any solution ? thanks alot
 
This is all I ever get when trying to compile in different environments
c:\devkitpro\devkitARM/bin/arm-none-eabi-gcc -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -Os -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -c src/fs.c -o build/fs.o
make: *** [Makefile:50: build/fs.o] Error 1

Same error here on Windows 10 :(
 
My two cents:
  • You need devkitARM, not devkitA64 for ReiNX.
  • You do not need to tinker with environment variables, the installer will do this already.
 

Site & Scene News

Popular threads in this forum