Integration of pn7160 on iMX8 running with Android 11

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Integration of pn7160 on iMX8 running with Android 11

949 Views
ram-nimmala
Contributor II

Hi NXP Team,

 

We are integrating PN7160 NFC reader to our custom iMX8 platform running android 11 by following the document AN13189 from NXP.

In the bringup process we are observing that the nfc service is crashing in libnfc-nci.so with the below crash message

 

6-21 10:58:09.216 1425 1425 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraApp onCreate() - START
06-21 10:58:09.218 1425 1425 V CAM_Profiler: [ 0.000ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - START
06-21 10:58:09.237 1474 1474 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-21 10:58:09.238 1474 1474 F DEBUG : Build fingerprint: 'Android/c2/c2:11/1.0.0_/unknown:eng/dev-keys'
06-21 10:58:09.238 1474 1474 F DEBUG : Revision: '0'
06-21 10:58:09.238 1474 1474 F DEBUG : ABI: 'arm64'
06-21 10:58:09.243 1474 1474 F DEBUG : Timestamp: 2022-06-21 10:58:09+0000
06-21 10:58:09.243 1474 1474 F DEBUG : pid: 1223, tid: 1409, name: AsyncTask #1 >>> com.android.nfc <<<
06-21 10:58:09.243 1474 1474 F DEBUG : uid: 1027
06-21 10:58:09.243 1474 1474 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
06-21 10:58:09.243 1474 1474 F DEBUG : x0 0000000000000000 x1 0000000000000581 x2 0000000000000006 x3 0000fba0c24e74f0
06-21 10:58:09.243 1474 1474 F DEBUG : x4 dafc6fc2ed446fab x5 dafc6fc2ed446fab x6 dafc6fc2ed446fab x7 ffff7fffff7f7fff
06-21 10:58:09.243 1474 1474 F DEBUG : x8 00000000000000f0 x9 0000fba3437737e0 x10 ffffff80fffffbdf x11 0000000000000001
06-21 10:58:09.244 1474 1474 F DEBUG : x12 0000000000000000 x13 000000000000002f x14 0000fba0c24e60a0 x15 00000000201d53a3
06-21 10:58:09.244 1474 1474 F DEBUG : x16 0000fba34380cc80 x17 0000fba3437ee3c0 x18 0000fba0c2004000 x19 00000000000000ac
06-21 10:58:09.244 1474 1474 F DEBUG : x20 00000000000004c7 x21 00000000000000b2 x22 0000000000000581 x23 00000000ffffffff
06-21 10:58:09.244 1474 1474 F DEBUG : x24 00000000ffffc400 x25 0000fba0c7c2b357 x26 0000fba0c7cca5b0 x27 0000fba0c24e7921
06-21 10:58:09.244 1474 1474 F DEBUG : x28 0000fba0c7cc9828 x29 0000fba0c24e7570
06-21 10:58:09.244 1474 1474 F DEBUG : lr 0000fba3437a1544 sp 0000fba0c24e74d0 pc 0000fba3437a1574 pst 0000000000000000
06-21 10:58:09.251 1474 1474 F DEBUG : backtrace:
06-21 10:58:09.251 1425 1425 I CAM_Profiler: [ 32.545ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [32.545ms] PreferenceManager.getDefaultSharedPreferences
06-21 10:58:09.252 1474 1474 F DEBUG : #00 pc 000000000004e574 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 2338ca8a340db969666f0073f3371d96)
06-21 10:58:09.252 1474 1474 F DEBUG : #01 pc 00000000000871b0 /system/lib64/libnfc-nci.so (nfc_free_conn_cb(tNFC_CONN_CB*)+120) (BuildId: a8281ee639ccc1d8a8e0a30635e9787b)
06-21 10:58:09.252 1474 1474 F DEBUG : #02 pc 000000000007fa30 /system/lib64/libnfc-nci.so (nfc_enabled(unsigned char, NFC_HDR*)+80) (BuildId: a8281ee639ccc1d8a8e0a30635e9787b)
06-21 10:58:09.252 1474 1474 F DEBUG : #03 pc 000000000008060c /system/lib64/libnfc-nci.so (nfc_main_handle_hal_evt(tNFC_HAL_EVT_MSG*)+228) (BuildId: a8281ee639ccc1d8a8e0a30635e9787b)
06-21 10:58:09.252 1474 1474 F DEBUG : #04 pc 0000000000086d74 /system/lib64/libnfc-nci.so (nfc_task(unsigned int)+772) (BuildId: a8281ee639ccc1d8a8e0a30635e9787b)
06-21 10:58:09.252 1474 1474 F DEBUG : #05 pc 00000000000b6e88 /system/lib64/libnfc-nci.so (gki_task_entry(void*)+256) (BuildId: a8281ee639ccc1d8a8e0a30635e9787b)
06-21 10:58:09.252 1474 1474 F DEBUG : #06 pc 00000000000b0c08 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 2338ca8a340db969666f0073f3371d96)
06-21 10:58:09.252 1474 1474 F DEBUG : #07 pc 00000000000505d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 2338ca8a340db969666f0073f3371d96)
06-21 10:58:09.258 1425 1425 V CAM_Profiler: [ 40.131ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 7.586ms] preferences.getLong
06-21 10:58:09.259 1425 1425 I CAM_Profiler: [ 41.844ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - STOP
06-21 10:58:09.261 1425 1425 I CAM_Profiler: [ 67.357ms][ui] GUARD: CameraApp onCreate() - [67.357ms] initializeTimeOfFirstRun
06-21 10:58:09.263 1425 1425 V CAM_Profiler: [ 69.331ms][ui] GUARD: CameraApp onCreate() - [ 1.974ms] UsageStatistics.initialize

 

 

Attaching is the complete logcat logs of the same.

As we are stuck at this phase, requesting you to provide some inputs to proceed further.
 

0 Kudos
1 Reply

934 Views
ram-nimmala
Contributor II

Hi NXP Team,

 

I'm still blocking on this issue, please provide any inputs on this.

0 Kudos