[arch-ports] G5?

Alexander Baldeck kth5 at archlinuxppc.org
Tue Jul 1 09:13:37 EDT 2008


Steven DuBois wrote:
> How would I go about compiling my own kernel on a PPC?
> 

If you have an existing install that works on your ppc, check if your 
toolchain supports 64bit:

   $ vi test.c
     int main() {
         return 0;
     }
   $ gcc -m64 -o test test.c

If it compiles w/o complaining you should be able to build a kernel for 
powerpc64.

Your .config has to include:

CONFIG_PPC64=y
CONFIG_PPC=y

With this kernel built, install image and modules onto a usb stick, boot 
up and install arch and configure this kernel & modules for your 
preferred bootloader. Indepth knowledge about this procedure can be 
found all over the place I'm sure. ^^

Cheers,

-G





More information about the arch-ports mailing list