From: Jaehoon Chung Date: Mon, 27 Nov 2017 04:24:10 +0000 (+0900) Subject: artik: update to os_3.0.0 according to Artik release verion X-Git-Tag: submit/tizen/20180327.075642~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5ebc61bfb8d1c9a22e7944ec5f95cf228dc98ba;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik7.git artik: update to os_3.0.0 according to Artik release verion OS_3.0.0 is difference with low version. ARTIK530 is changed the nexell header size from 512bytes to 1K. Signature OS version also needs to change to os_3.0.0. Change-Id: Iba7c3d66d93678dad53d988d0c0047bb691ce4e9 Signed-off-by: Jaehoon Chung --- diff --git a/include/configs/artik530_raptor.h b/include/configs/artik530_raptor.h index 90cb315a80..06059a8e79 100644 --- a/include/configs/artik530_raptor.h +++ b/include/configs/artik530_raptor.h @@ -46,7 +46,7 @@ #define CPU_RELEASE_ADDR CONFIG_SYS_INIT_SP_ADDR #define CONFIG_SIG -#define CONFIG_EXTRA_SIZE SZ_512 +#define CONFIG_EXTRA_SIZE SZ_1K /*----------------------------------------------------------------------- * High Level System Configuration diff --git a/packaging/u-boot-artik530.spec b/packaging/u-boot-artik530.spec index fbc275aee6..cee63087db 100644 --- a/packaging/u-boot-artik530.spec +++ b/packaging/u-boot-artik530.spec @@ -13,7 +13,7 @@ BuildRequires: u-boot-tools %description bootloader for Embedded boards based on ARM processor -%define os_version 1.0.0 +%define os_version 3.0.0 %prep %setup -q diff --git a/packaging/u-boot-artik7.spec b/packaging/u-boot-artik7.spec index fbc7573ca3..768be95001 100644 --- a/packaging/u-boot-artik7.spec +++ b/packaging/u-boot-artik7.spec @@ -22,7 +22,7 @@ Group: System/Kernel This package includes SECURE_BINGEN and config files for the tool to create image with nexell format. -%define os_version 2.0.0 +%define os_version 3.0.0 %prep %setup -q diff --git a/tools/mkimage_signed.sh b/tools/mkimage_signed.sh index e31acecbf3..a7dba18561 100755 --- a/tools/mkimage_signed.sh +++ b/tools/mkimage_signed.sh @@ -77,7 +77,7 @@ elif [ $CONFIG == "odroid-xu3_defconfig" ]; then elif [ $CONFIG == "artik530_raptor_config" ]; then echo -n "artik530_raptor" > sig-board OUTPUT_BIN="u-boot.bin" - INPUT_SIZE_LIMIT=$((${OUTPUT_SIZE} - ${SIGN_HDR_SIZE} - 512)) + INPUT_SIZE_LIMIT=$((${OUTPUT_SIZE} - ${SIGN_HDR_SIZE} - 1024)) elif [ $CONFIG == "artik710_raptor_config" ]; then echo -n "artik710_raptor" > sig-board INPUT_SIZE_LIMIT=$((${OUTPUT_SIZE} - ${SIGN_HDR_SIZE} - 1120))