Hi Darren, Try starting a dummy service which will only write a log message once started. In this way you'll be able to trace down the problem easier.
Good luck, Vitaliy On Tue, Jul 31, 2018 at 7:35 PM, Darren Greene <greenedarr...@gmail.com> wrote: > Any pointers guys ? I don't see any errors/message related to the hal. I > am on "O" (8.1). I have tried adding the service to start "on boot" in the > init.rc, but still no luck. Any other files I need to modify to get this > running at boot ? > > On Friday, July 27, 2018 at 9:14:40 PM UTC+5:30, Darren Greene wrote: >> >> 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/android.hardware.neuralnetworks@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+unsubscr...@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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.