[U-Boot] Relocating to my code.

Detlev Zundel dzu at denx.de
Thu Jun 25 14:58:03 CEST 2009


Hi Prathika,

> --Thanks for your reply Detley. I think I was just trying to complicate
> things.I have got a better picture now.
> Before calling relcoate_code() in board.c, ifI using the command

Uhm, well, actually you should not touch U-Boot code at all.  It should
simply work.

> "cp.b fc2e0000 40000 10000;go 40004"  should be fine.....

Don't forget to substitute fc2e0000 with the address for your setup ;)

Cheers
  Detlev

-- 
Irrationality is the square root of all evil.
                                     -- Douglas Hofstadter
--
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