Is it possible to run Linux on Arduino? If yes, what steps and limitations need to be considered? If not, what are the limitations that prevent this?
Sign up
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
|
Linux is a very complex operating system, but it may be able to fit on an arduino. things to consider:
In short, it would take a lot of time and effort, and probably would be too slow for everyday use. If you really want Arduino Linux, check out the Yún. |
|||||||||
|
It just doesn't have enough RAM. You'd also need to teach it to boot from flash memory, which would involve rewriting the bootloader. You can instead use an Arduino Yun or a PCDuino; while not "standard" Arduinos these support Arduino shields and run Linux. Or there's always the Raspberry Pi. |
|||||||||||||
|
The short answer is no. Basically, you would need LOTS more ram then even the biggest ATmega has natively. It is theoretically possible to add external hardware, and program the ATmega to emulate a more powerful CPU, and run linux on that. However, on a plain arduino, it is not possible. It would be much more realistic to run linux on a Arduino Due, which is basically a AT91SAM3X8E CPU. However, you'd still need to add some additional SRAM and storage. There are things like the Arduino Yun, but that is really a entirely separate linux module on the same PCB as a ATmega32U4, so I don't know if you can really count it as an arduino. Possibly relevant: What does it take to run embedded linux? |
|||
|