Linux Real time

Discussion in 'Linux Ubuntu' started by iCONiAN, Oct 19, 2013.

  1. iCONiAN

    iCONiAN New Member

    Joined:
    Oct 11, 2013
    Messages:
    6
    Likes Received:
    0
    Is it possible to have a distro like xenomai+ubuntu for this board? i think it would be very useful since the IO is accessible both from thesa3x and the iMX6...
     
  2. andcmp

    andcmp New Member

    Joined:
    May 8, 2013
    Messages:
    161
    Likes Received:
    0
    The UDOO team with the help of beta testers all over the world is working on several distros and OS like Ubuntu Linaro, Yocto, Debian, Archilinux, XBMC. Android and so on. Also, the community will play a key role in developing UDOO so I guess it is just a matter of time!
     
  3. OmegaDoom

    OmegaDoom New Member

    Joined:
    Oct 13, 2013
    Messages:
    2
    Likes Received:
    0
    Xenomai merged with RTAI some years ago. I think it is possible to apply RTAI to the UDOO kernel. It is a expensive procedure; the best thing to do is to check if exist a RTAI version that support the kernel version used for UDOO (3.0.15) or closed versions. Unluckily the Linux kernels used by RTAI are old.
    Keep us updated!
     
  4. ufechner

    ufechner New Member

    Joined:
    Nov 4, 2013
    Messages:
    10
    Likes Received:
    0
    Sorry, but as far as I know this is not true. Xenomai is a project that is quite different from RTAI (for
    details see: http://www.xenomai.org/index.php/FAQs#W ... nd_RTAI.3F ).

    Adapting Xenomai to a new hardware is in general not so difficult. Have a look at:
    http://www.xenomai.org/index.php/Embedd ... ce_Support

    If you want to make Xenomai work on UDOO, just ask on the Xenomai mailing list.
    Currently the newest kernel that is supported for Xenomai on ARM is the 3.8
    kernel. See: http://download.gna.org/adeos/patches/v3.x/arm/
    The version for which Xenomai patches exist that is most close to the version UDOO is using is version 3.0.13 .

    For my purposes a low-latency kernel is already good enough, though.

    Best regards:

    Uwe Fechner
     
  5. andypugh

    andypugh New Member

    Joined:
    Nov 28, 2013
    Messages:
    26
    Likes Received:
    0
    andypugh@udoo:~/git/Xenomai$ uname -a
    Linux udoo 3.0.35-Xenomai-g58cf7fe-dirty #13 SMP PREEMPT Fri Jan 17 03:26:53 UTC 2014 armv7l armv7l armv7l GNU/Linux
    andypugh@udoo:~/git/Xenomai$ sudo xeno-regression-test -l "/usr/lib/xenomai/testsuite/dohell -m /tmp 100" -t 2
    Started child 9158: /bin/bash /usr/lib/xenomai/testsuite/xeno-test-run-wrapper /usr/bin/xeno-regression-test -t 2
    ++ echo 0
    ++ /usr/lib/xenomai/testsuite/arith
    mul: 0x79364d93, shft: 26
    integ: 30, frac: 0x4d9364d9364d9364

    signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
    inline calibration: 0x0000000000000000: 45.615 ns, rejected 0/10000
    inlined llimd: 0x79364d9364d9362f: 1727.421 ns, rejected 2/10000
    inlined llmulshft: 0x79364d92ffffffe1: 32.735 ns, rejected 0/10000
    inlined nodiv_llimd: 0x79364d9364d9362f: 45.375 ns, rejected 0/10000
    out of line calibration: 0x0000000000000000: 48.075 ns, rejected 0/10000
    out of line llimd: 0x79364d9364d9362f: 1788.676 ns, rejected 2/10000
    out of line llmulshft: 0x79364d92ffffffe1: 27.764 ns, rejected 0/10000
    out of line nodiv_llimd: 0x79364d9364d9362f: 40.441 ns, rejected 0/10000

    signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
    inline calibration: 0x0000000000000000: 45.565 ns, rejected 0/10000
    inlined llimd: 0x86c9b26c9b26c9d1: 1743.871 ns, rejected 1/10000
    inlined llmulshft: 0xd45d172d0000001e: 22.707 ns, rejected 0/10000
    inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 50.464 ns, rejected 0/10000
    out of line calibration: 0x0000000000000000: 70.583 ns, rejected 0/10000
    out of line llimd: 0x86c9b26c9b26c9d1: 1751.943 ns, rejected 2/10000
    out of line llmulshft: 0xd45d172d0000001e: 10.312 ns, rejected 0/10000
    out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 30.519 ns, rejected 0/10000

    unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
    inline calibration: 0x0000000000000000: 45.570 ns, rejected 0/10000
    inlined nodiv_ullimd: 0x79364d9364d9362f: 42.910 ns, rejected 0/10000
    out of line calibration: 0x0000000000000000: 48.037 ns, rejected 0/10000
    out of line nodiv_ullimd: 0x79364d9364d9362f: 40.478 ns, rejected 0/10000
    ++ /usr/lib/xenomai/testsuite/clocktest -C 42 -T 30
    == Tested clock: 42 (CLOCK_HOST_REALTIME)
    CPU ToD offset [us] ToD drift [us/s] warps max delta [us]
    --- -------------------- ---------------- ---------- --------------
    0 1.3 0.024 0 0.0
    1 1.0 0.040 0 0.0
    2 0.6 -0.046 0 0.0
    3 1.2 0.046 0 0.0
     
  6. mohamed_fawzy

    mohamed_fawzy New Member

    Joined:
    Jul 13, 2015
    Messages:
    11
    Likes Received:
    1
    i want to make xenoami running on uddo
    is it possible ? and is it efficient for real time applications ?
     
  7. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    @andypugh: what did you mean with your message? I found it cryptic
     
  8. mohamed_fawzy

    mohamed_fawzy New Member

    Joined:
    Jul 13, 2015
    Messages:
    11
    Likes Received:
    1
    i need RTOS on my UDOO board
    so when i searched i found that xenoami is real time framework for linux
    so i try to apply it for my udoo board
    so i asked is it good solution ? anyone succeed to do that on udoo ?
     
  9. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    According to Xenoami website, i.MX6Q boards, that is UDOO Quad, are supported, so it should work. Anyway I've never tried it, so I don't know if it's good or not.
     
  10. mohamed_fawzy

    mohamed_fawzy New Member

    Joined:
    Jul 13, 2015
    Messages:
    11
    Likes Received:
    1
    thanks alot
    i will try it , if it worked i will post on the fourm to help others
     
    Andrea Rovai likes this.
  11. andypugh

    andypugh New Member

    Joined:
    Nov 28, 2013
    Messages:
    26
    Likes Received:
    0
    I never saw this reply. I know it is years later, but that was the output of running the Xenomai testsuite on a Udoo Quad. (ie, proof that Xenomai worked on Udoo)
     

Share This Page