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/am4379: SDK Linux vs Yocto Linux for AM437x

Part Number: AM4379
Other Parts Discussed in Thread: AM4379

Tool/software: Linux

The Linux version that is built using the Yocto release is different from the version in the AM437x processor SDK. Aside from the obvious mainline codebase differences, are there some features in the SDK kernel that are not available in the version built using Yocto? Specifically, it looks like the PRU is not supported in the Yocto version (judging by available TI documentation and looking in the code). Is SGX supported in both? Is there a feature set comparison somewhere?

I'm trying to create a Yocto distribution for a module based on AM437x, and I wish to base it on TI codebase so that the result will be able to support both PRU and SGX. What kernel should I base this on?

  • Hello Nikita,

    The Processor SKD config files are located under <tisdk>/configs/processor-sdk/ directory. Please, use the latest config and build the Processor SDK as per these steps.

    Best regards,
    Kemal

  • Hello Kemal,

    This isn't really what I'm asking about. Perhaps I should've made my intentions clearer.

    What I'm trying to do is create a Yocto layer for an embedded device that is based on the AM4379 SOC. My intention was to get the latest Yocto distro, import some TI layers (meta-ti, maybe more?) for features such as PRU and SGX, and then add my own layer, the combination of which will result in a distro that includes support for PRU and SGX. This appears to be non-trivial to do. It looks like the software support that exists in the SDK is not obtainable using Yocto + meta-ti. My troubles right now are specifically about the PRU support. I don't see the same config options that are documented in various TI wikis in the kernel that is being built via Yocto layers, so unless I'm missing something, it looks like PRU support is just not there. As a result I am no longer certain of what feature set is actually obtainable via a Yocto build, and if what I'm trying to do is actually feasible. The alternative right now seems to be taking the OE based SDK, and just modify that, which is something I wish to avoid because not everything in that SDK is actually needed for our purposes, and because it's not part of mainstream Yocto.

    Hope I made things clearer.

    Regards,
    Nikita Kiryanov

  • The configs from the processor-sdk will generate the exact Processor SDK configuration, then you can include your custom layers to the OE.