Forums - platform-validator fails for DSP on 888/HDK8350

2 posts / 0 new
Last post
platform-validator fails for DSP on 888/HDK8350
Join Date: 9 Oct 19
Posts: 2
Posted: Thu, 2021-06-10 12:28
tested with snpe 1.49, 1.50, 1.51 on HDK8350. This is probably also a good test for Samsung/Xiaomii/other 888 model owners: 
%ADB% root
%ADB% remount
%ADB% shell setenforce 0
%ADB% push %SNPE_ROOT%/bin/aarch64-android-clang6.0/snpe-platform-validator /data/local/tmp/platformValidator/bin/snpe-platform-validator
%ADB% push %SNPE_ROOT%/lib/aarch64-android-clang6.0 /data/local/tmp/platformValidator/lib
%ADB% push %SNPE_ROOT%/lib/dsp /data/local/tmp/platformValidator/dsp
%ADB% shell chmod a+x /data/local/tmp/platformValidator/bin/snpe-platform-validator 
%ADB% shell cd /data/local/tmp/platformValidator;ADSP_LIBRARY_PATH=$PWD/lib LD_LIBRARY_PATH=$PWD/lib ./bin/snpe-platform-validator --runtime dsp
%ADB% shell cd /data/local/tmp/platformValidator;ADSP_LIBRARY_PATH=/data/local/tmp/platformValidator/lib LD_LIBRARY_PATH=/data/local/tmp/platformValidator/lib ./bin/snpe-platform-validator --runtime dsp
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime
PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable
PF_VALIDATOR: DEBUG: CPU side validation passed.
PF_VALIDATOR: DEBUG: starting calculator test
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - ''.  Setting up pointers.
PF_VALIDATOR: ERROR: -2 . Error while executing the sum function.
PF_VALIDATOR: ERROR: Please use testsig if using unsigned images.
PF_VALIDATOR: ERROR: Also make sure ADSP_LIBRARY_PATH points to directory containing skels.
Runtime DSP Prerequisites: Absent.


What is missing? 

  • Up0
  • Down0
Join Date: 9 Oct 19
Posts: 2
Posted: Thu, 2021-06-10 13:23

got it working after all.

All .so files (.skel and others) had to be in the same bin directory, and LD_LIBRARY_PATH set accordingly. 


  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.