Page 2 of 2

Re: GC Linux - RootFS on SD

Posted: Sun Nov 20, 2011 8:08 pm
by Kalifornia Jani
I got debian 6 (stable) running successfully now on my gamecube!!! I had power mac G4 running linux so it was easy to install it with debootsrap and then chroot to it using /bin/bash as a shell, I installed aram swap as a device etc. I want to move working advance mame files to it now and then i will do tar-package from it, and it fits in second partition of 2gb sd-card (1.70 gb as a size). Who is interested on it? SSH shell is included as well as kernel support for keyboard etc. I will make second (virtual)swap also inside the file system :lol:

Re: GC Linux - RootFS on SD

Posted: Sun Nov 20, 2011 9:31 pm
by liquitt
always interested!

Re: GC Linux - RootFS on SD

Posted: Sun Nov 20, 2011 11:55 pm
by deku_scrub
Will ever be a guide for dummyes to run Linux on GC like you guys are doing? Maybe a ready to use package?

Are you guys using with GUI?

Re: GC Linux - RootFS on SD

Posted: Mon Nov 21, 2011 6:35 am
by _Nold_
There is a ready to use package: http://nold.freeunix.net/devnull/Downlo ... pha.tar.gz (See 1st post)
And there is a guide in the wiki. The only thing you need to do, is to create 2 partitions on your SD-Card

one normal fat for your gcImage.dol
and one ext3 for your filesystem

then just start the gcImage.dol as every dol-file... But there is no gui or something, without ssh (BBA) or Keyboard Adapter it's pretty useless at the moment ^^

but as i can see, you have got a wii, so take a look at whiite linux, it has a gui and runs great as far as i remember..

Re: GC Linux - RootFS on SD

Posted: Mon Nov 21, 2011 9:17 am
by deku_scrub
Oh yeah, I need to update this sign and put my cubes again :p

Gonna take a loot at Whiite Linux... it's been a long time since I heared about it last time! ^^

Re: GC Linux - RootFS on SD

Posted: Mon Nov 21, 2011 5:24 pm
by julius
I saw this thing around two years ago in another site. In that time I prepared my micro sds (2 gb and 1gb) with the fat and ext2 partitions, but it didnĀ“t work. Several weeks ago I tried again with those micro sds plus 1 more (512 mb), this time only worked the 512 mb micro sd, and only started fme mortimor (wich is not so good as mplayer for gc); advance mame, nes or snes emulator did not work. The other two micro sds do not work yet, maybe because should reformat again the cards, the matter is I do not know nothing about Linux and do not know how formatting the cards. Any suggestion?

Re: GC Linux - RootFS on SD

Posted: Thu Dec 22, 2011 9:31 pm
by _Nold_
@Kalifornia Jani: I would be really interessted in your rootfs!
Few days ago, i was playing around with debootstrap but the problem is, that i don't have a ppc :/
Tryed to set up a qemu with debian but it crashes on installation :(

Re: GC Linux - RootFS on SD

Posted: Thu Jan 05, 2012 10:14 pm
by emu_kidid
finally tried this out last night - very nice work on getting it all together :)

Re: GC Linux - RootFS on SD

Posted: Thu Jan 05, 2012 10:17 pm
by liquitt
emu_kidid wrote:finally tried this out last night - very nice work on getting it all together :)
nice! did you have any trouble installing/running it?

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Mon Feb 13, 2012 4:12 pm
by _Nold_
Updated first post with Kernels supporting SDHC!

Hope that some people could give it a try and give me some feedback...
Thanks a lot :)

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Wed Feb 22, 2012 5:53 pm
by infact
My feedback:
SDHC works so far for me, but only when i reconnect the SDGecko, when the Kernel looks for the rootfs.
Maybe you forgot to initialize something, if it is already plugged in, but do it properly when it is connected at runtime?

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Wed Feb 22, 2012 6:13 pm
by _Nold_
it should ^^ and with my card it does! .. that's why i need beta testers :D
I havn't tried other card.. as i just see it's a no-name class 2 card, maybe there could the problem begin ^^
i should have left my dbg output in so everybody could see where the problem is..
i will compile a beta-testing kernel tomorrow, so we get more usefull error messages..

But the problem dosn't really seem to be the init-process, since it works after you plug it in again :/
we'll see..

//Edit: Did you try both: 16 and 32MHz SPI?

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Wed Feb 22, 2012 9:56 pm
by emu_kidid
infact, perhaps the issue here is that your card is already initialized via Swiss then it's attempted to be re-initialized?

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Wed Feb 22, 2012 10:24 pm
by infact
maybe, but i think it worked with my sd card before... have to retry it.

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Thu Feb 23, 2012 4:37 am
by _Nold_
I used swiss, too. That shouldn't be the problem since the sd-card is getting resetted by the initialisation of the gcn-sd-driver, too...

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Thu Feb 23, 2012 11:51 pm
by infact
I built a new debian squeeze rootfs (<200mb), but can't get it to work with your kernel. it seems you disabled all network related stuff, even sockets.

EDIT: okay, i tried it with my kernel, compiled a couple of weeks (months? :lol:) ago and it works like a charm. will wikify my notes on building the rootfs soon.

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Fri Feb 24, 2012 6:37 am
by _Nold_
Nice! If you have time i would like to get something running tonight?!

Yea i noticed that i deactivated Network-Support years ago in my config ^^ now they are back in an running great.
I Tryed around with the rootfs from gc-linux.org but had some problems with apt and the libc version, gues it's simply to old to upgrade from testing. But other repos didn't work, either.

I already set up a git for the kernel, maybe you could set one up for the rootfs so we can get it running :)

And I'm really thinking about parting the SD and SDHC driver, because the sd-driver is really cpu-heavy. Takes about <=85%.. parting may bring it to 80% but we need all we can get, and i have really no idea of drivers, so i really have no idea how to "tune" it...

//Edit:
And what about your SDHC problem?

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Fri Feb 24, 2012 8:34 am
by liquitt
good you mention the repository thing, i thought about it yesterday too
is there any we can use? will we set one up for ourselves? questions, questions

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Fri Feb 24, 2012 1:41 pm
by infact
The problem is, i dont know how a repository treats special files (device nodes, etc) and directory permissions.

Currently i did it like that:
  • Create a 2 gb file, and make it ext2
    Debootstrap squeeze in it
    do some fiddeling with the config
    apt-get some stuff
    write it to sd and profit
the benefits:
  • instant backup file
    easy to copy to sd in one step
    i can do everything locally on my pc
And here it is: http://www.mediafire.com/file/rwr426f3a ... ii.tar.bz2 71 mb (<250 mb extracted)
Just extract the included debgc folder to an ext* (ext2 preferred) formatted partition on sd card and boot the kernel from another.
hostname is cubii, root password too, network is dhcp enabled, a ssh server and midnight commander are included.

Nold: i have yet to try your 16 mhz sdhc image, but currently i am happy with my old kernel and my 256 mb sd card (until it is full :lol:)

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Wed May 29, 2013 11:35 am
by alzen
Keep on rocking guys, gc-scene dead? Hope this never happens... :lol:

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Wed May 29, 2013 1:44 pm
by emu_kidid
need to get SDHC support into the proper repo then we can see something better, not all these hardcoded SDHC builds :)

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Sun Jun 02, 2013 1:18 pm
by liquitt
man, i have to get going on this...

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Sun Feb 02, 2014 11:05 pm
by Kalifornia Jani
https://github.com/DeltaResero/

newest kernel patches for wii and gamecube found on the net :)

2 years ago I used cross compiler with kubuntu to build kernels on amd64 architechture, but now i only use my powermac g4 with debian 7.0, I could try to update my rootfs, but chrooting doesnt work anymore...any tips on chrooting (with debian) filesystem turorials maybe?

Re: GC Linux - RootFS on SD + SDHC SUPPORT!!

Posted: Mon Sep 19, 2016 3:12 am
by Sierron
Does someone have the files for the gamecube linux? Wanted to try it out myself, but all the files from op are dead except for the one uploaded on this forum. infacts zip is also a dead link. :(