Trouble cross compiling kernel with ps2dev's toolchain

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

Post Reply
Erroneous
Posts: 2
Joined: Sat Feb 16, 2008 6:50 pm

Trouble cross compiling kernel with ps2dev's toolchain

Post by Erroneous »

I'm trying to cross compile a kernel from Geoff Levand using the toolchain found at http://ps2dev.org/ps3/Tools/Toolchain/p ... 26.tar.bz2.

I added the built ppu and spu bin directories to my $PATH and added

Code: Select all

ARCH=powerpc
CROSS_COMPILE=ppu-
to the top of the Makefile. I ran

Code: Select all

make ps3_defconfig
make menuconfig
(removed module loading support, saved)
make
and I get the following error:

Code: Select all

  VDSO64A arch/powerpc/kernel/vdso64/datapage.o
arch/powerpc/kernel/vdso64/datapage.S: Assembler messages:
arch/powerpc/kernel/vdso64/datapage.S:59: Error: unsupported relocation against CFG_SYSCALL_MAP64
make[2]: *** [arch/powerpc/kernel/vdso64/datapage.o] Error 1
make[1]: *** [arch/powerpc/kernel/vdso64] Error 2
make: *** [arch/powerpc/kernel] Error 2
I am compiling from a i686 machine, btw, if that helps. I'm trying to use the toolchain because so far all the various kernels I've compiled won't run (ps3 beeps, red LED flashes, no other messages). Anyone got a guess for me?
Erroneous
Posts: 2
Joined: Sat Feb 16, 2008 6:50 pm

Post by Erroneous »

I switched to using the kernel from git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git. Everything compiles just fine now.
Post Reply