
Dear Aneesh V,
In message 4DD264B7.9060304@ti.com you wrote:
In ARM literature this kind of situations are also referred to as "self- modifying". Here is an excerpt from ARM manual gloassary:
I see. Thanks.
Well, all the data copy will also use cached writes, which are much
You mean, you will do a range-flush on only the .text section's area?
That should indeed be sufficient.
faster. I think this will result in measurable time differences.
Relocation itself was not taking a huge amount of time in my measurement sometime back. It was about 16 ms for OMAP4.
I was especially talking about the loading from external storage, not primarily relocation. This will even be mnore important if we had (much) bigger images - like when loading an OS kernel as second stage payload instead of U-Boot.
Best regards,
Wolfgang Denk