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.

CCS/TMDXIDK5728: Linux - Implement Redis Functionality

Part Number: TMDXIDK5728


Tool/software: Code Composer Studio

Hi Support,

We will use a Redis server for our application. This application comes with the Linux SDK kernel. I am using Linux SDK 5.2.0.10. I am using Ubuntu 18.04 LTS. 

I am able to run a Redis server on my host Linux machine, and connect from the IDK board through a local Ethernet connection. See this image:

Now I am trying to make a CCS example using the Redis C library, and provided example file. I am using the HiRedis client.  

When I link the library within CCS, I get the following error: "/home/alecphillips/Downloads/hiredis-master/libhiredis.a: error adding symbols: File format not recognized" "Collect2: error ld returned 1 exit status".

Can you please help me remedy this error & assist me in figuring out how to implement Redis in our future design?

Thank you,

Alec

  • Alec,

    I'm sorry, this is the first request for Redis support I have seen and it is not something we currently include in our SDK. I would recommend posting this question to the Redis community as they probably have more experience with this.

    I'm sorry we can't be more help.
  • Ron,

    To be clear, Redis is included with the TI Linux SDK image. Using the latest RT kernel, performing U-Boot launch from SD card, has Redis was already included. 

    Thank you for the reply,

    Alec 

  • Alec,

    Thanks for clarifying. Sorry for my mistake. We include many open source components into the SDK to make developing with it easier. However, these components still need to be supported by their respective communities.
  • Ron,

    It made my initial development easier, so it is certainly appreciated. I understand there is a lot of open source software out there and of course, TI cannot support everything. Whenever I have a question about the Sitara, the first place I turn is TI E2E forums. I will check out the Redis community, as well as lean on my fellow engineers who have Redis experience.

    Thank you again for your reply,
    Alec