From: Jhavk <jhavk_2000@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Hello world application running problem
Date: Sun, 31 Oct 2004 21:17:52 -0800 (PST) [thread overview]
Message-ID: <20041101051752.7411.qmail@web12010.mail.yahoo.com> (raw)
In-Reply-To: <20041031211716.71155C146B@atlas.denx.de>
Thanks for all the valuable info.
Actually i went thru the doc/README.standalone file
and theres a table which tell abt load and entry point
address of various architecture.
For arm load = 0x0c100000
entry pt = 0x0c100000.
I still have 2 doubts( hope it doesnt annoys u)
1.Cant i tftp my hello_world.bin to any valid address
of RAM eg "tftp 0x30000000 hello_world.bin"
2.How do i find out the entry point of my binary
image?
Regards,
Jhavk
--- Wolfgang Denk <wd@denx.de> wrote:
> In message
> <20041029154109.80624.qmail@web12009.mail.yahoo.com>
> you wrote:
> >
> > > I have read README.standalone. My target board
> is
> > > smdk2440(Arm 9).
> > >
> > > So i transfer hello_world using tftp to address
> > > 0x0c100000 and then call "go 0x0c100000 hello
> world"
>
> What makes you think that 0x0c100000 is the
> entry point of the
> standalone application?
>
> > > But after that the application seems to get
> stuck
> > > and
> > > nothing happens. Eventually i have to reset the
> > > board.
>
> This is because you tried to run code where none is.
> Pay attention to
> the entry point address.
>
> > > I have some doubts:
> > > 1. Which file should i send. I think it should
> be
>
> This depends on which tool or protocol you use for
> the download.
>
> > > hello_world and not the srec or bin format. I
> ran
>
> This is wrong. hello_world is an ELF file, so it may
> only be used by
> tools / protocols that understand ELF files. The
> SREC file has to be
> used by tools / protocols that understand Motorola
> S-Record files.
> The BIN file has to be used by tools / protocols
> that understand raw
> binary images.
>
> > > command on all 3 and found that hello_world is
> the
> > > one meant for ARM.
>
> Wrong again. All images (hello_world,
> hello_world.srec,
> hello_world.bin etc) are all teh same images,
> just in different
> format, depnding on which protocols or tools you
> want to use.
>
> > > 2.Is the load and start address correct? May be
> its
> > > different for ARM9?
>
> The load address ooks ok to me. The entry point is
> probably somewhere
> else.
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> See us @ Embedded/Electronica Munich, Nov 09 - 12,
> Hall A.6 Booth 513
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80
> Email: wd at denx.de
> Neckties strangle clear thinking.
> -- Lin Yutang
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
next prev parent reply other threads:[~2004-11-01 5:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-29 15:41 [U-Boot-Users] Hello world application running problem Jhavk
2004-10-30 15:08 ` Detlev Zundel
2004-10-31 21:17 ` Wolfgang Denk
2004-11-01 5:17 ` Jhavk [this message]
2004-11-01 8:55 ` Wolfgang Denk
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=20041101051752.7411.qmail@web12010.mail.yahoo.com \
--to=jhavk_2000@yahoo.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