From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 2 Dec 2011 18:12:12 +0100 Subject: [U-Boot] Beginner In-Reply-To: <505566b13ec16ca5d4256611c97a39cd.squirrel@195.88.32.193> References: <352574fd0fa8116cb8b5983f80b1bb7b.squirrel@195.88.32.193> <201112021058.22612.marek.vasut@gmail.com> <505566b13ec16ca5d4256611c97a39cd.squirrel@195.88.32.193> Message-ID: <201112021812.12530.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de _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 : [] 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