linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ruedi.Hofer@ascom.ch
To: vanbaren_gerald@si.com
Cc: linuxppc-embedded@lists.linuxppc.org, kernel@linux01.hasler.ascom.ch
Subject: Re: Re: Re: VxWorks bootloader & PowerQUICC II, Booting the kernel
Date: Thu, 28 Sep 2000 15:04:01 +0100 (CED)	[thread overview]
Message-ID: <0G1L0034YLMTKZ@pmdf-it.hasler.ascom.ch> (raw)

[-- 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


                 reply	other threads:[~2000-09-28 14:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0G1L0034YLMTKZ@pmdf-it.hasler.ascom.ch \
    --to=ruedi.hofer@ascom.ch \
    --cc=kernel@linux01.hasler.ascom.ch \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=vanbaren_gerald@si.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).