tpl: generate tpl bin [1/1]

PD#SWPL-175410

Problem:
generate tpl bin with bl2e/bl2x/ddrfip/devfip

Solution:
generate u-boot.bin.signed.tpl & u-boot.bin.signed.bl2

Verify:
c3

Change-Id: I7354d8e48fe999113e4a93f1d3efd8b53767efbc
Signed-off-by: Meng yu <meng.yu@amlogic.com>
diff --git a/c3/build.sh b/c3/build.sh
index c580e29..7d12e34 100755
--- a/c3/build.sh
+++ b/c3/build.sh
@@ -569,6 +569,8 @@
 		dd if=${bootloader} of=${sdcard_image} bs=512 seek=1 conv=notrunc status=none
 
 		mv ${bootloader} ${output_images}/u-boot.bin${postfix}
+		head -c $[(${BLX_BIN_SIZE[0]}+align_base-1)/align_base*align_base] ${output_images}/u-boot.bin${postfix} > ${output_images}/u-boot.bin${postfix}.bl2
+		tail -c +$(($[(${BLX_BIN_SIZE[0]}+align_base-1)/align_base*align_base]+1)) ${output_images}/u-boot.bin${postfix} > ${output_images}/u-boot.bin${postfix}.tpl
 	fi
 
 	rm -f ${file_info_cfg}