uclinux for Propeller
m4c13k
Posts: 3
Hello,
I'm new on the Propeller uC and have a question regarding a port of uclinux for this one.
I read that ImageCraft brought out the ICCv7 C-compiler and want to know if someone have tried to port this OS for the propeller uC or if someone know a projekt regarded to this.
Thank you very much in advance.
Mace
I'm new on the Propeller uC and have a question regarding a port of uclinux for this one.
I read that ImageCraft brought out the ICCv7 C-compiler and want to know if someone have tried to port this OS for the propeller uC or if someone know a projekt regarded to this.
Thank you very much in advance.
Mace
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
I do suspect that a Linux system would use at least two Propellers. One for video, keyboard, and mouse and another for the managing memory for the Linux kernel, etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ain't gadetry a wonderful thing?
aka G. Herzog [noparse][[/noparse] 黃鶴 ] in Taiwan
The biggest limitation is linux relies on a lot of "extensions" provided by GCC that are unlikely to be supported by either of the LCC based C compilers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Missed it by ->" "<- that much!
Hm, can't a Flash drive (SD/MMC) be used for holding the Linux kernel and file system as a compessed file (ex. *tar.bz2)? To start linux a bootloader can be written in spin or assembler. Because Linux can't be run directly in flash, the bottloader can unpack the kernel and the file system into a ram with enough memory. This way is used in many solution for other uC's with not enought ram space.
I understand, in the moment there is no GCC based compiler for the Propeller. I don't know much about LCC, but can't it use GCC libs?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ain't gadetry a wonderful thing?
aka G. Herzog [noparse][[/noparse] 黃鶴 ] in Taiwan
You would probably be better off looking at Largos - see http://mikronauts.com/products/largos/
LCC does not use gcc libraries. LCC does not use any libraries - LCC is just a compiler, and does not supply a library.
Also, the gcc libraries are hugely memory hungry, being intended for much larger systems.
There are smaller libraries intended for embedded systems, such as newlib and uClibC - but even those are probably way too large for the Propeller.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
GCC when compiling the kernel does not use GCC libs. Have you ever looked at the kernel build process in more than a cursory fashion?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Missed it by ->" "<- that much!
The size of the memory demands are not an issue when cross-comiling the Linux on a Windows machine for a Linux Kernel on another machine. It may actually be helpful. But somebody does have to figure out a hardware configuration for the Propeller including how many Propellers and how much of what kind of RAM just to get started.
C on a Propeller is a whole different design issue.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ain't gadetry a wonderful thing?
aka G. Herzog [noparse][[/noparse] 黃鶴 ] in Taiwan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit the home of pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
My LMM/XMM combo could run it at (I'm guessing) 1-2MIPS, and I can sell 7.5MB Morpheus systems right now - however Largos will outrun it speed wise when it is ready, and run in a lot less memory. I can actually support 15.5MB of ram once I build a surface mounted 8MB board.
Even though it would cause more Morhpheus and Mem+ sales I am not sure it is worth the effort.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - my site my 6.250MHz custom Crystals for running Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
A micro kernel like this is I think is the better way forward , starting with just a scheduler you can build on top of it as required e.g. I/O handling, virtual addressing ( extended memory models ). Adding SMP or other multi process scheduling ... that will require a bit of ingenuity.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - my site my 6.250MHz custom Crystals for running Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Personally I think the work some of the folks here are doing with PropDos and the like is more useful.
The Prop really shines with his 8 COGs when you use them (all, or almost all) for doing parallel tasks. A simple OS (by terms of non-multi-core -OS) is the wrong thing for it. And a real multi-core-OS would be by far too big.
The Prop simply doesn't have enough RAM for that.
Write your own dedicated "OS" if you need to. But feed the COGs with work.
I *personally* think, that the efforts made here for writing OSes for the prop arent very helpful. That doesn't mean that I think they are a nonsense. Interesting task, absolutely! But *I* wouldn't do that.
OTOH, if you do really massively interconnect Props (say at least 50 or so) *that* would be a thing.
Think Transputers! Did someone actually implement a real OS on them? Think I'll have to dig out the books about them ...
(Just googled for "transputer" and found the most stupid explanation for the word: "It is an artificial word built out of 'transistor' and 'computer'. THAT HURTS!)
Nick
Nick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never use force, just go for a bigger hammer!
The DIY Digital-Readout for mills, lathes etc.:
YADRO
Think Transputers! Did someone actually implement a real OS on them? Think I'll have to dig out the books about them ...
The OS was named Helios from Perhelion IMS.
Way back in time "transput" was a term used to refer to input and output facilities. So for example check the "transput" of the ALGOL 68 language here: en.wikipedia.org/wiki/ALGOL_68#transput:_Input_and_output
Now, the whole design of the Transputer was based on the idea of CSP (Communicating Sequential Processes) en.wikipedia.org/wiki/Communicating_sequential_processes
Hence it came with those hardware communication channels. Hence the name "Transputer".
And yes, there was Helios. But like the Propeller the Transputer did not need any OS to be damn useful.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
@RossH: can you give me some tips, how I can get Largos?
That's why I wrote "That hurts" all in capitals.
Nick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never use force, just go for a bigger hammer!
The DIY Digital-Readout for mills, lathes etc.:
YADRO
When I was developing transputer-based systems I knew the people at Perihelion and they gave me a copy of Helios (it was full of bugs). It was eventually used as the OS for a transputer array interfaced to an Atari ST, IIRC.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 7/6/2009 8:48:59 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
OK, then I take that for granted!
Nick
PS:
I always have to look at your avatar. Nice cat!
I do have two. A siamese (chocolate point) and an oriental short-hair (that's how they are called here) (lilac). The siamese is sleeping on the laboratory power-supply right now.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never use force, just go for a bigger hammer!
The DIY Digital-Readout for mills, lathes etc.:
YADRO
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - my site my 6.250MHz custom Crystals for running Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Post Edited (jazzed) : 7/7/2009 2:38:25 AM GMT