Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

TegraRcmSmash Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=TegraRcmSmash |image=tegrarcmsmashswitch.png |description=A reimplementation of fusee-launcher in C++ for Windows platforms. |author=rajkosto |lastupdated=2018/06/21 |type=Payload senders (Software) |version=1.2.1-3 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/tegrarcmsmashswitch.7z |website=https://gbatemp.net/threads/tegrarcmsmash-a-fusee-launcher-for-windows.502334/ |source=https://github.com/rajkosto/TegraRcmSma...")
 
No edit summary
Tag: Manual revert
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=TegraRcmSmash
|title=TegraRcmSmash
|image=tegrarcmsmashswitch.png
|image=tegrarcmsmashnx.png
|description=A reimplementation of fusee-launcher in C++ for Windows platforms.
|description=A reimplementation of fusee-launcher in C++ for Windows platforms.
|author=rajkosto
|author=rajkosto
|lastupdated=2018/06/21
|lastupdated=2018/06/21
|type=Payload senders (Software)
|type=Payload Senders (Software)
|version=1.2.1-3
|version=1.2.1-3
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/switchhomebrews/tegrarcmsmashswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/tegrarcmsmashnx.7z
|website=https://gbatemp.net/threads/tegrarcmsmash-a-fusee-launcher-for-windows.502334/
|website=https://switchtools.sshnuke.net/
|source=https://github.com/rajkosto/TegraRcmSmash
|source=https://github.com/rajkosto/TegraRcmSmash
|donation=
|donation=https://switchtools.sshnuke.net/
}}
}}
{{#seo:
A reimplementation of fusee-launcher in C++ for Windows platforms.
|title=Switch Payloads (Payload senders (Software)) - GameBrew
 
|title_mode=append
It allows you to launch fusee/shofEL2 payloads to a USB connected Switch in RCM mode.
|image=tegrarcmsmashswitch.png
 
|image_alt=TegraRcmSmash
'''Note:''' The author is not responsible for any issues or damage this causes to your Switch.
}}
 
TegraRcmSmash is a C++ based alternative to fusee-launcher, designed specifically for Windows platforms. This program allows you to boot fusee/shofEL2 payloads to a Switch in RCM mode, provided it is connected via USB.
==User guide==
===Driver setup===
Get your Switch into RCM mode and plug it into your Windows PC. It should show up somewhere (like Device manager) as "APX".
 
Download and run Zadig driver installer from https://zadig.akeo.ie/
 
From the device list, choose APX (if it's not showing up in the list, go to Options menu and check List All Devices).
 
For the driver type, cycle the arrows until you see libusbK (v3.0.7.0) in the text box (important).


==Setup for Drivers==
Click the big Install Driver button. Device manager should now show "APX" under libusbK USB Devices tree item.
# Connect your Switch to your Windows PC in RCM mode. It should appear in a program like Device Manager, labelled as "APX".
# Download and launch the Zadig driver installer from https://zadig.akeo.ie/.
# Locate APX from the device list. If it doesn't appear, click on the Options menu and select "List All Devices".
# Choose libusbK (v3.0.7.0) from the driver type options by using the arrows to cycle through them. This step is crucial.
# Finally, select the "Install Driver" button to install the driver. Once completed, Device Manager should now display "APX" under the libusbK USB Devices tree item.


==Usage==
===How to use===
TegraRcmSmash.exe [-V 0x0955] [-P 0x7321] [--relocator=intermezzo.bin] [-w] inputFilename.bin [-r] [--dataini=coreboot.ini] ([PARAM:VALUE]|[0xADDR:filename])*
TegraRcmSmash Usage:  


If your Switch is ready and waiting in RCM mode, you can also just drag and drop the payload right onto TegraRcmSmash.exe
<code>TegraRcmSmash.exe [-V 0x0955] [-P 0x7321] [--relocator=intermezzo.bin] [-w] inputFilename.bin [-r] [--dataini=coreboot.ini] ([PARAM:VALUE]|[0xADDR:filename])*</code>


An example cmdline for launching linux using coreboot is something like this (the empty relocator is important): TegraRcmSmash.exe -w --relocator= "coreboot/cbfs.bin" "CBFS:coreboot/coreboot.rom"
If your Switch is ready and waiting in RCM mode, you can also just drag and drop the payload right onto TegraRcmSmash.exe.
An example cmdline for launching linux using coreboot is something like this (the empty relocator is important):


A simpler way to load coreboot/other AArch64 payloads is to use https://github.com/rajkosto/memloader and either put the files on microsd or use the --dataini parameter
<code>TegraRcmSmash.exe -w --relocator= "coreboot/cbfs.bin" "CBFS:coreboot/coreboot.rom"</code>


After that, you can use imx_load as you would on Linux (Windows binaries available here)
A simpler way to load coreboot/other AArch64 payloads is to use my memloader payload (see https://switchtools.sshnuke.net) and either put the files on microsd or use the <code>--dataini parameter</code>


Alternatively, setup your u-boot cmdline to just load everything from microSD to not bother with imx_load ;)
After that, you can use imx_load as you would on Linux (Windows binaries available at https://github.com/rajkosto/imx_usb_loader/releases)


==Compiling Instructions==
Alternatively, setup your u-boot cmdline to just load everything from microSD to not bother with imx_load.
# Click on the big green Download button to get the binary package for libUSBK from this link.
# Execute the installer executable and take note of the installation directory. The default location is C:\libusbK-dev-kit.
# Navigate to Advanced system settings and define an environment variable named LIBUSBK_DIR with the path you noted earlier.
# Use Visual Studio 2017 to open TegraRcmSmash.sln and compile the Release or Debug configuration.


==Changelog==  
==Changelog==  
'''v.1.2.1-3'''
'''v1.2.1-3 2018/06/21'''
*Keep reading from usb device after BOOT if -r argument is specified.
*Keep reading from usb device after BOOT if -r argument is specified.
'''v.1.2.0-2'''
'''v1.2.0-2 2018/05/12'''
*Add -r (usb readback) and --dataini (send data to payload via USB) options.
*Add -r (usb readback) and --dataini (send data to payload via USB) options.
'''v.1.0.0-1'''
'''v1.0.0-1 2019/05/03'''
*Support shofEL2 style coreboot launch.
*Support shofEL2 style coreboot launch.
'''v.1.0.0-0'''
'''v1.0.0-0 2018/04/28'''
* First Release.
* First Release.


== External links ==
== External links ==
* Official Website - https://gbatemp.net/threads/tegrarcmsmash-a-fusee-launcher-for-windows.502334/
* Author's website - https://switchtools.sshnuke.net/
* Github - https://github.com/rajkosto/TegraRcmSmash
* GitHub - https://github.com/rajkosto/TegraRcmSmash
* GBAtemp - https://gbatemp.net/threads/tegrarcmsmash-a-fusee-launcher-for-windows.502334/

Latest revision as of 10:31, 5 February 2024

TegraRcmSmash
Tegrarcmsmashnx.png
General
Authorrajkosto
TypePayload Senders (Software)
Version1.2.1-3
LicenseMixed
Last Updated2018/06/21
Links
Download
Website
Source
Support Author

A reimplementation of fusee-launcher in C++ for Windows platforms.

It allows you to launch fusee/shofEL2 payloads to a USB connected Switch in RCM mode.

Note: The author is not responsible for any issues or damage this causes to your Switch.

User guide

Driver setup

Get your Switch into RCM mode and plug it into your Windows PC. It should show up somewhere (like Device manager) as "APX".

Download and run Zadig driver installer from https://zadig.akeo.ie/

From the device list, choose APX (if it's not showing up in the list, go to Options menu and check List All Devices).

For the driver type, cycle the arrows until you see libusbK (v3.0.7.0) in the text box (important).

Click the big Install Driver button. Device manager should now show "APX" under libusbK USB Devices tree item.

How to use

TegraRcmSmash Usage:

TegraRcmSmash.exe [-V 0x0955] [-P 0x7321] [--relocator=intermezzo.bin] [-w] inputFilename.bin [-r] [--dataini=coreboot.ini] ([PARAM:VALUE]|[0xADDR:filename])*

If your Switch is ready and waiting in RCM mode, you can also just drag and drop the payload right onto TegraRcmSmash.exe.

An example cmdline for launching linux using coreboot is something like this (the empty relocator is important):

TegraRcmSmash.exe -w --relocator= "coreboot/cbfs.bin" "CBFS:coreboot/coreboot.rom"

A simpler way to load coreboot/other AArch64 payloads is to use my memloader payload (see https://switchtools.sshnuke.net) and either put the files on microsd or use the --dataini parameter

After that, you can use imx_load as you would on Linux (Windows binaries available at https://github.com/rajkosto/imx_usb_loader/releases)

Alternatively, setup your u-boot cmdline to just load everything from microSD to not bother with imx_load.

Changelog

v1.2.1-3 2018/06/21

  • Keep reading from usb device after BOOT if -r argument is specified.

v1.2.0-2 2018/05/12

  • Add -r (usb readback) and --dataini (send data to payload via USB) options.

v1.0.0-1 2019/05/03

  • Support shofEL2 style coreboot launch.

v1.0.0-0 2018/04/28

  • First Release.

External links

Advertising: