U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards
@ 2012-10-18  2:54 Jason Jin
  2012-10-18  2:54 ` [U-Boot] [PATCH 1/2] ColdFire: Fix build error for astro mcf53731 board Jason Jin
  2012-10-18 16:42 ` [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Jason Jin @ 2012-10-18  2:54 UTC (permalink / raw)
  To: u-boot

Resend the patches as they are not found in patchwork.

Two patches together with:

Marek Vasut (5):
 m68k: Fix wrong assembler instruction in start.S
 m68k: Fix unused variable warning
 m68k: Fix unused variable warning in speed.c
 m68k: Fix unused variable in board.c
 m68k: net: Fix unused variable in mcfmii.c

Philippe De Muyter (1):
 m68k: Fix relocation errors in start.S

fix the MAKEALL build error for m68k:

--------------------- SUMMARY ----------------------------
Boards compiled: 9
Boards with errors: 2 ( M5282EVB astro_mcf5373l )
Boards with warnings but no errors: 7 ( M52277EVB_stmicro M5235EVB M5235EVB_Flash32 idmr eb_cpu5282 eb_cpu5282_internal M5253DEMO )
----------------------------------------------------------

Thanks

Best Regards,
Jason

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] ColdFire: Fix build error for astro mcf53731 board.
  2012-10-18  2:54 [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards Jason Jin
@ 2012-10-18  2:54 ` Jason Jin
  2012-10-18  2:54   ` [U-Boot] [PATCH 2/2] ColdFire: Fix the build error for Freescale m5282evb board Jason Jin
  2012-10-18 16:42 ` [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Jason Jin @ 2012-10-18  2:54 UTC (permalink / raw)
  To: u-boot

Fix the  build error by clean up the lds file.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
---
 board/astro/mcf5373l/u-boot.lds |   64 +++++++--------------------------------
 1 files changed, 11 insertions(+), 53 deletions(-)

diff --git a/board/astro/mcf5373l/u-boot.lds b/board/astro/mcf5373l/u-boot.lds
index a1d8e0f..19342ac 100644
--- a/board/astro/mcf5373l/u-boot.lds
+++ b/board/astro/mcf5373l/u-boot.lds
@@ -22,51 +22,18 @@
  */
 
 OUTPUT_ARCH(m68k)
-/* Do we need any of these for elf?
-   __DYNAMIC = 0;    */
+
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-  . = + SIZEOF_HEADERS;
-  .interp : { *(.interp) }
-  .hash          : { *(.hash)		}
-  .dynsym        : { *(.dynsym)		}
-  .dynstr        : { *(.dynstr)		}
-  .rel.text      : { *(.rel.text)		}
-  .rela.text     : { *(.rela.text)	}
-  .rel.data      : { *(.rel.data)		}
-  .rela.data     : { *(.rela.data)	}
-  .rel.rodata    : { *(.rel.rodata)	}
-  .rela.rodata   : { *(.rela.rodata)	}
-  .rel.got       : { *(.rel.got)		}
-  .rela.got      : { *(.rela.got)		}
-  .rel.ctors     : { *(.rel.ctors)	}
-  .rela.ctors    : { *(.rela.ctors)	}
-  .rel.dtors     : { *(.rel.dtors)	}
-  .rela.dtors    : { *(.rela.dtors)	}
-  .rel.bss       : { *(.rel.bss)		}
-  .rela.bss      : { *(.rela.bss)		}
-  .rel.plt       : { *(.rel.plt)		}
-  .rela.plt      : { *(.rela.plt)		}
-  .init          : { *(.init)	}
-  .plt : { *(.plt) }
   .text      :
   {
-    /* WARNING - the following is hand-optimized to fit within	*/
-    /* the sector layout of our flash chips!	XXX FIXME XXX	*/
-
-    arch/m68k/cpu/mcf532x/start.o		(.text)
-    arch/m68k/lib/traps.o		(.text)
-    arch/m68k/lib/interrupts.o	(.text)
-    common/dlmalloc.o		(.text)
-    lib/zlib.o		(.text)
+    arch/m68k/cpu/mcf532x/start.o		(.text*)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/env_embedded.o	(.text)
+    common/env_embedded.o	(.text*)
 
-    *(.text)
-/*    *(.fixup)*/
-    *(.got1)
+    *(.text*)
   }
   _etext = .;
   PROVIDE (etext = .);
@@ -74,9 +41,6 @@ SECTIONS
   {
     *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
-  .fini      : { *(.fini)    } =0
-  .ctors     : { *(.ctors)   }
-  .dtors     : { *(.dtors)   }
 
   /* Read-write section, merged into data segment: */
   . = (. + 0x00FF) & 0xFFFFFF00;
@@ -86,24 +50,20 @@ SECTIONS
   .reloc   :
   {
     __got_start = .;
-    *(.got)
+    KEEP(*(.got))
     __got_end = .;
     _GOT2_TABLE_ = .;
-    *(.got2)
+    KEEP(*(.got2))
     _FIXUP_TABLE_ = .;
-    *(.fixup)
+    KEEP(*(.fixup))
   }
   __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
   __fixup_entries = (. - _FIXUP_TABLE_)>>2;
 
   .data    :
   {
-    *(.data)
-    *(.data1)
-    *(.sdata)
-    *(.sdata2)
-    *(.dynamic)
-    CONSTRUCTORS
+    *(.data*)
+    *(.sdata*)
   }
   _edata  =  .;
   PROVIDE (edata = .);
@@ -113,7 +73,6 @@ SECTIONS
   .u_boot_cmd : { *(.u_boot_cmd) }
   __u_boot_cmd_end = .;
 
-
   . = .;
   __start___ex_table = .;
   __ex_table : { *(__ex_table) }
@@ -130,9 +89,8 @@ SECTIONS
   .bss       :
   {
    _sbss = .;
-   *(.sbss) *(.scommon)
-   *(.dynbss)
-   *(.bss)
+   *(.sbss*)
+   *(.bss*)
    *(COMMON)
    . = ALIGN(4);
    _ebss = .;
-- 
1.6.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] ColdFire: Fix the build error for Freescale m5282evb board.
  2012-10-18  2:54 ` [U-Boot] [PATCH 1/2] ColdFire: Fix build error for astro mcf53731 board Jason Jin
@ 2012-10-18  2:54   ` Jason Jin
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Jin @ 2012-10-18  2:54 UTC (permalink / raw)
  To: u-boot

Clean up the lds file and fix the environment build error.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
---
 board/freescale/m5282evb/u-boot.lds |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board/freescale/m5282evb/u-boot.lds b/board/freescale/m5282evb/u-boot.lds
index 4ba1964..500fefd 100644
--- a/board/freescale/m5282evb/u-boot.lds
+++ b/board/freescale/m5282evb/u-boot.lds
@@ -29,6 +29,9 @@ SECTIONS
   {
     arch/m68k/cpu/mcf52x2/start.o	(.text*)
 
+    . = DEFINED(env_offset) ? env_offset : .;
+    common/env_embedded.o      (.text*)
+
     *(.text*)
   }
   _etext = .;
-- 
1.6.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards
  2012-10-18  2:54 [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards Jason Jin
  2012-10-18  2:54 ` [U-Boot] [PATCH 1/2] ColdFire: Fix build error for astro mcf53731 board Jason Jin
@ 2012-10-18 16:42 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2012-10-18 16:42 UTC (permalink / raw)
  To: u-boot

On Thu, Oct 18, 2012 at 10:54:54AM +0800, Jason Jin wrote:

> Resend the patches as they are not found in patchwork.
> 
> Two patches together with:
> 
> Marek Vasut (5):
>  m68k: Fix wrong assembler instruction in start.S
>  m68k: Fix unused variable warning
>  m68k: Fix unused variable warning in speed.c
>  m68k: Fix unused variable in board.c
>  m68k: net: Fix unused variable in mcfmii.c
> 
> Philippe De Muyter (1):
>  m68k: Fix relocation errors in start.S
> 
> fix the MAKEALL build error for m68k:
> 
> --------------------- SUMMARY ----------------------------
> Boards compiled: 9
> Boards with errors: 2 ( M5282EVB astro_mcf5373l )
> Boards with warnings but no errors: 7 ( M52277EVB_stmicro M5235EVB M5235EVB_Flash32 idmr eb_cpu5282 eb_cpu5282_internal M5253DEMO )
> ----------------------------------------------------------

Can you please put together a pull request with all of the patches?
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121018/31d1b566/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-18 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18  2:54 [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards Jason Jin
2012-10-18  2:54 ` [U-Boot] [PATCH 1/2] ColdFire: Fix build error for astro mcf53731 board Jason Jin
2012-10-18  2:54   ` [U-Boot] [PATCH 2/2] ColdFire: Fix the build error for Freescale m5282evb board Jason Jin
2012-10-18 16:42 ` [U-Boot] [PATCH 0/2][RESEND] ColdFire: Fix the MAKEALL errors for some ColdFire boards Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox