u-boot : Relocation
问题 This one is a basic question related to u-boot. Why does the u-boot code relocate itself ? Ok, it makes sense if u-boot is executing from NOR-flash or boot ROM space but if it runs from SDRAM already why does it have to relocate itself once again ? 回答1: This question comes up frequently. Good answers sometimes too. I agree it is handy to load the build to SDRAM during development. That works for me, I do it all the time. I have some special boot code in flash which does not enable MMU/cache.