Skip to main content.

Fix Relocation

Currently relocation is not working as it should: as is, statically initialized pointers must be manually relocated, or they will continue to point into flash which may make U-Boot crash when the original flash image should get erased during some update procedures.

Patches were provided, but had to be backed out because of incompatibilities with certain tool chanes.

See for example http://article.gmane.org/gmane.comp.boot-loaders.u-boot/33297

Note: according to http://article.gmane.org/gmane.comp.boot-loaders.u-boot/46596 the string pointers in uimage_{arch,os,type,comp}[] are not being relocated and still point to flash. This is a bug that needs to be fixed one way or another.

-- WolfgangDenk - 12 Oct 2008