Commits
zhang sanshan committed ffb327d2eba
MA-13329 [Android] enable 64-bit binder on imx6/7 devices google remove 32-bit binder interface in kernel space with below patch: commit fccfb036ac7a59657715cbebdbc3700606db7833 Author: Martijn Coenen <maco@google.com> Date: Fri May 11 01:45:24 2018 -0700 UPSTREAM: ANDROID: binder: remove 32-bit binder interface. New devices launching with Android P need to use the 64-bit binder interface, even on 32-bit SoCs [0]. this patch enable TARGET_USES_64_BIT_BINDER which enable 64-bit binder in user space. it will have below error log if use 32-bit in user space while kernel do not support 32-bit binder: healthd: No battery devices found DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** DEBUG: Build fingerprint: 'Android/sabresd_6dq/sabresd_6dq:9/1.0.1-ga-rc3/sanshan11050917:userdebug/dev-keys' DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** DEBUG: Build fingerprint: 'Android/sabresd_6dq/sabresd_6dq:9/1.0.1-ga-rc3/sanshan11050917:userdebug/dev-keys' DEBUG: Revision: '0' DEBUG: ABI: 'arm' DEBUG: pid: 162, tid: 162, name: hwservicemanage >>> /system/bin/hwservicemanager <<< DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- DEBUG: Abort message: 'FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xa9d2f0c0)' DEBUG: r0 00000000 r1 000000a2 r2 00000006 r3 a9b687e0 DEBUG: r4 000000a2 r5 000000a2 r6 beef789c r7 0000010c DEBUG: r8 beef7908 r9 a9b7b450 r10 aa2de070 r11 0000000a DEBUG: ip aa1b80b0 sp beef7888 lr a9af4105 pc a9aebe92 DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** DEBUG: Build fingerprint: 'Android/sabresd_6dq/sabresd_6dq:9/1.0.1-ga-rc3/sanshan11050917:userdebug/dev-keys' DEBUG: Revision: '0' DEBUG: ABI: 'arm' DEBUG: pid: 180, tid: 180, name: vdc >>> /system/bin/vdc <<< DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- DEBUG: Abort message: 'Binder driver could not be opened. Terminating.' DEBUG: r0 00000000 r1 000000b4 r2 00000006 r3 a8fdb7e0 DEBUG: r4 000000b4 r5 000000b4 r6 be8e63f4 r7 0000010c DEBUG: r8 a8d6d148 r9 a8d6d148 r10 a8d6d148 r11 a8d6d148 DEBUG: ip a8d6d148 sp be8e63e0 lr a8f67105 pc a8f5ee92 DEBUG: Change-Id: I2b33dbb93516e27f8721ebff4e0b222e8d7ffae1 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/6440 Reviewed-by: guoyin.chen <guoyin.chen@nxp.com>