Forums - UDO SoftMax Not working on Target SA6155P

2 posts / 0 new
Last post
UDO SoftMax Not working on Target SA6155P
vyom.mishra
Join Date: 24 Feb 20
Posts: 6
Posted: Sun, 2021-07-04 22:01

Dear Sir,

We have build UDO Softmax example with SNPE 1.48 and tested it on PC Host which is working fine.

When we tried to run it on target device SA6155P

it fails both on CPU and DSP.

It throws below error , pleas find it for your reference:

On DSP:

root@sa6155:/data/local/tmp/inception_v3_udo# snpe-net-run --container inception_v3_udo_quantized.dlc --input_list target_raw_list.txt --udo_package_path dsp/libUdoSoftmaxUdoPackageReg.so --use_dsp
error_code=1106; error_message=UDO Package Registration Failed Failed to load registration library dsp/libUdoSoftmaxUdoPackageReg.so. Error: /usr/lib/libc.so: invalid ELF header; error_component=User-def6
 
On CPU:
root@sa6155:/data/local/tmp/inception_v3_udo# snpe-net-run --container inception_v3_udo.dlc --input_list target_raw_list.txt --udo_package_path cpu/libUdoSoftmaxUdoPackageReg.so
error_code=1106; error_message=UDO Package Registration Failed Failed to load registration library cpu/libUdoSoftmaxUdoPackageReg.so. Error: /usr/lib/libc.so: invalid ELF header; error_component=User-def2
 
What could be the possible reason for this , please help us to resolve the same.
 
 
Thanks and Regards,
Vyom Mishra

 

 

  • Up0
  • Down0
SahilBandar
Join Date: 23 May 18
Posts: 10
Posted: Tue, 2021-08-31 13:38

Hi vyom.mishra,

I Hope you are not using the same 
libUdoSoftmaxUdoPackageReg.so file which you have build for x86_64 platform.
The error which you are facing says that the 
libUdoSoftmaxUdoPackageReg.so file having dependencies of libc.so internally, the ELF header for the same is not valid to be execute on the SA6155P with available libc.so.

Please do cross check with the ELF Header of 
libUdoSoftmaxUdoPackageReg.so & libc.so which is available in SA6155P.
Please do recompile the source code with required toolchain to match with libc.so and try it again.

Please let me know if this resolve your issue.

Thanks, 
Sahil Bandar

  • 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.