Running Linux on the Propellor?
IWriteCode
Posts: 16
Would it be possible to run a very tiny linux on the propellor chip? Running linux on 8 cores @ 80Mhz would be great :-)
What would be needed to get linux up and running?
- The propellor chip is 32 bits... no problems there...
- C compiler is in the making (see other threads)...
- More memory?
- Other things?
·
What would be needed to get linux up and running?
- The propellor chip is 32 bits... no problems there...
- C compiler is in the making (see other threads)...
- More memory?
- Other things?
·
Comments
Planned Unix-like features:
- malloc/free
- spawn/kill
- stdin, stdout, stderr
- IPC is via minimalist messaging system
Eventually, a small subset of Unix programs should compile/run under it, but it will take time, and a LOT of features of Unix will be missing - at least until the next propeller [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers
AFAIK, a uClinux kernel can be stripped down to 200k (2.0 kernel), but
this is only the raw uncompressed kernel, without any stack and without
any application loaded.
A multiprocessor kernel would be much bigger.
If you look at the 32k of the propeller, then this leaves a big challenge.
http://www.minix.org/
http://www.minix3.org/
I would recommend tracking down some of Andrews books on operating system design in which he covers all aspects of the Minix OS. It is one to keep in your library...
Best Regards,
Robert
I have been thinking about a reference design using 2 propellers, 1MB of SRAM(actually 2MB, but I don't have enough pins to get at the other 8 bits), an Ethernet Controller, and a microSD card slot, serial console. This would leave about 8bits for other stuff.
I would love to run a unix type of operating system on it. It would have plenty of processing power for such a small platform, and you could even have deterministic processing, which you don't get on many unix's because of those nasty interrupts.
Of course, when the TurboProp comes out, having all of those extra pins will definately make things easier. And 128 or 256k(hopefully), it would be a bit easier to squese into as well.
Doug