imx6 with jb4.2.2_1.1.0 boot problem when connected usb touchscreen

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

imx6 with jb4.2.2_1.1.0 boot problem when connected usb touchscreen

Jump to solution
1,333 Views
mrleo
Contributor IV

Hi all,

If i don't connect usb interface touchscreen(eGTouch),the android4.2.2 system will boot ok in my custom board which based imx6q sabresd board.

But when I connected usb interface touchscreen(eGTouch),boot the android4.2.2 system will all hang the android logo place.

logcat can see some error :

E/BatteryService( 2623): acOnlinePath not found

E/BatteryService( 2623): usbOnlinePath not found

E/BatteryService( 2623): wirelessOnlinePath not found

E/BatteryService( 2623): batteryStatusPath not found

E/BatteryService( 2623): batteryHealthPath not found

E/BatteryService( 2623): batteryPresentPath not found

E/BatteryService( 2623): batteryCapacityPath not found

E/BatteryService( 2623): batteryVoltagePath not found

E/BatteryService( 2623): batteryTemperaturePath not found

E/BatteryService( 2623): batteryTechnologyPath not found

I/sysproc ( 2623): Entered system_init()

I/sysproc ( 2623): ServiceManager: 0x63f9e520

D/SensorService( 2623): nuSensorService starting...

E/Sensors ( 2623): couldn't find 'mma845x' input device

F/libc    ( 2623): *** strlen read overflow detected ***

F/libc    ( 2623): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2623 (system_server)

I/DEBUG   ( 2311): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   ( 2311): Build fingerprint: 'Freescale/sabresd_6dq/sabresd_6dq:4.2.2/1.1.0-rc3/eng.leo.20140408.111734:user/dev-keys'

I/DEBUG   ( 2311): Revision: '405522'

I/DEBUG   ( 2311): pid: 2623, tid: 2623, name: system_server  >>> system_server <<<

I/DEBUG   ( 2311): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad

I/DEBUG   ( 2311):     r0 00000027  r1 deadbaad  r2 401a9258  r3 00000000

I/DEBUG   ( 2311):     r4 00000000  r5 beeb428c  r6 4004a64d  r7 40be3008

I/DEBUG   ( 2311):     r8 beeb4315  r9 4004a4da  sl 4004a4e2  fp 00000000

I/DEBUG   ( 2311):     ip 00000000  sp beeb4288  lr 4017c339  pc 401789d2  cpsr 60000030

I/DEBUG   ( 2311):     d0  3f80000044800000  d1  0000000100259398

I/DEBUG   ( 2311):     d2  00000001d5b733de  d3  3f1155e54e7e8408

I/DEBUG   ( 2311):     d4  0000000000000000  d5  3ff0000000000000

I/DEBUG   ( 2311):     d6  002d200000000963  d7  000003333f4ccccd

I/DEBUG   ( 2311):     d8  0000000000000000  d9  0000000000000000

I/DEBUG   ( 2311):     d10 0000000000000000  d11 0000000000000000

I/DEBUG   ( 2311):     d12 0000000000000000  d13 0000000000000000

I/DEBUG   ( 2311):     d14 0000000000000000  d15 0000000000000000

I/DEBUG   ( 2311):     d16 3fe99999a0000000  d17 3fe999999999999a

I/DEBUG   ( 2311):     d18 0000000000000000  d19 0000000000000000

I/DEBUG   ( 2311):     d20 3fc554e7eb0eb47c  d21 3e66376972bea4d0

I/DEBUGhub 2-1:1.0: Cannot enable port 4.  Maybe the USB cable is bad?

   ( 2311):     d22 3f4de16b9c24ahub 2-1:1.0: unable to enumerate USB device on port 4

98f  d23 3fb0f4a31edab38b

I/DEBUG   ( 2311):     d24 3fede16b9c24a98f  d25 3fe55559ee5e69f9

I/DEBUG   ( 2311):     d26 0000000000000000  d27 0000000000000000

I/DEBUG   ( 2311):     d28 0000000000000005  d29 0000000000000000

I/DEBUG   ( 2311):     d30 0000000000000000  d31 0000000000000000

I/DEBUG   ( 2311):     scr 20000090

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): backtrace:

I/DEBUG   ( 2311):     #00  pc 0001a9d2  /system/lib/libc.so

I/DEBUG   ( 2311):     #01  pc 000180ac  /system/lib/libc.so (abort+4)

I/DEBUG   ( 2311):     #02  pc 0002572b  /system/lib/libc.so (__strlen_chk+26)

I/DEBUG   ( 2311):     #03  pc 00002539  /system/lib/hw/sensors.SABRESD.so (SensorBase::sensorBaseGetSysfsPath(char const*)+220)

I/DEBUG   ( 2311):     #04  pc 00002d93  /system/lib/hw/sensors.SABRESD.so (AccelSensor::AccelSensor()+46)

I/DEBUG   ( 2311):     #05  pc 00001bf3  /system/lib/hw/sensors.SABRESD.so (sensors_poll_context_t::sensors_poll_context_t()+14)

I/DEBUG   ( 2311):     #06  pc 00001cef  /system/lib/hw/sensors.SABRESD.so

I/DEBUG   ( 2311):     #07  pc 0000e005  /system/lib/libsensorservice.so (android::SensorDevice::SensorDevice()+148)

I/DEBUG   ( 2311):     #08  pc 0000dd55  /system/lib/libsensorservice.so (android::Singleton<android::SensorDevice>::getInstance()+32)

I/DEBUG   ( 2311):     #09  pc 0000fea3  /system/lib/libsensorservice.so (android::SensorService::onFirstRef()+22)

I/DEBUG   ( 2311):     #10  pc 0000ef2d  /system/lib/libutils.so (android::RefBase::incStrong(void const*) const+38)

I/DEBUG   ( 2311):     #11  pc 00001163  /system/lib/libsystem_server.so

I/DEBUG   ( 2311):     #12  pc 0000127f  /system/lib/libsystem_server.so (system_init+242)

I/DEBUG   ( 2311):     #13  pc 0001e290  /system/lib/libdvm.so (dvmPlatformInvoke+112)

I/DEBUG   ( 2311):     #14  pc 0004d411  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+396)

I/DEBUG   ( 2311):     #15  pc 000276a0  /system/lib/libdvm.so

I/DEBUG   ( 2311):     #16  pc 0002b57c  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)

I/DEBUG   ( 2311):     #17  pc 0005ff07  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)

I/DEBUG   ( 2311):     #18  pc 000677e1  /system/lib/libdvm.so

I/DEBUG   ( 2311):     #19  pc 000276a0  /system/lib/libdvm.so

I/DEBUG   ( 2311):     #20  pc 0002b57c  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)

I/DEBUG   ( 2311):     #21  pc 0005fc31  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)

I/DEBUG   ( 2311):     #22  pc 000499fb  /system/lib/libdvm.so

I/DEBUG   ( 2311):     #23  pc 00046871  /system/lib/libandroid_runtime.so

I/DEBUG   ( 2311):     #24  pc 00047533  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)

I/DEBUG   ( 2311):     #25  pc 00000db7  /system/bin/app_process

I/DEBUG   ( 2311):     #26  pc 0001273f  /system/lib/libc.so (__libc_init+38)

I/DEBUG   ( 2311):     #27  pc 00000ae8  /system/bin/app_process

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): stack:

I/DEBUG   ( 2311):          beeb4248  4017b5f9  /system/lib/libc.so (_cleanup)

I/DEBUG   ( 2311):          beeb424c  00000000 

I/DEBUG   ( 2311):          beeb4250  00000001 

I/DEBUG   ( 2311):          beeb4254  401a9408 

I/DEBUG   ( 2311):          beeb4258  61b4b020 

I/DEBUG   ( 2311):          beeb425c  00000480 

I/DEBUG   ( 2311):          beeb4260  401a6254  /system/lib/libc.so

I/DEBUG   ( 2311):          beeb4264  401a61b4  /system/lib/libc.so

I/DEBUG   ( 2311):          beeb4268  00000000 

I/DEBUG   ( 2311):          beeb426c  4017c339  /system/lib/libc.so (_fwalk+32)

I/DEBUG   ( 2311):          beeb4270  00000001 

I/DEBUG   ( 2311):          beeb4274  beeb428c  [stack]

I/DEBUG   ( 2311):          beeb4278  4004a64d  /system/lib/hw/sensors.SABRESD.so

I/DEBUG   ( 2311):          beeb427c  40be3008 

I/DEBUG   ( 2311):          beeb4280  df0027ad 

I/DEBUG   ( 2311):          beeb4284  00000000 

I/DEBUG   ( 2311):     #00  beeb4288  40be3008 

I/DEBUG   ( 2311):          beeb428c  fffffbdf 

I/DEBUG   ( 2311):          beeb4290  401a9408 

I/DEBUG   ( 2311):          beeb4294  00000000 

I/DEBUG   ( 2311):          beeb4298  401a9da4 

I/DEBUG   ( 2311):          beeb429c  3a2d8b35 

I/DEBUG   ( 2311):          beeb42a0  00000020 

I/DEBUG   ( 2311):          beeb42a4  00000020 

I/DEBUG   ( 2311):          beeb42a8  401a9408 

I/DEBUG   ( 2311):          beeb42ac  401760b0  /system/lib/libc.so (__pthread_clone)

I/DEBUG   ( 2311):     #01  beeb42b0  3a2d8b35 

I/DEBUG   ( 2311):          beeb42b4  4018372f  /system/lib/libc.so (__strlen_chk+30)

I/DEBUG   ( 2311):     #02  beeb42b8  beeb4304  [stack]

I/DEBUG   ( 2311):          beeb42bc  4004953d  /system/lib/hw/sensors.SABRESD.so (SensorBase::sensorBaseGetSysfsPath(char const*)+224)

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near r2:

I/DEBUG   ( 2311):     401a9238 00000007 00000002 00000000 00000000 

I/DEBUG   ( 2311):     401a9248 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a9258 00000001 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a9268 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a9278 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a9288 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a9298 00000000 00000000 004e1791 00000000 

I/DEBUG   ( 2311):     401a92a8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a92b8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a92c8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a92d8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a92e8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     401a92f8 00000000 00000000 00000000 00004000 

I/DEBUG   ( 2311):     401a9308 00000000 00000000 00000000 00004000 

I/DEBUG   ( 2311):     401a9318 00000000 00000000 00000000 00004000 

I/DEBUG   ( 2311):     401a9328 00000000 00000000 00000000 00004000 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near r5:

I/DEBUG   ( 2311):     beeb426c 4017c339 00000001 beeb428c 4004a64d 

I/DEBUG   ( 2311):     beeb427c 40be3008 df0027ad 00000000 40be3008 

I/DEBUG   ( 2311):     beeb428c fffffbdf 401a9408 00000000 401a9da4 

I/DEBUG   ( 2311):     beeb429c 3a2d8b35 00000020 00000020 401a9408 

I/DEBUG   ( 2311):     beeb42ac 401760b0 3a2d8b35 4018372f beeb4304 

I/DEBUG   ( 2311):     beeb42bc 4004953d 79656b2d 5f000073 74726956 

I/DEBUG   ( 2311):     beeb42cc 61b49fa0 00000018 401a9228 00000ff0 

I/DEBUG   ( 2311):     beeb42dc 00000fd9 00000003 6c614765 49207861 

I/DEBUG   ( 2311):     beeb42ec 202e636e 20425355 63756f54 6e6f4368 

I/DEBUG   ( 2311):     beeb42fc 6c6f7274 0a72656c 7379732f 616c632f 

I/DEBUG   ( 2311):     beeb430c 692f7373 7475706e 706e692f 2f327475 

I/DEBUG   ( 2311):     beeb431c 656d616e 00000000 00000001 401a9228 

I/DEBUG   ( 2311):     beeb432c 40821c8d 408681b0 00000018 40f778c8 

I/DEBUG   ( 2311):     beeb433c 736e6573 0073726f 40f72008 0000001e 

I/DEBUG   ( 2311):     beeb434c 0000001e 40f77f18 40f77f18 61f6437c 

I/DEBUG   ( 2311):     beeb435c 40f77f18 00000003 61f64010 0000001e 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near r6:

I/DEBUG   ( 2311):     4004a62c 3000726f 2e6f7200 6867696c 6e657374 

I/DEBUG   ( 2311):     4004a63c 2e726f73 65726874 6c6f6873 30310064 

I/DEBUG   ( 2311):     4004a64c 616d6d00 78353438 6f436500 7361706d 

I/DEBUG   ( 2311):     4004a65c 616d0073 31313367 706d0030 3131336c 

I/DEBUG   ( 2311):     4004a66c 01000035 0203ea01 6e657302 42726f73 

I/DEBUG   ( 2311):     4004a67c 47657361 6f507465 614d6c6c 01000078 

I/DEBUG   ( 2311):     4004a68c 05040302 65730706 726f736e 65736142 

I/DEBUG   ( 2311):     4004a69c 50746547 4d6c6c6f 00006e69 8101b108 

I/DEBUG   ( 2311):     4004a6ac 8400b0b0 00000000 8101b108 8400b0b0 

I/DEBUG   ( 2311):     4004a6bc 00000000 8101b292 07afb0b0 00000000 

I/DEBUG   ( 2311):     4004a6cc 8101b107 8400b0b0 00000000 8101b295 

I/DEBUG   ( 2311):     4004a6dc 07aeb0b0 00000000 00000000 00000000 

I/DEBUG   ( 2311):     4004a6ec 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     4004a6fc 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     4004a70c 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     4004a71c 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near r7:

I/DEBUG   ( 2311):     40be2fe8 ffffffff ffffffff ffffffff ffffffff 

I/DEBUG   ( 2311):     40be2ff8 ffffffff ffffffff 00000000 0000503b 

I/DEBUG   ( 2311):     40be3008 4004bde0 00000000 4004a64d 00000000 

I/DEBUG   ( 2311):     40be3018 401a8d94 0000000e 00000000 00000000 

I/DEBUG   ( 2311):     40be3028 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3038 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3048 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3058 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3068 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3078 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3088 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be3098 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be30a8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be30b8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be30c8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):     40be30d8 00000000 00000000 00000000 00000000 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near r8:

I/DEBUG   ( 2311):     beeb42f4 63756f54 6e6f4368 6c6f7274 0a72656c 

I/DEBUG   ( 2311):     beeb4304 7379732f 616c632f 692f7373 7475706e 

I/DEBUG   ( 2311):     beeb4314 706e692f 2f327475 656d616e 00000000 

I/DEBUG   ( 2311):     beeb4324 00000001 401a9228 40821c8d 408681b0 

I/DEBUG   ( 2311):     beeb4334 00000018 40f778c8 736e6573 0073726f 

I/DEBUG   ( 2311):     beeb4344 40f72008 0000001e 0000001e 40f77f18 

I/DEBUG   ( 2311):     beeb4354 40f77f18 61f6437c 40f77f18 00000003 

I/DEBUG   ( 2311):     beeb4364 61f64010 0000001e 40f77f18 00000000 

I/DEBUG   ( 2311):     beeb4374 4080ee25 40f77f18 00000000 408681b0 

I/DEBUG   ( 2311):     beeb4384 0000001e 40f77f18 407e3ef8 00000003 

I/DEBUG   ( 2311):     beeb4394 61f64010 00000018 40cf0950 00000007 

I/DEBUG   ( 2311):     beeb43a4 00000001 401a9228 40821c8d 408681b0 

I/DEBUG   ( 2311):     beeb43b4 00000018 40f77ef8 407e3ef8 00000000 

I/DEBUG   ( 2311):     beeb43c4 61f64010 25b15b5e 63c16c98 40f77ef8 

I/DEBUG   ( 2311):     beeb43d4 00000000 00000001 61f64010 408681b0 

I/DEBUG   ( 2311):     beeb43e4 40802b37 00000001 25b15b5e 408681b0 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near r9:

I/DEBUG   ( 2311):     4004a4b8 746e756f 0a642520 20732500 0073252c 

I/DEBUG   ( 2311):     4004a4c8 7379732f 616c632f 692f7373 7475706e 

I/DEBUG   ( 2311):     4004a4d8 6e69002f 00747570 616e002f 7200656d 

I/DEBUG   ( 2311):     4004a4e8 25732500 6e650073 656c6261 6c6f7000 

I/DEBUG   ( 2311):     4004a4f8 696d006c 616d006e 73250078 74617020 

I/DEBUG   ( 2311):     4004a508 73252068 20732500 68746170 20732520 

I/DEBUG   ( 2311):     4004a518 6c6f702c 696d206c 6564206e 2079616c 

I/DEBUG   ( 2311):     4004a528 25006425 61702073 25206874 702c2073 

I/DEBUG   ( 2311):     4004a538 206c6c6f 2078616d 616c6564 64252079 

I/DEBUG   ( 2311):     4004a548 65642f00 6e692f76 00747570 6c756f63 

I/DEBUG   ( 2311):     4004a558 74276e64 6e696620 25272064 69202773 

I/DEBUG   ( 2311):     4004a568 7475706e 76656420 00656369 0078756c 

I/DEBUG   ( 2311):     4004a578 62616e55 7420656c 706f206f 25206e65 

I/DEBUG   ( 2311):     4004a588 55000a73 6c62616e 6f742065 61657220 

I/DEBUG   ( 2311):     4004a598 73252064 6e69000a 746c5f74 78756c5f 

I/DEBUG   ( 2311):     4004a5a8 002b7200 6c756f43 74276e64 65706f20 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near sl:

I/DEBUG   ( 2311):     4004a4c0 20732500 0073252c 7379732f 616c632f 

I/DEBUG   ( 2311):     4004a4d0 692f7373 7475706e 6e69002f 00747570 

I/DEBUG   ( 2311):     4004a4e0 616e002f 7200656d 25732500 6e650073 

I/DEBUG   ( 2311):     4004a4f0 656c6261 6c6f7000 696d006c 616d006e 

I/DEBUG   ( 2311):     4004a500 73250078 74617020 73252068 20732500 

I/DEBUG   ( 2311):     4004a510 68746170 20732520 6c6f702c 696d206c 

I/DEBUG   ( 2311):     4004a520 6564206e 2079616c 25006425 61702073 

I/DEBUG   ( 2311):     4004a530 25206874 702c2073 206c6c6f 2078616d 

I/DEBUG   ( 2311):     4004a540 616c6564 64252079 65642f00 6e692f76 

I/DEBUG   ( 2311):     4004a550 00747570 6c756f63 74276e64 6e696620 

I/DEBUG   ( 2311):     4004a560 25272064 69202773 7475706e 76656420 

I/DEBUG   ( 2311):     4004a570 00656369 0078756c 62616e55 7420656c 

I/DEBUG   ( 2311):     4004a580 706f206f 25206e65 55000a73 6c62616e 

I/DEBUG   ( 2311):     4004a590 6f742065 61657220 73252064 6e69000a 

I/DEBUG   ( 2311):     4004a5a0 746c5f74 78756c5f 002b7200 6c756f43 

I/DEBUG   ( 2311):     4004a5b0 74276e64 65706f20 7325206e 6c696620 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory near sp:

I/DEBUG   ( 2311):     beeb4268 00000000 4017c339 00000001 beeb428c 

I/DEBUG   ( 2311):     beeb4278 4004a64d 40be3008 df0027ad 00000000 

I/DEBUG   ( 2311):     beeb4288 40be3008 fffffbdf 401a9408 00000000 

I/DEBUG   ( 2311):     beeb4298 401a9da4 3a2d8b35 00000020 00000020 

I/DEBUG   ( 2311):     beeb42a8 401a9408 401760b0 3a2d8b35 4018372f 

I/DEBUG   ( 2311):     beeb42b8 beeb4304 4004953d 79656b2d 5f000073 

I/DEBUG   ( 2311):     beeb42c8 74726956 61b49fa0 00000018 401a9228 

I/DEBUG   ( 2311):     beeb42d8 00000ff0 00000fd9 00000003 6c614765 

I/DEBUG   ( 2311):     beeb42e8 49207861 202e636e 20425355 63756f54 

I/DEBUG   ( 2311):     beeb42f8 6e6f4368 6c6f7274 0a72656c 7379732f 

I/DEBUG   ( 2311):     beeb4308 616c632f 692f7373 7475706e 706e692f 

I/DEBUG   ( 2311):     beeb4318 2f327475 656d616e 00000000 00000001 

I/DEBUG   ( 2311):     beeb4328 401a9228 40821c8d 408681b0 00000018 

I/DEBUG   ( 2311):     beeb4338 40f778c8 736e6573 0073726f 40f72008 

I/DEBUG   ( 2311):     beeb4348 0000001e 0000001e 40f77f18 40f77f18 

I/DEBUG   ( 2311):     beeb4358 61f6437c 40f77f18 00000003 61f64010 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): code around pc:

I/DEBUG   ( 2311):     401789b0 e000b164 6823461c d1fb2b00 68e3e026 

I/DEBUG   ( 2311):     401789c0 4a17b123 447a2401 47986014 20274911 

I/DEBUG   ( 2311):     401789d0 70082400 ea66f7fc f7fd2106 a902ebd8 

I/DEBUG   ( 2311):     401789e0 f04f2006 460a5380 94029304 f7fc9403 

I/DEBUG   ( 2311):     401789f0 4629efbe 20024622 efc6f7fc ea52f7fc 

I/DEBUG   ( 2311):     40178a00 f7fd2106 2001ebc4 ef72f7fb 2a006962 

I/DEBUG   ( 2311):     40178a10 e7d4d1dc deadbaad 0002d5c6 000308aa 

I/DEBUG   ( 2311):     40178a20 0003088e 2400b510 aa04b088 46699002 

I/DEBUG   ( 2311):     40178a30 94014620 94039400 ef1ef7fc bfb842a0 

I/DEBUG   ( 2311):     40178a40 db054620 b1139b07 1c489906 98069006 

I/DEBUG   ( 2311):     40178a50 bd10b008 4604b510 e8a6f7fc d10542a0 

I/DEBUG   ( 2311):     40178a60 447b4b04 6018681b bd102000 30fff04f 

I/DEBUG   ( 2311):     40178a70 bf00bd10 0002d4fa 460db538 481eb928 

I/DEBUG   ( 2311):     40178a80 f7fc4478 2800eca4 b9fdd130 2102481b 

I/DEBUG   ( 2311):     40178a90 f0014478 2800faae db274604 f7fc4629 

I/DEBUG   ( 2311):     40178aa0 2800eb2e 2101db0b f7fc4620 2800eb28 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): code around lr:

I/DEBUG   ( 2311):     4017c318 41f0e92d 4c0b2600 447c4680 68a56824 

I/DEBUG   ( 2311):     4017c328 e0076867 300cf9b5 dd022b00 47c04628 

I/DEBUG   ( 2311):     4017c338 35544306 d5f53f01 2c006824 4630d1ef 

I/DEBUG   ( 2311):     4017c348 81f0e8bd 00029c62 43f0e92d fb01461f 

I/DEBUG   ( 2311):     4017c358 f8dff602 b0878058 44f8460c 8000f8d8 

I/DEBUG   ( 2311):     4017c368 9001a901 f8d84615 20013000 96059602 

I/DEBUG   ( 2311):     4017c378 90049103 4638b113 fa35f7ff a9034638 

I/DEBUG   ( 2311):     4017c388 fe9bf7ff 2000f8d8 b1124681 f7ff4638 

I/DEBUG   ( 2311):     4017c398 f1b9fa37 d0050f00 46219d05 f01a1b70 

I/DEBUG   ( 2311):     4017c3a8 4605ed46 b0074628 83f0e8bd 00029bda 

I/DEBUG   ( 2311):     4017c3b8 1e4b6841 2b006043 f000da01 6803bbab 

I/DEBUG   ( 2311):     4017c3c8 2b01f813 46106003 00004770 4604b570 

I/DEBUG   ( 2311):     4017c3d8 447e4e0d 68336836 f7ffb10b 6861fa04 

I/DEBUG   ( 2311):     4017c3e8 60601e48 bfa22800 f8106820 60205b01 

I/DEBUG   ( 2311):     4017c3f8 4620da03 fb8ef000 68324605 4620b112 

I/DEBUG   ( 2311):     4017c408 f9fef7ff bd704628 00029b62 447b4b07 

I/DEBUG   ( 2311):

I/DEBUG   ( 2311): memory map around fault addr deadbaad:

I/DEBUG   ( 2311):     bee95000-beeb6000 [stack]

I/DEBUG   ( 2311):     (no map for address)

I/DEBUG   ( 2311):     ffff0000-ffff1000 [vectors]

D/Zygote  ( 2313): Process 2623 terminated by signal (11)

I/Zygote  ( 2313): Exit zygote because system server (2623) has terminated

I/Netd    ( 2636): Netd 1.0 starting

W/InterfaceController( 2636): Error (Symbol not found: ) while searching for the interface command fini function

I/ServiceManager( 2308): service 'media.audio_flinger' died

I/ServiceManager( 2308): service 'media.player' died

I/ServiceManager( 2308): service 'media.camera' died

And the /system/bin/netd and /system/bin/mediaserver will exited

My custom board does not have mma845x. maybe need disable mma845x? How to solve this issues? Anyone can give me some advices?


Thanks,

Leo

Tags (3)
0 Kudos
1 Solution
733 Views
mrleo
Contributor IV

HI Dan Wang,

I am not using the android4.2.2 demo images,I modify the file BoardConfig.mk in the path "/device/fsl/sabresd_6dq/" to disable the mma8451.

BOARD_HAS_SENSOR :=true

SENSOR_MMA8451 :=true

modify to

#BOARD_HAS_SENSOR :=true

#SENSOR_MMA8451 :=true

But it is not ok for me.

I will try to modify to

BOARD_HAS_SENSOR :=false

SENSOR_MMA8451 :=false

and I think it should rebuild the system.

Good luck it is ok now.



View solution in original post

0 Kudos
4 Replies
733 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Leo,

Are you using the android4.2.2 demo images? This images are for freescale's reference board. When you use it without modify on your own board, problems may occur.  As you said that your custom board do not have mma845x, so when you connect the usb interface touchscreen it can not find the mmz845x input device. Here you'd better disable the mma845x, and then have a try.

Hope this can help you.
Have a great day,
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
734 Views
mrleo
Contributor IV

HI Dan Wang,

I am not using the android4.2.2 demo images,I modify the file BoardConfig.mk in the path "/device/fsl/sabresd_6dq/" to disable the mma8451.

BOARD_HAS_SENSOR :=true

SENSOR_MMA8451 :=true

modify to

#BOARD_HAS_SENSOR :=true

#SENSOR_MMA8451 :=true

But it is not ok for me.

I will try to modify to

BOARD_HAS_SENSOR :=false

SENSOR_MMA8451 :=false

and I think it should rebuild the system.

Good luck it is ok now.



0 Kudos
733 Views
balashanmugam
Contributor III

Hi Leo,

Replace this below function in myandroid/hardware/imx/libsensors/SensorBase.cpp file to fix the above issue. removing the sensors from the configuration makes no sense.

the root cause of the problem is buf size is allocated to 32 bytes, if you could increase it 64 or above, you will get the issue solved.

int SensorBase::sensorBaseGetSysfsPath(const char* inputName)

{

    FILE *fd = NULL;

    const char *dirname = "/sys/class/input/";

    char sysfs_name[PATH_MAX], *endptr;

    char *filename = NULL, buf[64];

    DIR *dir;

    struct dirent *de;

    int n, path_len;

    dir = opendir(dirname);

    if(dir == NULL)

        return -1;

    strcpy(sysfs_name, dirname);

    filename = sysfs_name + strlen(sysfs_name);

    while ((de = readdir(dir)))

    {  

            if ((strlen(de->d_name) < 6) ||

            strncmp(de->d_name, "input", 5))

            continue;

        strcpy(filename, de->d_name);

        strcat(filename, "/");

        path_len = strlen(sysfs_name);

        strcat(filename, "name");

        fd = fopen(sysfs_name, "r");

        if (fd) {

            memset(buf, 0, 64);

            n = fread(buf, 1,64, fd);

            fclose(fd);

   

            if ((strlen(buf) >= strlen(inputName)) &&

                !strncmp(buf, inputName, strlen(inputName))) {

                 sysfs_name[path_len] = '\0';

                 snprintf(sysfs_enable, sizeof(sysfs_enable), "%s%s",sysfs_name,SYSFS_ENABLE);

                 snprintf(sysfs_poll, sizeof(sysfs_poll), "%s%s",sysfs_name,SYSFS_POLL);

                 snprintf(sysfs_poll_min, sizeof(sysfs_poll_min), "%s%s",sysfs_name, SYSFS_POLL_MIN);

                 snprintf(sysfs_poll_max, sizeof(sysfs_poll_max), "%s%s",sysfs_name, SYSFS_POLL_MAX);

                 mMinPollDelay = sensorBaseGetPollMin();

                 mMaxPollDelay = sensorBaseGetPollMax();

                 ALOGD("%s path %s",inputName,sysfs_enable);

                 ALOGD("%s path %s",inputName,sysfs_poll);

                 ALOGD("%s path %s ,poll min delay %d",inputName,sysfs_poll_min,mMinPollDelay);

                 ALOGD("%s path %s ,poll max delay %d",inputName,sysfs_poll_max,mMaxPollDelay);

                 return 0;

            }

        }

    }

    return -1;

}

Regards

Arulpandiyan Vadivel.

0 Kudos
733 Views
mrleo
Contributor IV

Very thanks!

We will test it!

0 Kudos