[U-Boot-Users] [PATCH] Make MPC83xx one step closer to full relocation.

Wolfgang Denk
2008-04-08T11:58:06Z

In message <1207651833.5826.21.camel@gentoo-jocke.transmode.se> you wrote:
>
> > > > CFG_MONITOR_BASE=fffa0000
...
> I first did a new symbol for this but changed it to use _start as I
> didn't want to introduce yet another symbol. I would hope it is
> possible to rework 4xx to move the _start symbol to were it belongs?
> Not having the _start symbol where it should be could bite you some
> other day too.

I think you got this wrong. _start *is* where it should be, where the
execution of the code begins. Where you set the breakpoint in gdb.

The "new symbol" you mention corresponds to CFG_MONITOR_BASE, but note
that it has no fixed address as it depends where you place your image
in flash.

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
Just about every computer on the market today runs Unix, except the
Mac (and nobody cares about it). - Bill Joy 6/21/85