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/AM3352: Libc6 installation

Guru 16800 points
Part Number: AM3352


Tool/software: Linux

Hello,

Could you let me know how to install the libc6 package by using opkg command?
Or could you let me know how to change the version of the libc6 package?

The backgrounds are following.

My customers are trying to install the libc6 package by opkg referring the following URL.
processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

However, the install failed.

The reason of the fail is that the pre-installed package's version and new built package's version are mismatched.
Pre-installed version is 2.23-r0.arago35.tisdk0.0 and new built version is 2.23-r0.arago35.tisdk0.
(SDK version is 04.00.00.04)
As a result, the new built package's version is recognized as older version than the pre-installed package's version.

Best Regards,
Nomo

  • Hello Nomo,

    Force the installation with --force-downgrade option.

    Best regards,
    Kemal

  • Hello Kemal-san,

    Thank you for your quick response.
    Is there any another solution?

    Best Regards,
    Nomo

  • It happens because of the trailing 0 in pre-installed version. To fix this either use the --force-downgrade option or remove the trailing 0 from /var/lib/opkg/status.

    Package: libc6
    Version: 2.23-r0.arago35.tisdk0.0

  • Hello Kemal-san,

    Thank you for your reply.
    By using --force-downgrade option, they can install the new built package into their file system.
    However, they want to know the method to change the version of the new built package; because, they want to introduce the method to their end customers as permanent measures.
    Could you please let me know the method to change the version of the new built package?

    Best Regards,
    Nomo
  • Change the PR_append = ".arago35" string to PR_append = ".arago35.0" in <tisdk>/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend if you want to change the version of libc6 build package and install the new libc6 image with --force-reinstall command since the two versions will match.

    If you want to build and install other various new packages use the OE build system, find and add or edit the old recipes to build the new packages and install them to your board.

    If you want to update the libc6 version, you will need to update the external linaro toolchain version too and match the exact libc6 version you need.

  • Hello Kemal-san,

    Thank you for your reply.
    However, I cannot find the file of "<tisdk>/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend".
    Is this another toolchain?

    Best Regards,
    Nomo
  • The path with the processor-sdk-04.00.00.04-config.txt file is "<tisdk>/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend".

  • Hello Kemal-san,

    Thank you for your reply and kind support.
    I'll try telling the information from you.

    Best Regards,
    Nomo