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.

AM57x SDK 03.01.00.06 build fails

I started with clean Ubuntu 16.04 machine. Followed directions to install and make the processor SDK on this page, http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK. Build fails with following messages:

| NOTE: make -j 4 am572x-idk-pru-excl-uio.dtb

| make[3]: *** No rule to make target 'arch/arm/boot/dts/am572x-idk-pru-excl-uio.dtb'. Stop.

| arch/arm/Makefile:333: recipe for target 'am572x-idk-pru-excl-uio.dtb' failed

| make[2]: *** [am572x-idk-pru-excl-uio.dtb] Error 2

| Makefile:146: recipe for target 'sub-make' failed

| make[1]: *** [sub-make] Error 2

| Makefile:24: recipe for target '__sub-make' failed

| make: *** [__sub-make] Error 2

| WARNING: exit code 1 from a shell command.

| ERROR: oe_runmake failed

| ERROR: Function failed: do_compile (log file is located at /home/fluke/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-processor-sdk/4.4.19+gitAUTOINC+db0b54cdad-r7e/temp/log.do_compile.21756)

ERROR: Task 55 (/home/fluke/tisdk/sources/meta-processor-sdk/recipes-kernel/linux/linux-processor-sdk_4.4.bb, do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1506 tasks of which 0 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

 

Summary: 1 task failed:

/home/fluke/tisdk/sources/meta-processor-sdk/recipes-kernel/linux/linux-processor-sdk_4.4.bb, do_compile

Summary: There were 5 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.



  • The software team have been notified. They will respond here.
  • Hello,


    Please check with these steps to workaround it:
    Copy the am572x-idk-pru-excl-uio.dtb file
    from ..../ti-processor-sdk-linux-am57xx-evm-03.01.00.06/board-support/prebuilt-images

    and place it in :
    .../tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/arch/arm/boot/dts

    to resolve do_compile failure.


    And the same file in:

    .../tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-processor-sdk/4.4.19+gitAUTOINC+db0b54cdad-r7e/build/arch/arm/boot

    to resolve do_install failure.


    Hope this helps.


    BR
    Margarita

  • I did as suggested, and build now gets beyond original failure, but now fails this way:

    | make[2]: *** No rule to make target 'obj/tda2xx-evm/c6xdsp/release/edma3_drv_tda2xx_sample_configuro/package/cfg/edma3_drv_bios6_tda2xx_st_sample_pe66.c', needed by 'obj/tda2xx-evm/c6xdsp/release/edma3_drv_bios6_tda2xx_st_sample_pe66.oe66'. Stop.
    | make[2]: Leaving directory '/home/fluke/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.01.25-r1.0/git/examples/edma3_driver/evmtda2xx'
    | makefile:146: recipe for target 'edma3_drv_tda2xx-evm_66_example' failed
    | make[1]: *** [edma3_drv_tda2xx-evm_66_example] Error 2
    | make[1]: Leaving directory '/home/fluke/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.01.25-r1.0/git/packages'
    | makefile:118: recipe for target 'edma3_drv_example_target' failed
    | make: *** [edma3_drv_example_target] Error 2
    | WARNING: exit code 2 from a shell command.
    | ERROR: Function failed: do_compile (log file is located at /home/fluke/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.01.25-r1.0/temp/log.do_compile.18606)
    ERROR: Task 7973 (/home/fluke/tisdk/sources/meta-ti/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb, do_compile) failed with exit code '1'
  • Hello,

    Please check this e2e thread:
    e2e.ti.com/.../503804

    Hope this helps.

    BR
    Margarita