[U-Boot] U-Boot timer example crashes on EP88xC

Detlev Zundel dzu at denx.de
Wed Jun 24 15:26:22 CEST 2009


Hi Mikhail,

> I am using ELDK 4.2 and U-Boot 2009.03 on an EP88xC rev1.1 board
> (MPC885 cpu) and am trying to get the example apps working (the ones
> that come with U-Boot) following instructions on
> "http://www.denx.de/wiki/view/DULG/UBootStandalone#Section_5.12.2.".
>
> "examples/hello_world.bin" worked fine:

[...]

> But things didn't go too smoothly with the "examples/timer.bin" app:
>
> => tftp 40000 ep88x_timerdemo
> Trying FEC ETHERNET
> Using FEC ETHERNET device
> TFTP from server 10.0.54.129; our IP address is 10.0.54.150
> Filename 'ep88x_timerdemo'.
> Load address: 0x40000
> Loading: ##################
> done
> Bytes transferred = 263740 (4063c hex)
> => go 40004
> ## Starting application at 0x00040004 ...

Oh huh - this would imply that the "timer" routine got linked to this
address.  When I use objdump to deassemble the object file, it seems
that "timer" is at 40108.  Try "go 0x40108" and read the FAQ[1] ;)

Cheers
  Detlev

[1] http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork

-- 
NAN - No Acronym Neccessary
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list