From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 2 Dec 2011 10:58:22 +0100 Subject: [U-Boot] Beginner In-Reply-To: <352574fd0fa8116cb8b5983f80b1bb7b.squirrel@195.88.32.193> References: <352574fd0fa8116cb8b5983f80b1bb7b.squirrel@195.88.32.193> Message-ID: <201112021058.22612.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 > 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