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-AM57X: Linux PSDK 3.2.0.5 Yocto build issue

Part Number: PROCESSOR-SDK-AM57X


Tool/software: Linux

Hi,

just wanted to log an issue with the Yocto build of latest Linux PSDK 3.2.0.5

| NOTE: make -j 2 am572x-idk.dtb
|   DTC     arch/arm/boot/dts/am572x-idk.dtb
| NOTE: make -j 2 am572x-idk-lcd-osd.dtb
|   DTC     arch/arm/boot/dts/am572x-idk-lcd-osd.dtb
| NOTE: make -j 2 am572x-idk-lcd-osd101t2587.dtb
|   DTC     arch/arm/boot/dts/am572x-idk-lcd-osd101t2587.dtb
| NOTE: make -j 2 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:150: 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/gunter/oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-processor-sdk/4.4.32+gitAUTOINC+adde2ca9f8-r7c/temp/log.do_compile.28733)
ERROR: Task 55 (/home/gunter/oe/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 1438 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/gunter/oe/tisdk/sources/meta-processor-sdk/recipes-kernel/linux/linux-processor-sdk_4.4.bb, do_compile
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Here is command history

   27  git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
   28  cd tisdk/
   36  ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.02.00.05-config.txt
   37  cd build/
   39  . conf/setenv
   40  export PATH=$HOME/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
   42  MACHINE=am57xx-evm bitbake arago-core-tisdk-image

BTW, I put CCS 6.1.3.00034 into the downloads directory, but haven't checked what we are using with the latest PSDK.

Regards,

--Gunter

  • Hi,

    I found this
    e2e.ti.com/.../2031076

    But since this new PSDK was just released, it would have been great to fix this issue.


    Regards,
    --Gunter
  • Hi,

    putting the prebuilt .dtb file into the right work directory got me past the first issue. Again I think we would need to fix the recipe ultimately.

    But I have a second issue now (btw, using Ubuntu 16.04)

    ERROR: openmp-rtos-2_05_00_00-r0.tisdk0 do_install: Function failed: do_install (log file is located at /home/gunter/oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_05_00_00-r0.tisdk0/temp/log.do_install.13824)
    ERROR: Logfile of failure stored in: /home/gunter/oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_05_00_00-r0.tisdk0/temp/log.do_install.13824
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot overwrite directory '/home/gunter/oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_05_00_00-r0.tisdk0/image/usr/share/ti/ti-omp-tree/.' with non-directory
    | WARNING: exit code 1 from a shell command.
    | ERROR: Function failed: do_install (log file is located at /home/gunter/oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/openmp-rtos/2_05_00_00-r0.tisdk0/temp/log.do_install.13824)
    ERROR: Task 5363 (/home/gunter/oe/tisdk/sources/meta-ti/recipes-ti/openmp-rtos/openmp-rtos_git.bb, do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1831 tasks of which 1629 didn't need to be rerun and 1 failed.

    Regards,

    --Gunter

  • Hi,

    do you have an update on the above? Are you able to bitbake the recipe for openmp-rtos on a Ubuntu 16.04?

    Thanks,
    --Gunter
  • Hi,

    I found that
    $ sudo dpkg-reconfigure dash

    was missing.

    We need to add that to the official instructions at
    processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK


    Regards,
    --Gunter
  • Hi,

    forgot to say that
    $ sudo dpkg-reconfigure dash
    needs to be answered with NO.

    Regards,
    --Gunter
  • Gunter,

    Thanks for sharing the solution.

    Regards,
    Pavel