[Feature][S300][task-view-1046][sys] add secureboot lynq key
Change-Id: Idee2e9182f7391e68e5d45fb0abdbb97866be0ad
diff --git a/Makefile b/Makefile
index 1b473df..30f1641 100755
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,12 @@
echo "using wifi lynq/wifi/$(wifi_proj)/$(wifi), make sure config.linux file and Makefile of wireless is correct!!!"
cp -rf lynq/wifi/$(wifi_proj)/$(wifi)/* .
endif
+ifeq ($(key),)
+ echo "key is empty or not defined"
+else
+ echo "key is defined and has a value: $(key)"
+ cp -rf $(PATH_PRJ)/$(key)/* .
+endif
.PHONY:help
help:
@@ -61,7 +67,7 @@
@echo example CPE_TELKOMSEL : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/CPE_TELKOMSEL
@echo example R307 : make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/R307
@echo example R307L : make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/R307L
- @echo example S300 : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/S300 [wifi=rtl8192cd_92fs]
+ @echo example S300 : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/S300 wifi=rtl8192cd_92fs key=lynq_key
@echo example S300_COMMON : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/S300_COMMON
@echo example MD310 : make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/MD310
@echo example MD310 TSEL/XL/HKM/HIFI: make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/MD310 CUST=TSEL/XL/HKM/HIFI
diff --git a/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key
new file mode 100755
index 0000000..16c7b5a
--- /dev/null
+++ b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key
@@ -0,0 +1 @@
+3àr® Am8M_³8Ú|l
\ No newline at end of file
diff --git a/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key.h b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key.h
new file mode 100755
index 0000000..f426428
--- /dev/null
+++ b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key.h
@@ -0,0 +1,5 @@
+#define SECURE_EN 0xff
+#define SECURE_PUK_HASH0 0x9033e072
+#define SECURE_PUK_HASH1 0xae09416d
+#define SECURE_PUK_HASH2 0x384d5fb3
+#define SECURE_PUK_HASH3 0x38da7c6c
diff --git a/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key.txt b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key.txt
new file mode 100755
index 0000000..93679ea
--- /dev/null
+++ b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/key.txt
@@ -0,0 +1 @@
+9033e072ae09416d384d5fb338da7c6c
\ No newline at end of file
diff --git a/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/private.k b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/private.k
new file mode 100755
index 0000000..7b9531f
--- /dev/null
+++ b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/private.k
Binary files differ
diff --git a/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/public.k b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/public.k
new file mode 100755
index 0000000..e629703
--- /dev/null
+++ b/lynq/S300/lynq_key/tools/SignImage/test_key/mifi/public.k
Binary files differ