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
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Riotboard without an operating system (bare-metal)
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 10 replies
  • Subscribers 25 subscribers
  • Views 718 views
  • Users 0 members are here
Related

Riotboard without an operating system (bare-metal)

micarm
micarm over 11 years ago

Hi! Can I program Riotboard without an operating system (bare-metal)? What do I need? Thank you!

  • Sign in to reply
  • Cancel
Parents
  • tusharp
    tusharp over 11 years ago

    Its better to start with some existing linux distro supporting Riotboard rather than build from scratch.

    Anyways you can tweak the bl, kernel later according to requirements.

     

    Other way round as agrahambell mentioned there is a 6000 page reference manual for i.MX.

    I guess upto boot level its fine to do from scratch, but to make full use of Apps processor it needs some OS stuff.

    Its highly time consuming to start from scratch.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • micarm
    micarm over 11 years ago in reply to tusharp

    I want to build a real-time system. Does Linux allow to do it?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to micarm

    There are various real time (ish) patch sets for linux that you could apply, however linux was never designed to be an RTOS, so how well the patchsets do is up for discussion.

     

    You might want to talk with tjmerics who seems to be porting QNX onto RIoT, see this thread: http://www.element14.com/community/thread/33862/l/riot-board-ethernet-problem

     

    Generally if an existing RTOS runs you're better off using it, or like Thomas porting one onto the platform might end up being less work than starting from scratch yourself.   This isn't specific to RIoT, most of the current boards, RIoT, RPi, Cubieboard, Odroid etc.. have SoCs that have reached a level of complexity that makes it very difficult to do useful bare metal stuff.  You'd probably have more luck with something using a Cortex-M* series rather than a Cortex-A* for bare metal, but it really depends on what your eventual goal is.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to micarm

    Some examples of real time linux patches:

    http://en.wikipedia.org/wiki/RTAI

    http://en.wikipedia.org/wiki/Xenomai

    http://en.wikipedia.org/wiki/RTLinux

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • micarm
    micarm over 11 years ago in reply to Former Member

    Thanks for the answers! I will study materials)))) I think I'd better choose Cortex-A5 (ATSAMA5D3x). It is easier and more suited to my tasks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • tusharp
    tusharp over 11 years ago in reply to micarm

    there are some RTOS (to name a few xenomai, RTAI, RTlinux, uclinux-mic) based on linux kernel, but they were highly stripped to be RTOS.

     

    linux kernel can be stripped down so that bare minimal features supporting hardware is present, which may be called as a tiny/micro whatever kernel it is.

     

    the bulkiness in Linux distro mostly comes from the supported middleware which bloats(the downside) the entire distro, however this helps us to write apps faster(the upside) without being worried(reinvent the wheel) about the hardware.

     

    Again RTOS depends on the what features we want to put in, its possible to strip the kernel by removing features you don't need like the huge Ethernet code base. Building a minimalistic kernel may help, try using "make allnoconfig", i never tried so cant comment much.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • tusharp
    tusharp over 11 years ago in reply to micarm

    there are some RTOS (to name a few xenomai, RTAI, RTlinux, uclinux-mic) based on linux kernel, but they were highly stripped to be RTOS.

     

    linux kernel can be stripped down so that bare minimal features supporting hardware is present, which may be called as a tiny/micro whatever kernel it is.

     

    the bulkiness in Linux distro mostly comes from the supported middleware which bloats(the downside) the entire distro, however this helps us to write apps faster(the upside) without being worried(reinvent the wheel) about the hardware.

     

    Again RTOS depends on the what features we want to put in, its possible to strip the kernel by removing features you don't need like the huge Ethernet code base. Building a minimalistic kernel may help, try using "make allnoconfig", i never tried so cant comment much.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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