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.

PROCESSOR-SDK-AM57X: SDK build error

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: TMDSIDK574

$ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

$ sudo dpkg-reconfigure dash
Select "No" when prompted.

$ wget releases.linaro.org/.../gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
$ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.01.00.06-x11-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 ARAGO_RT_ENABLE=1 bitbake tisdk-rootfs-image

am57x@am57x:~/tisdk/build$  . conf/setenv
am57x@am57x:~/tisdk/build$ MACHINE=am57xx-evm ARAGO_RT_ENABLE=1 bitbake tisdk-rootfs-image
Loading cache: 100% |##################################################################################################################################################| Time: 0:00:01
Loaded 3259 entries from dependency cache.
WARNING: No recipes available for:
  /home/am57x/tisdk/sources/meta-openamp/recipes-bsp/device-tree/device-tree-generation_%.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "am57xx-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2017.06"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-processor-sdk = "HEAD:cb3ee0c165ef4e71e1aad16812652ca1371a9c80"
meta-arago-distro
meta-arago-extras = "HEAD:8f49ed67d0627a04ac72fd388fda7756273ba2d7"
meta-browser      = "HEAD:08576b03af624b65ad949c410d84c11c7d1f2e39"
meta-openamp      = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
meta-qt5          = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-networking   
meta-ruby         
meta-python       
meta-oe           
meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti           = "HEAD:a18d57af8384ced25996739bb66d197c69efb77b"
meta-linaro-toolchain
meta-optee        = "HEAD:49b0f32d7e955f250b0022d1b2f403f45a2c2d9c"
meta              = "HEAD:e3911133ee9aad7cc3ae89faea80a097f6614fab"

Initialising tasks: 100% |#############################################################################################################################################| Time: 0:00:17
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: mobile-broadband-provider-info-1_20151214-r0 do_fetch: Failed to fetch URL git://git.gnome.org/mobile-broadband-provider-info, attempting MIRRORS if available
WARNING: ofono-1.18-r0 do_fetch: Failed to fetch URL kernel.org/.../ofono-1.18.tar.xz, attempting MIRRORS if available
WARNING: binutils-native-linaro-2.27-r2016.10 do_fetch: Failed to fetch URL git://git.linaro.org/toolchain/binutils-gdb.git;protocol=https;branch=linaro_binutils-2_27-branch, attempting MIRRORS if available
ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-RqzreQgfju"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export no_proxy="localhost,127.0.0.0/8,::1"; export NO_PROXY="localhost,127.0.0.0/8,::1"; export https_proxy="http://127.0.0.1:38755/"; export HTTPS_PROXY="http://127.0.0.1:38755/"; export http_proxy="http://127.0.0.1:38755/"; export HTTP_PROXY="http://127.0.0.1:38755/"; export PATH="/home/am57x/tisdk/sources/oe-core/scripts/native-intercept:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/texinfo-dummy-native:/home/am57x/tisdk/sources/oe-core/scripts:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/home/am57x/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/am57x/tisdk/sources/oe-core/scripts:/home/am57x/tisdk/sources/meta-browser/scripts:/home/am57x/tisdk/sources/bitbake/bin:/home/am57x/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/am57x/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/am57x/tisdk/sources/oe-core/scripts:/home/am57x/tisdk/sources/meta-browser/scripts:/home/am57x/tisdk/sources/bitbake/bin:/home/am57x/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/am57x"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git.linaro.org/.../binutils-gdb.git /home/am57x/tisdk/downloads/git2/git.linaro.org.toolchain.binutils-gdb.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/am57x/tisdk/downloads/git2/git.linaro.org.toolchain.binutils-gdb.git'...
remote: Counting objects: 1033746, done.        
remote: Compressing objects: 100% (165523/165523), done.        
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Fetcher failure for URL: 'git://git.linaro.org/toolchain/binutils-gdb.git;protocol=https;branch=linaro_binutils-2_27-branch'. Unable to fetch URL from any source.
ERROR: binutils-native-linaro-2.27-r2016.10 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/binutils-native/linaro-2.27-r2016.10/temp/log.do_fetch.3793
ERROR: Task (virtual:native:/home/am57x/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.27.bb:do_fetch) failed with exit code '1'

but this is ok:

am57x@am57x:~$ git clone git://git.linaro.org/toolchain/binutils-gdb.git;protocol=https;branch=linaro_binutils-2_27-branch

  • Hello Qing,

    Please, refer to this post to fix this issue.

    Best regards,
    Kemal

  • img-pvr-sdk: /img-pvr-sdk/opt/img-powervr-sdk/PVRScopeDeveloper/libPVRScopeDeveloper.a is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination
    img-pvr-sdk: /img-pvr-sdk/opt/img-powervr-sdk/PVRScopeDeveloper/PVRScopeStats.h is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
    WARNING: img-pvr-sdk-3.3.2-r10.tisdk0 do_package_qa: QA Issue: img-pvr-sdk rdepends on libudev, but it isn't a build dependency, missing systemd in DEPENDS or PACKAGECONFIG? [build-deps]
    WARNING: img-pvr-sdk-3.3.2-r10.tisdk0 do_package_qa: QA Issue: img-pvr-sdk rdepends on ti-xsgx-ddk-um-staticdev, but it isn't a build dependency, missing ti-xsgx-ddk-um in DEPENDS or PACKAGECONFIG? [build-deps]
    WARNING: img-pvr-sdk-3.3.2-r10.tisdk0 do_package_qa: QA Issue: /usr/bin/SGX/demos/Wayland/OGLES2Navigation contained in package img-pvr-sdk requires libwayland-client.so.0, but no providers found in RDEPENDS_img-pvr-sdk? [file-rdeps]
    WARNING: posix-smp-demo-01.00.01.07-r2.0.tisdk0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/posix-smp-demo/01.00.01.07-r2.0.tisdk0/packages-split/posix-smp-demo/usr/bin/posix-smp-demo-linux-armv7' [ldflags]
    WARNING: osal-01.00.00.08-r0.1 do_package_qa: QA Issue: osal: /osal-staticdev/usr/lib/libosal.a is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
    WARNING: osal-01.00.00.08-r0.1 do_package_qa: QA Issue: osal: /osal/usr/lib/libosal.so.1.0.0 is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
    WARNING: jailhouse-0.7-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/jailhouse/0.7-r1/packages-split/jailhouse/usr/sbin/jailhouse' [ldflags]
    WARNING: bt-enable-1.0-r1 do_package_qa: QA Issue: /etc/init.d/bt-enable.sh contained in package bt-enable requires /bin/bash, but no providers found in RDEPENDS_bt-enable? [file-rdeps]
    WARNING: linalg-1_2_0_0-r7.0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linalg/1_2_0_0-r7.0/packages-split/linalg-dev/usr/share/ti/ti-linalg-tree/packages/ti/linalg/blasblisacc/src/ti_cblas_kernel.out' [ldflags]
    WARNING: linalg-1_2_0_0-r7.0 do_package_qa: QA Issue: ELF binary '/home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linalg/1_2_0_0-r7.0/packages-split/linalg-dev/usr/share/ti/ti-linalg-tree/packages/ti/linalg/blasblisacc/src/ti_cblas_kernel.out' has relocations in .text [textrel]
    WARNING: linalg-1_2_0_0-r7.0 do_package_qa: QA Issue: /usr/share/ti/ti-linalg-tree/packages/ti/linalg/blasblisacc/src/wrap_gen/oclgen.pl contained in package linalg-dev requires /usr/bin/perl, but no providers found in RDEPENDS_linalg-dev? [file-rdeps]
    WARNING: tisdk-rootfs-image-1.0-r0.tisdk5 do_rootfs: The license listed Thai-Open-Source-Software-Center was not in the licenses collected for recipe ti-cgt6x
    WARNING: tisdk-rootfs-image-1.0-r0.tisdk5 do_rootfs: The license listed Hewlett-Packard was not in the licenses collected for recipe ti-cgt6x
    WARNING: tisdk-rootfs-image-1.0-r0.tisdk5 do_rootfs: [log_check] tisdk-rootfs-image: found 2 warning messages in the logfile:
    [log_check] WARNING: The license listed Thai-Open-Source-Software-Center was not in the licenses collected for recipe ti-cgt6x
    [log_check] WARNING: The license listed Hewlett-Packard was not in the licenses collected for recipe ti-cgt6x

    NOTE: Tasks Summary: Attempted 7546 tasks of which 5081 didn't need to be rerun and all succeeded.

    Summary: There were 127 WARNING messages shown.

    1.I have compiled it successfully, but where is the production installation package (for example: ti-process-sdk-linux-am57xx-evm-04.03.00.05 - linux-x86-install.bin)?

    2.Compilation is complete, in the /home/am57x/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/am57xx-evm entry path MLO, u-boot.img and tisdk-rootfs-image-am57xx-evm-20191112062431.rootfs.tar.xz, but I use the create-sdcard..sh script production SD card, inserted into the TMDSIDK574 after no response.

  • You need to build arago-core-tisdk-image target to build a full SDK image.

  • Thank you, Kemal r. Shakir

    Construction of arago-core-tisdk-image as the target error report:

    am57xx@am57xx:~/tisdk/build$ MACHINE=am57xx-evm ARAGO_RT_ENABLE=1 bitbake arago-core-tisdk-image
    Loading cache: 100% |##################################################################################################################################################| Time: 0:00:01
    Loaded 3259 entries from dependency cache.
    WARNING: No recipes available for:
    /home/am57xx/tisdk/sources/meta-openamp/recipes-bsp/device-tree/device-tree-generation_%.bbappend
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.32.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-16.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2017.06"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU = "hard"
    meta-processor-sdk = "HEAD:cb3ee0c165ef4e71e1aad16812652ca1371a9c80"
    meta-arago-distro
    meta-arago-extras = "HEAD:8f49ed67d0627a04ac72fd388fda7756273ba2d7"
    meta-browser = "HEAD:08576b03af624b65ad949c410d84c11c7d1f2e39"
    meta-openamp = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
    meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
    meta-networking
    meta-ruby
    meta-python
    meta-oe
    meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti = "HEAD:a18d57af8384ced25996739bb66d197c69efb77b"
    meta-linaro-toolchain
    meta-optee = "HEAD:49b0f32d7e955f250b0022d1b2f403f45a2c2d9c"
    meta = "HEAD:e3911133ee9aad7cc3ae89faea80a097f6614fab"

    Initialising tasks: 100% |#############################################################################################################################################| Time: 0:00:19
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: linux-ti-staging-rt-4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9 do_create_srcipk: Function failed: do_create_srcipk (log file is located at /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/log.do_create_srcipk.31192)
    ERROR: Logfile of failure stored in: /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/log.do_create_srcipk.31192

    Log data follows:
    | DEBUG: Executing python function sstate_task_prefunc
    | DEBUG: Python function sstate_task_prefunc finished
    | DEBUG: Executing shell function do_create_srcipk
    | /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/run.do_create_srcipk.31192: 212: [: true: unexpected operator
    | error: inflate: data stream error (incorrect data check)
    | error: failed to unpack compressed delta at offset 435900272 from /home/am57xx/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git/objects/pack/pack-823a4a591ace78c157b5297f3edb7b20b7b54680.pack
    | error: failed to read object a72065ed64d14aeb3d8504221af3ed6925576c6a at offset 435900268 from /home/am57xx/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git/objects/pack/pack-823a4a591ace78c157b5297f3edb7b20b7b54680.pack
    | fatal: packed object a72065ed64d14aeb3d8504221af3ed6925576c6a (stored in /home/am57xx/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git/objects/pack/pack-823a4a591ace78c157b5297f3edb7b20b7b54680.pack) is corrupt
    | WARNING: exit code 128 from a shell command.
    | ERROR: Function failed: do_create_srcipk (log file is located at /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/log.do_create_srcipk.31192)

    AND:

    Solution reference e2e.ti.com/.../2556062, but I can't download git.ti.com.processor-sdk.processor-sdk-linux.git.tar.xz

    Is there any other way to download this package?

     

  • I successfully downloaded git.ti.com.processor-or-sdk.processor-sdk-linux.git.tar.xz and the size of the package is 1.4g

  • and now 

    error:

    am57xx@am57xx:~/tisdk/build$ MACHINE=am57xx-evm ARAGO_RT_ENABLE=1 bitbake arago-core-tisdk-image
    Loading cache: 100% |##################################################################################################################################################| Time: 0:00:01
    Loaded 3259 entries from dependency cache.
    WARNING: No recipes available for:
    /home/am57xx/tisdk/sources/meta-openamp/recipes-bsp/device-tree/device-tree-generation_%.bbappend
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.32.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-16.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2017.06"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU = "hard"
    meta-processor-sdk = "HEAD:cb3ee0c165ef4e71e1aad16812652ca1371a9c80"
    meta-arago-distro
    meta-arago-extras = "HEAD:8f49ed67d0627a04ac72fd388fda7756273ba2d7"
    meta-browser = "HEAD:08576b03af624b65ad949c410d84c11c7d1f2e39"
    meta-openamp = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
    meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
    meta-networking
    meta-ruby
    meta-python
    meta-oe
    meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
    meta-ti = "HEAD:a18d57af8384ced25996739bb66d197c69efb77b"
    meta-linaro-toolchain
    meta-optee = "HEAD:49b0f32d7e955f250b0022d1b2f403f45a2c2d9c"
    meta = "HEAD:e3911133ee9aad7cc3ae89faea80a097f6614fab"

    Initialising tasks: 100% |#############################################################################################################################################| Time: 0:00:22
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: linux-ti-staging-rt-4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9 do_compile: oe_runmake failed
    ERROR: linux-ti-staging-rt-4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9 do_compile: Function failed: do_compile (log file is located at /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/log.do_compile.5248)
    ERROR: Logfile of failure stored in: /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/log.do_compile.5248
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E zImage CC=arm-linux-gnueabihf-gcc -mno-thumb-interwork -marm -fuse-ld=bfd LD=arm-linux-gnueabihf-ld.bfd LOADADDR=0x80008000
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E uImage CC=arm-linux-gnueabihf-gcc -mno-thumb-interwork -marm -fuse-ld=bfd LD=arm-linux-gnueabihf-ld.bfd LOADADDR=0x80008000
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-beagle-x15.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-beagle-x15-revb1.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-evm.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-evm-cam-mt9t111.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-evm-cam-ov10635.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-evm-reva3.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-evm-reva3-cam-mt9t111.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am57xx-evm-reva3-cam-ov10635.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am571x-idk.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am571x-idk-lcd-osd101t2045.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am571x-idk-lcd-osd101t2587.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am572x-idk.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am572x-idk-lcd-osd101t2045.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am572x-idk-lcd-osd101t2587.dtb
    | NOTE: make -j 6 HOSTCC=gcc HOSTCPP=gcc -E am572x-idk-pru-excl-uio.dtb
    | ERROR: oe_runmake failed
    | CHK include/config/kernel.release
    | GEN ./Makefile
    | CHK include/generated/uapi/linux/version.h
    | CHK include/generated/utsrelease.h
    | Using /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source as source for kernel
    | CC scripts/mod/empty.o
    | CC scripts/mod/devicetable-offsets.s
    | MKELF scripts/mod/elfconfig.h
    | HOSTCC scripts/mod/sumversion.o
    | HOSTCC scripts/mod/modpost.o
    | GEN scripts/mod/devicetable-offsets.h
    | HOSTCC scripts/mod/file2alias.o
    | CHK include/generated/timeconst.h
    | CHK include/generated/bounds.h
    | CHK include/generated/asm-offsets.h
    | CALL /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/scripts/checksyscalls.sh
    | HOSTLD scripts/mod/modpost
    | CHK include/generated/compile.h
    | CHK kernel/config_data.h
    | DTC drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb
    | DTB drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb.S
    | AS drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb.o
    | LD drivers/gpu/drm/tilcdc/built-in.o
    | rm drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb.S drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb
    | LD drivers/gpu/drm/built-in.o
    | LD drivers/gpu/built-in.o
    | LD drivers/built-in.o
    | LD vmlinux.o
    | MODPOST vmlinux.o
    | GEN .version
    | CHK include/generated/compile.h
    | UPD include/generated/compile.h
    | CC init/version.o
    | LD init/built-in.o
    | KSYM .tmp_kallsyms1.o
    | KSYM .tmp_kallsyms2.o
    | LD vmlinux
    | SORTEX vmlinux
    | SYSMAP System.map
    | OBJCOPY arch/arm/boot/Image
    | Kernel: arch/arm/boot/Image is ready
    | LZMA arch/arm/boot/compressed/piggy_data
    | AS arch/arm/boot/compressed/piggy.o
    | LD arch/arm/boot/compressed/vmlinux
    | OBJCOPY arch/arm/boot/zImage
    | Kernel: arch/arm/boot/zImage is ready
    | CHK include/config/kernel.release
    | GEN ./Makefile
    | CHK include/generated/uapi/linux/version.h
    | CHK include/generated/utsrelease.h
    | Using /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source as source for kernel
    | CHK include/generated/timeconst.h
    | CHK include/generated/bounds.h
    | CHK include/generated/asm-offsets.h
    | CALL /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/scripts/checksyscalls.sh
    | CHK include/generated/compile.h
    | CHK kernel/config_data.h
    | DTC drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb
    | DTB drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb.S
    | AS drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb.o
    | LD drivers/gpu/drm/tilcdc/built-in.o
    | rm drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb.S drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb
    | LD drivers/gpu/drm/built-in.o
    | LD drivers/gpu/built-in.o
    | LD drivers/built-in.o
    | LD vmlinux.o
    | MODPOST vmlinux.o
    | GEN .version
    | CHK include/generated/compile.h
    | UPD include/generated/compile.h
    | CC init/version.o
    | LD init/built-in.o
    | KSYM .tmp_kallsyms1.o
    | KSYM .tmp_kallsyms2.o
    | LD vmlinux
    | SORTEX vmlinux
    | SYSMAP System.map
    | OBJCOPY arch/arm/boot/Image
    | Kernel: arch/arm/boot/Image is ready
    | LZMA arch/arm/boot/compressed/piggy_data
    | AS arch/arm/boot/compressed/piggy.o
    | LD arch/arm/boot/compressed/vmlinux
    | OBJCOPY arch/arm/boot/zImage
    | Kernel: arch/arm/boot/zImage is ready
    | UIMAGE arch/arm/boot/uImage
    | Image Name: Linux-4.9.41-rt23-gc038d21a22
    | Created: Fri Nov 15 14:52:09 2019
    | Image Type: ARM Linux Kernel Image (uncompressed)
    | Data Size: 3703064 Bytes = 3616.27 kB = 3.53 MB
    | Load Address: 80008000
    | Entry Point: 80008000
    | Kernel: arch/arm/boot/uImage is ready
    | CC scripts/mod/empty.o
    | CC scripts/mod/devicetable-offsets.s
    | MKELF scripts/mod/elfconfig.h
    | HOSTCC scripts/mod/modpost.o
    | HOSTCC scripts/mod/sumversion.o
    | GEN scripts/mod/devicetable-offsets.h
    | HOSTCC scripts/mod/file2alias.o
    | HOSTLD scripts/mod/modpost
    | make[3]: *** No rule to make target 'arch/arm/boot/dts/am572x-idk-pru-excl-uio.dtb'. Stop.
    | arch/arm/Makefile:336: 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: /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/run.do_compile.5248:1 exit 1 from 'exit 1'
    | ERROR: Function failed: do_compile (log file is located at /home/am57xx/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging-rt/4.9.41+gitAUTOINC+c038d21a22-r7c.arago1.tisdk9/temp/log.do_compile.5248)
    ERROR: Task (/home/am57xx/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging-rt_4.9.bb:do_compile) failed with exit code '1'

    What should I do about this mistake ?

  • Hello Qing,

    Please, see this and this post. You need to switch the default terminal to bash.

    Best regards,
    Kemal

  • I have built it, but there is no linux-devkit in processor-sdk-linux-rt-image-am57xx-evm-20191118041047.tar.xz ,Only linux-devkit.sh

  • Yes. Use the linux-devkit.sh executable shell script binary data and install the linux-devkit wherever you want.

  • Hello Qing,

    Are you done with this thread? If so, please close it by clicking on "This resolved my issue" button.

    Best regards,
    Kemal