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.

What is the difference between Linux, RT-Linux and RTOS SDK?

Hi,

I am working on porting of our existing Linux Kernel(Ubuntu - 14.04) flavor from x86 platform to ARM-Sitara Cortex-A8 platform. I have many applications ruining on my working X86 platform  which has Ubuntu-14.04 running. Before going to start with I have below queries:

1)  Is SDK has Ubuntu-14.04 support? IF not is it possible to port generic linux for Sitara Platform

2) Can we patch linux kernel provided in SDK with RTAI patches?

3) Can we use generic Graphic Designing tools/servers provided on Ubuntu-14.04?

4) Can we use existing Modbus Library with Linux Kernel provided in SDk?

Kindly let me know if you have any idea on above queries.

Appreciate your help.

Thanks

  • Hi,

    No, the Linux SDK is Arago distribution, latest kernel is v4.1.18. The RT kernel is the same, with real time patches implemented. As for Modbus, this should be possible to cross-compile. As for generic Graphic Designing tools/servers, please specify what you have in mind.
  • Thank you for looking into the Post and your suggestions.

    I have graphics tools which works on Ubuntu 14.04 like Fluxbox, X11 Server etc and dependent libraries. Tools used to Design HMI like Glade, GTK, python, sqlite and dependent libraries.

    Kindly let me know can we use as it is all packages available and installable on Ubuntu 14.04?

    Appreciate your help.

    Thanks,

  • Hi,

    Unlike Ubuntu, the latest TISDK does not use X11 server. It uses wayland (Yocto project) instead. With some modifications of the Yocto build system, you should be able to cross compile python, sqlite & gtk for the Sitara devices. I am not sure about Glade, I haven't seen a use case with it.

    However, have in mind, that as Biser stated, you won't be able to just port your Ubuntu environment from the x86 machine to sitara board.

    Best Regards,
    Yordan
  • Hi,

    Thank you for your reply.

    Could you please brief out about Arago distribution and wayland (Yocto project). Since we are having multiple packages which is being running on X86 platform on our host system as well as on Target, I am more concern on how to port all packages / Application and dependent libraries?

    I have Host Machine of X86 Platform running Ubuntu-14.04 on it. I have below quires on porting application / Packages:

    1) How to compile kernel on X86 Host Platform?

    2) How RT linux in TI SDK is different than generic Linux kernel patched with RTAI-4.1 patches. Does RTAI patches can be applied on TI's  linux Kernel?

    3) How to port / cross-compile all application packages existing on Ubuntu-14.04?

    4) What are the tools available to develop GUI? What are the development tools we can use instead of Glade on Sitara Platform?

    5) I have below list of packages which we need to use in our application, are these packages available as a part of SDK? If Not how to port / cross compile below mentioned packages?

    SSh, Subversion, make, emacs24, sqlite3, Xserver, lightdm, lightdm-gtk-greeter, Fluxbox, X11vnc, RTAI-4.1 debian package, Modbus with rtai support. Python, Language pckage etc

    Detailed list of packages:

    ssh   subversion   g++  make  libc6-dev  emacs24  sqlite3  libsqlite3-dev  xserver-xorg  lightdm lightdm-gtk-greeter


    fluxbox  x11vnc  xdg-utils libxss1 gtk2-engines dbus dbus-x11 dmsetup mingetty vsftpd python2.7-dev python-gtk2 python-gtk2-dev python-glade2


    python-sqlalchemy   python-xlib   python-virtkey  python-dbus  python-ipy  python-numpy  python-poppler  zip  libfuse2  usbmount  dctrl-tools 


    mountall=2.53-vilter  linux-image-3.14.33-atom-rtai  rtai  librtai1  librtai-dev  python-rtai  rtai-doc  rtai-source  rtai-modules-3.14.33-atom-rtai


    libmodbus=3.0.5-1vilter  libmodbus-dev=3.0.5-1vilter  truecrypt=7.1a-8vilter  anacron  intltool language-pack-es language-pack-zh-hans


    language-pack-pt language-pack-lt language-pack-ko language-pack-fr language-pack-da language-pack-de language-pack-el language-pack-ru


    language-pack-th language-pack-fil language-pack-nl language-pack-it language-pack-nb language-pack-nn language-pack-sv language-pack-fi


    language-pack-vi language-pack-pl language-pack-tr language-pack-cs language-pack-sr language-pack-hu ttf-wqy-microhei ttf-thai-arundina


    plymouth-theme-ubuntu-logo

    6) How to port existing Real time Application using RTAI-4.1 on Sitara Platform?

    Kindly let us know your suggestions/feedback.

    Appreciate your help!!

    Thanks,

     

  • Hi, 

    Manali Patil said:
    1) How to compile kernel on X86 Host Platform?

    Refer to this wiki: http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Getting_Started_Guide

    Specifically, the steps provided in  7. Rebuild sources using the top-level makefile in the SDK root directory. 

    Manali Patil said:
    2) How RT linux in TI SDK is different than generic Linux kernel patched with RTAI-4.1 patches. Does RTAI patches can be applied on TI's  linux Kernel?

    I am not familiar with the RTAI-4.1 patches. However RT Linux is a linux kernel ported for the am335x devices with the CONFIG_PREEMPT_RT patch applied. More infor on this can be found here: https://rt.wiki.kernel.org/index.php/Main_Page 

    Manali Patil said:
    3) How to port / cross-compile all application packages existing on Ubuntu-14.04?

     

    You should modify the Yocto build system. Instructions for adding your custom .bb can be found here: 
       https://wiki.yoctoproject.org/wiki/How_do_I 

        http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html 

    TI instructions for rebuilding the SDK filesystem are located here: http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK

    Also the following wiki may be of use: processors.wiki.ti.com/.../Processor_SDK_Linux_Software_Developer’s_Guide

    Manali Patil said:
    4) What are the tools available to develop GUI? What are the development tools we can use instead of Glade on Sitara Platform?

    The recommendation is to use QT: 
       http://processors.wiki.ti.com/index.php/Building_Qt?keyMatch=qt&tisearch=Search-EN 

       http://processors.wiki.ti.com/index.php/Qt_Tips?keyMatch=qt&tisearch=Search-EN

       http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX?keyMatch=qt&tisearch=Search-EN

    Manali Patil said:
    5) I have below list of packages which we need to use in our application, are these packages available as a part of SDK? If Not how to port / cross compile below mentioned packages?

    You can check which packages are available in the sdk in the software manifast, located in docs/ folder.  For porting/cross-compiling packages, refer to the links, I provided for your 3rd question. 

    Manali Patil said:
    6) How to port existing Real time Application using RTAI-4.1 on Sitara Platform?

     

    I am not familiar with this linux patch set. I cannot be of help here. 

    Best Regards, 
    Yordan