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.

AM5728: Problems of burning Android custom kernel

Part Number: AM5728

In evmAM 572x, I am trying to bake a customized Android kernel to eMMC, In the procedure of the following site.

software-dl.ti.com/.../Overview_Building_the_SDK.html

First, Building Android Filesystem (AFS)
There is no file of "lunch full_am 57 xevm-userdebug."
Which do I choose between "full_fugu-userdebug" and "am57xevm_full-userdebug".


Second, Building SGX Kernel Module
There is no place for
~/ti-processor-sdk-android-am57xx-evm-04.00.00.xx/board-support/aosp-6AM.1.3/device/ti/proprietary-open/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android

"proprietary-open" is not found.


Third, reparing eMMC binaries/images
There is no place for
./aosp-6AM.1.3/out/host/linux-x86/bin/{simg2img,make_ext4fs,mkbootimg,fastboot,adb}
./aosp-6AM.1.3/out/host/linux-x86/lib64/{libc++.so,libcutils.so,liblog.so,libselinux.so}


"host" is not found.


Could you tell me the appropriate procedure?

BOARD:evMAM572x
Hosy PC:Ubuntu 14.04
Android Ver:04.02.00.10

  • 1) Android Source is not packaged in the installer, Run the repo command command to get the android source.
    Repo command from the release installer should pick the right android manifest for the release .

    Building Android Filesystem:
    >> . ./build/envsetup.sh
    >> lunch full_am57xevm-userdebug
    >> make -jX
    ( Do not do a make clean : This will be updated/corrected in the release notes )

    2) Building pvr kernel module:
    "proprietary-open" is not found.

    Continuing on 1) hope you downloaded Android Source code for the release , which downloads the following project omapzoom.org/
    in <repo>/device/ti/proprietary-open/jacinto6/sgx*

    3)
    If you run setup.sh from the installer which uses fastboot.sh to flash android images using appropriate android bins in its PATH.
    search for the binaries and libaries in the prebuilt and bin folders , the prebuilts should already be packaged.

    "Or" if you build android from 1) they should be in <android_root>/out/host/linux-x86 folder.

    --
    Also, For more on guidelines on how to build android and needed build environment setup please refer to official android documentation
    source.android.com/.../building
  • 1)
    For "lunch full_am57xevm-userdebug"

    "full_am57xevm-userdebug" is not found,
    I can find "full_fugu-userdebug" and "am57xevm_full-userdebug".
    But I can't find "full_am57xevm-userdebug".


    2)
    Can I put the downloaded file from "omapzoom.org" in the link below?
    ~/ti-processor-sdk-android-am57xx-evm-04.00.00.xx/board-support/aosp-6AM.1.3/device/ti/proprietary-open/jacinto6/sgx_src/

    3)
    I can't find "host" folder.
    ./aosp-6AM.1.3/out/host/

    How can I find it?
  • 1) I just reviewed processors.wiki.ti.com/.../Processor_SDK_Android_Building_The_SDK
    Since you are using 4.2 build with "am57xevm_full-userdebug"

    . ./build/envsetup.sh
    lunch am57xevm_full-userdebug
    make -j4

    2)Yes you can download from omapzoom.org and copy anywhere. But if you do repo sync as per release documentation, it will download all of the android sources including proprietary-open project

    3) once you finish the build steps you will see <out>/*