what are the requirement to run Linux on a micro-controller in embedded system
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what are the requirement to run Linux on a micro-controller in embedded system
Hi,
I am doing research for selecting a chip which will be running embedded Linux in an embedded system. My question is,
1. In general, what are the minimum requirements for a micro-controller to run embedded Linux?
2. If hareware-wise a chip is not sufficient to run embedded Linux, what outside components can be added to make it run embedded Linux?
At first glance I would say that its architecture has to be supported. In other words it has to be listed among the sub directories of /arch in a kernel tree. You should also check things like available RAM and mass storage. What can be added to expand that is to be checked with the manufacturer but this information is probably provided in the specs. Of course you'll also need a compiler, a linker, a toolchain and utilities, but if I understand well your question was more about the hardware. I also assume that you will need all that's necessary from cross compiling though.
PS did you consider using a Raspberry pi? At least you are sure that Linux runs well on that.
Last edited by Didier Spaier; 01-25-2016 at 02:02 PM.
Thanks for the reply.
Yes my question is more about the minimum hardware requirements. Beside big enough memory space, I also heard about things like 'an MMU is required for running Linux". Could you confirm if there is indeed such a requirement, and any other similar hardware requirement?
Unfortunately I don't know. But I believe that you could more easily find the answer to that question on this forum: http://www.linuxquestions.org/questi...d-computer-78/ that is dedicated to such matters. Consider clicking the "Report" button and kindly ask a moderator to move this thread there. Additionally that is a question to which sellers of such devices are probably ready to answer.
A person can create a rather small footprint of Linux to run some basic tasks. The kernel can be created to support some set of hardware. Generally you pick from known supported hardware rather than try to write code for some new hardware.
Without knowing what you what or are doing I doubt we can guess better.
Consider companies and products that offer some sort of support for linux. Many have images and tool chains to assist you.
Plenty of companies make products that are intended to run some sort of OS from QNX to VXworks to Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.