Generating elf kernel ?
tiejun.chen
tiejun.chen at windriver.com
Wed Sep 15 18:27:10 EST 2010
Guillaume Dargaud wrote:
>>> How do I generate an elf file ?
>> vmlinux?
>
> Thanks.
>
> The entry point address has change and I can't upload it:
> New (bad) one:
> $ readelf -h vmlinux
> ...
> Entry point address: 0xc0000000
>
> Old (good) one:
> $ readelf -h zImage.elf
> ...
> Entry point address: 0x400000
>
> How can I change the entry point address ?
It's impossible to boot PPC vmlinux format directly if you only change the
original entry point address, 0xc0000000.
For kernel the following is as default:
v:0xc0000000 --> p:0x0
Please use simpleImage.<your target dts name>.elf.
Cheers
Tiejun
More information about the Linuxppc-dev
mailing list