author | Liang Ji <liang.ji@amlogic.com> | 2020-03-05 05:59:41 (GMT) |
---|---|---|
committer | Liang Ji <liang.ji@amlogic.com> | 2020-03-12 02:26:36 (GMT) |
commit | bda3d866951efb519d33d37c36c19704aaa12982 (patch) | |
tree | e68bfb167e06cb2ac08737716deb6ba9a48c2ac6 | |
parent | b5f319b9e1dfc1dd36361a3ed50742a0f3d04364 (diff) | |
download | common-bda3d866951efb519d33d37c36c19704aaa12982.zip common-bda3d866951efb519d33d37c36c19704aaa12982.tar.gz common-bda3d866951efb519d33d37c36c19704aaa12982.tar.bz2 |
fw: must wait for tee_supplicant to be done before fw loading. [1/1]
PD#GH-218
BUG=150344018
Problem:
there is a probability play failed after the system reboot.
Solution:
the tee firmware loading dependent the server of tee supplicant ready,
thus must to wait the tee supplicat to be done before load fw.
Verify:
ac214
Change-Id: Ib91adf9a9246ce11cc0648ee18e31a6b0d034f99
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
-rwxr-xr-x | initscripts/init.amlogic.media.rc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/initscripts/init.amlogic.media.rc b/initscripts/init.amlogic.media.rc index 71f696f..46f3534 100755 --- a/initscripts/init.amlogic.media.rc +++ b/initscripts/init.amlogic.media.rc @@ -37,8 +37,12 @@ on fs insmod /vendor/lib/modules/amvdec_ports.ko insmod /vendor/lib/modules/amlogic_fbc_lib.ko +on property:init.svc.vendor.keymaster-4-0=running + start tee_preload_fw + service tee_preload_fw /vendor/bin/tee_preload_fw - class core + class early_hal user root group system + disabled oneshot |