Patchwork [U-Boot] actux[123]: Update linker script for ELDK 4.2

login
register
mail settings
Submitter Tom Rini
Date Oct. 17, 2012, 8:18 p.m.
Message ID <1350505109-11103-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/192139/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Tom Rini - Oct. 17, 2012, 8:18 p.m.
With ELDK4.2 libserial.o is too large to fit in the area before the
environment.  Swap in libinput instead which is a little smaller.

Cc: Michael Schwingen <michael@schwingen.org>
Signed-off-by: Tom Rini <trini@ti.com>
---
 board/actux1/u-boot.lds |    2 +-
 board/actux2/u-boot.lds |    2 +-
 board/actux3/u-boot.lds |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Albert ARIBAUD - Oct. 18, 2012, 9:22 p.m.
Hi Tom,

On Wed, 17 Oct 2012 13:18:29 -0700, Tom Rini <trini@ti.com> wrote:

> With ELDK4.2 libserial.o is too large to fit in the area before the
> environment.  Swap in libinput instead which is a little smaller.
> 
> Cc: Michael Schwingen <michael@schwingen.org>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
>  board/actux1/u-boot.lds |    2 +-
>  board/actux2/u-boot.lds |    2 +-
>  board/actux3/u-boot.lds |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/board/actux1/u-boot.lds b/board/actux1/u-boot.lds
> index 9dbaa6f..63fd356 100644
> --- a/board/actux1/u-boot.lds
> +++ b/board/actux1/u-boot.lds
> @@ -34,7 +34,7 @@ SECTIONS
>  		net/libnet.o(.text*)
>  		board/actux1/libactux1.o(.text*)
>  		arch/arm/cpu/ixp/libixp.o(.text*)
> -		drivers/serial/libserial.o(.text*)
> +		drivers/input/libinput.o(.text*)
>  
>  		. = env_offset;
>  		common/env_embedded.o(.ppcenv)
> diff --git a/board/actux2/u-boot.lds b/board/actux2/u-boot.lds
> index 3575ed9..9885d06 100644
> --- a/board/actux2/u-boot.lds
> +++ b/board/actux2/u-boot.lds
> @@ -34,7 +34,7 @@ SECTIONS
>  		net/libnet.o(.text*)
>  		board/actux2/libactux2.o(.text*)
>  		arch/arm/cpu/ixp/libixp.o(.text*)
> -		drivers/serial/libserial.o(.text*)
> +		drivers/input/libinput.o(.text*)
>  
>  		. = env_offset;
>  		common/env_embedded.o(.ppcenv)
> diff --git a/board/actux3/u-boot.lds b/board/actux3/u-boot.lds
> index 35aab29..4a1c75a 100644
> --- a/board/actux3/u-boot.lds
> +++ b/board/actux3/u-boot.lds
> @@ -34,7 +34,7 @@ SECTIONS
>  		net/libnet.o(.text*)
>  		board/actux3/libactux3.o(.text*)
>  		arch/arm/cpu/ixp/libixp.o(.text*)
> -		drivers/serial/libserial.o(.text*)
> +		drivers/input/libinput.o(.text*)
>  
>  		. = env_offset;
>  		common/env_embedded.o(.ppcenv)

Applied to u-boot-arm/master, thanks!

Amicalement,

Patch

diff --git a/board/actux1/u-boot.lds b/board/actux1/u-boot.lds
index 9dbaa6f..63fd356 100644
--- a/board/actux1/u-boot.lds
+++ b/board/actux1/u-boot.lds
@@ -34,7 +34,7 @@  SECTIONS
 		net/libnet.o(.text*)
 		board/actux1/libactux1.o(.text*)
 		arch/arm/cpu/ixp/libixp.o(.text*)
-		drivers/serial/libserial.o(.text*)
+		drivers/input/libinput.o(.text*)
 
 		. = env_offset;
 		common/env_embedded.o(.ppcenv)
diff --git a/board/actux2/u-boot.lds b/board/actux2/u-boot.lds
index 3575ed9..9885d06 100644
--- a/board/actux2/u-boot.lds
+++ b/board/actux2/u-boot.lds
@@ -34,7 +34,7 @@  SECTIONS
 		net/libnet.o(.text*)
 		board/actux2/libactux2.o(.text*)
 		arch/arm/cpu/ixp/libixp.o(.text*)
-		drivers/serial/libserial.o(.text*)
+		drivers/input/libinput.o(.text*)
 
 		. = env_offset;
 		common/env_embedded.o(.ppcenv)
diff --git a/board/actux3/u-boot.lds b/board/actux3/u-boot.lds
index 35aab29..4a1c75a 100644
--- a/board/actux3/u-boot.lds
+++ b/board/actux3/u-boot.lds
@@ -34,7 +34,7 @@  SECTIONS
 		net/libnet.o(.text*)
 		board/actux3/libactux3.o(.text*)
 		arch/arm/cpu/ixp/libixp.o(.text*)
-		drivers/serial/libserial.o(.text*)
+		drivers/input/libinput.o(.text*)
 
 		. = env_offset;
 		common/env_embedded.o(.ppcenv)