From mboxrd@z Thu Jan 1 00:00:00 1970 From: himbA Date: Mon, 23 Feb 2004 22:00:30 +0100 Subject: [U-Boot-Users] running custom apps under uboot In-Reply-To: <20040223193927.D80BDC0655@atlas.denx.de> References: <20040223193927.D80BDC0655@atlas.denx.de> Message-ID: <403A69EE.6000101@email.si> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <403A50BA.10807@email.si> you wrote: > >>I would like to code standalone app under uboot that would test my eth >>chip. >>I tried running hello_world.srec from ram location and I got 'prefetch >>abort' on go. My procedure follows: >>tftp a0100000 hello_world.srec >>go a0140004 test test2 >>(go a0100000 test test2) > > > How comes you are using 0xa0100000 as load address? Did you modify > the Makefile so that this address gets used? The default value used > in U-Boot for ARM systems is 0xc100000 ... > I'm trying to download hello_world.srec to the memory and run it from the memory, as i do with the kernel. I didn't change any Makefiles nor any of the sources. Was it wrong to think that I could execute an image from the memory that way ? > >>address value for go is memory location plus offset defined in Makefile. >>Both go commands yield an error and reset the board. > > > Try running the code under a debugger... > Yet to learn :). Going slow though. > > Best regards, > > Wolfgang Denk > rgds, himba