From: Wolfgang Denk Date: Wed, 13 Jun 2007 23:26:40 +0200 Subject: [U-Boot-Users] U-Boot 1.2 - Cannot run hello_world - Coldfire In-Reply-To: Your message of "Wed, 13 Jun 2007 14:01:29 PDT." <200706132101.OAA10296@unix.telasic.com> Message-ID: <20070613212640.01008352681@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <200706132101.OAA10296@unix.telasic.com> you wrote: > I have a target board with a Coldfire CPU. I am unable to run the > example program > hello_world which comes with the distribution. Transcript of session is > below. What > am I missing? The cross compile tools were run on Linux (FC 7), You missed to read the documentatiomn, especially the FAQ: http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." - George Bernard Shaw From "abiyani at unix dot telasic dot com" at unix.telasic.com Wed Jun 13 23:47:54 2007 From: "abiyani at unix dot telasic dot com" at unix.telasic.com (Arun Biyani) Date: Wed, 13 Jun 2007 14:47:54 -0700 Subject: [U-Boot-Users] U-Boot 1.2 - Cannot run hello_world - Coldfire In-Reply-To: <20070613212640.01008352681@atlas.denx.de> References: <20070613212640.01008352681@atlas.denx.de> Message-ID: <200706132147.OAA13240@unix.telasic.com> Wolfgang Denk wrote: > In message <200706132101.OAA10296@unix.telasic.com> you wrote: > >> I have a target board with a Coldfire CPU. I am unable to run the >> example program >> hello_world which comes with the distribution. Transcript of session is >> below. What >> am I missing? The cross compile tools were run on Linux (FC 7), >> > > You missed to read the documentatiomn, especially the FAQ: > http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork > > Best regards, > > Wolfgang Denk > > On my Linux host, [examples$:1010] m68k-elf-nm hello_world 00020208 T app_startup 000222f8 A __bss_start 000201b4 T do_reset 000200ac T dummy 000222f8 A _edata 000222f8 A _end 00020164 T free 0002013c T free_hdlr 000200c4 T getc 000201c8 T getenv 0002018c T get_timer 000200b0 T get_version 000222b0 D _GLOBAL_OFFSET_TABLE_ 00020000 T hello_world <--------------- 00020128 T install_hdlr 00020150 T malloc 00020114 T printf 000200ec T putc 000200ec T putc 00020100 T puts 000201dc T setenv 000201f0 T simple_strtoul 000200d8 T tstc 00020178 T udelay 000201a0 T vprintf [examples$:1011] ----------------------------------------------------------------------------------------------------------------------------------- On my target Coldfire based board, U-Boot 1.2.0 (Jun 13 2007 - 07:36:11) CPU: Freescale MCF5272 (Mask:1) Board: Telasic RLB 2.0 DRAM: 16 MB FLASH: 32 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 -> loads ## Ready for S-Record download ... ## First Load Addr = 0x00020000 ## Last Load Addr = 0x000222F7 ## Total Size = 0x000022F8 = 8952 Bytes ## Start Addr = 0x00020000 -> go 0x00020000 ## Starting application at 0x00020000 ... *** Unexpected exception *** Vector Number: 4 Format: 04 Fault Status: 0 PC: 00ff94fc SR: 00002000 SP: 00f6daf8 D0: 00000000 D1: 0000048c D2: 00f6ded8 D3: 00000001 D4: 000000f3 D5: 00000000 D6: 00000000 D7: 00f7df90 A0: 00fed912 A1: 00ff94fc A2: 00020000 A3: 00f6ded8 A4: 00000002 A5: 00ff7300 A6: 00f6db54 *** Please Reset Board! ***