Darren Greene
2018-07-27 02:54:32 UTC
Hi all,
Need help from HAL experts.
I am following the steps to integrate the ARM neural network HAL on my
development kit (https://github.com/ARM-software/android-nn-driver). In the
testing section we have the following step to "Run the ArmNN driver service
executable in the background":
adb shell
/system/vendor/bin/hw/***@1.0-service-armnn &
This starts the armnn hal service. I wanted to know if this can be started
automatically at boot since it is not currently happening for me.
I had posted this earlier in the "android-platform" group and was
re-directed here. One of the replies there was:
"That service already has 'class hal' in its init.rc file, so it should be
starting on boot already (assuming it is in PRODUCT_PACKAGES). It could
also be a missing an sepolicy domain causing it to fail to start (even in
permissive mode), and if this is the case, you should see an error message
in dmesg"
I have added it to PRODUCT_PACKAGES and I don't see any errors related to
this service in logcat/dmesg. Are there any other reasons for this service
not to start at boot-up ?
- Darren
Need help from HAL experts.
I am following the steps to integrate the ARM neural network HAL on my
development kit (https://github.com/ARM-software/android-nn-driver). In the
testing section we have the following step to "Run the ArmNN driver service
executable in the background":
adb shell
/system/vendor/bin/hw/***@1.0-service-armnn &
This starts the armnn hal service. I wanted to know if this can be started
automatically at boot since it is not currently happening for me.
I had posted this earlier in the "android-platform" group and was
re-directed here. One of the replies there was:
"That service already has 'class hal' in its init.rc file, so it should be
starting on boot already (assuming it is in PRODUCT_PACKAGES). It could
also be a missing an sepolicy domain causing it to fail to start (even in
permissive mode), and if this is the case, you should see an error message
in dmesg"
I have added it to PRODUCT_PACKAGES and I don't see any errors related to
this service in logcat/dmesg. Are there any other reasons for this service
not to start at boot-up ?
- Darren
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.