[U-Boot] Question about relocation

Alessandro Rubini rubini-list at gnudd.com
Sun Apr 17 19:57:05 CEST 2011


> beginning-to-end copy or an end-to-beginning copy depending on the
> source and destination addresses and size.

Ori, simply, end-to-beginning when moving up. Or always
end-to-beginning since we are expected to always move up (upper than
the target address it can't run).

It is safer, but not safe. Also, it's difficult to accomplish bcause
copying and fixing addresses is done ina single run, so the relocation
tables are read from the old area. Possibly relocatng first and
copying then.

Or, easier: if we are already high enough to overlap, don't relocate
at all.  If it's acceptable, I'll patch for taht.

thanks
/alessandro


More information about the U-Boot mailing list