public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: mac2927 <ch.muzammal@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board
Date: Sat, 6 Sep 2008 06:59:39 -0700 (PDT)	[thread overview]
Message-ID: <19346962.post@talk.nabble.com> (raw)
In-Reply-To: <200809061514.24993.luigi.mantellini.ml@gmail.com>


> Hi All,
>
> I want to run hello_world.c example with printf enable . I load tftp
> hello_world.bin using at 0x200000
>
> >tftp 0x20000 hello_world.bin
> >go 0x200000

The entry point of the program is at offset 0x0004 from the start of the
file. Try this:
tftp 0x20000 hello_world.bin
go 0x20004

Also, if this does not work. Under u-boot/examples/Makefile, check what is
the load_addr for your processor set to. Try to load app to that address.

Regards,
Muzammal


Luigi 'Comio' Mantellini-3 wrote:
> 
> Il sabato 06 settembre 2008 12:17:54 naveen yadav ha scritto:
>> Hi All,
>>
>> I want to run hello_world.c example with printf enable . I load tftp
>> hello_world.bin using at 0x200000
>>
>> >tftp 0x20000 hello_world.bin
>> >go 0x200000
> 
> the address where you load is different that the address where you jump...
> is 
> it a typo?
> 
> ciao
> 
> luigi
> 
>>
>> After this System get freeze. I am very thankfull if any body have any
>> Idea. I am using ARM 11.
>>
>> Best Regards
>> Naveen
> 
> -- 
> Luigi Mantellini
> R&D - Software
> Industrie Dial Face S.p.A.
> Via Canzo, 4
> 20068 Peschiera Borromeo (MI), Italy
> Tel.:  +39 02 5167 2813
> Fax:   +39 02 5167 2459
> Email: luigi.mantellini at idf-hit.com
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://www.nabble.com/-U-Boot--Run-hello_world.c-example-code-at-u-boot-prompt-using-ARM-Board-tp19345085p19346962.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

      reply	other threads:[~2008-09-06 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-06 10:17 [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board naveen yadav
2008-09-06 13:14 ` Luigi 'Comio' Mantellini
2008-09-06 13:59   ` mac2927 [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=19346962.post@talk.nabble.com \
    --to=ch.muzammal@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