Gamecube running Linux.


Recommended Posts

This is cool! It was bound to happen sometime and its coming along great. The GCN running Linux.

This write up is from <<MaxConsole click here for the source>>>

With the GC linux making progress everyday there will be news here everytime there is an update from

and downloads here

The goal of the GameCube Linux project is to port the Linux operating system to the GameCube gaming console.

Motivation

Certainly the GameCube is not a full computer. It has no hard disk, and there is no possibility to read standard CDs or DVDs. Still, there are some reasons why you would want to run Linux on a GameCube.

Thin Client

A thin client is a computer that is supported by a stronger server. A GameCube could be used as a desktop computer, which stores its data on a server on the network.

Multimedia Terminal

The GameCube has a CPU that is powerful enough to decode common multimedia data like MPEG-4/DivX and MP3. It can server as a display unit for content stored on a server.

Development Environment

Professional GameCube developers use Metrowerks Codewarrior as a compiler, and a quite simple set of Nintendo libraries as a runtime environment. Homebrew developers currently have no choice other than using GCLIB, an Open Source library for the GameCube, which is quite advanced, but nevertheless only provides a DOS-like, flat environment.

With Linux available for the GameCube, developers can target the powerful Linux environment and make use of technologies such as SDL or OpenGL, without the user needing to know about it. This also makes it a lot easier to port existing applications to the GameCube. In addition, developers can test their code on more powerful hardware, such as Apple Macintosh computers running Linux.

Goals

These are the milestones we want to meet:

a .DOL bootloader

the Linux kernel booting on the GameCube

a framebuffer driver

an EXI driver

a network driver

a memory card driver

an RTC driver

an SRAM driver

a SI driver

a gamepad driver

an audio driver

an AUX memory driver

an X-Window driver

3D support for the X-Window driver

.DOL Bootloader

PSOload already makes it possible to load GameCube executables in .DOL format and run them. A .DOL bootloader is supposed to run a Linux kernel and an initial RAM disk, which are both linked into the .DOL file.

Linux Kernel

In order for the kernel to work, the timer and the interrupt controller of the GameCube's Flipper chipset need to be supported. Everything else should run out of the box.

Framebuffer Driver

The framebuffer driver is needed to show the Linux text console on the screen. Without a dedicated X-Window driver, the framebuffer driver can also be used for X-Window. The GameCube framebuffer is located in main RAM, so the bootloader will have to reserve this memory at the very beginning.

EXI driver

The Expansion Interface (EXI) bus is a three-channel serial bus that connects the CPU to the memory card slots, the serial ports, the mask ROM, RAM and the RTC.

Network Driver

Nintendo sells the Broadband Adapter for the GameCube, which is a 10/100 Ethernet interface with a Macronix chipset. It connects to serial port 1 and is thus connected to the EXI bus.

Memory Card Driver

Memory cards are connected to the EXI bus as well. A driver to access the raw data, as well as additional code to read and write the structures stored on it is needed.

RTC Driver

The GameCube real-time clock on the EXI bus needs to be used as the Linux hardware clock.

SRAM Driver

The SRAM (NVRAM/CMOS RAM) holds non-volatile configuration. A Linux driver to access this data is needed, so that applications can read these settings.

SI Driver

The Serial Interface is a bus that connects each gamepad through a separate channel to the CPU.

Gamepad Driver

The driver for the gamepad needs to be versatile enough to either be a keyboard driver, or a mouse driver (or both), or a joystick driver.

Audio Driver

The GameCube has a very sophisticated 81 MHz DSP that can use the AUX memory for storage.

AUX Memory Driver

The additional 16 MB of AUX memory might be too much for some applications, so it makes sense to make parts of it available as a RAM disk, which can also be used as swap space to effectively increase the amount of main RAM.

X-Window Driver

A native X-Window driver will speed up graphics compared to a kernel framebuffer driver. In addition, it serves as a base for 2D and 3D acceleration.

3D Support for X-Window

Once we have an X-Window driver, code that redirects 3D operations to the graphics processor can be implemented in it, in order to have hardware-accelerated OpenGL.

For more information check out this site.

<<<GCN and Linux>>>

Link to comment
https://www.neowin.net/forum/topic/139158-gamecube-running-linux/
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Never fails to surprise me that Nvidia continually release drivers with "Known Issues". Surely they have the staff on hand to fix these issues before release as they have made bucket loads of cash over the years.
    • Microsoft announces new Surface Laptop with 5G by Taras Buria In late January 2025, Microsoft announced two new Surface computers for business customers: the Surface Laptop and the Surface Pro, both powered by Intel's latest Core Ultra 200 Series processors. Back then, Microsoft promised to release an optional Surface Laptop configuration with 5G connectivity, and today, the company is finally delivering one of the most requested features from business customers. The Surface Laptop 5G (that's the name) is now official. This 13.8-inch laptop is the same as its non-cellular siblings, with the only difference being 5G support with Nano SIM and eSIM compatibility. However, as Microsoft says in the announcement post, equipping a laptop with 5G is not just putting a modem inside. Microsoft had to carefully engineer a so-called "dynamic antenna system" that adapts to the environment and ensures the best reception by having six strategically placed antennas. The laptop can seamlessly switch between cellular connection and Wi-Fi to ensure uninterrupted connection. Also, it can work as a mobile hotspot for other devices in areas where Wi-Fi is not available. Unlike other laptops with antennas near the bottom of the device, the Surface Laptop 5G has its antennas placed higher for reduced interference. Microsoft also developed a new case material, multi-layered laminate, that allows radio signals to pass through without reducing performance, while still delivering the durability, lightness, and premium feel of Surface products. Like the rest of modern Surface devices, the Surface Laptop 5G is a Copilot+ PC with Intel's NPU that enables various AI-powered experiences and features such as Recall, Click to Do, and more. The Surface Laptop 5G will be available on August 26, 2025. In addition to the Surface Laptop 5G, Microsoft is launching the recently announced Surface Laptop 13-inch and Surface Pro 12-inch for business customers.
    • This ChatGPT & Automation E-Degree is still only $19.97 by Steven Parker ChatGPT via Depositphotos.com Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where for only a limited time you can save 97% on this ChatGPT & Automation E-Degree. Immerse yourself in a transformative learning experience with these 12 captivating courses, featuring over 25 hours of engaging content that will redefine the way you perceive the digital landscape. Embrace the future with ChatGPT and unlock the potential of more than 20 indispensable AI tools tailored for today's dynamic challenges in marketing, business, and coding. Embark on a journey of skill enhancement and future-proof your career with our e-degree. Get ready to shape the future with knowledge, innovation, and the best AI tools available today! Access 12 lectures & 25 hours of content 24/7 Explore practical applications & real-world scenarios tailored to your professional domain Gain valuable experience that can be directly applied to your professional endeavors Learn the art of customization as you tailor ChatGPT to meet the unique demands of various industries Unleash your full potential in diverse professional settings Master the art of streamlining business processes through automation, enhancing efficiency, and ensuring optimal resource utilization Gain insights into powerful techniques that transform raw data into compelling visual narratives Discover how AI can amplify your creativity & contribute to groundbreaking projects Elevate your communication skills by mastering conversations with ChatGPT Explore the intersection of AI & data visualization Gray Scale Photo of Gears via PexelsGood to know Length of time users can access this course: lifetime Access options: desktop & mobile Redemption deadline: redeem your code within 30 days of purchase Experience level required: beginner Updates included Certificate of Completion ONLY Lifetime access to the ChatGPT & Automation E-Degree normally costs $790, but you can pick it up for just $19.97 for a limited time, that's a saving of $770 (97%) off the normal price! For full details, terms, and instructor info for the above courses, click the link below. Get this ChatGPT & Automation E-Degree course for just $19.97, or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • too many new dev's just dumping crap to live, its happening all over...... we have entire dev op's procedures before live code gets touched
  • Recent Achievements

    • Week One Done
      SmileWorks Dental earned a badge
      Week One Done
    • Community Regular
      vZeroG went up a rank
      Community Regular
    • Collaborator
      Snake Doc earned a badge
      Collaborator
    • Week One Done
      Snake Doc earned a badge
      Week One Done
    • One Month Later
      Johnny Mrkvička earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      594
    2. 2
      Michael Scrip
      197
    3. 3
      ATLien_0
      192
    4. 4
      +FloatingFatMan
      131
    5. 5
      Xenon
      122
  • Tell a friend

    Love Neowin? Tell a friend!