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: Fri, 12 Nov 2004 15:53:21 -0800	[thread overview]
Message-ID: <c3d0340b041112155334118395@mail.gmail.com> (raw)

Hi,

I have built a uClinux kernel image vmlinux and the header information
is dumped here by objdump. I want to make a uImage to let u-boot start
linux and am confused about the values of load address and entry
point. If the uImage is built from raw binary linux.bin, the load
address and entry point should be set to 0. Right? If it is built from
vmlinux, the entry point in my case should be 0x00008000, what' should
be the load address?

Thanks,
-Shawn.

vmlinux:     file format elf32-littlearm

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .init         00011000  00008000  00008000  00008000  2**5
                  CONTENTS, ALLOC, LOAD, CODE
  1 .text         0014e7c0  00019000  00019000  00019000  2**5
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 __ex_table    000009b8  001677c0  001677c0  001677c0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 __ksymtab     00000000  00168178  00168178  0017f720  2**0
                  CONTENTS
  4 __ksymtab_gpl 00000000  00168178  00168178  0017f720  2**0
                  CONTENTS
  5 __kcrctab     00000000  00168178  00168178  0017f720  2**0
                  CONTENTS
  6 __kcrctab_gpl 00000000  00168178  00168178  0017f720  2**0
                  CONTENTS
  7 .data         0001570c  0016a000  0016a000  0016a000  2**5
                  CONTENTS, ALLOC, LOAD, DATA
  8 .bss          000117d4  0017f720  0017f720  0017f720  2**5
                  ALLOC
  9 .debug_abbrev 00051055  00000000  00000000  0017f720  2**0
                  CONTENTS, READONLY, DEBUGGING
 10 .debug_info   01ab2fc5  00000000  00000000  001d0775  2**0
                  CONTENTS, READONLY, DEBUGGING
 11 .debug_line   00243022  00000000  00000000  01c8373a  2**0
                  CONTENTS, READONLY, DEBUGGING
 12 .debug_pubnames 00011e0c  00000000  00000000  01ec675c  2**0
                  CONTENTS, READONLY, DEBUGGING
 13 .debug_aranges 000035b0  00000000  00000000  01ed8568  2**0
                  CONTENTS, READONLY, DEBUGGING

             reply	other threads:[~2004-11-12 23:53 UTC|newest]

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