Search:  
Gentoo Wiki

Nintendo_Gamecube

Contents

Status

Task Status
compile kernel

Introduction

Purpose

The purpose of this tip is to describe how to get gentoo linux running on a gamecube.

PLEASE NOTE: This is a work in progress...


References

Hardware Spec

System Specifications Processors: IBM PowerPC, 486 MHz
Formfactor: GC
Chipset:
Memory type:
Maximum: 24+16MB
Video: ATI
Upgradable: no
Audio:
Supported OSes: Linux

lspci

Preparation

Installing the sw

Creating a chrooted area for the gamecube stuff.

  1. mkdir /opt/gamecube
  2. follow PPC Handbook, using /opt/gamecube instead of /mnt/gentoo
  3. emerge --pretend --verbose =vanilla-sources-2.6.21.7
  4. cd /usr/src/linux-2.6.21.7
  5. gunzip -cd < /linux-2.6.21-gc.patch.gz | patch -p1
  6. cp arch/ppc/configs/gamecube_defconfig .config
  7. make



Problems

make zImage.initrd make[2]: Warning: File `scripts/kconfig/.zconf.tab.o.cmd' has modification time 18 s in the future scripts/kconfig/conf -s arch/powerpc/Kconfig .config:149:warning: trying to assign nonexistent symbol LITE5200 .config:150:warning: trying to assign nonexistent symbol MPC834x_SYS .config:152:warning: trying to assign nonexistent symbol GAMECUBE_CONSOLE .config:153:warning: trying to assign nonexistent symbol GAMECUBE_RESET .config:200:warning: trying to assign nonexistent symbol GAMECUBE_RTC

64-bit kernel (PPC64) [N/y/?] (NEW)

Configuration

Make system

File: /etc/make.conf
# Please consult /etc/make.conf.example for a more detailed example.

MAKEOPTS="-j2"

VIDEO_CARDS=""

ALSA_CARDS=""

LINGUAS = "en"

USE_CPU_FLAGS=""

USE_CODECS=""

USE_CD=""

USE_DVD=""

USE_GRAPHICS="exif gif jpeg jpeg2k png tiff"

USE_SENSORS=""

USE_X=""

USE_DISABLE="-gtk -gnome -ipv6"
USE1="${USE_SENSORS} ${USE_MOBILE_PHONE} ${USE_CPU_FLAGS} ${USE_CODECS} ${USE_GRAPHICS} ${USE_DVD}"
USE2="alsa"
USE3="bzip2"
USE4="${USE_CD}"
USE="${USE_DISABLE} ${USE_X} ${USE1} ${USE2} ${USE3} ${USE4}"

SYNC=""

Kernel Configuration

TO BE DEFINED

Linux Kernel Configuration: General/linux-2.6.22-gentoo-r5
Processor type and features --> 
  Processor family --> 
    Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon 
Power management options --> 
Bus options (PCI, PCMCIA, EISA, MCA, ISA)  --->
  [*]   PCI Express support
Networking  --->
  <*>   IrDA (infrared) subsystem support  --->                    
  <*>   Bluetooth subsystem support  ---> 
     <*>   L2CAP protocol support
     <*>   RFCOMM protocol support
     <*>   BNEP protocol support
     Bluetooth device drivers  --->
        <*> HCI USB driver
  <*> Serial ATA (prod) and Parallel ATA (experimental) drivers
     <*>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support

Device Drivers --->

  Network device support  --->
        <*>   SysKonnect Yukon2 support (EXPERIMENTAL)
  Character devices  --->
     <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
     <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i830 driver)  --->
        (X) i915 driver
  <*> I2C support  --->
     <*>   I2C device interface 
     I2C Algorithms
        <*> I2C bit-banging interfaces
     I2C Hardware Bus support  --->
        <*> Intel 82801 (ICH)
        <*> Intel PIIX4 and compatible (ATI/Serverworks/Broadcom/SMSC)
  <*> Hardware Monitoring support  --->
     <*>   Intel Core (2) Duo/Solo temperature sensor
     <*>   Apple SMC (Motion sensor, light sensor, keyboard backlight)
  Graphics support  --->
     Display device support  ---> 
        <*> Display panel/monitor support
        <*> Support for frame buffer devices 
        <*> Intel 830M/845G/852GM/855GM/865G/915G/945G support (EXPERIMENTAL)
  Sound  ---> 
     Advanced Linux Sound Architecture  --->
       PCI devices  --->
          <*> Intel HD Audio
Bus Options --> 
 Device Drivers  --->
     ATA/ATAPI/MFM/RLL support  --->
     Input device support  --->
        [*]   Mouse  --->
     Character devices  --->
     Graphics support  --->
      Sound  --->
        <*> Sound card support 
           Advanced Linux Sound Architecture  --->


GRUB

Xorg

  1. emerge xorg-x11
  2. Xorg -configure
  3. X -config /root/xorg.conf.new
  4. cp /root/xorg.conf.new /etc/X11/xorg.conf

For a window manager and graphical login see:

File: /etc/X11/xorg.conf
# XFree86 4 configuration created by pyxf86config

rc.conf

File: /etc/rc.conf
Retrieved from "http://www.gentoo-wiki.info/Nintendo_Gamecube"

Last modified: Wed, 10 Sep 2008 06:35:00 +0000 Hits: 2,394