diff options
author | Thierry Strudel <tstrudel@google.com> | 2015-05-27 12:03:24 -0700 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-05-28 10:29:39 -0700 |
commit | f4151810e59fbb115db78da14e5d728dd8f91dec (patch) | |
tree | 69231426f17a7d459b3bcb2aeebd279086bf002c /init.bullhead.sensorhub.rc | |
parent | 3036948fe892848a7cd43d731e4d7a89ae3f4995 (diff) | |
download | bullhead-f4151810e59fbb115db78da14e5d728dd8f91dec.tar.gz |
bullhead: use contexthub driver
add spi-contexthub.h as kernel-headers
Change-Id: I54853795366766e608d929092d630753ade7a720
Diffstat (limited to 'init.bullhead.sensorhub.rc')
-rw-r--r-- | init.bullhead.sensorhub.rc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/init.bullhead.sensorhub.rc b/init.bullhead.sensorhub.rc index 78737ff..17f6b8a 100644 --- a/init.bullhead.sensorhub.rc +++ b/init.bullhead.sensorhub.rc @@ -1,18 +1,10 @@ on post-fs - chown system system /sys/class/gpio/export ## set gpio75 as input to power the hall sensor when connected to AP write /sys/class/gpio/export 75 write /sys/class/gpio/gpio75/direction in - ## The FW must be flashed before the HAL starts - ## A complete flash happens only on FW update - ## it takes ~2s to check if FW is up to date - ## flashing will happen only on OTAs and takes ~35s - rm /data/flash-sh-fw.done start flash-sh-fw - wait /data/flash-sh-fw.done 60 - rm /data/flash-sh-fw.done -service flash-sh-fw /system/bin/logwrapper /system/bin/sensortool.bullhead -f /vendor/firmware/nano4x1.bin -w /data/flash-sh-fw.done +service flash-sh-fw /system/bin/logwrapper /system/bin/sensortool.bullhead -f /vendor/firmware/nano4x1.bin oneshot disabled |