linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Khai Trinh <kqtrinh@yahoo.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Where to place the text section of the kernel image
Date: Wed, 29 May 2002 15:31:18 -0700 (PDT)	[thread overview]
Message-ID: <20020529223118.11673.qmail@web11504.mail.yahoo.com> (raw)


I am building the ppc kernel image for Ebony. I would
like to find out how one goes about deciding where the
place the text section of the kernel image in memory?
The output of the built had it put @0x800000. I looked
in the Makefile but couldn't find where it's
specified. More importantly, how do we decide where to
put it? The output of the makefile is shown below:

ppc_405-ld -T ../ld.script -Ttext 0x00800000 -Bstatic
-o zvmlinux head.o ../comm
on/relocate.o direct.o ../common/misc-simple.o
../common/misc-common.o ../common
/string.o ../common/util.o ../common/ns16550.o image.o
../lib/zlib.a
ppc_405-objcopy -O elf32-powerpc zvmlinux zvmlinux -R
.comment -R .stab -R .stab
str \
        -R .ramdisk -R .sysmap
cp zvmlinux ../images/zvmlinux.ebony
../utils/mktree zvmlinux ../images/zImage.ebony
0x800000

Thanks,
--Khai


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2002-05-29 22:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 22:31 Khai Trinh [this message]
2002-05-30  0:42 ` Where to place the text section of the kernel image Matt Porter

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=20020529223118.11673.qmail@web11504.mail.yahoo.com \
    --to=kqtrinh@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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).