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

T Michael Turney tmike at recipes4linux.com
Fri Oct 8 17:06:23 CEST 2004


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 at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Farrukh Masood
  Sent: Friday, October 08, 2004 6:22 AM
  To: u-boot-users at 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 at denx.de> wrote:
    In message <20041007160300.20228.qmail at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20041008/62becb8a/attachment.htm 


More information about the U-Boot mailing list