Good evening!
I've gotten pretty bored and decided to make homebrew for MINI. For noobs this is what CEIL1NG_CAT (i'll call it ccat) uses (aka the gui you know as bootmii, check out the credits!) as its' IOS.
Despite the fact that it is mostly abandoned by now, I consider maintaining it in some way good practice.
As a start I decided to compile mini and ppcskel.
Mini itself compiled fairly easily. I set WIIDEV to the root of devkitARM (today that's /opt/devkitpro/devkitARM) and got a fully functional armboot.bin sizing 34KB. I tested it with ccat and it loaded okay: "mini 0.4-2-gfc12*".
The problems rose with ppcskel. To my knowledge that is the only open-source mini PPC implementation available. CCat is closed-source, gc-linux/MIKE doesn't have an obvious "make mini binary" guide, marcan clearly said that the hackmii installer won't be made open-source, so that leaves ppcskel as the only option.
I made a variable an extern, removed the `-mpaired` flag from C and `-nostartfiles` from LD as well as changed the toolchain from a powerpc-elf to a powerpc-eabi; got a 48kb ppcboot.elf and it doesn't boot. When giving it to mini, nothing happens and when giving it to ccat, the screen glitches twice like something is loading but then I suddenly jump to the system menu (presumably mini gave up).
I also noticed that editing basically any function makes ccat lock up instead of glitching the screen. Nothing changes when loading through mini: no video out, no nothing.
Which makes me ask: does anyone have or know any working "template" for programs using mini? Or should I just abandon this idea and start relying on AHBPROT? I know I can do the latter without all this hassle, but as I said in the beginning: keeping things afloat is more or less good practice.
Sources if you're not knowledgeable or need a bit more clarity...
* what is MINI: https://wiibrew.org/wiki/MINI
* MINI source code: https://github.com/fail0verflow/mini
* ppcskel source code: https://github.com/lewurm/ppcskel
* my homemade version of MINI:
* somewhat not working ppcskel:
Hope I'm not the only one that gave this a shot
I've gotten pretty bored and decided to make homebrew for MINI. For noobs this is what CEIL1NG_CAT (i'll call it ccat) uses (aka the gui you know as bootmii, check out the credits!) as its' IOS.
Despite the fact that it is mostly abandoned by now, I consider maintaining it in some way good practice.
As a start I decided to compile mini and ppcskel.
Mini itself compiled fairly easily. I set WIIDEV to the root of devkitARM (today that's /opt/devkitpro/devkitARM) and got a fully functional armboot.bin sizing 34KB. I tested it with ccat and it loaded okay: "mini 0.4-2-gfc12*".
The problems rose with ppcskel. To my knowledge that is the only open-source mini PPC implementation available. CCat is closed-source, gc-linux/MIKE doesn't have an obvious "make mini binary" guide, marcan clearly said that the hackmii installer won't be made open-source, so that leaves ppcskel as the only option.
I made a variable an extern, removed the `-mpaired` flag from C and `-nostartfiles` from LD as well as changed the toolchain from a powerpc-elf to a powerpc-eabi; got a 48kb ppcboot.elf and it doesn't boot. When giving it to mini, nothing happens and when giving it to ccat, the screen glitches twice like something is loading but then I suddenly jump to the system menu (presumably mini gave up).
I also noticed that editing basically any function makes ccat lock up instead of glitching the screen. Nothing changes when loading through mini: no video out, no nothing.
Which makes me ask: does anyone have or know any working "template" for programs using mini? Or should I just abandon this idea and start relying on AHBPROT? I know I can do the latter without all this hassle, but as I said in the beginning: keeping things afloat is more or less good practice.
Sources if you're not knowledgeable or need a bit more clarity...
* what is MINI: https://wiibrew.org/wiki/MINI
* MINI source code: https://github.com/fail0verflow/mini
* ppcskel source code: https://github.com/lewurm/ppcskel
* my homemade version of MINI:
Hope I'm not the only one that gave this a shot