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-AM62X: Unable to build systemd-analyze in yocto for SK-AM62

Part Number: PROCESSOR-SDK-AM62X

Hello, I have tried option 2 from the related question but unable to find ipk for systemd-analyze in yocto build. 

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1158155/processor-sdk-am62x-am62x-add-systemd-analyze-support

  • Hi Mitesh,

    I just tried this out using AM62x Linux SDK 9.0. After making the related changes to conf/local.conf I can see a systemd-analyze package here:

    a0797059@dasso:~/tisdk/am62xx-evm/build (master)
    $ find ./arago-tmp-default-glibc/deploy -name '*systemd-analyze*'
    ./arago-tmp-default-glibc/deploy/ipk/aarch64/systemd-analyze_250.5-r0.arago7.0_aarch64.ipk
    
    a0797059@dasso:~/tisdk/am62xx-evm/build (master)
    $ ll ./arago-tmp-default-glibc/deploy/ipk/aarch64/systemd-analyze_250.5-r0.arago7.0_aarch64.ipk
    -rw-r--r-- 3 a0797059 a0797059 432444 Oct 10 20:27 ./arago-tmp-default-glibc/deploy/ipk/aarch64/systemd-analyze_250.5-r0.arago7.0_aarch64.ipk

    Can you double check the spelling etc. of the changes you made?

    Regards, Andreas

  • Hi Andreas, 

    I am using SDK 08_06_00_42 and 

    ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-09.00.00-config.txt 

    I can't find systemd-analyze .

    I tried with SDK 9.0 but that I cannot install on Linux from SDK 8.06.00.42, it says libc will need to be updated.

    Thanks 

  • Hi Andreas, this is what I get from SDK 9.

    opkg install systemd-analyze_250.5-r0.arago7.0_aarch64.ipk

    Collected errors:
    * Solver encountered 1 problem(s):
    * Problem 1/1:
    * - nothing provides libc6 >= 2.35 needed by systemd-analyze-1:250.5-r0.arago7.0.aarch64
    *
    * Solution 1:
    * - do not ask to install systemd-analyze-1:250.5-r0.arago7.0.aarch64

    root@194-70-215-60:~#

  • I am using SDK 08_06_00_42 and 

    ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-09.00.00-config.txt 

    You cannot mix those things up. SDK v8.6 and SDK v9.0 use completely different software versions for almost the entire stack. Try setting up a clean/fresh build with SDK v9.0, and see if you can re-create what I did. If you can, then the next step would be back-porting / applying this to SDK v8.6 if that is what you must-use.

    Regards, Andreas

  • Hi Andreas, thanks I will rebuild the lot. But would you be able to provide the following version?

    (I know, it's not your policy to do this but will help us to test faster)

    systemd-analyze_244.5-r0.arago6.0_aarch64.ipk

    Thanks 

  • Looks like you want to install this in an SDK v8.6 image? This can't be done. You need to build the package as part of the same Yocto distribution yourself to ensure the right compatibility with libraries and the general sysroot.

    Andreas

  • Okay, will re-check SDK v8.6 and try again. Thanks 

  • Hi Andreas, this worked. Thanks.