public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: himbA <goavr@email.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] running custom apps under uboot
Date: Mon, 23 Feb 2004 22:00:30 +0100	[thread overview]
Message-ID: <403A69EE.6000101@email.si> (raw)
In-Reply-To: <20040223193927.D80BDC0655@atlas.denx.de>

Wolfgang Denk wrote:
> In message <403A50BA.10807@email.si> you wrote:
> 
>>I would like to code standalone app under uboot that would test my eth 
>>chip.
>>I tried running hello_world.srec from ram location and I got 'prefetch 
>>abort' on go. My procedure follows:
>>tftp a0100000 hello_world.srec
>>go a0140004 test test2
>>(go a0100000 test test2)
> 
> 
> How comes you are using 0xa0100000 as load address?  Did  you  modify
> the  Makefile  so that this address gets used? The default value used
> in U-Boot for ARM systems is 0xc100000 ...
> 
I'm trying to download hello_world.srec to the memory and run it from 
the memory, as i do with the kernel. I didn't change any Makefiles nor 
any of the sources. Was it wrong to think that I could execute an image 
from the memory that way ?

> 
>>address value for go is memory location plus offset defined in Makefile. 
>>Both go commands yield an error and reset the board.
> 
> 
> Try running the code under a debugger...
> 
Yet to learn :). Going slow though.
> 
> Best regards,
> 
> Wolfgang Denk
> 
rgds, himba

  reply	other threads:[~2004-02-23 21:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23 19:12 [U-Boot-Users] running custom apps under uboot himbA
2004-02-23 19:39 ` Wolfgang Denk
2004-02-23 21:00   ` himbA [this message]
2004-02-23 21:45     ` Wolfgang Denk
2004-02-24  2:22     ` Detlev Zundel

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=403A69EE.6000101@email.si \
    --to=goavr@email.si \
    --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