Skip to content

Commit

Permalink
init.qcom.devstart.sh: Remove unnecessary init process
Browse files Browse the repository at this point in the history
There is no slpi on SDM670 so remove slpi related init process
SSC runs on adsp so grep adsp firmware version as well.

Bug: 111861468
Test: Check sensors function work.
Change-Id: I885753b7136aca69be32ab62acb2ab7a3969f00b
Signed-off-by: Rick Chen <rickctchen@google.com>
  • Loading branch information
Rick Chen committed Aug 9, 2018
1 parent fe5ca18 commit d69037f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions init.qcom.devstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
# Initialize Edge Sense.
/vendor/bin/init.edge_sense.sh

echo 1 > /sys/kernel/boot_slpi/boot
setprop vendor.qcom.devup 1
log SLPI boot started.

version=`grep -ao "OEM_IMAGE_VERSION_STRING[ -~]*" \
/vendor/firmware/slpi.b04 | \
sed -e s/OEM_IMAGE_VERSION_STRING=SLPI.version.// -e s/\(.*\).//`
setprop sys.slpi.firmware.version "$version"
/vendor/firmware/adsp.b04 | \
sed -e s/OEM_IMAGE_VERSION_STRING=ADSP.version.// -e s/\(.*\).//`
setprop sys.adsp.firmware.version "$version"

0 comments on commit d69037f

Please sign in to comment.