
Dear all,
I'm try to execute hello_world standalone after booting u-boot.
In examples/Makefile, I found load address where I'm loading hello_world.bin (via tftp).
ifeq ($(ARCH),arm) LOAD_ADDR = 0xc100000 endif
OK6410 # bootelf c100000
## No elf image at address 0x0c100000
OK6410 # go c100000
## Starting application at 0x0C100000 ...
<<< No response from here >>>
I also check with objdump as,
arm-linux-objdump -d hello_world | less
And found:
0c100000 <hello_world>.
Can any one suggest me if I'm wrong in any process to execute standalone binary from u-boot ?
Viral

Dear Viral Sachde,
In message CAK=rKYjoaiqJomwEnxziDgxVbBvHK8DFJh6xJ1Q24V-CmcOo=g@mail.gmail.com you wrote:
I'm try to execute hello_world standalone after booting u-boot.
In examples/Makefile, I found load address where I'm loading hello_world.bin (via tftp).
Load address != entry point address.
Can any one suggest me if I'm wrong in any process to execute standalone binary from u-boot ?
It appears you did not read the documentation. See the FAQ, especially this one: http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk

On Mon, Apr 9, 2012 at 11:32 PM, Wolfgang Denk wd@denx.de wrote:
Dear Viral Sachde,
In message CAK=rKYjoaiqJomwEnxziDgxVbBvHK8DFJh6xJ1Q24V-CmcOo=g@mail.gmail.com you wrote:
I'm try to execute hello_world standalone after booting u-boot.
In examples/Makefile, I found load address where I'm loading hello_world.bin (via tftp).
Load address != entry point address.
Can any one suggest me if I'm wrong in any process to execute standalone binary from u-boot ?
It appears you did not read the documentation. See the FAQ, especially this one: http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk
Dear Wolfgang Denk,
I forgot to mention but I did tried -nm too as below:
arm-linux-nm -n hello_world 0c100000 T hello_world
Let me know if you have any other suggestion.
Viral
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Neckties strangle clear thinking. -- Lin Yutang

Dear Viral Sachde,
In message CAK=rKYiV-kmkkKUrjLA6V33ETE6wMiwf3ebSLp1=cc_9LCNnYw@mail.gmail.com you wrote:
I forgot to mention but I did tried -nm too as below:
arm-linux-nm -n hello_world 0c100000 T hello_world
What is the memory map on your system?
Maybe you provide a bit more information - like which processor and board we are talking about? And which exact version of U-Boot you use?
Best regards,
Wolfgang Denk
participants (2)
-
Viral Sachde
-
Wolfgang Denk