Generated xilinx linux 2.6 image sections

Grant Likely grant.likely at
Tue Jan 22 04:16:44 EST 2008

On 1/21/08, greenlean <jmgomez at> wrote:
> Hi all,
> I'm trying to boot the 2.6 xilinx kernel downloaded from their git server in
> the XUPV2P board I'm really having troubles (I can't see anything in the
> minicom console terminal). I'm not seeing anything, neither the ucompressing
> kernel string nor the prompt with the memory addresses that kernel prompt at
> first time, so I have started to distrust of anything.
> When I download the kernel using xmd, I see:
> XMD% dow imagen_UART16550_ml300.elf
>         section, .text: 0x00400000-0x0040387b
>         section, .data: 0x00404000-0x004e6fff
>         section, .bss: 0x004e7000-0x004e919f
> Downloaded Program imagen_UART16550_ml300.elf
> Setting PC with Program Start Address 0x00400000
> I suppossed this is because the image kernel is compressed, but despite
> beeing compressed it should have a boot section or something similar ???
> It's right that the kernel start address is set to the 0x00400000??
> Or does the section .text  contains all the kernel code to uncompresse the
> code of the kernel??

Yes; what you're seeing is the sections for the boot wrapper; not for
the kernel itself.  The bootwrapper carries a compressed kernel image
as it's payload (notice how large the .data section is?).  To see the
sections on the kernel proper, use readelf on the vmlinux file in the
kernel tree.


Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

More information about the Linuxppc-embedded mailing list