From: Lee Nipper Date: Wed, 13 Jun 2007 17:09:26 -0500 Subject: [U-Boot-Users] U-Boot 1.2 - Cannot run hello_world - Coldfire In-Reply-To: <200706132147.OAA13240@unix.telasic.com> References: <20070613212640.01008352681@atlas.denx.de> <200706132147.OAA13240@unix.telasic.com> Message-ID: <1181772566.29103.151.camel@al08linux99> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2007-06-13 at 16:47, Arun Biyani wrote: > On my Linux host, > [examples$:1010] m68k-elf-nm hello_world > 00020208 T app_startup Perhaps 20208 (app_startup) might be worth trying as an entry point... > -> go 0x00020000 As in: -> go 20208 Maybe app_startup is a wrapper for main. Just a guess. Often times systems have entry points like _start, etc which set things up and then jump to main. -Lee From "abiyani at unix dot telasic dot com" at unix.telasic.com Thu Jun 14 00:25:07 2007 From: "abiyani at unix dot telasic dot com" at unix.telasic.com (Arun Biyani) Date: Wed, 13 Jun 2007 15:25:07 -0700 Subject: [U-Boot-Users] U-Boot 1.2 - Cannot run hello_world - Coldfire In-Reply-To: <1181772566.29103.151.camel@al08linux99> References: <20070613212640.01008352681@atlas.denx.de> <200706132147.OAA13240@unix.telasic.com> <1181772566.29103.151.camel@al08linux99> Message-ID: <200706132225.PAA12316@unix.telasic.com> Lee Nipper wrote: > On Wed, 2007-06-13 at 16:47, Arun Biyani wrote: > > >> On my Linux host, >> [examples$:1010] m68k-elf-nm hello_world >> 00020208 T app_startup >> > > Perhaps 20208 (app_startup) might be worth trying as an entry point... > > >> -> go 0x00020000 >> > > As in: > > -> go 20208 > > Maybe app_startup is a wrapper for main. Just a guess. > > Often times systems have entry points like _start, etc which set things > up and then jump to main. > > -Lee > > > > Thx, Lee. Still didn't work. Transcript below. At least a graceful exit. How do I ensure there is enough stack space to run applications? -> loads ## Ready for S-Record download ... ## First Load Addr = 0x00020000 ## Last Load Addr = 0x000222F7 ## Total Size = 0x000022F8 = 8952 Bytes ## Start Addr = 0x00020000 -> go 20208 ## Starting application at 0x00020208 ... ## Application terminated, rc = 0xFF8454 -> go 20208 Hello there try this ## Starting application at 0x00020208 ... ## Application terminated, rc = 0xFF8454 ->