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.

Android JB 4_2_2 Devkit 4_1_1 on AM335x customized board BInder Error !!!

Other Parts Discussed in Thread: AM3352

Hello All,

We are facing issue of binder transaction failed error on AM3352 Customized board.

binder :326:337 transcation failed 29189 size 56-0
binder :release proc 3967 ,transaction 164410 ,not freed.
 
When we dig down more we found that it is because of mediaserver service which is being invoked from init.rc.
KIndly please help me out.How to resolve this issue.
Currently when i comment the mediaserver service ,on my screen on ANDROID logo animation runs.
Also i want to rotate the screen to 90 degree.I added the property ro.sf.hwrotation=90 in default.prop file.But no effect found.
 
Regards
Nitish Mehta
  • Hi Nitish,

    Could you please reproduce the issue on supported platforms like BeagleBoneBlack, Am335x SK or AM335X EVM with JB 4.2.2? Otherwise, it would be challenging for us to support you effectively.
  • Hello Team,
    First of all ,i am grateful to you for your response.
    I reproduced the issue on Beaglebone board.Simply compiled
    by make droid option mentioning the product name as beaglebone and ported the code over the board.
    The same error comes over beaglebone also.
    I am using Ubuntu 12.04(64bit) PC.
    We have 256 MB Nand and DRAM 512 MB on our customized AMM3352 board.

    The above errors continously comes on console.

    Regards
    Nitish Mehta

  • Hi Nitish,

    Thanks for your reply. I'm not sure to understand what is meant by "ported the code over", have you made modifications to the original BSP before trying on the Beaglebone? Could you confirm that this binder error does not happen when using the pre-built binaries?

    We couldn't reproduce the issue here, can you explain it a bit more, when does it happen exactly? Do you see the Launcher? Are you able to start applications? As for your first post, mediaserver needs to be started from init otherwise the system won't work.

  • Hello Team,
    Thanks again for your reply. First of all sorry for the wrong word usage "porting" for beaglebone.
    Below are the details for your queries :

    Environment
    PC : Core i3 (64 Bit)
    OS: Ubuntu 12.04 (64-bit)


    CASE 1: Beaglebone
    -> Took the devkit and compiled it for beaglebone mentioning target as kernel_build and droid ( -j8 ) .
    -> Used those binaries for the beaglebone.
    -> I have mounted rootfs on mmc and also on nand.In both the cases ,binder error exist.
    Errors:
    binder :326:337 transcation failed 29189 size 56-0
    binder :release proc 3967 ,transaction 164410 ,not freed.
    Repeatedly comes on console
    ->We don't have touchscreen cape for beaglebone.But on console ,binder error is coming.
    ->I haven't check this using prebuilt.Please provide me the link meanwhile i will check and confirm you
    about the status.

    CASE 2: AM3352 Customized Board
    -> Ported the Android Kernel only (modification done for ethernet,touchscreen interface) and rootfs is same as i compiled for beaglebone.
    -> Used those binaries for the AM3352 customized board.
    -> I have mounted rootfs on mmc and also on nand.In both the cases ,binder error exist.
    Errors:
    binder :326:337 transcation failed 29189 size 56-0
    binder :release proc 3967 ,transaction 164410 ,not freed.
    Repeatedly comes on console

    ->Touchscreen is working fine.Here is the below observations found on touchscreen :-
    -> Android Logo Runs
    -> After that Blank Screen comes with battery and network status icons on the upper right corner.
    ->Also i can drop down the notification bar and go to the Settings icon.Where i can see
    Wifi,Data Connectivity,Battery etc.

    I have the logs from logcat.But cant able to attach here.
    Thanks Again for responses.
    Regards
    Nitish Mehta
  • Hello Team,

    First of all i am extremely sorry for the late reply.

    I used the prebuilt binary for the beaglebone board.

    Here are the following observations  :

    On 1st Boot :

    Binder transaction error came only one time.

    On 2nd Boot :

    When bootanimation exits crashes were observed.I am attaching

    logs heading "jb_2nd_boot"

    On 3rd Boot:

    Systems runs no above errors were found.I am attaching log heading "jb_3rd_boot"

    Also i have tused the file system binary for our board also.But it doesnt support sgx.

    So,after mount of rootfs crashes were observed.

    Note:I have used it for beaglebone board and we dnt have lcd cape.

             So,this observations are from console logs.

    Please guide me in this to proceed further for my customized board AM3352.

    Regards

    Nitish Mehta

    ###################################################################################################

    [Log Deleted]

    ##################################################################################################

  • Hello Team,
    I resolved the error .Actually it was compilation issue taking place because of USE_OPENGL_RENDERER := true .
    This should be false [ USE_OPENGL_RENDERER := false ] in BoardConfig.mk file of product.
    This is because we dont have sgx support.

    Thanks
    Regards
    Nitish Mehta