[U-Boot-Users] Re: how to run hello_world

Hi! Please tell me where can i find hello_world.bin file and where should it be put on the host system to be accessible from u-boot based target system with tftpboot command.
It will be quite helpful for me if you can stepwise describe the procedure as I am unable to understand it from the denx tutorial.
thanks alot
Regards Chishti
Wolfgang Denk wd@denx.de wrote: In message 20041007160300.20228.qmail@web25404.mail.ukl.yahoo.com you wrote:
As described in u-boot readme file, to run hello_world example we have to write "loads", but this command doesnt seem to work with me and give the following msg
Unknown command 'loads' - try 'help'
Then it seems this command was not enabled in your board configuration. But you can load the file using TFTP as well.
and when i give the command go 40004 Hello World! This is a test.
following error msg appears
Ummm.. did you really expect that some magic code would spring into life and do something reasonable when you jump to this address after
--------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish.

Your system should have a root directory called /tftpboot Any file that tftp can download from your host system to your target should be in a directory under /tftpboot. Keep things simple and put hello_world.bin file directly in /tftpboot.
As for finding hello_world.bin on your system, you might try... cd / find . -name "hello_world.bin" -print
Note that above command will yield a bunch of warnings if your aren't the superuser or root user. Cheers, T.mike -----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of Farrukh Masood Sent: Friday, October 08, 2004 6:22 AM To: u-boot-users@lists.sourceforge.net Subject: [U-Boot-Users] Re: how to run hello_world
Hi! Please tell me where can i find hello_world.bin file and where should it be put on the host system to be accessible from u-boot based target system with tftpboot command.
It will be quite helpful for me if you can stepwise describe the procedure as I am unable to understand it from the denx tutorial.
thanks alot
Regards Chishti
Wolfgang Denk wd@denx.de wrote: In message 20041007160300.20228.qmail@web25404.mail.ukl.yahoo.com you wrote: > > As described in u-boot readme file, to run hello_world example we have to write "loads", but this command doesnt seem to work with me and give the following msg > > Unknown command 'loads' - try 'help'
Then it seems this command was not enabled in your board configuration. But you can load the file using TFTP as well.
> and when i give the command go 40004 Hello World! This is a test. > > following error msg appears
Ummm.. did you really expect that some magic code would spring into life and do something reasonable when you jump to this address after
---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish.

In message 20041008132154.14864.qmail@web25405.mail.ukl.yahoo.com you wrote:
Please tell me where can i find hello_world.bin file and where should it be put on the host system to be accessible from u-boot based target system with tftpboot command.
You can find it in the examples/ directory (after building u-boot), and you load it to the address it is linked for - 0x40000 in this case.
It will be quite helpful for me if you can stepwise describe the procedure as I am unable to understand it from the denx tutorial.
Maybe you explain which part of http://www.denx.de/twiki/bin/view/DULG/UBootStandalone#Section_5.12.1. you were unable to understand so we can improve the documentation.
I thought the description on this page was pretty explicit...
Best regards,
Wolfgang Denk
participants (3)
-
Farrukh Masood
-
T Michael Turney
-
Wolfgang Denk