[U-Boot-Users] running custom apps under uboot

Wolfgang Denk wd at denx.de
Mon Feb 23 20:39:22 CET 2004


In message <403A50BA.10807 at 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 ...

> 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...


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You can observe a lot just by watchin'.                  - Yogi Berra




More information about the U-Boot mailing list