From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Unable to run Standalone applications on NGW100
Date: Thu, 02 Oct 2008 18:14:37 -0400 [thread overview]
Message-ID: <48E547CD.6050102@gmail.com> (raw)
In-Reply-To: <2a84937c0810012239r71572c34s9b7139d60fc82831@mail.gmail.com>
Martin Mroz wrote:
> Hello,
> I wanted to write in to ask if there was something I was doing wrong, with
> respect to running standalone applications on U-Boot on an ATNGW100 (AVR32).
> I uploaded one of the test programs (hello_world) to the SDRAM (0x10000000)
> and verified the contents of memory, as compared to the source file and it
> matched up perfectly. However when I attempt to "go 0x10000000" it just
^
One of these things is not like the other
> crashes and burns:
>
> U-Boot> go 0x10400000
^ One of these things doesn't belong
> ## Starting application at 0x10400000 ...
^
> *** Unhandled exception 3 at PC=0xea000000
^^^^^^^^
If you guessed this thing is not like the others...
> Bus error at address 0x902901ff
> pc: ea000000 lr: 10400012 sp: 11f6cb2c r12: 000000ea
> r11: 11f6ce90 r10: 11f6ce90 r9: 10400000 r8: 000000c3
> r7: 00000002 r6: 11fc97ec r5: 11f6cfa0 r4: 0000895c
> r3: 11f6ce90 r2: 11f6ce90 r1: 00000000 r0: 00000000
> Flags: qvnZc
> Mode bits: hrje....g
> CPU Mode: Supervisor
>
> Stack pointer seems bogus, won't do stack dump
> Unhandled exception
> ?
>
> LR=0x10400012 means that the error occured at:
>
> /* Print the ABI version */
> app_startup(argv);
> 4: 16 9c mov r12,r11
> 6: 16 93 mov r3,r11
> 8: e0 6e 00 00 mov lr,0
This looks like an unlinked disassembly of the .o which means that the
00 00 argument is not real. You cannot tell much from this.
Check the FAQ, it probably applies:
<http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork>
Good luck,
gvb
prev parent reply other threads:[~2008-10-02 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-02 5:39 [U-Boot] Unable to run Standalone applications on NGW100 Martin Mroz
2008-10-02 22:14 ` Jerry Van Baren [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=48E547CD.6050102@gmail.com \
--to=gvb.uboot@gmail.com \
--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