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: Processor SDK Building The SDK issue



Tool/software: Linux

Hi,

 I follow the contents of this website(processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK) to build the SDK but I meet some problems.

I do  as follows:

$arago-project.org/git/projects/oe-layersetup.git

$ cd tisdk

$./ oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.00.00.04-config.txt

$ cd build

$ . conf/setenv
$ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image

then  it will report the following error

| 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[1]: *** [edma3_drv_tda2xx-evm_66_example] Error 2

| make[1]: Leaving directory `/home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.04.28-r0.1/git/packages'

| 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/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.04.28-r0.1/temp/log.do_compile.3188)

ERROR: Task (/home/zyy/am57xx/tisdk/sources/meta-ti/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb:do_compile) failed with exit code '1'

ERROR: openmp-rtos-2_06_01_00-r0 do_install: Function failed: do_install (log file is located at /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_06_01_00-r0/temp/log.do_install.3187)

ERROR: Logfile of failure stored in: /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_06_01_00-r0/temp/log.do_install.3187

Log data follows:

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_06_01_00-r0/temp/log.do_install.3187)

ERROR: Task (/home/zyy/am57xx/tisdk/sources/meta-ti/recipes-ti/openmp-rtos/openmp-rtos_git.bb:do_install) failed with exit code '1'

ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_compile: oe_runmake failed

ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_compile: Function failed: do_compile (log file is located at /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_compile.2986)

ERROR: Logfile of failure stored in: /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_compile.2986

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

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

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

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

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_compile.2986)

ERROR: Task (/home/zyy/am57xx/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_compile) failed with exit code '1'

Has anyone ever encountered this problem, I need your help.

Best regards

John harden

  • Hello,

    Have you changed the default shell to bash?

    $ sudo dpkg-reconfigure dash

    (Select "no" when prompted)

    BR
    Margarita
  • Hello,

    Thanks for your answer.

    I try to  change the default shell to bash but I meet some new problems.

    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_compile: oe_runmake failed

    ERROR: linux-ti-staging-4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3 do_compile: Function failed: do_compile (log file is located at /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_compile.2566)

    ERROR: Logfile of failure stored in: /home/zyy/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.28+gitAUTOINC+eed43d1050-r7c.arago5.tisdk3/temp/log.do_compile.2566

     ERROR: oe_runmake failed

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

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

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

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

    What should I do next to solve this problem.

     

    Best regards

    John harden

  • Hello,

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

    BR
    Margarita