From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] running custom apps under uboot
Date: 24 Feb 2004 03:22:38 +0100 [thread overview]
Message-ID: <87k72drzbl.fsf@deepthought.outer.space.org> (raw)
In-Reply-To: <403A69EE.6000101@email.si>
The keyboard of himbA <goavr@email.si> wrote:
> 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 ?
Tftp will transfer the file byte by byte so the srec ASCII will end
up in RAM - I doubt that you can run that. Try the hello_world.bin
binary file intended for this purpose.
Cheers
Detlev
--
Two monks went fishing in an electron river. The first monk drew out his
network, and out flopped a hacker. The second monk cried, "The poor hacker!
How can it live outside of the network?" The first monk said, "When you
have learned to live outside the network, then you will know."
prev parent reply other threads:[~2004-02-24 2:22 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
2004-02-23 21:45 ` Wolfgang Denk
2004-02-24 2:22 ` Detlev Zundel [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=87k72drzbl.fsf@deepthought.outer.space.org \
--to=dzu@denx.de \
--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