> To: gc-linux-devel@...
> From: Samuli Tuomola <samuli@...>
> Date: Thu, 22 Jan 2004 15:53:55 +0200
> Subject: [Gc-linux-devel] Re: (no subject)
> Reply-To: gc-linux-devel@...
> ahammond@... wrote:
>> Back on topic, I have a bootloader running on the cube that
>> decompresses and runs the kernel. Pics are on my site
>> http://www.nomad-consultancy.co.uk .... the direct link to the pic is
>> http://www.nomad-consultancy.co.uk/cubieshot1.gif . There isnt a lot
>> on my site yet.
>> And although the screenshot is running in dolwin, it runs on a real
>> cube too :)
>> -Alan Hammond
> Hey that's great, I was just looking for a place to start when I heard
> about this post. A patch would be greatly appreciated :).
Heh, thanks :) I've just updated it, and diffs's are uploading as we
speak. Give em 5 min and they'll be up..
> Heh, thanks :) I've just updated it, and diffs's are uploading as we
> speak. Give em 5 min and they'll be up..
Oh, hey thanks, didn't notice this post at first. Yep, seems to apply
with few offsets to 2.6.1 also, except for one Makefile, but that's
trivial just need to copy the image offsets in place by hand. Thanks,
great work :), is there something particular that you'll continuing the
To anyone who wants to try this but is not familiar with linux kernel or
just wants a jumpstart, make sure you have devkitcube crosscompiler from
http://heliscar.com/greg/ (there's one with better build environment and
couple of samples at http://www.hangar-eleven.de/en/) and that shell is
able to find it (export PATH=/usr/local/devkitcube/bin:$PATH).
Then go to your kernel tree, do "make mrproper; patch -p1
<../patchfile.diff" (fix arch/ppc/boot/simple/Makefile according to
Makefile.rej if you're using 2.6.1), do the "powerpc-eabi-elf-gcc -r -o
built-in.o *[^w].c" in arch/ppc/cube/mygcn as Alan says on his webpage,
then back to kernel root, "cp .config2 .config; make menuconfig", save
and "make", if you want a .dol to run on the cube, do
"powerpc-eabi-elf-objcopy -O binary zImage.elf zImage.elf.dol" in
arch/ppc/boot/images/, good luck :).
Samuli Tuomola wrote:
> trivial just need to copy the image offsets in place by hand.
Meant the entrypoints of course, are both of those processors found in
gamecubes? Got mine just last week, still need to spend some time with
Samuli Tuomola wrote:
> devkitcube crosscompiler from
> http://heliscar.com/greg/ (there's one with better build environment and
> couple of samples at http://www.hangar-eleven.de/en/)
Oops, the latter one was of course a revision of the libogc sdk, was
hassling around at work trying to get things done and still have time to
go to the store so didn't notice the mix up :).
It seems like things are happening fast at http://gc-linux.org/down/
with tmbinc's patch, guess I'll be stepping back, letting the dust
settle and waiting for something solid to sink the teeth in, maybe work
on some game code meanwhile.