tools: mkimage_signed: add the artik710 version as 2.0.0
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 22 Nov 2017 11:14:17 +0000 (20:14 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:07:59 +0000 (16:07 +0900)
Current ARTIK7 version is A710_OS_2.0.0.
To check the os version, set the sig-product as 2.0.0.

It needs to remain the 1120byte for generating fip-nonsecure.img.
- Nexell header (1K) + FIP header (96bytes) = 1120byte

Change-Id: Icc214310bd68ae51eb2a49c62806982c19e07e78
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
tools/mkimage_signed.sh

index f38603821ac7654617477bdec87f101ed3f496a9..b7452b55627d42131fc43d7a50f25d35dfd29874 100755 (executable)
@@ -74,7 +74,9 @@ elif [ $CONFIG == "artik530_raptor_config" ]; then
        INPUT_SIZE_LIMIT=$((${OUTPUT_SIZE} - ${SIGN_HDR_SIZE} - 512))
 elif [ $CONFIG == "artik710_raptor_config" ]; then
        echo -n "artik710_raptor" > sig-board
-       OUTPUT_BIN="fip-nonsecure.img"
+       echo -n "2.0.0" > sig-product
+       INPUT_SIZE_LIMIT=$((${OUTPUT_SIZE} - ${SIGN_HDR_SIZE} - 1120))
+       OUTPUT_BIN="u-boot.bin"
 else
        echo -n "slp_u1" > sig-board
 fi