Message ID | 51077D26.5020808@denx.de |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
Hi all, 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. 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. Thanks in advance Best regards Luca Ellero
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
On Tue, Jan 29, 2013 at 08:41:26AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c: > > The following changes since commit 54b08efcf2f4ff532ce99c53f341a59c193331a5: > > README.mips: update known issues and TODOs (2013-01-16 10:52:08 +0100) > > are available in the git repository at: > > git://git.denx.de/u-boot-i2c.git master > > for you to fetch changes up to 019be4af642cf59df0fa97082e5d9e290d26f997: > > Remove unused CONFIG_SYS_I2C_BUS[_SELECT] (2013-01-29 06:40:01 +0100) > > ---------------------------------------------------------------- > Marek Vasut (1): > i2c: mxs: Staticize the functions in the driver > > Michael Jones (1): > Remove unused CONFIG_SYS_I2C_BUS[_SELECT] > > drivers/i2c/mxs_i2c.c | 8 ++++---- > include/configs/am3517_crane.h | 2 -- > include/configs/am3517_evm.h | 2 -- > include/configs/cm_t35.h | 2 -- > include/configs/devkit8000.h | 2 -- > include/configs/dig297.h | 2 -- > include/configs/igep00x0.h | 2 -- > include/configs/mcx.h | 1 - > include/configs/omap3_beagle.h | 2 -- > include/configs/omap3_evm_common.h | 2 -- > include/configs/omap3_logic.h | 2 -- > include/configs/omap3_mvblx.h | 2 -- > include/configs/omap3_pandora.h | 2 -- > include/configs/omap3_sdp3430.h | 2 -- > include/configs/omap3_zoom1.h | 2 -- > include/configs/omap3_zoom2.h | 2 -- > include/configs/omap4_common.h | 2 -- > include/configs/tam3517-common.h | 2 -- > include/configs/tricorder.h | 2 -- > 19 Dateien ge?ndert, 4 Zeilen hinzugef?gt(+), 39 Zeilen entfernt(-) Applied to u-boot/master, thanks!