Linux on an 8-bit AVR?

http://dmitry.co/index.php?p=./04.Thoughts/07.%20Linux%20on%208bit

Whew! Boots in two hours. Emulating a 32-bit ARM on an ATmega1284P. Don't know whatever possessed the guy to do such a thing, gotta give him props for tenacity in addition to the technical know-how!

certainly no speed demon. It takes about 2 hours to boot to bash prompt ("init=/bin/bash" kernel command line). Then 4 more hours to boot up the entire Ubuntu ("exec init" and then login). Starting X takes a lot longer.

You gotta love that :slight_smile:


Rob

+10 for technical excellence
-10 for common sense

It is common to see newbies asking in microcontroller forums if they can run Linux on their puny little 8-bit micro. The results are usually laughter.

I asked that question 1.5 years back and was politely let down, However, today i have a tool, Pyxis OS atleast it fulfils a Dream! to have a OS running on a 8 bit FAT Kid!

I love this guy.
Next time someone says there is a need for a 64 bit machine I can say: "You know, I know someone running Linux on a 8 bit processor, why do you need 64bit?"
To be honest I prefer 64bit windows but I expect the truth to be somewhere in between 8)

Best regards
Jantje

More than anything, this is an excellent example of what "Turing Completeness" means; this guy's project should be part of an in-depth study in a quality compsci 101 course (from what I've been exposed to lately, it seems like most compsci programs out there are nothing more than glorified computer programming mills that barely prepare their students for that; not at all what I know to be "computer science").

nothing more than glorified computer programming mills that barely prepare their students for that; not at all what I know to be "computer science"

Definitely , i have seen people programming from the very start of their career but do not even know what a clock is or does to a Microprocessor and they are deemed as programmers, As a good friend i always define to them that the starting of Computer Science is with a uC on BreadBoard and Mastering programming it along with knowing its very salient features and physics of working, I think the old guys in MIT were like this only(or many are still like this).

In the same category - linux PC in javascript - JSLinux - it even has a small gcc compiler ...

Definitely , i have seen people programming from the very start of their career but do not even know what a clock is or does to a Microprocessor and they are deemed as programmers, As a good friend i always define to them that the starting of Computer Science is with a uC on BreadBoard and Mastering programming it along with knowing its very salient features and physics of working, I think the old guys in MIT were like this only(or many are still like this).

I tend to disagree. Computer science is not programming. And programming is not computer science. You can be a successful programmer if you do not know this kind of stuff. You can also know all of this stuff and be completely clueless of programming. I have seen both. I would agree though that this kind of basic understanding does no harm if you want to become a good programmer.