AM4376: issue with the yockto build procecure for Processor SDK 06.03.00.106

Part Number: AM4376

Hi,

I am using AM4376 processor the secure IC. I am following the procedure mentioned in the below link.

https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/AM437X/linux/Overview_Building_the_SDK.html

In the above mentioned procedure when I execute the below command it give error and the process is stuck.

root@lin06200231d:/home/gauravmore# git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk_603
Cloning into 'tisdk_603'...
fatal: unable to connect to arago-project.org:
arago-project.org[0: 192.163.14.205]: errno=Connection timed out


after referring the below forum link still I am not able to proceed further since I am not getting the proper solution.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1312423/processor-sdk-am335x-git-clone-isn-t-working-for-arago-project/4990676#4990676

Please provide the solution or the proper modified link for the same as well to initiate the same.


BR,
Gaurav More.







  • Hi Gaurav,

    the use of the arago-project.org server has been discontinued, leading to issues trying to build older SDK versions like you are seeing. All git repos have since been moved to yoctoproject.org and are used from there. This includes the oe-layersetup repo, which can now be cloned from here:

    $ git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk

    Then, the URLs in the config files need to be updated _before_ you try to start the oe-layertool-setup.sh script. See this post here for more info and how to get going: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1125319/processor-sdk-am437x-am437x-hs-tisdk-rootfs-image-target-build-issue/4185134#4185134

    Regards, Andreas

  • Hi Andreas,

    Thanks for the quick response,

    I referred the forums and tried to modify the "processor-sdk-06.03.00.106-config.txt" as mentioned in the forum. Refer the attached file for that.

    processor-sdk-06.03.00.106-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.40,b690030efc87850951e8e3ecf4ae3c1dd1dc9b63
    meta-processor-sdk,git://git.ti.com/processor-sdk/meta-processor-sdk.git,master,56d9d47f18eeec31a1086ca29e54b5956c46de84,layers=
    meta-aws,https://github.com/aws/meta-aws.git,thud,6432f1b38b9dcbbb55020167f5b1cfe55e858c6d,layers=
    meta-ros,https://github.com/bmwcarit/meta-ros.git,master,72068b17e4192b51e09c8dc633805a35edac8701,layers=
    meta-arago,git://git.yoctoproject.org/meta-arago,thud,70436496d2617b281c51390faa3d421814055cd6,layers=meta-arago-distro:meta-arago-extras
    meta-browser,https://github.com/OSSystems/meta-browser.git,master,5f365ef0f842ba4651efe88787cf9c63bc8b6cb3,layers=
    meta-qt5,https://github.com/meta-qt5/meta-qt5.git,thud,e6e464c9ed9266ce46452f953c1bdcb0e7b2d95f,layers=
    meta-virtualization,git://git.yoctoproject.org/meta-virtualization,thud,7685c7d415e0002c448007960837ae8898cd57a5,layers=
    meta-openembedded,git://git.openembedded.org/meta-openembedded,thud,446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-multimedia:meta-filesystems
    meta-ti,git://git.yoctoproject.org/meta-ti,thud,b27317ab4f9be931a66344ca502c7e3f4ec780e5,layers=
    meta-linaro,https://git.linaro.org/openembedded/meta-linaro.git,thud,615ea7561b844a3867cee4299d83d605c10b02ab,layers=meta-linaro-toolchain:meta-optee
    oe-core,git://git.openembedded.org/openembedded-core,thud,e68991ceb5933f7d03b96697e8a0ba0829feb320,layers=meta
    OECORELAYERCONF=./sample-files/bblayers.conf.sample
    OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample
    

    but still I am getting below error.

    root@lin06200231d:/home/gauravmore/tisdk_603# ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-06.03.00.106-config.txt /home/gauravmore/tisdk_603
    
    
    cloning repo bitbake
    
    Fetching origin
    fatal: unable to connect to git.openembedded.org:
    git.openembedded.org[0: 199.204.45.23]: errno=Connection timed out
    

    Please check whether apart from the modification done in the "processor-sdk-06.03.00.106-config.txt" , is there any thing which is pending? please revert.

    BR,

    Gaurav More

  • The error message suggests that a connection to the server using the 'git' transport protocol fails. Many servers have migrated to only accept 'https' transport for Git in the last year or two. This is a outside of our control, and there've been a couple of support cases related to this in the past you can find on the E2E.

    Anyways the solution is to update the failing entries in your  *-config.txt file file to use 'https' transport. Basically, change this...

    bitbake,git://git.openembedded.org/bitbake <...>
    meta-openembedded,git://git.openembedded.org/meta-openembedded <...>
    oe-core,git://git.openembedded.org/openembedded-core <...>

    ...to this...

    bitbake,https://git.openembedded.org/bitbake <...>
    meta-openembedded,https://git.openembedded.org/meta-openembedded <...>
    oe-core,https://git.openembedded.org/openembedded-core <...>

    You can also see this by looking some of the latest/newer *-config.txt files, and update accordingly.

    Also, unless you have a very specific reason trying to use/resurrect this old SDK version, you should be using the current (as of today) SDK v9.1 for AM43x, see https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM437X

    Regards, Andreas

  • Hello Andreas,

    Thanks for the quick response,

    I did the suggested modification and able to clone the files. Thanks for the support. 

    Now will build the same and will update you for the same.

    Regarding your suggestion of using latest version 9.01 , we are currently using 8.02 but we required 6.03 for secure boot and for RSTP and bridge functionality.

    Since we do not have support for the same in 9.01 for AM4376 processor we are not able to proceed. If you have any suggestion regarding the same then please revert since we are in the final testing and release phase and now facing issue related to RSTP and normal bridge functionality.

    BR,

    Gaurav More

  • Hi Gaurav,

    Thanks for the quick response,

    I did the suggested modification and able to clone the files. Thanks for the support. 

    thanks for closing the loop, glad to hear you got this going.

    Since we do not have support for the same in 9.01 for AM4376 processor we are not able to proceed. If you have any suggestion regarding the same then please revert since we are in the final testing and release phase and now facing issue related to RSTP and normal bridge functionality.

    Can you please file a separate/new E2E ticket on this additional concern. We need to keep the E2E tickets on-topic, and they are also assigned/handled based on subject-matter expertise.

    Thanks, Andreas

  • Hi Andreas,

    Will log the issue separately in the new ticket. 

    Regarding the 6.03 file system compilation  i a getting below error

    ERROR: Task (/home/gauravmore/tisdk_603/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.19.bb:do_package) failed with exit code '1'

    not able to understand the issue. 

    Kindly let me know is there is any query regarding the same.

    BR,,

    Gaurav More

  • Regarding the 6.03 file system compilation  i a getting below error

    This older v6.x SDK requires you use Ubuntu 16.04 or Ubuntu 18.04. If you aren't, please set this up inside a virtual machine (for example) as your build environment and see if this fixes the issue. If using Ubuntu 16.04 or 18.04 still doesn't work, usually there are logs referenced in the error messages such as the one you encountered.

    Regards, Andreas

  • Hi Andreas,

    Thanks for the response. ,

    we have already using Ubuntu 180.0. We have installed the bin file of processorSDK v6.03. We also implemented the secure boot option. We ae now able to do secure boot in our custom board as well. but now we are developing our application. 

    There we are trying to implement bridge which is our application requirement, so we tried to used the inbuild PRU ISS firmware based implementation. and for that we want to build the files system.

    so while trying to build the file system I got this issue. Please let me know how to resolve this since I need to confirm whether using the SDK v6.03 the bridge is working properly or not.

    BR,

    Gaurav More

  • So just to make sure I understand that correctly, the build error you see happens when building the default TI SDK image?

    Also can you provide additional logs that I asked for, otherwise there's not much I can look at.

    Regards, Andreas

  • So just to make sure I understand that correctly, the build error you see happens when building the default TI SDK image?

    Yes we are building the default TI SDK.

    Please find the log related to the error which I am getting 

    ErroLog.zip

    Also find the screenshot of the compilation done,

    Awaiting your response regarding the same. Also let us know if require any more details.

    Just for the information I am following step before compilation after installing the essentials mentioned in the below link

    https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html

      . conf/setenv
      export TI_SECURE_DEV_PKG=/opt/TI_Keys_board-support/board-support/proc-sdk-secdev-am437x-hs-evm-01.06.00.05/scripts/proc-sdk-secdev
      export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
      export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
      MACHINE=am437x-evm bitbake tisdk-rootfs-image
    

    "MACHINE=am437x-evm bitbake tisdk-base-image" line was not working so used "tisdk-rootfs-image" for compilation.

    BR,

    Gaurav More

  • Hi Gaurav.

    I need to work through a critical assignment before I can spend time to look into this here closer and get back with some additional suggestions, so it won't be until next week before I can get back. Thanks for your patience.

    Regards, Andreas