
Dear Luca Ellero,
In message 51078BFD.60906@gmail.com you wrote:
in U-Boot version 2012.10 I used to skip "relocate_code" setting CONFIG_SYS_TEXT_BASE to relocaddr (obtained from bdinfo command). This since some hardware is able to configure SDRAM and load U-Boot directly to SDRAM, so relocation is useless and time consuming.
You are wrong. relocation is not useless, even in your case. there are quite a number of configuration options that will put stuff above the U-Boot image, directly at the end of RAM (things like protected RAM, shared frame buffer, shared log buffer, etc.). In these cases, the relocation address may even be dynamic (i. e. depending on settings of environment variables, and thus unknown at compile time).
Now I'm using latest git version and this isn't working anymore. Can someone explain me way? And what is the suggested way to skip relocation now.
Don't.
Best regards,
Wolfgang Denk