public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Remove gap fill in srec object
@ 2008-08-22 16:35 Ricardo Ribalda Delgado
  2008-08-22 16:35 ` [U-Boot] [PATCH] ppc440: ml507: Add .gitignore Ricardo Ribalda Delgado
  2008-09-06 20:21 ` [U-Boot] [PATCH] Remove gap fill in srec object Wolfgang Denk
  0 siblings, 2 replies; 16+ messages in thread
From: Ricardo Ribalda Delgado @ 2008-08-22 16:35 UTC (permalink / raw)
  To: u-boot

Srec files do need gap fill: The load address is specified in the file.
On ppc, a common object consist on u-boot on the begining of the memory
and a jump and tlb setup on the last part of the memory (0xfffffffe).

If the gap is included, u-boot can produce a 4 Gigabyte object!, with no
more info that the srec.

On the other hand, it cant be avoided in the .bin object. It has no
information about memory location.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 8c90dab..f02ab65 100644
--- a/Makefile
+++ b/Makefile
@@ -290,7 +290,7 @@ $(obj)u-boot.hex:	$(obj)u-boot
 		$(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
 
 $(obj)u-boot.srec:	$(obj)u-boot
-		$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
+		$(OBJCOPY) -O srec $< $@
 
 $(obj)u-boot.bin:	$(obj)u-boot
 		$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
-- 
1.5.6.3

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

end of thread, other threads:[~2008-09-08 13:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 16:35 [U-Boot] [PATCH] Remove gap fill in srec object Ricardo Ribalda Delgado
2008-08-22 16:35 ` [U-Boot] [PATCH] ppc440: ml507: Add .gitignore Ricardo Ribalda Delgado
2008-08-22 16:35   ` [U-Boot] [PATCH] ppc440: New board: Avnet Virtex5 FXT Evaluation Ricardo Ribalda Delgado
2008-08-23 19:05     ` Michal Simek
2008-08-24  0:42       ` Ricardo Ribalda Delgado
2008-08-24  9:49         ` Michal Simek
2008-08-25  8:09           ` Stefan Roese
2008-08-25  9:33             ` Michal Simek
2008-08-25 12:28               ` Ricardo Ribalda Delgado
2008-08-25 12:35                 ` Ricardo Ribalda Delgado
2008-08-25 13:36                   ` Michal Simek
2008-08-25 13:37                 ` Michal Simek
2008-09-08 12:56   ` [U-Boot] [PATCH] ppc440: ml507: Add .gitignore Stefan Roese
2008-09-08 13:10     ` Ricardo Ribalda Delgado
2008-09-06 20:21 ` [U-Boot] [PATCH] Remove gap fill in srec object Wolfgang Denk
2008-09-07 21:10   ` Ricardo Ribalda Delgado

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