]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-firmware/system-firmware-image-gen.git/blobdiff - Makefile
j721e: am65x: sec-cfg: Add otp_config section
[processor-firmware/system-firmware-image-gen.git] / Makefile
index 79ef3d4c3e400160de287469617ac5e220eccdb4..f39d0b5880eaa7f762a07b07c75762a6bb88a994 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ SYSFW_HS_INNER_CERT_PATH ?= ti-sci-firmware-${SOC}-hs-cert.bin
 SYSFW_HS_CERTS_PATH ?= ti-sci-firmware-${SOC}-hs-certs.bin
 
 # Must use FULL Git hash below, as it is used as part of an URL for direct DL
-SYSFW_GIT_HASH ?= fc39e69ec83bfb1c577bcb05cefca4da1172f878
+SYSFW_GIT_HASH ?= 299211f4ed0641f4653d0b7b69ff5a85c42a0268
 
 # URL to download SYSFW release binary from if not provided otherwise
 SYSFW_DL_URL ?= https://git.ti.com/processor-firmware/ti-linux-firmware/blobs/raw/$(SYSFW_GIT_HASH)/ti-sysfw/$(SYSFW_PATH)
@@ -169,9 +169,16 @@ soc_objs: $(SOC_OBJS)
 $(soc_objroot)/%.o: %.c
        $(CROSS_COMPILE)gcc $(CFLAGS) -c -o $@ $<
 
+# On HS board configuration binaries must be signed
+ifdef HS
+%.bin.unsigned: %.o
+       $(CROSS_COMPILE)objcopy -S -O binary $< $@
+%.bin: %.bin.unsigned
+       $(TI_SECURE_DEV_PKG)/scripts/secure-binary-image.sh $< $@
+else
 %.bin: %.o
        $(CROSS_COMPILE)objcopy -S -O binary $< $@
-
+endif
 
 .PHONY: sysfw_version
 sysfw_version: $(SYSFW_PATH)