public inbox for u-boot@lists.denx.de
 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:52:53 -0800	[thread overview]
Message-ID: <c3d0340b04111416523823dd6@mail.gmail.com> (raw)
In-Reply-To: <c3d0340b041114165024687b3f@mail.gmail.com>

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

Sorry for some typo. I mean {ZRELADDR} should be set to 0x00108000.
{ZRELADDR} always ends with 0x8000 for ARM.

-Shawn.

      reply	other threads:[~2004-11-15  0:52 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
2004-11-15  0:52     ` Shawn [this message]

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=c3d0340b04111416523823dd6@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox