Open team-orangeBlue opened 3 months ago
Hi there, I'm a little confused about a few things: What compiler exactly are you using (output of gcc -V) and how was it built? Also this project is just the PPC side of things, not mini itself, so I'm not sure why ceil1ng_cat wouldn't work for you.
I'll test this project again on my Wii tomorrow. It shouldn't matter what hardware or System Menu you have, only the video mode your display supports matters. Currently it's hard coded to NTSC, so maybe that's part of the issue. The video constants are here: https://github.com/AndrewPiroli/ppcskel/blob/master/ppcskel/video_low.h#L38-L41 and you can set it in main.c here https://github.com/AndrewPiroli/ppcskel/blob/master/ppcskel/main.c#L86
If I can't reproduce the issue, can you provide your compiled ppcboot.elf?
Hi there, I'm a little confused about a few things: What compiler exactly are you using (output of gcc -V) and how was it built? Also this project is just the PPC side of things, not mini itself, so I'm not sure why ceil1ng_cat wouldn't work for you.
I'll test this project again on my Wii tomorrow. It shouldn't matter what hardware or System Menu you have, only the video mode your display supports matters. Currently it's hard coded to NTSC, so maybe that's part of the issue. The video constants are here: https://github.com/AndrewPiroli/ppcskel/blob/master/ppcskel/video_low.h#L38-L41 and you can set it in main.c here https://github.com/AndrewPiroli/ppcskel/blob/master/ppcskel/main.c#L86
If I can't reproduce the issue, can you provide your compiled ppcboot.elf?
Here's the compiler I made from the scripts in your repo:
Using built-in specs.
COLLECT_GCC=/opt/devkitamateur/bin/powerpc-none-elf-gcc
COLLECT_LTO_WRAPPER=/opt/devkitamateur/libexec/gcc/powerpc-none-elf/13.2.0/lto-wrapper
Target: powerpc-none-elf
Configured with: ../gcc-13.2.0/configure --prefix=/opt/devkitamateur/ --target=powerpc-none-elf --disable-nls --enable-languages=c,c++ --without-headers
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (GCC)
I also noticed that this project never invokes gfx_printf()
, and I found another project using mini, aka https://github.com/r00t1024/nandflasher and it works (in terms that it prints out text on screen and does what it claims to do in main.c). So maybe it in fact works but prints text either out of screen, or to USB gecko (which isn't that easy to obtain).
I have component cables and a flatpanel Panasonic with smartviera, so it should be able to see anything.
ppcboot.txt I named this .txt to trick github. So this is just an elf, change the extension.
I've verified the issue, it does not work currently. What is weird is I know this worked previously, I have picture evidence of when I first got it working and there have been no code changes since then. Also, I was able to compile and run r00t1024/nandflasher with the same compiler just fine, and I was able to run MethodOrMadness/mini_tid_loader just fine with the same compiler. Unfortunately I don't have access to a USBGecko, which would make debugging this 10000x easier.
I feel like every Wii related project I have goes through a haunted phase, looks like this is it for this one. I have a bunch going on right now but I will figure this out, just might take a little bit.
Good day!
First off thank you very much for resurrecting projects on MINI in some way. I'm interested in running more than just CEIL1NG_CAT on my Wii when using mini.
My Wii is a european board with menu 4.1E, boot1b and boot2v2. I've self-compiled the latest ppcskel (sizing 85KB), used the provided release (sizing 48KB) as well as self-compiled the source code relevant to the release after some fixes giving another 85KB binary. Unfortunately when loading any of the 3 binaries, nothing loads. It appears that mini jumps to the system menu and doesn't let anything happen.
I've done a couple of tests and made this chat (without the self-compiled release): A) provided release of ppcboot.elf (48kb)
ceil1ng_cat (bootmii-boot2): locked up
ceil1ng_cat (bootmii-ios254): locked up
ppcboot.elf (bootmii-boot2): ignored, jumped to menu
ppcboot.elf (bootmii-ios254): video tries to load (green glitches), but after 2 glitches, jumps back to menu. B) homemade build of ppcboot.elf (85kb/78kb stripped)
ceil1ng_cat (bootmii-boot2): reset to menu.
ceil1ng_cat (bootmii-ios254): reset to menu.
ppcboot.elf (bootmii-boot2): no video out.
ppcboot.elf (bootmii-ios254): speakers reset. video blacked.
When you were testing this, what was your board? Maybe this is an issue on my side? If you know a fix, just know that I am not updating boot2 under any circumstances.