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.

Linux/AM5728: About building Android Filesystem (AFS) in PROCESSOR-SDK-ANDROID-AM57X 05_02_00_10.

Guru 10235 points
Part Number: AM5728

Tool/software: Linux

Hello, TI Experts,

 

We have a question about building Android Filesystem (AFS) in PROCESSOR-SDK-ANDROID-AM57X 05_02_00_10.

We tried to build AFS by ubuntu14.04.05 LTS Host-PC (not using Virtual-box) based on below wiki.

http://software-dl.ti.com/processor-sdk-android/esd/docs/05_02_00_10/android/Overview_Building_the_SDK.html

 

We found success in "Building Kernel" process.

But we found "Error" in "make -j8" process in Building Android Filesystem (AFS) like below;

Question:

   Do you have same experience?

 

We would appreciate if you tell us how to solve this problem.

 

Best regards,

  • Can you share the complete log (attach in .txt) .

    1. the snapshot is not sufficient to understand and debug the failure.

    2. Is this the first time you are downloading and building the android source? (not sure if you have some download  proxy issues?) 

  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

    1: I'd like to send the log.txt.

    2: I've met this problem many time (not first time).

    We would appreciate if you tell us how to solve this problem.

    Best regards,

    3005.log.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    usr@usr-ThinkPad-T520:~$ ping 127.0.0.1
    PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.062 ms
    64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.071 ms
    64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.071 ms
    64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.074 ms
    ^C
    --- 127.0.0.1 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 2999ms
    rtt min/avg/max/mdev = 0.062/0.069/0.074/0.009 ms
    usr@usr-ThinkPad-T520:~$ cd ti-processor-sdk-android-am57xx-evm-05.02.00.10/
    usr@usr-ThinkPad-T520:~/ti-processor-sdk-android-am57xx-evm-05.02.00.10$ cd board-support/aosp-6AO.1.1/
    usr@usr-ThinkPad-T520:~/ti-processor-sdk-android-am57xx-evm-05.02.00.10/board-support/aosp-6AO.1.1$ ls
    Android.bp bootable compatibility developers docs hardware libnativehelper packages prebuilts sdk toolchain
    art bootstrap.bash cts development external kernel Makefile pdk README system tools
    bionic build dalvik device frameworks libcore out platform_testing repo test vendor
    usr@usr-ThinkPad-T520:~/ti-processor-sdk-android-am57xx-evm-05.02.00.10/board-support/aosp-6AO.1.1$
    usr@usr-ThinkPad-T520:~/ti-processor-sdk-android-am57xx-evm-05.02.00.10/board-support/aosp-6AO.1.1$ export KERNELDIR=~/ti-processor-sdk-android-am57xx-evm-05.02.00.10/board-support/linux-4.14.80+gitAUTOINC+384658809d-g384658809d/
    usr@usr-ThinkPad-T520:~/ti-processor-sdk-android-am57xx-evm-05.02.00.10/board-support/aosp-6AO.1.1$ . build/envsetup.sh
    including device/asus/fugu/vendorsetup.sh
    including device/generic/car/vendorsetup.sh
    including device/generic/mini-emulator-arm64/vendorsetup.sh
    including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
    including device/generic/mini-emulator-mips64/vendorsetup.sh
    including device/generic/mini-emulator-mips/vendorsetup.sh
    including device/generic/mini-emulator-x86_64/vendorsetup.sh
    including device/generic/mini-emulator-x86/vendorsetup.sh
    including device/generic/uml/vendorsetup.sh
    including device/google/dragon/vendorsetup.sh
    including device/google/marlin/vendorsetup.sh
    including device/google/muskie/vendorsetup.sh
    including device/google/taimen/vendorsetup.sh
    including device/huawei/angler/vendorsetup.sh
    including device/lge/bullhead/vendorsetup.sh
    including device/linaro/hikey/vendorsetup.sh
    including device/ti/am57xevm/vendorsetup.sh
    including device/ti/am65xevm/vendorsetup.sh
    including sdk/bash_completion/adb.bash
    usr@usr-ThinkPad-T520:~/ti-processor-sdk-android-am57xx-evm-05.02.00.10/board-support/aosp-6AO.1.1$ lunch
    You're building on Linux
    Lunch menu... pick a combo:
    1. aosp_arm-eng
    2. aosp_arm64-eng
    3. aosp_mips-eng
    4. aosp_mips64-eng
    5. aosp_x86-eng
    6. aosp_x86_64-eng
    7. full_fugu-userdebug
    8. aosp_fugu-userdebug
    9. aosp_car_emu_arm-userdebug
    10. aosp_car_emu_arm64-userdebug
    11. aosp_car_emu_x86-userdebug
    12. aosp_car_emu_x86_64-userdebug
    13. mini_emulator_arm64-userdebug
    14. m_e_arm-userdebug
    15. m_e_mips64-eng
    16. m_e_mips-userdebug
    17. mini_emulator_x86_64-userdebug
    18. mini_emulator_x86-userdebug
    19. uml-userdebug
    20. aosp_dragon-userdebug
    21. aosp_dragon-eng
    22. aosp_marlin-userdebug
    23. aosp_marlin_svelte-userdebug
    24. aosp_sailfish-userdebug
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Check if executing below commands and restarting the build helps.

    jack-admin kill-server
    jack-admin uninstall-server
    cd prebuilts/sdk/tools
    touch jack

  • Hi,

    Thank you very much for your kindness.
    I really appreciate your help.

    It seems to continue to build from your advice.
    Thank you!

    Best regards,