packaging: artik7: sign the u-boot.bin with mkimage_signed script
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 22 Nov 2017 11:17:56 +0000 (20:17 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:07:59 +0000 (16:07 +0900)
Signed the u-boot.bin with mkimage_signed script.
The tizen specific signature header should be added.

Change-Id: Ic9bdbda079cc98dee5031794c2a21f20e4c06b4b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/u-boot-artik7.spec

index ebdf07c36f3b015652c39a0b2973bcc01fc6ee18..ae4934ce52c7da8ae2e8a2c0a27623231cf12a75 100644 (file)
@@ -44,6 +44,10 @@ tr '\0' '\n' < copy_env_common.o > default_envs.txt
 tools/mkenvimage -s 16384 -o params.bin default_envs.txt
 rm copy_env_common.o default_envs.txt
 
+# Sign u-boot.bin - output is: u-boot.bin
+chmod 755 tools/mkimage_signed.sh
+./tools/mkimage_signed.sh u-boot.bin artik710_raptor_config
+
 # gen_fip_image
 tools/fip_create/fip_create --dump --bl33 u-boot.bin fip-nonsecure.bin