public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Beginner
Date: Fri, 2 Dec 2011 18:12:12 +0100	[thread overview]
Message-ID: <201112021812.12530.marek.vasut@gmail.com> (raw)
In-Reply-To: <505566b13ec16ca5d4256611c97a39cd.squirrel@195.88.32.193>

_ALWAYS_ CC the mailing list!!!

> :-) thanks for asking
> 
> machine: embedded artists lpc2478 oem - arm7
> compiler: arm-none-eabi-gcc-4.3.3.exe

EXE? Uhm ...

> U-Boot: u-boot-1.1.6 with embedded artists patches

Please, update to mainline
> 
> bin file is generated with "arm-none-eabi-objcopy -O binary app.bin"
> 
> uClinux boots correctly
> 
> Thanks!
> Bart
> 
> >> Dear All,
> >> 
> >>   I'm completely new to U-Boot and trying to develop a standalone
> >> 
> >> application (developing on a Windows machine with the Code Red IDE).
> >> 
> >>   So far, I managed to start a simple application that toggles GPIOs.
> >> 
> >> However, when I try to call a function in main() the app immediately
> >> crashes or hangs.
> >> 
> >>   U-Boot reports errors like:
> >> fast interrupt request
> >> pc : [<a1f97bfc>]   lr : [<00017e58>]
> >> sp : a1fffcf0  ip : a1fadf04 fp : 7ff7f1d2
> >> r10: acd7a91e  r9 : 353a342d r8 : a1f5cf70
> >> r7 : ffffd1d4  r6 : ffffd307 r5 : ffffd197  r4 : ffffd163
> >> r3 : 20000013  r2 : ffffd14f r1 : fa47fca1  r0 : ffffd01b
> >> Flags: nzCv  IRQs on  FIQs on  Mode SVC_32
> >> Resetting CPU ...
> >> 
> >>   In what direction should I start looking to solve this?
> >>   
> >>   Your feedback is appreciated!
> >> 
> >> Thanks!
> >> Bart
> > 
> > Uhum ... so my wild guess is you have a PXA based machine ? What compiler
> > do you
> > use? What version of U-Boot ? please, be more specific.
> > 
> > M

  parent reply	other threads:[~2011-12-02 17:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02  1:44 [U-Boot] Beginner bart.deboeck at xenopz.com
2011-12-02  9:58 ` Marek Vasut
2011-12-02 14:33   ` bart.deboeck at xenopz.com
2011-12-02 16:41     ` Wolfgang Denk
2011-12-02 17:18       ` bart.deboeck at xenopz.com
2011-12-03 23:45       ` bart.deboeck at xenopz.com
     [not found]   ` <505566b13ec16ca5d4256611c97a39cd.squirrel@195.88.32.193>
2011-12-02 17:12     ` Marek Vasut [this message]
2011-12-02 17:20       ` bart.deboeck at xenopz.com

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=201112021812.12530.marek.vasut@gmail.com \
    --to=marek.vasut@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