linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Bob Beck <beck@assurtech.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Question about linker -Ttext option
Date: 09 Mar 2004 14:10:26 +1400	[thread overview]
Message-ID: <1078791026.4208.9.camel@budweiser> (raw)


In the arch/ppc/boot directory, one of the linker
options is "-Ttext 0x00800000".


What does this mean ?

The base virtual address of the kernel is c0000000.

I've been using my own hand-rolled bootloader to
load the zImage.bin file into an address allocated
by the VxWorks malloc and jumping to that address.

Second question.

arch/ppc/boot/simple/head.S says it expects the load address
in r3. It seems strange that it would need its own (start)
starting address. What is this routine expecting ?


Regards,
Bob Beck


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

                 reply	other threads:[~2004-03-09  0:10 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=1078791026.4208.9.camel@budweiser \
    --to=beck@assurtech.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).