[U-Boot] Beginner
Marek Vasut
marek.vasut at gmail.com
Fri Dec 2 18:12:12 CET 2011
_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
More information about the U-Boot
mailing list