cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dargaud
Adventurer
Adventurer
3,443 Views
Registered: ‎02-26-2008

Generating elf kernel

Hello all,
In the past I've been using the PPC architecture to generate elf kernels (I wrote my own bootloader):
$ file zImage.elf
zImage.elf: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked, not stripped

I'm now trying to change to the PowerPC architecture, but the generated kernel is different and won't load:

$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-

$ file arch/powerpc/boot/zImage vmlinux
arch/powerpc/boot/zImage: u-boot/PPCBoot image

How do I generate an elf file ?
For what it's worth, I use the Xilinx-patched kernel and I (try to) load it to a flash mem using impact, but Impact refuses the generated PPCBoot image.

0 Kudos
Reply
2 Replies
linnj
Xilinx Employee
Xilinx Employee
3,439 Views
Registered: ‎09-10-2008

Have you used the information on the wiki, http://xilinx.wikidot.com as that's the best place to start?

 

Thanks.

0 Kudos
Reply
dargaud
Adventurer
Adventurer
3,330 Views
Registered: ‎02-26-2008

The solution was to use the proper argument to make: make ARCH=powerpc CROSS_COMPILE=powerpc-linux- simpleImage.virtex405-ml405
0 Kudos
Reply