Streetwalrus's first GameCube

Portables, case replacements, mods etc, all in here!
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Streetwalrus's first GameCube

Post by novenary » Tue Oct 07, 2014 9:09 am

(Before you ask, I'm Streetwalrus, I'm just using my old username here. :P)

So you may have noticed me on IRC during the past week. This is what I've been up to.
I wanted to run homebrew with whatever hardware I had lying around so I grabbed my unused Raspberry Pi and a bare metal tutorial, and set out to make a XenoGC clone.

Have some pics.

CN302 connector under the DVD controller board with wires attached :
Image

I tapped into the 5V line on the motherboard to power the Pi :
Image

The wire harness comes outside the back through holes I'd made for a previous audio jack mod. I used a connector from a floppy drive ribbon cable to attach it to the Pi :
Image

And here's the finished product. I have a 2043 block memory card in slot A and a 32GB SD in slot B :
Image

Source and schematics attached. I hope you like it.
Attachments
xenopie.zip
Source package
Schematics included
Make sure you read the README ;)
(523.04 KiB) Downloaded 1216 times
Last edited by novenary on Sat Mar 21, 2015 7:25 pm, edited 3 times in total.
Diminuendo
Posts: 305
Joined: Tue Sep 18, 2012 12:32 am

Re: Streetwalrus's first GameCube

Post by Diminuendo » Tue Oct 07, 2014 10:46 am

as cool as using a raspberry pie for a Xeno is, I feel like it's a bit of a waste of the Pis potental

What else could be added to that pie to extend the functionality of the gamecube? >:)
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Tue Oct 07, 2014 10:56 am

I know, right. :P

I'm pretty sure I can try to do other stuff with it, I just need to add more wires. Especially since I can insert stuff in the waiting loop that watches the drive for resets. I'm going to see how I can make it upload larger files, then I'll replace XenoShell with Swiss.
Diminuendo
Posts: 305
Joined: Tue Sep 18, 2012 12:32 am

Re: Streetwalrus's first GameCube

Post by Diminuendo » Wed Oct 08, 2014 1:40 am

so wait we could use a pi as a WKF?
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Wed Oct 08, 2014 5:35 am

I don't think so. The Xeno is definitely able to override disc contents (that's how it detects keys on bootup, by patching the game's apploader) but the SPI interface is way too slow to do anything as interesting as a WKF.

Oh by the way, I'm reading parts of YAGCD and I finally understand the IPL replacement exploit... >:D Only problem is, I need an SPI slave and the one in the Pi isn't exposed on the GPIO header (except on model B+ which I don't have).
Duhasst0
Posts: 179
Joined: Sun Jan 13, 2013 1:35 am

Re: Streetwalrus's first GameCube

Post by Duhasst0 » Thu Oct 09, 2014 4:45 am

Had to double check but the beaglebone black has that feature. You probably don't have that but I do, how did you do that on the pi? What software?
Plastic
Posts: 27
Joined: Tue Jun 05, 2012 2:20 am

Re: Streetwalrus's first GameCube

Post by Plastic » Thu Oct 09, 2014 7:16 pm

Wow this could really open some doors and the pi is readily available too.
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Fri Oct 10, 2014 6:25 am

Duhasst0 wrote:Had to double check but the beaglebone black has that feature. You probably don't have that but I do, how did you do that on the pi? What software?
I thought I'd posted a reply but it didn't go through apparently. I'm just bitbanging the GPIO pins. The source is attached to the first post. I basically reimplemented the Atmega side of the Xeno while keeping the GameCube side of things untouched.
Duhasst0
Posts: 179
Joined: Sun Jan 13, 2013 1:35 am

Re: Streetwalrus's first GameCube

Post by Duhasst0 » Fri Oct 10, 2014 6:34 am

Yeah I noticed the software after I posted, I just really like what you have done here and just overlooked the software.

I am going to have to alter the code a bit since it's going to need to be done for the bone. Just have to find time and need to research more, I don't have access to the Web at work so no research can be done there. Gotta look up some stuff and work on it at work then test at home.
Diminuendo
Posts: 305
Joined: Tue Sep 18, 2012 12:32 am

Re: Streetwalrus's first GameCube

Post by Diminuendo » Fri Oct 10, 2014 6:40 am

ok, so what functions could we add using a pi on top of acting as a Xeno.

I imagine anything to do with video processing is out, (too much lag) maybe we could use it a a game recorder though.

I think I remember the GCs high speed port can be used to load games, maybe we could use it as a game loader through there?

Alternate boot mode for the Pi which makes use of the GCs controllers? Play Shovel Knight on my GC?
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Fri Oct 10, 2014 7:02 am

Hmmm if I understand yagcd correctly, hi-speed port is connected to the east bridge which is an 8 bit, 81MHz parallel bus. I don't know how far GPIO using the GPU can go but it's definitely impossible with the Pi's CPU (which can apparently toggle a pin at about 14MHz).
Diminuendo
Posts: 305
Joined: Tue Sep 18, 2012 12:32 am

Re: Streetwalrus's first GameCube

Post by Diminuendo » Sat Oct 11, 2014 3:48 am

would using a beaglebone or something instead work?
Duhasst0
Posts: 179
Joined: Sun Jan 13, 2013 1:35 am

Re: Streetwalrus's first GameCube

Post by Duhasst0 » Sat Oct 11, 2014 3:50 am

It should, runs Linux, had more gpios and has i2c, spi, and pwm.


EDIT: also, the rpi-gpoi.h file would need a rewrite, that I have noticed, other than that I haven't really gone through the source enough to really see if there is anything thing else that needs reworked.
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Sat Oct 11, 2014 6:35 am

Hmmm I didn't write that header. :P What's the problem with it ?

Also my code runs on bare metal, since the Pi is powered by the GC it has to boot fast. It also gives me more accurate/constant timing and more CPU time if I wanna extend functionality.
Duhasst0
Posts: 179
Joined: Sun Jan 13, 2013 1:35 am

Re: Streetwalrus's first GameCube

Post by Duhasst0 » Sun Oct 12, 2014 5:35 pm

Well if used for the beaglebone black it doesn't set the right gpio values. I could be wrong but that is just my opinion. I haven't had much time at all to mess with anything. I will be watching tho cause this is interesting, I may go and get s pi anyway since that's all the microcenter near here stocks stuff for. Well that and arduino.
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Sun Oct 12, 2014 5:44 pm

Oh right, the GPIO stuff is hardware specific of course. I didn't understand that you were talking about porting my code. Feel free to do that, just note that the CN302 connector uses 3.3V logic and I have no idea if it's 5V tolerant.
User avatar
Lander
Posts: 24
Joined: Mon Jul 19, 2010 12:56 am
Location: Chile

Re: Streetwalrus's first GameCube

Post by Lander » Sun Oct 12, 2014 8:25 pm

This can be a bit crazy, but with a Raspberry Pi, can someone replicate the functionality of a BBA???

Also, I posted your project in some forum in Chile ;)
NES :: SNES :: N64 :: PSOne :: GC :: PS2 Slim :: GBA SP iQue (AGP-101) :: Wii :: DSi :: 3DS XL (Smash Edition)
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Sun Oct 12, 2014 9:35 pm

Hmmm I don't think so. Hooking up to the EXI bus requires an SPI slave which is unfortunately not exposed on my revision of the Pi. The hardware is in the SoC and the pins are exposed on model B+ so you can give it a shot.
thefinestdoge
Posts: 1
Joined: Mon Feb 09, 2015 12:19 am

Re: Streetwalrus's first GameCube

Post by thefinestdoge » Mon Feb 09, 2015 12:21 am

excuse my noobness, but can someone send me a pre-compiled version?
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Thu Feb 12, 2015 10:06 pm

Hmmm sure thing. Do you have the hardware ready ?

Just prepare a regular raspbian sd card then replace the kernel.img with the one attached (unzip first).
Attachments
kernel.zip
(5.4 KiB) Downloaded 710 times
ArchReaper450
Posts: 3
Joined: Sun May 17, 2015 6:09 pm

Re: Streetwalrus's first GameCube

Post by ArchReaper450 » Sun May 17, 2015 8:44 pm

I'm a new to using the RaspberryPi for a XenoGC clone but I feel like I'm missing a step. The programing part of it really
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Thu May 21, 2015 11:18 am

I think I stated it in the readme. Grab the kernel from the post above and replace the Linux one with mine on your SD card.
User avatar
gabeNcubeN
Posts: 5
Joined: Wed Dec 16, 2015 11:50 pm

Re: Streetwalrus's first GameCube

Post by gabeNcubeN » Thu Dec 17, 2015 8:47 am

I know this is kind of a Necropost, but Yes I got my Gamecube working with this method!

Image

I'll be using this in the meantime while I wait for an AVR programmer in the mail.
~Wub Wub~

Black Gamecube MinimusGC: Project on hold until I can get more MinimusAVR's :x
Purple Gamecube XenoGC: Waiting for Arduino to arrive in Mail :)
nitroxeno
Posts: 1
Joined: Mon Jan 02, 2017 10:07 pm

Re: Streetwalrus's first GameCube

Post by nitroxeno » Tue Jan 03, 2017 4:45 pm

Streetwalker wrote:Hmmm sure thing. Do you have the hardware ready ?

Just prepare a regular raspbian sd card then replace the kernel.img with the one attached (unzip first).
I just picked up a gamecube from a garage sale and just so happen to have a few Raspberry Pis laying around in my junk drawer. Thinking of giving this a try, did you ever figure out how to replace XenoShell with Swiss? Thanks!
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Streetwalrus's first GameCube

Post by novenary » Tue Jan 03, 2017 9:28 pm

It's possible to do it but I've never bothered, I've been using a DVD to boot swiss. I have a qoob pro now so I desoldered the pi from my dvd drive.
I'd recommend you make the atmega version of the xeno which is a lot less annoying since it can fit inside the drive. This was just an experiment and a temporary solution (which I ended up using for two years), since I couldn't order/didn't want to wait for parts back then.
Post Reply