Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Gamecube
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Sat Jul 31, 2004 7:02 pm    Post subject: Gentoo on Gamecube Reply with quote

I have it running ;-)

I'm going from Stage1->Stage2 right now. I'm pretty slow since / is networked, but it seems to be working. Using the standard ppc build. I'll let you when the complete system is up.
Back to top
View user's profile Send private message
jjasghar
Guru
Guru


Joined: 07 Mar 2004
Posts: 342
Location: $HOME=/usa/tx/austin

PostPosted: Sat Jul 31, 2004 7:58 pm    Post subject: Reply with quote

thats bad ass, congrats
_________________
#include <LinuxUser #324070>
main()
{
printf("and i'm sorry my spellign sucs.");
}
Back to top
View user's profile Send private message
bennettp
Guru
Guru


Joined: 22 Feb 2004
Posts: 335
Location: on my back and tumbling

PostPosted: Sat Aug 07, 2004 2:54 pm    Post subject: Reply with quote

nice work!

any chance of posting a quick howto?
_________________
Registered Linux User #363420
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Tue Aug 10, 2004 2:48 pm    Post subject: Reply with quote

Actually I put the work on hold when moving from Stage2->Stage3.

The problem is I've been running out of memory. The cube has 24 megs of RAM and after the kernel is loaded only about 21 is usable. You have 16 megs of ARAM of which 2 is used for the sound driver and the other 14 is used for swap. To compile C++ apps you need some major memory. So I setup an NBD and used that for some additional swap. The problem right now is that the network card only runs at 10 Mbps which is causing some major lag. All the files are on the network AND your swap is on the network. So the system is constantly firing packets back and forth at a very slow rate. I am doing some kernel work and when I get the interface up and running at 100 Mbps I will continue the installation!
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Aug 13, 2004 8:52 am    Post subject: Reply with quote

how did you do this did you do it using psoload or what ?
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Tue Aug 17, 2004 3:03 pm    Post subject: OK It's installed Reply with quote

OK I installed it successfully now.

I used a Stage3 installation this time instead of going from 1->3. I emerging everything and I'm up to date. GCC failed so I'm still stuck at 3.2.3 instead of 3.3.3 but I think I might try another version to see if it works.

And yes I used psoload to get it to work. I used the debian base image as my default, and then installed gentoo in the /mnt directory that I chroot'd to. I extracted the stage3 PPC installation there.
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minnetonka, Minnesota

PostPosted: Tue Aug 17, 2004 7:41 pm    Post subject: Reply with quote

can i ask why you installed gentoo on the gamecube, keep in mind i am new at this so go easy on me for asking a stupid question.
Back to top
View user's profile Send private message
SkizotD
n00b
n00b


Joined: 13 Jan 2004
Posts: 52
Location: Athens, Ohio

PostPosted: Tue Aug 17, 2004 7:44 pm    Post subject: Reply with quote

zecora wrote:
can i ask why you installed gentoo on the gamecube, keep in mind i am new at this so go easy on me for asking a stupid question.


why not?
Back to top
View user's profile Send private message
ddew
n00b
n00b


Joined: 29 Mar 2004
Posts: 10

PostPosted: Wed Aug 18, 2004 6:54 am    Post subject: Reply with quote

A perfectly acceptable answer would be: "Because I could" :)

I've done that kind of installs like a million times, everything from old sparcs to old powermacs. It's not really useful or everything but it's possible. Therefor it had to be done. :twisted:
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Wed Aug 18, 2004 7:57 pm    Post subject: Reply with quote

It's kinda neat to be the only person in the world to have it up and running?
Back to top
View user's profile Send private message
Rotonen
n00b
n00b


Joined: 05 Nov 2003
Posts: 39
Location: Kotka, Finland

PostPosted: Wed Aug 18, 2004 8:04 pm    Post subject: Reply with quote

The only logical next step is to have a NES emulator running on it.. :)
Back to top
View user's profile Send private message
jjasghar
Guru
Guru


Joined: 07 Mar 2004
Posts: 342
Location: $HOME=/usa/tx/austin

PostPosted: Wed Aug 18, 2004 9:32 pm    Post subject: Reply with quote

Rotonen wrote:
The only logical next step is to have a NES emulator running on it.. :)


the kids got a point 8) but don't forget the snes and other great emulators for nintendo
_________________
#include <LinuxUser #324070>
main()
{
printf("and i'm sorry my spellign sucs.");
}
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Thu Aug 19, 2004 2:48 am    Post subject: Reply with quote

Most definitely.

This weekend I will get a custom SDL and Snes9X that works well with the Cube. I need to find an NES emulator that works with the framebuffer though.
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Thu Aug 19, 2004 3:04 pm    Post subject: Reply with quote

OK I managed to get gcc-3.3.4 installed after I updated binutils and gcc-config. Now I'm building an updated glibc. Then I'll have a up to date system!
Back to top
View user's profile Send private message
Rotonen
n00b
n00b


Joined: 05 Nov 2003
Posts: 39
Location: Kotka, Finland

PostPosted: Tue Aug 24, 2004 6:13 pm    Post subject: Reply with quote

Perhaps you could do a website about your project with some photos and guidelines for others to achieve the same as you? :)

Too bad I don't own a GC, I'd install Gentoo on it too to run Nintendo emulators.. :twisted:
Back to top
View user's profile Send private message
Cool Matty
n00b
n00b


Joined: 28 Aug 2004
Posts: 5

PostPosted: Sat Aug 28, 2004 1:26 am    Post subject: Reply with quote

Doesn't the cube run on a version of ATI's radeon chipset? In other words, you should be able to hack a radeon driver into it, and use OpenGL instead of framebuffer. Lots of emulators support OpenGL instead of others, including Snes9X.
Back to top
View user's profile Send private message
chINeSe mIDgEts
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 209
Location: look behind you

PostPosted: Mon Aug 30, 2004 7:34 am    Post subject: Reply with quote

umm is there like a specialy way that one would go about doing this, like <peers over at my gamecube>could you please go through what you did to setup the installation process ( i can obviously install it myself :wink: )
_________________
...it must have been very demanding having to learn how to use Microsoft Office, right up there with other lofty challenges like learning how to zip your fly without getting your dick caught.
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Wed Sep 08, 2004 5:51 pm    Post subject: Reply with quote

The cube DOES NOT have a Radeon compatible video card. The chip is custom by ArtX (which got bought out by ATi AFTER the chip was finalized). I have the documentation and I am thinking about writing an OpenGL implementation for it. I am working on hacking fceultra to work with the 3D instead of the 2D framebuffer. Once the 3D stuff is working I am going to get Snes9X running on it using the 3D hardware.
Back to top
View user's profile Send private message
agnitio
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 136

PostPosted: Sun Jan 09, 2005 9:50 pm    Post subject: Reply with quote

I would also like a brief description on how you got it working. I'm using the kernel att www.gc-linux.org and I got their Debian NFS-root working. But I'm totally unfamilliar with debian so I would like to use gentoo instead. It seems that some tweaking is necessary to get the init-scripts running.
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Tue Jan 11, 2005 11:29 pm    Post subject: Reply with quote

agnitio: Congrats on becoming the second person to having a working Gentoo system on their cube. BTW I also go by the handle Scream|CT.....

;-)
Back to top
View user's profile Send private message
agnitio
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 136

PostPosted: Wed Jan 12, 2005 12:09 pm    Post subject: Reply with quote

Ah, hehe. I had a feeling that it could be you, but then again, you never know. :) Thanks for the help!
It's nice to be able to play videos on the TV now, unfortunately NFS is a little slow over a wireless lan so they're a bit choppy. But it works! Also, I learned a great deal during the process.
Back to top
View user's profile Send private message
nerval
n00b
n00b


Joined: 01 Jan 2005
Posts: 43
Location: Los Angeles

PostPosted: Thu Jan 13, 2005 6:53 am    Post subject: . Reply with quote

Congrats to all who could do it.

http://www.gc-linux.org/pic/linuxpreview1.jpg => This is amazing :)
Back to top
View user's profile Send private message
lappy512
n00b
n00b


Joined: 04 Feb 2005
Posts: 1

PostPosted: Fri Feb 04, 2005 4:32 am    Post subject: Reply with quote

yeah, you must have worked hard... congrats is all i can say
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 383
Location: Sigma 957

PostPosted: Mon Feb 07, 2005 9:18 pm    Post subject: Reply with quote

Paladine01 wrote:
OK I installed it successfully now.

Out of mild curiosity, mind posting the output of the following commands?:

uname -a
cat /proc/cpuinfo
dmesg


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Tue Feb 08, 2005 6:12 pm    Post subject: Reply with quote

Code:

Linux gamecube 2.6.10 #85 Tue Feb 1 12:49:33 MST 2005 ppc 745/755 Nintendo GameCube GNU/Linux

Code:

processor       : 0
cpu             : 745/755
temperature     : 19-21 C (uncalibrated)
revision        : 50.20 (pvr 0008 3214)
bogomips        : 968.70
vendor          : IBM
machine         : Nintendo GameCube
cpu MHz         : 486
clock           : 486MHz
cache size      : 256 KB
bus speed       : 162 MHz
mem bus speed   : 200 MHz
bus width       : 64 bit

The CPU info was changed so that it would conform to some network-computation effort. It really isn't a 745/755, but a modified 750CXe. Apparently the program needed a valid value before it would run.
Code:

Total memory = 22MB; using 64kB for hash table (at c0220000)
Linux version 2.6.10 (root@optimus) (gcc version 3.3.4) #85 Tue Feb 1 12:49:33 MST 2005
On node 0 totalpages: 5716
  DMA zone: 5716 pages, LIFO batch:1
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=/dev/nfs nfsroot=192.168.001.001:/home/gamecube,rsize=1024,wsize=1024,nfsvers=3 video=gcnfb ip=192.168.001.251:192.168.001.001 nodevfs
PID hash table entries: 128 (order: 7, 2048 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 20400k available (1548k kernel code, 520k data, 92k init, 0k highmem)
Calibrating delay loop... 968.70 BogoMIPS (lpj=484352)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Initializing EXI interface
exi0:dev0: 10
exi0:dev1: ffff1698
exi0:dev2: 4020200
exi1:dev0: ffffffff
Thermal assist unit using timers, shrink_timer: 2000 jiffies
Initializing Cryptographic API
gcnfb: framebuffer at 0x01698000, mapped to 0xd1698000, size 1200k
gcnfb: mode is 640x480x16, linelength=1280, pages=0
Setting mode NTSC 480p
Console: switching to colour frame buffer device 80x30
Setting mode NTSC 480p
fb0: GameCube frame buffer device
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
elevator: using anticipatory as default io scheduler
ARAM info: Size = 99,Mode = 0x1,Refresh = 10223616
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
gcn-ai: Nintendo GameCube Audio Interface driver initialized
ALSA device list:
  #0: Nintendo GameCube Audio Interface
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET: Registered protocol family 1
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
      device=eth0, addr=192.168.1.251, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.1.251, domain=, nis-domain=(none),
     bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
Looking up port of RPC 100003/3 on 192.168.1.1
Looking up port of RPC 100005/3 on 192.168.1.1
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 92k init
gcn-si: Nintendo GameCube Serial Interface driver
gcn-si: Port 1: Standard Pad
gcn-si: Port 2: Not Present
gcn-si: Port 3: Not Present
gcn-si: Port 4: Not Present
nfs warning: mount version older than kernel
Adding 16376k swap on /dev/aram.  Priority:-1 extents:1

Code:

gamecube root # cat /proc/interrupts
           CPU0
  4:     122728   FLIPPER-PIC  Edge      EXI
  6:          3   FLIPPER-PIC  Edge      ARAM, gcn-ai
  8:       8992   FLIPPER-PIC  Edge      VI Line
  9:          0   FLIPPER-PIC  Edge      PE Token
 10:          0   FLIPPER-PIC  Edge      PE Finish
 11:          0   FLIPPER-PIC  Edge      CP FIFO
BAD:          0

Code:

gamecube proc # cat iomem
01658000-01697fff : GX FIFO
01698000-017c3fff : Framebuffer
cc006400-cc006500 : gcn-si
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum