This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x beaglebone black frame buffer open fail when add NFC

Hi ,

I use TI_Andoird_JB_4.2.2_DevKil_4.1.1 in BeagleboneBlack.

When i add nfc package and rebuild android .

Android can't show display and see log message have "E/SurfaceFlinger(21775): framebuffer_open failed (Not a typewriter)"

Modify file : android root/device/beagleboneblack/device.mk

PRODUCT_PACKAGES := \
libnfc \
libstmnfc \
libnfc_stm_jni \
NfcStm \
Tag

PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:\
system/etc/permissions/android.hardware.nfc.xml

Android logcat message :

--------- beginning of /dev/log/main
I/SurfaceFlinger(21775): SurfaceFlinger is starting
I/SurfaceFlinger(21775): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL (21775): loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so
D/libEGL (21775): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so
D/libEGL (21775): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so
W/libEGL (21775): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
E/SurfaceFlinger(21775): framebuffer_open failed (Not a typewriter)
E/SurfaceFlinger(21775): hwcomposer module not found
E/SurfaceFlinger(21775): ERROR: failed to open framebuffer, aborting
F/libc (21775): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 21777 (SurfaceFlinger)

0027.logcat_20140224.txt