Streetwalrus's first GameCube
Streetwalrus's first GameCube
(Before you ask, I'm Streetwalrus, I'm just using my old username here. )
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 :
I tapped into the 5V line on the motherboard to power the Pi :
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 :
And here's the finished product. I have a 2043 block memory card in slot A and a 32GB SD in slot B :
Source and schematics attached. I hope you like it.
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 :
I tapped into the 5V line on the motherboard to power the Pi :
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 :
And here's the finished product. I have a 2043 block memory card in slot A and a 32GB SD in slot B :
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 1257 times
Last edited by novenary on Sat Mar 21, 2015 7:25 pm, edited 3 times in total.
-
- Posts: 305
- Joined: Tue Sep 18, 2012 12:32 am
Re: Streetwalrus's first GameCube
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? >:)
What else could be added to that pie to extend the functionality of the gamecube? >:)
Re: Streetwalrus's first GameCube
I know, right.
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.
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.
-
- Posts: 305
- Joined: Tue Sep 18, 2012 12:32 am
Re: Streetwalrus's first GameCube
so wait we could use a pi as a WKF?
Re: Streetwalrus's first GameCube
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).
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).
Re: Streetwalrus's first GameCube
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?
Re: Streetwalrus's first GameCube
Wow this could really open some doors and the pi is readily available too.
Re: Streetwalrus's first GameCube
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 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?
Re: Streetwalrus's first GameCube
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.
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.
-
- Posts: 305
- Joined: Tue Sep 18, 2012 12:32 am
Re: Streetwalrus's first GameCube
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?
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?
Re: Streetwalrus's first GameCube
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).
-
- Posts: 305
- Joined: Tue Sep 18, 2012 12:32 am
Re: Streetwalrus's first GameCube
would using a beaglebone or something instead work?
Re: Streetwalrus's first GameCube
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.
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.
Re: Streetwalrus's first GameCube
Hmmm I didn't write that header. 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.
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.
Re: Streetwalrus's first GameCube
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.
Re: Streetwalrus's first GameCube
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.
Re: Streetwalrus's first GameCube
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
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)
Re: Streetwalrus's first GameCube
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.
-
- Posts: 1
- Joined: Mon Feb 09, 2015 12:19 am
Re: Streetwalrus's first GameCube
excuse my noobness, but can someone send me a pre-compiled version?
Re: Streetwalrus's first GameCube
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).
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 758 times
-
- Posts: 3
- Joined: Sun May 17, 2015 6:09 pm
Re: Streetwalrus's first GameCube
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
Re: Streetwalrus's first GameCube
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.
- gabeNcubeN
- Posts: 5
- Joined: Wed Dec 16, 2015 11:50 pm
Re: Streetwalrus's first GameCube
I know this is kind of a Necropost, but Yes I got my Gamecube working with this method!
I'll be using this in the meantime while I wait for an AVR programmer in the mail.
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
Purple Gamecube XenoGC: Waiting for Arduino to arrive in Mail
Black Gamecube MinimusGC: Project on hold until I can get more MinimusAVR's
Purple Gamecube XenoGC: Waiting for Arduino to arrive in Mail
Re: Streetwalrus's first GameCube
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!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).
Re: Streetwalrus's first GameCube
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.
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.