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-AM437X: Host set-up for build environment

Part Number: PROCESSOR-SDK-AM437X


Hi,

Build environment recommendation is Ubuntu 16.04 and 18.04 as mentioned in the following link: https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/AM437X/linux/Overview_Building_the_SDK.html

However, Ubuntu 18.04 is LTS and will not be supported in 2023. Additionally we would like to use Ubuntu 20.4 or 22.04 but there are some problems related with compilation.

Do you have any suggestions or any instructions to compile Yocto-layer and Processor-SDK in newer Ubuntu versions ?

Thanks in advance,

  • Veysel,

    my recommendation would be to archive the build environments you use using a virtual machine image. This way you can re-create and maintain your builds for years down the road as different host-OS versions become obsolete/unsupported, asit generally reduces dependencies through the isolated nature of the VM.

    Additionally we would like to use Ubuntu 20.4 or 22.04 but there are some problems related with compilation.

    What specific problems did you encounter?

    Do you have any suggestions or any instructions to compile Yocto-layer and Processor-SDK in newer Ubuntu versions ?

    I have the standard AM437x SDK v8.x building and running on Ubuntu 22.04 without any real issues (note that SDK v7.x is a different story, an older version of bitbake caused a lot of issues when I tried, so I would definitely NOT recommend that). The only real issue I found is that I had to fix up the linux devkit installer, which I documented here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1108107/am625-linux-sdk-supported-ubuntu-version/4119837   This was really the only serious issue I encountered in my experiments with Ubuntu 22.04 and our different v8.x SDKs. This fix can also be folded into the respective Yocto recipe pretty easily, just need to `grep` and find the place where it needs to go.

    DISCLAIMER:

    • Even though I provide some steps on how to make it work it doesn't mean it's officially supported or recommended
    • The fact that I haven't encountered any serious issue myself and it seems to mostly work just fine doesn't mean it is a proven solution, and your mileage may vary
    • The Yocto project itself currently does not support Ubuntu 22.04, see official documentation
    • I would strongly recommend sticking to Ubuntu 18.04 for any type of production setup. Use a VM if it needs to be.

    Regards, Andreas