[U-Boot] [ELF_RELOC] [PATCH V2 2/2] edminiv2: add support for ELF relocations

Prafulla Wadaskar prafulla at marvell.com
Fri Oct 8 13:33:31 CEST 2010


 

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Albert Aribaud
> Sent: Friday, October 08, 2010 4:54 PM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] [ELF_RELOC] [PATCH V2 2/2] edminiv2: add 
> support for ELF relocations
> 
> 
> Signed-off-by: Albert Aribaud <albert.aribaud at free.fr>
> ---
>  board/LaCie/edminiv2/config.mk |    4 ++--
>  include/configs/edminiv2.h     |    5 +++++
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/board/LaCie/edminiv2/config.mk 
> b/board/LaCie/edminiv2/config.mk
> index 3dec1aa..942c4e5 100644
> --- a/board/LaCie/edminiv2/config.mk
> +++ b/board/LaCie/edminiv2/config.mk
> @@ -23,5 +23,5 @@
>  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
>  # MA 02110-1301 USA
>  #
> -
> -TEXT_BASE = 0x00100000
> +# TEXT_BASE must equal the intended FLASH location of u-boot.
> +TEXT_BASE = 0xfff90000
> \ No newline at end of file

???

> diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
> index ccfc660..43e5e87 100644
> --- a/include/configs/edminiv2.h
> +++ b/include/configs/edminiv2.h
> @@ -223,4 +223,9 @@
>  #define CONFIG_SYS_RESET_ADDRESS	0xffff0000
>  #define CONFIG_SYS_MAXARGS		16
>  
> +/* additions for new relocation code, must be added to all boards */
> +#define CONFIG_SYS_SDRAM_BASE		0
> +#define CONFIG_SYS_INIT_SP_ADDR	\
> +	(CONFIG_SYS_SDRAM_BASE + 0x1000 - CONFIG_SYS_GBL_DATA_SIZE)
> +

Orion5182 does have internal Securiy SRAM, you can use it here instead of using SDRAM

Regards..
Prafulla . .


More information about the U-Boot mailing list