Forums - Symphony not detecting Snapdragon Platform

3 posts / 0 new
Last post
Symphony not detecting Snapdragon Platform
sarveshd
Join Date: 14 Feb 19
Posts: 4
Posted: Wed, 2019-03-06 10:40

I have Qualcomm 820 dev board (APQ8096) with debian linux on top of it. I downloaded SNPE 1.22.0.212 SDK and compiled sample NativeCPP code, but when I try to run the sample I get 

"FATAL        0 tffff88744700 /home/host/build/aarch64-linux-gcc4.9/SecondParty/symphony/src/symphony/src/lib/runtime.cc:468 runtime_init() This version of Symphony is targeted to Snapdragon(TM) platforms                                         

tffff88744700 /home/host/build/aarch64-linux-gcc4.9/SecondParty/symphony/src/symphony/src/lib/runtime.cc:468 - Terminating with exit(1)"
 
Even though I run on snapdragon platform, symphony is not detecting that I m on Snapdragon platform. How do I make this happen? Anybody have faced this issue before? How do I resolve this issue?
 
This is /bin/bash file info:
/bin/bash: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=bf00ffb74bf501d5d8f35439e3d89d0c85b0b0ff, stripped
 
 and lscpu version:
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           2
NUMA node(s):        1
Vendor ID:           Qualcomm
Model:               2
Model name:          Kryo
Stepping:            0x1
CPU max MHz:         2150.3999
CPU min MHz:         307.2000
BogoMIPS:            38.40
L1d cache:           unknown size
L1i cache:           unknown size
L2 cache:            unknown size
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
 

 

  • Up0
  • Down0
sarveshd
Join Date: 14 Feb 19
Posts: 4
Posted: Wed, 2019-03-06 17:54

So I had to edit cpuinfo.c in the kernel code, and had to add this line

seq_printf(m, “Hardware\t: Qualcomm Technologies, Inc APQ8096\n”);

after this line

seq_printf(m, “CPU revision\t: %d\n\n”, MIDR_REVISION(midr));

and then re-flashed the board and now the binary started working.

  • Up0
  • Down0
ajai.xavier
Join Date: 6 Sep 18
Posts: 1
Posted: Wed, 2019-03-20 06:11

I do had the same issue. But after fixing this issue I could run the sample application on CPU but not on DSP/GPU. It is saying that the "The selected runtime is not available on this platform." I have also copied the necessary libraries priovided with the SNPE SDK 1.22 to the file system and the required env's are set. I am running debian on Dragonboard 820C development kit. Please suggest the required runtime that I am missing.... 

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