[PATCH 2/2] socfpga: Stop putting 512 byte header on SocFPGA images

Trent Piepho tpiepho at kymetacorp.com
Fri May 20 16:11:13 PDT 2016


Since images without the extra header now boot correctly, stop adding
it.  This makes the image 512 bytes smaller.

It also gives the image a correct barebox header.  The 512 byte extra
header looked like a barebox header (had a "barebox\n" signature) but
had incorrect size and text start fields.

Signed-off-by: Trent Piepho <tpiepho at kymetacorp.com>
---
 images/Makefile.socfpga | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile.socfpga b/images/Makefile.socfpga
index 7e642c0..21804d9 100644
--- a/images/Makefile.socfpga
+++ b/images/Makefile.socfpga
@@ -5,7 +5,7 @@
 # %.socfpgaimg - convert into socfpga image
 # ----------------------------------------------------------------
 quiet_cmd_socfpga_image = SOCFPGA-IMG $@
-      cmd_socfpga_image = scripts/socfpga_mkimage -b -o $@ $<
+      cmd_socfpga_image = scripts/socfpga_mkimage -o $@ $<
 
 $(obj)/%.socfpgaimg: $(obj)/% FORCE
 	$(call if_changed,socfpga_image)
-- 
2.7.0.25.gfc10eb5.dirty




More information about the barebox mailing list