author | Liang Ji <liang.ji@amlogic.com> | 2019-12-11 05:48:11 (GMT) |
---|---|---|
committer | Liang Ji <liang.ji@amlogic.com> | 2019-12-16 12:14:21 (GMT) |
commit | 771d61e42fedf21b63ed2e5787542a4dbf9b51ad (patch) | |
tree | b041f0942ec23985b845062f65c231fcec4b6967 | |
parent | b53f05097b5c06d7316f266b46866a42ed7f57c7 (diff) | |
download | uboot-771d61e42fedf21b63ed2e5787542a4dbf9b51ad.zip uboot-771d61e42fedf21b63ed2e5787542a4dbf9b51ad.tar.gz uboot-771d61e42fedf21b63ed2e5787542a4dbf9b51ad.tar.bz2 |
uboot: add a unifykey for google prop ro.oem.key1 [3/3]
PD#SWPL-17914
Problem:
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:
x301, ampere, franklin
Change-Id: Ia9b920b9da653479a5fb5dc92311144a7eeff9bc
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
-rw-r--r-- | board/amlogic/configs/tl1_x301_v1.h | 5 | ||||
-rw-r--r-- | board/amlogic/configs/tm2_t962e2_ab311_v1.h | 5 | ||||
-rw-r--r-- | board/amlogic/configs/txl_p321_v1.h | 5 | ||||
-rw-r--r-- | board/amlogic/configs/txlx_t962x_r311_v1.h | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/board/amlogic/configs/tl1_x301_v1.h b/board/amlogic/configs/tl1_x301_v1.h index 105bc67..e1b42a7 100644 --- a/board/amlogic/configs/tl1_x301_v1.h +++ b/board/amlogic/configs/tl1_x301_v1.h @@ -370,6 +370,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/tm2_t962e2_ab311_v1.h b/board/amlogic/configs/tm2_t962e2_ab311_v1.h index 4f722cd..1951061 100644 --- a/board/amlogic/configs/tm2_t962e2_ab311_v1.h +++ b/board/amlogic/configs/tm2_t962e2_ab311_v1.h @@ -366,6 +366,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/txl_p321_v1.h b/board/amlogic/configs/txl_p321_v1.h index 8f8b8b2..74fa0a2 100644 --- a/board/amlogic/configs/txl_p321_v1.h +++ b/board/amlogic/configs/txl_p321_v1.h @@ -311,6 +311,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_t962x_r311_v1.h b/board/amlogic/configs/txlx_t962x_r311_v1.h index 4077ee1..81a49a7 100644 --- a/board/amlogic/configs/txlx_t962x_r311_v1.h +++ b/board/amlogic/configs/txlx_t962x_r311_v1.h @@ -311,6 +311,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="\ |