public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0
@ 2009-10-05 23:01 Peter Tyser
  2009-10-05 23:01 ` [U-Boot] [PATCH 1/2] 85xx: Preprocess link scripts Peter Tyser
                   ` (2 more replies)
  0 siblings, 3 replies; 40+ messages in thread
From: Peter Tyser @ 2009-10-05 23:01 UTC (permalink / raw)
  To: u-boot

It looks like the 85xx platform is the only one which has boards
with the bss at 0x0.  It uses a slightly different linker script
format which puts the bss after the reset vector, which is
0xfffffffc + 4 for a number of boards.  Other platforms don't put
their bss in a similar location, so they don't have this issue.
I verified this by running MAKEALL and printing the bss address
as well.

A few bytes of RAM are wasted for boards which used to have the
bss at 0x0 FWIW.

These changes should be applied to the "reloc" branch.

Peter Tyser (2):
  85xx: Preprocess link scripts
  85xx: Ensure BSS segment doesn't start at address 0x0

 cpu/mpc85xx/config.mk                              |    2 +-
 cpu/mpc85xx/{u-boot-nand.lds => u-boot-nand.lds.S} |    0
 cpu/mpc85xx/{u-boot.lds => u-boot.lds.S}           |    8 ++++++++
 3 files changed, 9 insertions(+), 1 deletions(-)
 rename cpu/mpc85xx/{u-boot-nand.lds => u-boot-nand.lds.S} (100%)
 rename cpu/mpc85xx/{u-boot.lds => u-boot.lds.S} (94%)

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

end of thread, other threads:[~2009-10-07 14:37 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 23:01 [U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0 Peter Tyser
2009-10-05 23:01 ` [U-Boot] [PATCH 1/2] 85xx: Preprocess link scripts Peter Tyser
2009-10-06  7:28   ` Wolfgang Denk
2009-10-06 11:13     ` Peter Tyser
2009-10-05 23:01 ` [U-Boot] [PATCH 2/2] 85xx: Ensure BSS segment doesn't start at address 0x0 Peter Tyser
2009-10-06  8:54   ` Wolfgang Denk
2009-10-06 12:10     ` Peter Tyser
2009-10-06  7:32 ` [U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0 Wolfgang Denk
2009-10-06 12:01   ` Peter Tyser
2009-10-06 14:01     ` Wolfgang Denk
2009-10-06 14:07       ` Kumar Gala
2009-10-06 14:24         ` Peter Tyser
2009-10-06 15:22           ` Wolfgang Denk
2009-10-06 15:45             ` Peter Tyser
2009-10-06 17:51               ` Wolfgang Denk
2009-10-06 18:08                 ` Peter Tyser
2009-10-06 20:34                   ` J. William Campbell
2009-10-06 20:53                     ` Peter Tyser
2009-10-06 22:34                       ` J. William Campbell
2009-10-06 23:10                         ` Peter Tyser
2009-10-06 23:25                           ` Wolfgang Denk
2009-10-06 23:43                             ` Peter Tyser
2009-10-07  0:09                               ` Peter Tyser
2009-10-07  1:24                                 ` Graeme Russ
2009-10-07  6:55                                   ` Wolfgang Denk
2009-10-07  9:56                                     ` Graeme Russ
2009-10-07 10:07                                       ` Graeme Russ
2009-10-07 10:32                                       ` Joakim Tjernlund
2009-10-07 14:37                                         ` J. William Campbell
2009-10-07  6:53                               ` Wolfgang Denk
2009-10-07 11:57                                 ` Peter Tyser
2009-10-07 12:19                                   ` Wolfgang Denk
2009-10-06 23:07                       ` Wolfgang Denk
2009-10-06 23:29                         ` Peter Tyser
2009-10-07  6:51                           ` Wolfgang Denk
2009-10-06 20:46                   ` Kumar Gala
2009-10-06 21:13                     ` Peter Tyser
2009-10-06 16:53             ` Stefan Roese
2009-10-06 15:04         ` Wolfgang Denk
2009-10-06 15:20           ` Peter Tyser

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