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: Version: 08.02.01.00 - Error Building BSP

Part Number: PROCESSOR-SDK-AM57X


Hi, I'm trying to build the ti-processor-sdk-linux-am57xx-evm-08_02_01_00, following this manual:

software-dl.ti.com/.../Overview_Building_the_SDK.html

bsp version, and exept the "Could not include required file conf/distro/include/branding-psdkla.inc" , I'm also reciving the following error:

ERROR: Server log for this session (/home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 21560 at 2023-05-07 17:27:14.036389 ---
ERROR: Layer meta-arm is not compatible with the core layer which only supports these series: dunfell (layer is compatible with mickledore)

Is there any patch for this error?

Thanks,

Tanya

  • Thank for responce, but it doesn resolve the issue, because there was a problem with yocto version comptability, so I needed to download the dunfell meta-arm support layer and it reaolve the issue.

    Currently I have another error:

    ERROR: Execution of '/home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/ext
    ernal-arm-toolchain/2019.12-r0/temp/run.do_install.29607' failed with exit code 1
    ERROR: Task (/home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-arm/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/externa
    l-arm-toolchain.bb:do_install) failed with exit code '1'

    The issue is:

    INSTALL /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/external-arm-toolchain/2019.12-r0/external-arm-toolchain-2019.12/usr/include
    mv: cannot stat '/home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/external-arm-toolchain/2019.12-r0/image/usr/lib/gcc/arm-none-linux-gnueabihf': No such file or directory
    WARNING: /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/external-arm-toolchain/2019.12-r0/temp/run.do_install.28897:1 exit 1 from 'mv /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/external-arm-toolchain/2019.12-r0/image/usr/lib/gcc/arm-none-linux-gnueabihf /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/external-arm-toolchain/2019.12-r0/image/usr/lib/gcc/arm-linux-gnueabi'
    ERROR: Execution of '/home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/external-arm-toolchain/2019.12-r0/temp/run.do_install.28897' failed with exit code 1

    And inded there is no such a file or foder in expected place.

    Thank you in advance,

    Tanya 

  • Hi Tanya,

    I've tried to replicate the build instructions again and I'm able to successfully build.

    The build was successful at my end, and here are the set of commands that I ran on my side:

    wget dr-download.ti.com/.../ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin
    chmod +x ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin
    ./ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin --mode unattended --prefix `pwd`
    cd yocto-build/
    ./oe-layertool-setup.sh -f ../configs/processor-sdk-linux-08_02_01_00.txt
    cd build/
    cd ../sources/meta-ti/
    git cherry-pick 39fa0c1d3d020d5239c067e103e2f429ef0fcfc7
    git cherry-pick 9e6c7d69d8d5700ff22ca03a3d1d1b04bce88f85
    git cherry-pick ccbe45c06b2fddf73b4a5c596214fc86b0968d39
    cd -

    . conf/setenv
    TOOLCHAIN_BASE=/sdk/tools MACHINE=am57xx-evm bitbake -k tisdk-default-image

    This is identical to what was noted here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1116228/processor-sdk-am57x-version-08-02-01-00---trouble-building-bsp/4375906#4375906

    Regards
    Karthik

  • Hi Karthik,

    I have some progress in this issue, I haved earlier instaled the ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin and it created me rootNFS folder out of the install directory, now I followed the exact steps and the following failed during 

     bitbake -k tisdk-default-image command:

    Summary: 14 tasks failed:
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/oe-core/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.4.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/oe-core/meta/recipes-support/libical/libical_3.0.7.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb_10.4.20.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/oe-core/meta/recipes-support/taglib/taglib_1.11.1.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-openembedded/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb:do_co
    nfigure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-openembedded/meta-oe/recipes-extended/brotli/brotli_1.0.7.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-openembedded/meta-oe/recipes-support/c-ares/c-ares_1.16.1.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/oe-core/meta/recipes-extended/libsolv/libsolv_0.7.10.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-arago/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb:do_install
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/oe-core/meta/recipes-bsp/u-boot/libubootenv_0.3.1.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb:do
    _configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-arago/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb:do_configure
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-ti/recipes-ti/ipc/ti-ipc-examples-linux_git.bb:do_compile
     /home/tanya/workspace/sitara/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/yocto-build/sources/meta-openembedded/meta-oe/recipes-test/googletest/googletest_git.bb:do_fetch
    Summary: There were 3 WARNING messages shown.
    Summary: There were 17 ERROR messages shown, returning a non-zero exit code.

    Thank you in advance,

    Tanya

  • Hi Tanya,

    I have done another fresh build to check the issue reported, here are my commands again.

    Please make sure that you have installed all the host dependencies that are documented here: https://software-dl.ti.com/processor-sdk-linux/esd/AM57X/08_02_01_00/exports/docs/linux/Overview_Building_the_SDK.html 

    And then after you have done that, the build steps are as below

    wget https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-L1u0FxxpZf/08.02.01.00/ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin
    chmod +x ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin
    ./ti-processor-sdk-linux-am57xx-evm-08_02_01_00-Linux-x86-Install.bin --mode unattended --prefix `pwd`
    cd yocto-build/
    ./oe-layertool-setup.sh -f ../configs/processor-sdk-linux-08_02_01_00.txt
    cd sources/meta-ti
    git cherry-pick 39fa0c1d3d020d5239c067e103e2f429ef0fcfc7
    git cherry-pick 9e6c7d69d8d5700ff22ca03a3d1d1b04bce88f85
    git cherry-pick ccbe45c06b2fddf73b4a5c596214fc86b0968d39
    cd ../build/
    . conf/setenv
    TOOLCHAIN_BASE=/sdk/tools MACHINE=am57xx-evm bitbake -k tisdk-default-image
    
    
    #make changes to bridge-utils and googletest as shown in the patch below:
    meta-openembedded$ git diff
    diff --git a/meta-networking/recipes-support/bridge-utils/bridge-utils_1.6.bb b/meta-networking/recipes-support/bridge-utils/bridge-utils_1.6.bb
    index d693ae9a9..4b195eded 100644
    --- a/meta-networking/recipes-support/bridge-utils/bridge-utils_1.6.bb
    +++ b/meta-networking/recipes-support/bridge-utils/bridge-utils_1.6.bb
    @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
     SRCREV = "42c1aefc303fdf891fbb099ea51f00dca83ab606"
    
     SRC_URI = "\
    -    git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git;branch=master \
    +    git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git;branch=main \
         file://kernel-headers.patch \
         file://0005-build-don-t-ignore-CFLAGS-from-environment.patch \
         file://0006-libbridge-Modifying-the-AR-to-cross-toolchain.patch \
    diff --git a/meta-oe/recipes-test/googletest/googletest_git.bb b/meta-oe/recipes-test/googletest/googletest_git.bb
    index 898f23faf..35fe1bed0 100644
    --- a/meta-oe/recipes-test/googletest/googletest_git.bb
    +++ b/meta-oe/recipes-test/googletest/googletest_git.bb
    @@ -11,7 +11,7 @@ PROVIDES += "gmock gtest"
    
     S = "${WORKDIR}/git"
     SRCREV = "703bd9caab50b139428cea1aaff9974ebee5742e"
    -SRC_URI = "git://github.com/google/googletest.git;branch=master;protocol=https"
    +SRC_URI = "git://github.com/google/googletest.git;branch=main;protocol=https"
    
     inherit cmake
    
    
    
    # then rebuild again
    cd ../sources
    vi meta-openembedded/meta-oe/recipes-test/googletest/googletest_git.bb
    vi meta-openembedded/meta-networking/recipes-support/bridge-utils/bridge-utils_1.6.bb
    TOOLCHAIN_BASE=/sdk/tools MACHINE=am57xx-evm bitbake -k tisdk-default-image
    

    Regards
    Karthik