element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Real-Time patch for Linux
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 329 subscribers
  • Views 265 views
  • Users 0 members are here
Related

Real-Time patch for Linux

eactor
eactor over 12 years ago

Hello I would like to apply the real-time patch to Xillinux or any other Ubuntu which I could run on the Zedboard.
Obviously Xillinux has a kernel 3.3 and the RT-Patch is only available for 3.2, 3.4, 3.6, 3.8?

Also the official Xilinx Kernel GIT is stated 3.9, but I'm unsure if the kernel would work with the Xillinux?

Could somebody shed some light on the topic?

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 12 years ago +1
    Hi, Xillinux' kernel is based upon the one from Digilent plus the patches in /usr/src/xillinux/kernel-patches/ in Xillinux' file system. This patch set also generates the .config file (which isn't really…
  • Former Member
    0 Former Member over 12 years ago

    Hi,

    Xillinux' kernel is based upon the one from Digilent plus the patches in /usr/src/xillinux/kernel-patches/ in Xillinux' file system. This patch set also generates the .config file (which isn't really proper, but convenient). I don't know to what extent the delta between Digilent's kernel and the vanilla one has made itself into the mainline kernel.

    What I would do if I were you:

    (1) Get myself the latest digilent kernel and the exact vanilla kernel closest after it that has real time patches available.
    (2) Rebase or merge Digilent's delta commits into the vanilla kernel (and hope for good)
    (3) Apply the real time patches
    (4) Apply Xillinux' patches.

    Item (2) may turn into a headache, but there's no way around it. No Linux kernel will work without this (unless those commits are already in the mainline kernel).

    Item (4) should be a piece of cake, because most of it just adds drivers (slight and obvious conflicts are possible).

    By all means, please tell us how it went. :)

    Regards,
       Eli

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • eactor
    0 eactor over 12 years ago

    It worked after I played around with the order to apply the patches, but the Cyclictest (program for testing the new kernel latencies) isn't doing any better than vanilla kernel. Right now I try to find out if I considered everything. The max latency of 1500 us is way too high and I would consider everything below 300 as good.
    Cheers
    eactor

    So if someone has experience with the soft IRQ or maybe HWIRQ causing this, hints are appreciated. It is still the them behavior noticed with the shipped busy box: http://www.zedboard.org/content/busybox-hangs-every-2-secounds

    Console:
    cyclictest -t1 -p 80 -n -i 10000 -l 10000
    # /dev/cpu_dma_latency set to 0us
    policy: fifo: loadavg: 0.13 0.31 0.17 1/150 2224
    T: 0 ( 2224) P:80 I:10000 C:  10000 Min:     18 Act:   36 Avg:   32 Max:    1565

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube