summaryrefslogtreecommitdiff
authorLiang Ji <liang.ji@amlogic.com>2019-08-12 01:37:14 (GMT)
committer Liang Ji <liang.ji@amlogic.com>2019-08-12 03:17:43 (GMT)
commit6a537107b3011db35b9c1743d1d8160d89c8044d (patch)
treefd81ceac72703d8436368302a4929f5da35eaca5
parent1f0cb6d6e3cc7ce55b348579b88dd4f895daae96 (diff)
downloaduboot-6a537107b3011db35b9c1743d1d8160d89c8044d.zip
uboot-6a537107b3011db35b9c1743d1d8160d89c8044d.tar.gz
uboot-6a537107b3011db35b9c1743d1d8160d89c8044d.tar.bz2
uboot: add a unifykey for google prop ro.oem.key1 [2/2]
PD#SWPL-10130 Problem: s905X3 Use : "adb shell getprop ro.oem.key1i" to Check ro.oem.key1 fields failed Solution: add a unifykey for google prop ro.oem.key1 Verify: franklin, newton Change-Id: Ia10aac22b52e31bb55e96872717722ec4e4b3181 Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Diffstat
-rw-r--r--board/amlogic/configs/g12a_u200_v1.h5
-rw-r--r--board/amlogic/configs/g12a_u212_v1.h5
-rw-r--r--board/amlogic/configs/g12b_w400_v1.h5
-rw-r--r--board/amlogic/configs/gxl_p212_v1.h5
-rw-r--r--board/amlogic/configs/sm1_ac213_v1.h5
-rw-r--r--board/amlogic/configs/txlx_t962e_r321_v1.h5
6 files changed, 30 insertions, 0 deletions
diff --git a/board/amlogic/configs/g12a_u200_v1.h b/board/amlogic/configs/g12a_u200_v1.h
index a4cb2a1..c5044b4 100644
--- a/board/amlogic/configs/g12a_u200_v1.h
+++ b/board/amlogic/configs/g12a_u200_v1.h
@@ -288,6 +288,11 @@
"else "\
"setenv bootargs ${bootargs} androidboot.wificountrycode=US;"\
"fi;"\
+ "if keyman read oemkey ${loadaddr} str; then "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};"\
+ "else "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=ATV00104319;"\
+ "fi;"\
"fi;"\
"\0"\
"bcb_cmd="\
diff --git a/board/amlogic/configs/g12a_u212_v1.h b/board/amlogic/configs/g12a_u212_v1.h
index 4b891f0..5d3ed9f 100644
--- a/board/amlogic/configs/g12a_u212_v1.h
+++ b/board/amlogic/configs/g12a_u212_v1.h
@@ -282,6 +282,11 @@
"if keyman read deviceid ${loadaddr} str; then "\
"setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};"\
"fi;"\
+ "if keyman read oemkey ${loadaddr} str; then "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};"\
+ "else "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=ATV00104319;"\
+ "fi;"\
"fi;"\
"\0"\
"bcb_cmd="\
diff --git a/board/amlogic/configs/g12b_w400_v1.h b/board/amlogic/configs/g12b_w400_v1.h
index 1f556a8..17ff4c5 100644
--- a/board/amlogic/configs/g12b_w400_v1.h
+++ b/board/amlogic/configs/g12b_w400_v1.h
@@ -282,6 +282,11 @@
"if keyman read deviceid ${loadaddr} str; then "\
"setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};"\
"fi;"\
+ "if keyman read oemkey ${loadaddr} str; then "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};"\
+ "else "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=ATV00104319;"\
+ "fi;"\
"fi;"\
"\0"\
"bcb_cmd="\
diff --git a/board/amlogic/configs/gxl_p212_v1.h b/board/amlogic/configs/gxl_p212_v1.h
index ddfbe82..ec8c573 100644
--- a/board/amlogic/configs/gxl_p212_v1.h
+++ b/board/amlogic/configs/gxl_p212_v1.h
@@ -302,6 +302,11 @@
"else "\
"setenv bootargs ${bootargs} androidboot.wificountrycode=US;"\
"fi;"\
+ "if keyman read oemkey ${loadaddr} str; then "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};"\
+ "else "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=ATV00104319;"\
+ "fi;"\
"fi;"\
"\0"\
"bcb_cmd="\
diff --git a/board/amlogic/configs/sm1_ac213_v1.h b/board/amlogic/configs/sm1_ac213_v1.h
index 4d697e8..243da58 100644
--- a/board/amlogic/configs/sm1_ac213_v1.h
+++ b/board/amlogic/configs/sm1_ac213_v1.h
@@ -282,6 +282,11 @@
"if keyman read deviceid ${loadaddr} str; then "\
"setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};"\
"fi;"\
+ "if keyman read oemkey ${loadaddr} str; then "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};"\
+ "else "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=ATV00104319;"\
+ "fi;"\
"fi;"\
"\0"\
"bcb_cmd="\
diff --git a/board/amlogic/configs/txlx_t962e_r321_v1.h b/board/amlogic/configs/txlx_t962e_r321_v1.h
index 06a7fab..e55e6bf 100644
--- a/board/amlogic/configs/txlx_t962e_r321_v1.h
+++ b/board/amlogic/configs/txlx_t962e_r321_v1.h
@@ -289,6 +289,11 @@
"else "\
"setenv bootargs ${bootargs} androidboot.wificountrycode=US;"\
"fi;"\
+ "if keyman read oemkey ${loadaddr} str; then "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};"\
+ "else "\
+ "setenv bootargs ${bootargs} androidboot.oem.key1=ATV00104319;"\
+ "fi;"\
"fi;"\
"\0"\
"bcb_cmd="\