Having trouble getting my USB Samsung T7 SSD to work. Would give up but it IS somewhat working elsewhere, just not in the 2nd re-initialization of USB during USB Loader GX startup.
So ios and mod wise i think i followed everything correctly. i'll include the syscheck on bottom of this post.
If i understand correctly both Homebrew channel and USB Loader GX as well as wiiXplorer use IOS58 to communicate with my USB - SSD.
* In wiiXplorer this works correctly and i can see and open files + it stores configuration on my USB-SSD
* Also homebrew left some files on there, cant quite remember how or which files, but I've seen them (before numerous reformats)
* Start USB Loader GX it will go through its first USB detection cycle, this 'detects' quite fast. i see my blue led on SSD flashing indicating that its being read, USB Loader GX is then going to loading config and eventual re-initialising USB. My SSD gets 'unmounted' during which i a RED led, this also happens when i switch to wiiXplorer or to Homebrew, or to USB Launcher GX initially.. Then the blue solid light will turn back on (suggesting successful remount?). but USB Launcher GX enters the 20 sec countdown loop and then just goes to Loader screen with UN-initialised USB device.
So during or around the 're-initializing usb' i can see the message that it is switching to IOS 249. From this i conclude that either IOS249 is NOT working with my SSD or my SSD does not have expected state in the (2nd) countdown loop. OR something happens before
i tried modifiying meta.xml of USB on my SD card (not ssd, start from homebrew | sd), to boot with 251 or to set 251 as loader but that doesn't seem to have any effect.. it boots like described above then i can see it switching to 249
Could not find where all the ioss'es are used for.. IOS251 base 58 i assumed is a patched IOS58, so that's why i tried that
So i dug a bit in the code, and found the StartupProcess.cpp.. This seems to confirm what i observe:
* first starts in IOS58 and detects the USB (or at least makes the led flash), i think it also enters the spinup loop for this, but that doesnt get to coutning down, just moves on quite fast
* then notices other IOS is configured thus Unmounts(Destory / deinit), remounts en enters spinup loop, times out
so the difference between those pieces of code is IOS content and the DeviceHandler:
estroyInstance(); and USBStorage2_Deinit()
so i figured mebe recompile myself, then see if i can fidle around a bit adding logging. but recompiling on my pc fails after minute or so, also included the recompile failure's in spoiler tag below.
Also how can i see debug printing, eg the gprintf's that are 'everywhere' ?
So ios and mod wise i think i followed everything correctly. i'll include the syscheck on bottom of this post.
If i understand correctly both Homebrew channel and USB Loader GX as well as wiiXplorer use IOS58 to communicate with my USB - SSD.
* In wiiXplorer this works correctly and i can see and open files + it stores configuration on my USB-SSD
* Also homebrew left some files on there, cant quite remember how or which files, but I've seen them (before numerous reformats)
* Start USB Loader GX it will go through its first USB detection cycle, this 'detects' quite fast. i see my blue led on SSD flashing indicating that its being read, USB Loader GX is then going to loading config and eventual re-initialising USB. My SSD gets 'unmounted' during which i a RED led, this also happens when i switch to wiiXplorer or to Homebrew, or to USB Launcher GX initially.. Then the blue solid light will turn back on (suggesting successful remount?). but USB Launcher GX enters the 20 sec countdown loop and then just goes to Loader screen with UN-initialised USB device.
So during or around the 're-initializing usb' i can see the message that it is switching to IOS 249. From this i conclude that either IOS249 is NOT working with my SSD or my SSD does not have expected state in the (2nd) countdown loop. OR something happens before
i tried modifiying meta.xml of USB on my SD card (not ssd, start from homebrew | sd), to boot with 251 or to set 251 as loader but that doesn't seem to have any effect.. it boots like described above then i can see it switching to 249
Could not find where all the ioss'es are used for.. IOS251 base 58 i assumed is a patched IOS58, so that's why i tried that
So i dug a bit in the code, and found the StartupProcess.cpp.. This seems to confirm what i observe:
* first starts in IOS58 and detects the USB (or at least makes the led flash), i think it also enters the spinup loop for this, but that doesnt get to coutning down, just moves on quite fast
* then notices other IOS is configured thus Unmounts(Destory / deinit), remounts en enters spinup loop, times out
so the difference between those pieces of code is IOS content and the DeviceHandler:
so i figured mebe recompile myself, then see if i can fidle around a bit adding logging. but recompiling on my pc fails after minute or so, also included the recompile failure's in spoiler tag below.
Also how can i see debug printing, eg the gprintf's that are 'everywhere' ?
SysCheck ME v2.5.0 by blackb0x, JoostinOnline, Double_A, R2-D2199 and Nano
...runs on IOS58 (rev 6176).
Region: PAL
System Menu 4.3E (v514)
Priiloader installed
Drive date: 02.13.2007
Homebrew Channel 1.1.2 running on IOS58
Hollywood v0x11
Console ID: 62661803
Console Type: Wii
Shop Channel Country: Netherlands (94)
Boot2 v4
Found 67 titles.
Found 47 IOS on this console. 14 of them are stubs.
IOS4 (rev 65280): Stub
IOS9 (rev 1034): No Patches
IOS10 (rev 768): Stub
IOS11 (rev 256): Stub
IOS12 (rev 526): No Patches
IOS13 (rev 1032): No Patches
IOS14 (rev 1032): No Patches
IOS15 (rev 1032): No Patches
IOS16 (rev 512): Stub
IOS17 (rev 1032): No Patches
IOS20 (rev 256): Stub
IOS21 (rev 1039): No Patches
IOS22 (rev 1294): No Patches
IOS28 (rev 1807): No Patches
IOS30 (rev 2816): Stub
IOS31 (rev 3608): No Patches
IOS33 (rev 3608): No Patches
IOS34 (rev 3608): No Patches
IOS35 (rev 3608): No Patches
IOS36 (rev 3608): No Patches
IOS37 (rev 5663): No Patches
IOS38 (rev 4124): No Patches
IOS40 (rev 3072): Stub
IOS41 (rev 3607): No Patches
IOS43 (rev 3607): No Patches
IOS45 (rev 3607): No Patches
IOS46 (rev 3607): No Patches
IOS48 (rev 4124): No Patches
IOS50 (rev 5120): Stub
IOS51 (rev 4864): Stub
IOS52 (rev 5888): Stub
IOS53 (rev 5663): No Patches
IOS55 (rev 5663): No Patches
IOS56 (rev 5662): No Patches
IOS57 (rev 5919): No Patches
IOS58 (rev 6176): USB 2.0
IOS60 (rev 6400): Stub
IOS61 (rev 5662): No Patches
IOS70 (rev 6912): Stub
IOS80 (rev 6944): No Patches
IOS222 (rev 65280): Stub
IOS223 (rev 65280): Stub
IOS248[38] (rev 65535, Info: d2x-v11beta1): Trucha Bug, ES Identify, NAND Access
IOS249[56] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS250[57] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS251[58] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS254 (rev 65281): BootMii
BC v6
MIOS v10
Report generated on 05/22/2023.
...runs on IOS58 (rev 6176).
Region: PAL
System Menu 4.3E (v514)
Priiloader installed
Drive date: 02.13.2007
Homebrew Channel 1.1.2 running on IOS58
Hollywood v0x11
Console ID: 62661803
Console Type: Wii
Shop Channel Country: Netherlands (94)
Boot2 v4
Found 67 titles.
Found 47 IOS on this console. 14 of them are stubs.
IOS4 (rev 65280): Stub
IOS9 (rev 1034): No Patches
IOS10 (rev 768): Stub
IOS11 (rev 256): Stub
IOS12 (rev 526): No Patches
IOS13 (rev 1032): No Patches
IOS14 (rev 1032): No Patches
IOS15 (rev 1032): No Patches
IOS16 (rev 512): Stub
IOS17 (rev 1032): No Patches
IOS20 (rev 256): Stub
IOS21 (rev 1039): No Patches
IOS22 (rev 1294): No Patches
IOS28 (rev 1807): No Patches
IOS30 (rev 2816): Stub
IOS31 (rev 3608): No Patches
IOS33 (rev 3608): No Patches
IOS34 (rev 3608): No Patches
IOS35 (rev 3608): No Patches
IOS36 (rev 3608): No Patches
IOS37 (rev 5663): No Patches
IOS38 (rev 4124): No Patches
IOS40 (rev 3072): Stub
IOS41 (rev 3607): No Patches
IOS43 (rev 3607): No Patches
IOS45 (rev 3607): No Patches
IOS46 (rev 3607): No Patches
IOS48 (rev 4124): No Patches
IOS50 (rev 5120): Stub
IOS51 (rev 4864): Stub
IOS52 (rev 5888): Stub
IOS53 (rev 5663): No Patches
IOS55 (rev 5663): No Patches
IOS56 (rev 5662): No Patches
IOS57 (rev 5919): No Patches
IOS58 (rev 6176): USB 2.0
IOS60 (rev 6400): Stub
IOS61 (rev 5662): No Patches
IOS70 (rev 6912): Stub
IOS80 (rev 6944): No Patches
IOS222 (rev 65280): Stub
IOS223 (rev 65280): Stub
IOS248[38] (rev 65535, Info: d2x-v11beta1): Trucha Bug, ES Identify, NAND Access
IOS249[56] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS250[57] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS251[58] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS254 (rev 65281): BootMii
BC v6
MIOS v10
Report generated on 05/22/2023.
#~/usbloadergx$ make
sjis.cpp
~/usbloadergx/source/utils/sjis.cpp: In function 'std::string sj2utf8(const std::string&)':
~/usbloadergx/source/utils/sjis.cpp:2104:39: error: 'uint8_t' was not declared in this scope
2104 | char arraySection = ((uint8_t)input[indexInput]) >> 4;
| ^~~~~~~
~/usbloadergx/source/utils/sjis.cpp:2:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
1 | #include "sjis.h"
+++ |+#include <cstdint>
2 |
~/usbloadergx/source/utils/sjis.cpp:2104:47: error: expected ')' before 'input'
2104 | char arraySection = ((uint8_t)input[indexInput]) >> 4;
| ~ ^~~~~
| )
~/usbloadergx/source/utils/sjis.cpp:2114:51: error: expected ')' before 'input'
2114 | arrayOffset += (((uint8_t)input[indexInput]) & 0xf) << 8;
| ~ ^~~~~
| )
~/usbloadergx/source/utils/sjis.cpp:2114:81: error: expected ')' before ';' token
2114 | arrayOffset += (((uint8_t)input[indexInput]) & 0xf) << 8;
| ~ ^
| )
~/usbloadergx/source/utils/sjis.cpp:2121:17: error: 'uint16_t' was not declared in this scope
2121 | uint16_t unicodeValue = (convTable[arrayOffset] << 8) | convTable[arrayOffset + 1];
| ^~~~~~~~
~/usbloadergx/source/utils/sjis.cpp:2121:17: note: 'uint16_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
~/usbloadergx/source/utils/sjis.cpp:2123:20: error: 'unicodeValue' was not declared in this scope
2123 | if(unicodeValue < 0x80)
| ^~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitPPC/base_rules:15: sjis.o] Error 1
make: *** [Makefile:153: build] Error 2
sjis.cpp
~/usbloadergx/source/utils/sjis.cpp: In function 'std::string sj2utf8(const std::string&)':
~/usbloadergx/source/utils/sjis.cpp:2104:39: error: 'uint8_t' was not declared in this scope
2104 | char arraySection = ((uint8_t)input[indexInput]) >> 4;
| ^~~~~~~
~/usbloadergx/source/utils/sjis.cpp:2:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
1 | #include "sjis.h"
+++ |+#include <cstdint>
2 |
~/usbloadergx/source/utils/sjis.cpp:2104:47: error: expected ')' before 'input'
2104 | char arraySection = ((uint8_t)input[indexInput]) >> 4;
| ~ ^~~~~
| )
~/usbloadergx/source/utils/sjis.cpp:2114:51: error: expected ')' before 'input'
2114 | arrayOffset += (((uint8_t)input[indexInput]) & 0xf) << 8;
| ~ ^~~~~
| )
~/usbloadergx/source/utils/sjis.cpp:2114:81: error: expected ')' before ';' token
2114 | arrayOffset += (((uint8_t)input[indexInput]) & 0xf) << 8;
| ~ ^
| )
~/usbloadergx/source/utils/sjis.cpp:2121:17: error: 'uint16_t' was not declared in this scope
2121 | uint16_t unicodeValue = (convTable[arrayOffset] << 8) | convTable[arrayOffset + 1];
| ^~~~~~~~
~/usbloadergx/source/utils/sjis.cpp:2121:17: note: 'uint16_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
~/usbloadergx/source/utils/sjis.cpp:2123:20: error: 'unicodeValue' was not declared in this scope
2123 | if(unicodeValue < 0x80)
| ^~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitPPC/base_rules:15: sjis.o] Error 1
make: *** [Makefile:153: build] Error 2
Last edited by dewfuz,
















