LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-25-2016, 12:15 PM   #1
david_8274
Member
 
Registered: Jun 2013
Location: California
Distribution: Ubuntu, Fedora
Posts: 75

Rep: Reputation: Disabled
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?

Thanks,
Wei Xu
 
Old 01-25-2016, 01:57 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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.
 
Old 01-25-2016, 02:13 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Hi.

Here is a pretty good "minimum:" http://makezine.com/2015/05/07/next-...st-9-computer/

I remember seeing somewhere in these many treads that you could run Linux insanely small. Of course depends on what you want it to do or add?
 
Old 01-25-2016, 03:42 PM   #4
david_8274
Member
 
Registered: Jun 2013
Location: California
Distribution: Ubuntu, Fedora
Posts: 75

Original Poster
Rep: Reputation: Disabled
Hi Didier Spaier,

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?

Thanks,
Wei Xu
 
Old 01-25-2016, 04:07 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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.
 
Old 01-25-2016, 04:49 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Try these links:-

http://www.uclinux.org/pub/uClinux/FAQ.shtml
http://www.embedded.com/design/opera...rating-systems
https://en.wikibooks.org/wiki/Embedded_Systems/Linux
 
Old 01-25-2016, 05:23 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
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.

Last edited by jefro; 01-25-2016 at 05:25 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux-based embedded controller alanpjs2 Linux - Hardware 15 05-13-2011 10:51 AM
what is the minimum hardware requirement to port linux kernel to an embedded systems vivignesh Linux - Embedded & Single-board computer 1 09-28-2010 01:57 AM
Micro controller Linux mustansar Linux - Embedded & Single-board computer 1 09-19-2010 03:40 PM
Low System Requirement Linux mandm3808 Linux - Newbie 2 06-17-2009 05:34 PM
Xpert in 8-16 bit microcontroller embedded system now inclining toward embedded linux priyadarshan Linux - Embedded & Single-board computer 2 02-12-2009 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration