[RFC] [PATCH 0/2] fix barebox size when using a relocated pbl

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Sep 14 08:07:25 EDT 2013


Hi,

	today if we use a relocatable pbl we have 0 at 0x2c on ARM
	as the linker script can not calculte the size correctly

	so fix it post zbarebox.bin generation

Jean-Christophe PLAGNIOL-VILLARD (2):
      add fix size tools
      ARM: PBL: fix binary size

 arch/arm/pbl/Makefile |  8 ++++++++
 scripts/Makefile      |  1 +
 scripts/fix_size.c    | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 90 insertions(+)
 create mode 100644 scripts/fix_size.c

Best Regards,
J.



More information about the barebox mailing list