All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn <shawnxjin@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] uImage's load address and entry point?
Date: Sun, 14 Nov 2004 16:50:09 -0800	[thread overview]
Message-ID: <c3d0340b041114165024687b3f@mail.gmail.com> (raw)
In-Reply-To: <20041113193032.48E9AC1430@atlas.denx.de>

> > vmlinux, the entry point in my case should be 0x00008000, what' should
> > be the load address?
> 
> load address and entry point address do NOT depend on which image you
> use for building the U-Boot image (actually the only choice you  have
> is  using the raw binary or the compressed raw binary). They depen on
> your kernel's memory map, and nothing else.

I noticed that the load address and entry point are all set to
${ZRELADDR} in both arch/armnommu/boot/Makefile and
arch/arm/boot/Makefile. In my case (CM946E and Integrator CP) the
memory map is as follows.

0x00000000    ---    Flash (alias)
0x00100000    ---    SDRAM (128M)
0x10000000    ---    CM control registers
0x24000000    ---    Flash (16M)

At reset the top 256K (0x24FC0000 - 0x24FFFFFF) of flash is mapped to
address 0x0.

So ${ZRELADDR} should be set to 0x00180000, right? Thus the load
address and entry point are both set to 0x00180000. Right?

Thanks,
-Shawn.

  reply	other threads:[~2004-11-15  0:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12 23:53 [U-Boot-Users] uImage's load address and entry point? Shawn
2004-11-13 19:30 ` Wolfgang Denk
2004-11-15  0:50   ` Shawn [this message]
2004-11-15  0:52     ` Shawn

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=c3d0340b041114165024687b3f@mail.gmail.com \
    --to=shawnxjin@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.