You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Download the latest `udpih_esp32-s2.zip` for the ESP32-S2, or `udpih_esp32-s3.zip` for the ESP32-S3, from the [releases page](https://github.com/GaryOderNichts/udpih/releases).
4
+
Other chips don't support USB-OTG or the esp32sx driver, and are not supported.
5
+
- Extract the `.bin` files to a folder on your PC. Then open a terminal session (or command prompt in Windows) and navigate to that folder.
6
+
- To install UDPIH on your board, you need to have esptool installed. You can download the esptool tool from the [github repo](https://github.com/espressif/esptool) or by running `pip install esptool`.
7
+
- Hold down the `BOOT` button on the board and plug it into your PC.
8
+
9
+
You can now run the following command to flash UDPIH to the board:
10
+
11
+
> [!NOTE]
12
+
> The `-p xxx` argument needs to be adjusted, depending on your operation system.
13
+
> For Linux this will be something like `/dev/ttyACM0`.
You can now disconnect the board from the PC. Make sure to use the dedicated USB port on the board for connecting to the Wii U.
28
+
If you power the board externally, you need to reset the board after every UDPIH run.
29
+
30
+
The board is now flashed and can be used for udpih. Continue with ["Booting the recovery_menu"](../README.md#booting-the-recovery_menu).
31
+
32
+
## Building from source
33
+
Make sure to set up the latest [ESP-IDF](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html).
34
+
35
+
Download the latest `arm_kernel.bin.h` from the [releases page](https://github.com/GaryOderNichts/udpih/releases) and copy it to the `arm_kernel` directory (or build it from source).
Run `idf.py set-target esp32s2` or `idf.py set-target esp32s3` depending on the target you are building for.
42
+
43
+
When building the ESP32 code from source, the RGB LED can be enabled for feedback (if the board has one).
44
+
Run `idf.py menuconfig` and navigate to `UDPIH Configuration`. There you can enable the LED and set the GPIO number for your board.
45
+
46
+
To build the binary run `idf.py build`. Then you can flash UDPIH to your board using `idf.py -p PORT flash`.
47
+
Replace `PORT` with your ESP32 board's USB port name. See the [ESP-IDF Programming Guide](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html#build-your-first-project) for more information.
Copy file name to clipboardExpand all lines: docs/setup-linux.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ Some devices require additional setup for UDPIH to work. Click on the device you
7
7
8
8
> :information_source: For the Pi Zero and Zero 2 W you will need 2 USB cables, one for powering the Zero and one which can be connected to the Wii U.
9
9
10
-
> :information_source: For the Pi 4 and 5 you need to provide power through the power headers because the USB-C port is the only port the supports USB OTG and must get connected to the Wii U. Unfortunately, when trying to power the Pi over USB-C using the Wii U's USB ports, the Pi doesn't boot fast enough. The USB-A ports do not support USB OTG and cannot be used for this exploit: you **must** connect the USB-C port to the Wii U during the exploit.
10
+
> :information_source: For the Pi 4 and 5 you need to provide power through the power headers or use an OTG splitter. This is because the USB-C port is the only port supporting USB OTG, which must get connected to the Wii U. Unfortunately, when trying to power the Pi over USB-C using the Wii U's USB ports, the Pi doesn't boot fast enough.
11
+
> The USB-A ports do not support USB OTG and cannot be used for this exploit: You **must** connect the USB-C port to the Wii U during the exploit.
11
12
12
13
> :information_source: This guide expects that you use Raspberry Pi OS.
Copy file name to clipboardExpand all lines: docs/setup-pico.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,3 +6,12 @@
6
6
- Copy the `.uf2` file to the Pico. It will disconnect after a few seconds.
7
7
8
8
The Pico is now flashed and can be used for udpih. Continue with ["Booting the recovery_menu"](../README.md#booting-the-recovery_menu).
9
+
10
+
## Building from source
11
+
1. Set up the [pico-sdk](https://github.com/raspberrypi/pico-sdk).
12
+
1. Download the latest `arm_kernel.bin.h` from the [releases page](https://github.com/GaryOderNichts/udpih/releases) and copy it to the `arm_kernel` directory (or build it from source).
0 commit comments