Linux OS for Propeller?
John Board
Posts: 371
G'day,
Anyone know of a linux distro that I can install on a microSD card for my Gadget Gangster board? I know it is a long shot, but I was inspired by the Beagle Bone board (http://beagleboard.org/bone).
Thanks
Anyone know of a linux distro that I can install on a microSD card for my Gadget Gangster board? I know it is a long shot, but I was inspired by the Beagle Bone board (http://beagleboard.org/bone).
Thanks
Comments
The closest thing that you could come to would be the ELKS project. This is an x86 Embedded Linux Kernel Subset project. They have gotten a minimal Minix like OS running on IBM PC/XT level hardware. The drawback is that significant parts of the ELKS kernel is written in x86 assembly language.
Given that a Z80 emulator exists, I wouldn't be surprised if someone wrote an 8086 emulator.
It would still be faster to write a kernel from scratch to run on the Propeller, an emulator would require XMM to provide the minimalist functionality.
Coincidently, I'm about to write a terminal for propeller anyway..
-John
[EDIT] Never mind, it appears that Propellent has it built in anyway...
http://forums.parallax.com/showthread.php?123795-spinix
OBC
Hey John
Don't know if this is what you are looking for, but maybe check out the GO thread http://forums.parallax.com/showthread.php?138412-GO-language-amp-Hoare-CSP-Channels/page2
We are using propforth, its the closest thing to an OS for the prop without adding tons of expensive and complicated hardware
Checking it out.
Thanks everyone for your input, when I have time, I'm gonna look into spinix as well.
-John
Dmitry Grinberg has a full up Ubuntu running on 8 bit AVR's. http://dmitry.co/index.php?p=./04.Thoughts/07.%20Linux%20on%208bit
OBC
Sure, you can add an SDRAM for narrow width XMM, and you could write an ARM emulator, but the real question comes down to: "to what end?"
Yes, and emulators have been done before. Obviously you don't do that kind of thing expecting any big reward.
To what end? Guess it depends on the person crazy enough to try it.
Getting Propeller to run Linux IS impossible, and we should never expect to see it happen.
There was a once $2000 reward for doing it on Propeller without emulation. No idea if that still stands.
Are you kidding me? ... because we can :cool:
Maybe like coming up with a version of PSOC Creator for the Prop I and the upcoming II or something that targets the PLC community. Anything but stuffing a monster OS on a tiny micro.
Anyone know of a linux distro that I can install on my toaster? I know it is a long shot, but I was inspired by the Beagle Bone board (http://beagleboard.org/bone).
Thanks
;-) ;-) ;-) ;-)
Oh great. An intelligent toaster http://reddwarf.wikia.com/wiki/Talkie_Toaster
Toaster: Howdy doodly do. How's it going? I'm Talkie, Talkie Toaster, your chirpy breakfast companion. Talkie's the name, toasting's the game. Anyone like any toast?
Lister: Look, I don't want any toast, and he doesn't want any toast. In fact, no one around here wants any toast. Not now, not ever. No toast.
Toaster: How 'bout a muffin?
Lister: Or muffins. Or muffins. We don't like muffins around here. We want no muffins, no toast, no teacakes, no buns, baps, baguettes or bagels, no croissants, no crumpets, no pancakes, no potato cakes and no hot-cross buns and definitely no smegging flapjacks.
Toaster: Aah, so you're a waffle man.
I would venture to suggest that 90% of what goes on around here "Makes no sense" in that it is done for fun as a hobby and will never make anyone any money or secure their lively hood. There is a lot of talent here and elsewhere that is in dire need of doing something for amusement as a break from whatever it is applied to 10 hours per day at work. There is talent to spare.
Strangely enough I don't think I or many people are using the Prop or participating in this forum to make money for Parallax. That is Parallax's problem. We are here and using Propellers for many diverse reasons and of course having Parallax thrive is in our own interest and is good to see.
"...PLC..." yawn. Thing is, we can't do anything unless we are captivated and enthused by an idea. PLC's just don't do it, for me at least
Well, it is impossible anyway so no need to worry:)
Could you port it to my coffee maker?
Why not? Might need on of these: http://www.igep.es/index.php?option=com_content&view=article&id=109&Itemid=123
Then you could fit Linux into the handle or somewhere.
:-)
BTW never said it was impossible, just didn't make sense.
Check out uClinux for sources for a port.It doesn't need VM or a MMU. But the processors that it's been ported to are a lot more powerful than the Prop and don't have it's external memory shortfalls.
Me, "sensitive"? Nah. Shrug.
The sensible half of my brain does actually agree with you. Applying the
Prop to real world problems, as tackled by, PLC's is a better idea. Grow
the Prop market and we are all better off. It's just not something that grabs
my enthusiasm. I program for a living anyway, where I always keep an eye out
problems that the Prop could tackle for us, so for hobby work you may not get
anything sensible out of me:)
That's the first time I ever heard the "jonesing it" expression. As much as I may
crave it I'm not going to be the one to do it. Spent enough time just getting CP/M to
run on the Prop already. Another fun but basically useless project. Getting
Linux up on new ARM boards when you have almost everything you need in place
has been hard enough for me in the past.
The "impossible" thing is a bit of a standing joke around here. Say it's
impossible on the Prop and it seems to get done.
I seem to remember that Tom's Boot Root Linux came on two floppies so we are not
asking much.
We now have external memory solutions that will do the job.
We now have propgcc so we can at least get Linux compiled for the Prop and
external memory. No need for an ARM emulator or such in there.
The MMU issue can be handled by the external memory cache software if need be.
Looks dangerously possible but still useless. But what about for the Prop II
where things will be much faster or the Prop III.
Given the effort by Parallax to get GCC for the Prop because it's an industry
standard and demanded by "professionals" you may find Linux on a future Prop for
the same reasons.
This takes the concepts of Unix to greater levels as a network OS that scales from small machines to very large ones..
"The Good, the bad, the ugly: the Unix Legacy" http://doc.cat-v.org/bell_labs/good_bad_ugly/slides.pdf
Some links that will give you a flavor of what can be done.
"Plan 9" http://plan9.bell-labs.com/sys/doc/9.html
"Styx-on-a-brick" http://doc.cat-v.org/inferno/4th_edition/styx-on-a-brick/
"Levitating across the river Styx" http://4e.iwp9.org/papers/levitation.pdf
"Aero Acoustic Levitator" http://www.ppmeasurements.com/docs/manual.pdf
Java on Dis" http://doc.cat-v.org/inferno/java_on_dis/
Perry
Nice reference to prior art,
is the source open? (appears to be proprietary)
how many CPU architectures has it been ported to? ( only runs on intel and AMD x86 products)
Small implementations of 9p/styx do not need MMUs.
I think the DIS virtual machine is a perfect candidate for implementation with Propeller XMM capabilties
Perry
Perry