GC Linux - RootFS on SD + SDHC SUPPORT!!
GC Linux - RootFS on SD + SDHC SUPPORT!!
Hi,
some time ago, i was thinking about GC Linux and WHY THE F*** i need a NFS to use it ^^
So i started creating a GC-Linux which has it's root Filesystem on the second partition of my SD-Adapter... I dokumented it pretty good (i think.. at least better than my other projects xD)
But i had trouble with creating a nice and usefull root FS, so i just used the one from MFE which is useable. You could even create one using debootstap with ppc binarys, but it becomes pretty big... so after some trys i got bored, since videos are not really playable.. but mp3 should be fine..
So here are the files:
Kernel is 2.6.32 with mikep5 Patch
The Documentation: http://www.gc-forever.com/wiki/index.ph ... otFS_on_SD
Needed Config files: http://nold.freeunix.net/devnull/Downlo ... config.zip (root=/dev/gcnsda2 - gc-linux.org wiki paths are wrong)
Dol-File + RootFS: http://nold.freeunix.net/devnull/Downlo ... pha.tar.gz
Here you can download the complete sourcecode if you don't want to search the files ^^
http://ubuntuone.com/p/JsX/
Here you can see it booting: http://www.youtube.com/watch?v=pQwy9SYk5TI
Hope someone has some use for it - everything can be modified as you want it and feel free to ask me for help.
//Edit:
As may some of you noticed did i finish a SDHC driver for GC-Linux
Here is now my Beta release, would be cool if some of you could try it out, and give me some feedback.
The 16/32 stands for the SPI Clock (Known from SWISS) and the a/b for the port of the SD-Card. And here is the driver: (Goes into drivers/block/)
It's not really nice written but it works... but since i never did something like that before, i'm actually pretty pround on myself ^^
some time ago, i was thinking about GC Linux and WHY THE F*** i need a NFS to use it ^^
So i started creating a GC-Linux which has it's root Filesystem on the second partition of my SD-Adapter... I dokumented it pretty good (i think.. at least better than my other projects xD)
But i had trouble with creating a nice and usefull root FS, so i just used the one from MFE which is useable. You could even create one using debootstap with ppc binarys, but it becomes pretty big... so after some trys i got bored, since videos are not really playable.. but mp3 should be fine..
So here are the files:
Kernel is 2.6.32 with mikep5 Patch
The Documentation: http://www.gc-forever.com/wiki/index.ph ... otFS_on_SD
Needed Config files: http://nold.freeunix.net/devnull/Downlo ... config.zip (root=/dev/gcnsda2 - gc-linux.org wiki paths are wrong)
Dol-File + RootFS: http://nold.freeunix.net/devnull/Downlo ... pha.tar.gz
Here you can download the complete sourcecode if you don't want to search the files ^^
http://ubuntuone.com/p/JsX/
Here you can see it booting: http://www.youtube.com/watch?v=pQwy9SYk5TI
Hope someone has some use for it - everything can be modified as you want it and feel free to ask me for help.
//Edit:
As may some of you noticed did i finish a SDHC driver for GC-Linux
Here is now my Beta release, would be cool if some of you could try it out, and give me some feedback.
The 16/32 stands for the SPI Clock (Known from SWISS) and the a/b for the port of the SD-Card. And here is the driver: (Goes into drivers/block/)
It's not really nice written but it works... but since i never did something like that before, i'm actually pretty pround on myself ^^
Last edited by _Nold_ on Mon Feb 13, 2012 4:11 pm, edited 4 times in total.
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
nice to see you here!
you seem to be somewhat into linux etc. - wanna help develop a mikep5-like patch for a more up-to-date kernel?
you seem to be somewhat into linux etc. - wanna help develop a mikep5-like patch for a more up-to-date kernel?
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
I have got nearly no idea of kernel patches but why not
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
gamecube is still present in the 3.x kernels that recently came out, but it needs a lot of patching
why did mike stop after mikep5
i created a googlecode for this. wanna get in? pm me your mailaddress
http://code.google.com/p/gc-linux-patch/
why did mike stop after mikep5
i created a googlecode for this. wanna get in? pm me your mailaddress
http://code.google.com/p/gc-linux-patch/
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
Hmm... on the one hand it would be a real interessting and cool project but on the other hand i don't see the point for doing that much work... in my eyes the GC-Scene is nearly dead, next gen is coming and the gc is not really powerfull to do anything usefull under linux..
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
the gc-scene is dead? your registration to this forum should've shown you that this is not trueNoldor wrote:Hmm... on the one hand it would be a real interessting and cool project but on the other hand i don't see the point for doing that much work... in my eyes the GC-Scene is nearly dead, next gen is coming and the gc is not really powerfull to do anything usefull under linux..
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
Ok, you're right
So, let's have a try...
So, let's have a try...
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
thanks for the guide, I'll have to try it out
Re: GC Linux - RootFS on SD
I just updated the guide a little bit... I wrote it really fast, so there are a lot of mistakes >.< sorry for that...
And i found the mplayer settings i think mfe uses:
And i found the mplayer settings i think mfe uses:
Code: Select all
mplayer -slave -noconsolecontrols -quiet -nojoystick -framedrop -cache 4096 -subfont-autoscale 1 -subpos 70 -sub-fuzziness 1
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
I just noticed there are a lot of mistakes in my ducomentation f.e. the device node path's are wrong >.<
I will correct that tomorrow but for now i've got a working rootfs with mplayer, init, audio-ram-swap, fstab,...
Kernel.dol is included, too. Don'T forget to unpack as root, so the device nodes are created correctly!
Download: http://nold.freeunix.net/devnull/Downlo ... pha.tar.gz
Here you can see it booting: http://www.youtube.com/watch?v=pQwy9SYk5TI
I will correct that tomorrow but for now i've got a working rootfs with mplayer, init, audio-ram-swap, fstab,...
Kernel.dol is included, too. Don'T forget to unpack as root, so the device nodes are created correctly!
Download: http://nold.freeunix.net/devnull/Downlo ... pha.tar.gz
Here you can see it booting: http://www.youtube.com/watch?v=pQwy9SYk5TI
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
I transfered my Documentation into the gc-forever wiki and updated it with right fstab and init-script
http://www.gc-forever.com/wiki/index.ph ... otFS_on_SD
Edit: Updated 1st Post...
http://www.gc-forever.com/wiki/index.ph ... otFS_on_SD
Edit: Updated 1st Post...
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: GC Linux - RootFS on SD
good job..Noldor wrote:I transfered my Documentation into the gc-forever wiki and updated it with right fstab and init-script
http://www.gc-forever.com/wiki/index.ph ... otFS_on_SD
Edit: Updated 1st Post...
linked your wiki page to main page to make it easier for others to find
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
Re: GC Linux - RootFS on SD
My Keyboard Adapter just arrived yesterday so could just try it out.. It only seems to work in Slot-1 what sucks a little bit because my viper gc needs a controller in no. 1 -.- but ok..
One Problem i had was mounting the root read-write, couldn't remount because "Device is busy".. same on the first partition vfat...
But i forgot that i compiled a kernel.dol with rw.. need to try that one..
And then i will start building a better rootfs. Think i will use debootstrap in first place...
Damn, i need a BBA ^^
One Problem i had was mounting the root read-write, couldn't remount because "Device is busy".. same on the first partition vfat...
But i forgot that i compiled a kernel.dol with rw.. need to try that one..
And then i will start building a better rootfs. Think i will use debootstrap in first place...
Damn, i need a BBA ^^
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
i need an autoboot - ssh enabled - ha cluster - gc-linux
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
Why HA-Cluster? High Performance
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
i have this project called gc-cluster where i want to have 8 gamecubes with linux clustered and one management "server"
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
Wow thats kinda cool ^^ ..
My biggest problem is that i have no BBA. That makes testing really slow.. Trying to get one, but i think i need to join the collective order for the next year :/
My biggest problem is that i have no BBA. That makes testing really slow.. Trying to get one, but i think i need to join the collective order for the next year :/
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
btw thanks for the tutorial but maybe you should add another one that makes use of your already compiled stuff etc.
on the bba: i can borrow one for the time being
on the bba: i can borrow one for the time being
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
Thanks a lot for your offer but i don't like to borrow things from others :/ ...
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
also, some commands for example for SD card formatting would be useful to some
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr
we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Re: GC Linux - RootFS on SD
i used cfdisk for that, but you could even use gparted oder the drive-utilty that comes with ubuntu or mint (Which is really handy btw)..
i will take a look on that later ^^
I just wrote a short tut how to prepare your SD with fdisk and mkfs: http://www.gc-forever.com/wiki/index.ph ... with_fdisk
hf!
i will take a look on that later ^^
I just wrote a short tut how to prepare your SD with fdisk and mkfs: http://www.gc-forever.com/wiki/index.ph ... with_fdisk
hf!
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
Noldor: You may add "force_keyboard_port=4" to your kernel command line, to avoid your viper-controller-switching-thingie.
Re: GC Linux - RootFS on SD
thanks man! I knew there was something with 4! But i deleted it since i didn't hab a keyboard adapter before >.<
EDIT: I just recompiled with force_keyboard, rw and rootwait... seems to work good but keyboard @ port 4 dosn't work even if he says it's forced:
[ 6.119620] input: keyboard as /class/input/input0
[ 6.127626] gcn-si: port 1: keyboard
[ 6.135406] gcn-si: port 4 forced to keyboard mode
[ 6.143177] input: keyboard (forced) as /class/input/input1
[ 6.150805] gcn-si: port 4: keyboard (forced)
(Port 1 is my real keyboard...)
EDIT: I just recompiled with force_keyboard, rw and rootwait... seems to work good but keyboard @ port 4 dosn't work even if he says it's forced:
[ 6.119620] input: keyboard as /class/input/input0
[ 6.127626] gcn-si: port 1: keyboard
[ 6.135406] gcn-si: port 4 forced to keyboard mode
[ 6.143177] input: keyboard (forced) as /class/input/input1
[ 6.150805] gcn-si: port 4: keyboard (forced)
(Port 1 is my real keyboard...)
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
Re: GC Linux - RootFS on SD
Strange. For me it works like this:
Wavebird receiver in port 1, ps/2 keyboard adapter in port 4 and "force_keyboard_port=4" in the kernel command line.
Wavebird receiver in port 1, ps/2 keyboard adapter in port 4 and "force_keyboard_port=4" in the kernel command line.
Re: GC Linux - RootFS on SD
Lol - now it's working for me, too.. that's strange
| DOL-001 (EUR) Indigo | WKF Plug'n'Play Diskdrive Replacement | BBA |
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog
| Internalised: WaveBird, Keyboard Adapter, MemoryCard, SD-Adapter |
| DOL-001 (EUR) | >> First Gamecube Portable - Worklog