linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Re: Re: VxWorks bootloader & PowerQUICC II, Booting the kernel
@ 2000-09-28 14:04 Ruedi.Hofer
  0 siblings, 0 replies; only message in thread
From: Ruedi.Hofer @ 2000-09-28 14:04 UTC (permalink / raw)
  To: vanbaren_gerald; +Cc: linuxppc-embedded, kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2121 bytes --]

Hi Jerry

I did as you mentioned:

# ppc_82xx-objdump -x zvmlinux | grep _end
00406000 g     O *ABS*  00000000 __pmac_end
00406000 g     O *ABS*  00000000 __setup_end
00406000 g     O *ABS*  00000000 __prep_end
00406000 g     O *ABS*  00000000 __initcall_end
00406000 g     O .data.init     00000000 __ptov_table_end
004052f0 g     O .data  00000004 initrd_end
00406000 g     O *ABS*  00000000 __apus_end
00406000 g     O *ABS*  00000000 __init_end
00406000 g     O *ABS*  00000000 __openfirmware_end
0040b274 g     O *ABS*  00000000 _end
00406000 g     O *ABS*  00000000 __chrp_end
00406000 g     O .data.init     00000000 __vtop_table_end
#
# ppc_82xx-objcopy --set-section-flags=image=contents,alloc,load,readonly,data \
>  --adjust-section-vma=image=0x0040b274 zvmlinux zvmlinux2
BFD: zvmlinux2: warning: allocated section `image' not in segment
#
#

.. but I get this strange warning!

Therefore, the section image somehow doesn't become loadable:

# ppc_82xx-objdump -x zvmlinux2 | more

zvmlinux2:     file format elf32-powerpc
zvmlinux2
architecture: powerpc:common, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x00400000

Program Header:
    LOAD off    0x00010000 vaddr 0x00400000 paddr 0x00400000 align 2**16
         filesz 0x0000530c memsz 0x0000b274 flags rwx

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         000041ac  00400000  00400000  00010000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .rodata       00000470  004041b0  004041b0  000141b0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .data         0000030c  00405000  00405000  00015000  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  3 .data.init    00000000  00406000  00406000  00016000  2**0
                  CONTENTS
  4 .bss          00005274  00406000  00406000  00016000  2**2
                  ALLOC
  5 image         0007110b  0040b274  0040b274  0001b274  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
SYMBOL TABLE:
00400000 l    d  .text  00000000

What's wrong with my image? Do you have an idea?

Thank you

Ruedi


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-28 14:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-28 14:04 Re: Re: VxWorks bootloader & PowerQUICC II, Booting the kernel Ruedi.Hofer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).