forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trouble cross compiling kernel with ps2dev's toolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
Erroneous



Joined: 16 Feb 2008
Posts: 2

PostPosted: Sat Feb 16, 2008 7:04 pm    Post subject: Trouble cross compiling kernel with ps2dev's toolchain Reply with quote

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

I added the built ppu and spu bin directories to my $PATH and added
Code:
ARCH=powerpc
CROSS_COMPILE=ppu-

to the top of the Makefile. I ran
Code:
make ps3_defconfig
make menuconfig
(removed module loading support, saved)
make

and I get the following error:
Code:
  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?
Back to top
View user's profile Send private message
Erroneous



Joined: 16 Feb 2008
Posts: 2

PostPosted: Wed Feb 20, 2008 8:31 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group