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: Unable to bitbake AM572x rootfs

Other Parts Discussed in Thread: BEAGLEBOARD-X15, SYSBIOS, OMAP3530

Tool/software: Linux

In order to make an working rootfs for my beagleboard-x15 by bitbake, I struggle against arago yocto + bitbake for several weeks.
I really need help ! It is about XDCtools and conflict due to packages provided of sysbios 'ti.sysbios.family.c64p' and 'ti.sysbios.knl'

I get started by :

git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk ; \
cd tisdk
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-myconfig.txt

processor-sdk-myconfig.txt:
--------
# from configs/processor-sdk/processor-sdk-04.00.00.04-config.txt
# This file takes repo entries in the format
# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]

bitbake,git://git.openembedded.org/bitbake,1.32,bdf7a362ecdafd47f309b7a21feac4b94624f287,layers=
meta-processor-sdk,git://arago-project.org/git/projects/meta-processor-sdk.git,master,2b7f7b00654eb3faaea7c66271ebe508b9ffc019,layers=
meta-arago,git://arago-project.org/git/meta-arago.git,morty,b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53,layers=meta-arago-distro:meta-arago-extras
meta-browser,git://github.com/OSSystems/meta-browser.git,master,880a7bd1d3b9a1b2003f5b0620350f03158bbd43,layers=
meta-qt5,git://github.com/meta-qt5/meta-qt5.git,morty,2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b,layers=
meta-openembedded,git://git.openembedded.org/meta-openembedded,morty,fe5c83312de11e80b85680ef237f8acb04b4b26e,layers=meta-networking:meta-ruby:meta-python:meta-oe:meta-gnome
meta-ti,git://git.yoctoproject.org/meta-ti,morty,a18d57af8384ced25996739bb66d197c69efb77b,layers=
meta-linaro,git://git.linaro.org/openembedded/meta-linaro.git,morty,HEAD,layers=meta-linaro-toolchain:meta-optee
meta-sdr,git://github.com/balister/meta-sdr.git,5.9.2,HEAD,layers=
oe-core,git://git.openembedded.org/openembedded-core,morty,ddf907ca95a19f54785079b4396935273b3747f6,layers=meta
OECORELAYERCONF=./sample-files/bblayers.conf.sample
OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample
--------


cd ~/bbx15/tisdk/build/
. conf/setenv
MACHINE=am57xx-evm bitbake -k -f -c do_rootfs tisdk-rootfs-image


| ./maketemp_configuro_cmd_c6xdsp.bat
| configuring edma3_drv_bios6_tda2xx_st_sample.xe66 from package/cfg/edma3_drv_bios6_tda2xx_st_sample_pe66.cfg ...
| error: xdc.cfg.Program: "/home/osboxes/bbx15/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/ti/ti-xdctools-tree/packages/xdc/cfg/Program.xs",
line 71: xdc.cfg.Program : The package 'ti.sysbios.family.c64p' is not compatible
 with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that
package, or rebuild the package with XDCtools 3.50 or later.

ERROR: edma3-lld-rtos-2.12.04.28-r0.1 do_compile: Function failed: do_compile (log file is located at /home/osboxes/bbx15/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.17733)


| generating custom ti.sdo.ipc library makefile ...
| error: xdc.cfg.Program: "/home/osboxes/bbx15/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/
ti/ti-xdctools-tree/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with
XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package,
or rebuild the package with XDCtools 3.50 or later.
| js: "/home/osboxes/bbx15/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/ti/ti-xdctools-tree/packages/xdc/cfg/Main.xs",
line 160: Error: Configuration failed!
| package.mak:2617: recipe for target 'package/cfg/bin/ti_platforms_evmDRA7XX_ipu2/ping_rpmsg_pem4.xdl' failed
| make[1]: *** [package/cfg/bin/ti_platforms_evmDRA7XX_ipu2/ping_rpmsg_pem4.xdl] Error 1
| make[1]: *** Waiting for unfinished jobs....
| ======== .dlls [./packages/ti/sdo/ipc/family/c647x/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/c6a8149/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/da830/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/dm6446/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/omap3530/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/omap4430/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/tci663x/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/tda3xx/] ========
| Starting build of library sources ...
| ======== .dlls [./packages/ti/sdo/ipc/family/ti81xx/] ========
| ======== .dlls [./packages/ti/sdo/ipc/family/vayu/] ========
| ======== .dlls [./packages/ti/sdo/ipc/gates/] ========
| ======== .dlls [./packages/ti/sdo/ipc/heaps/] ========
| ======== .dlls [./packages/ti/sdo/ipc/interfaces/] ========
| ======== .dlls [./packages/ti/sdo/ipc/notifyDrivers/] ========
| ======== .dlls [./packages/ti/sdo/ipc/nsremote/] ========
| ======== .dlls [./packages/ti/sdo/ipc/transports/] ========
| ======== .dlls [./packages/ti/sdo/utils/] ========
| configuring smpInstrumented.pem4 from package/cfg/smpInstrumented_pem4.cfg ...
| Picked up JAVA_TOOL_OPTIONS: -Xss2560k
| error: xdc.cfg.Program: "/home/osboxes/bbx15/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/
ti/ti-xdctools-tree/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with
XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package,
or rebuild the package with XDCtools 3.50 or later.
| js: "/home/osboxes/bbx15/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/ti/ti-xdctools-tree/packages/xdc/cfg/Main.xs",
line 160: Error: Configuration failed!
| package.mak:2617: recipe for target 'package/cfg/bin/ti_platforms_evmDRA7XX_ipu2/messageq_fault_pem4.xdl' failed
| make[1]: *** [package/cfg/bin/ti_platforms_evmDRA7XX_ipu2/messageq_fault_pem4.xdl] Error 1
| gmake: *** [packages/ti/ipc/tests/,.dlls] Error 2
| gmake: *** Waiting for unfinished jobs....


ERROR: Task (/home/osboxes/bbx15/tisdk/sources/meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4927 tasks of which 4831 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/osboxes/bbx15/tisdk/sources/meta-ti/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb:do_compile
  /home/osboxes/bbx15/tisdk/sources/meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.