Hi! I'm not sure if the idea is to have a pharo running on a simple OS on top of a raspbpi, which would be equivalent to have pharo on ARM (I think), or to have pharo running as the OS on top of it, as SqueakNOS. In the latter case, it is surely possible. But beware, it can be some tough work to get it running, maybe not that difficult but a lot of work. Actually, SqueakNOS was not compiled with the StackVM but the old interpreter. There are two things that would be needed to make it work in the StackVM or Cog (jit is not the problem): - Makefiles for the platform are handmade, so it might require to convert to cmake to use the stackvm. - There are some features brought by the OS used by the stack vm and cog, which should be worked around, I can't remember exactly which ones. To make it work on top of raspberrypi you'd need to add to the list: - Writing support for some of the base devices - Merging it into arm platform As I previously said, the biggest barrier is (I think) that it needs some work, which takes time, but not the difficulty. So if someone is interested and wants to work on this, I'd be glad to guide him. Cheers, Javier. On Tue, Sep 4, 2012 at 3:31 PM, Frank Shearar <frank.shearar@gmail.com>wrote:
On 4 September 2012 15:19, Guido Chari <charig@gmail.com> wrote:
There is always a need for a vm. SqueakNos last release on mid 2011 was compatible only with an special compiled stackvm for x86 (this special vm strips out all the OS support and has a particular linking process). I'm not sure why someone would be willing to run sqnos on the Rasperry but anyway, the work for doing that should be the same than thatt for compiling the special stackvm from sqnos to ARM arquitecture.
No, there isn't always a need for a VM: Smalltalk's been demoed running directly on a Mitsubishi chip, and you could always program an FGPA or similar as your _machine_.
And as I mentioned, the Stack VM already runs on the Raspberry, so assumed that Phil wanted something _more_ than that, and that's running the image directly on hardware (or similar, like SqueakNOS).
frank
It would be very interesting to think on going one step further and try to make sqnos compatible with the new cogvm and pharo 2.0. Hope to have some time to try it.
Cheers, Guido.
2012/9/4 S Krish <krishnamachari.sudhakar@gmail.com>
That would be great..!..
Need to order the pi and check it out..
On Tue, Sep 4, 2012 at 12:21 PM, Frank Shearar <frank.shearar@gmail.com
wrote:
On 4 September 2012 07:30, Marcus Denker <marcus.denker@inria.fr>
wrote:
On Mon, Sep 3, 2012 at 5:31 PM, S Krish <krishnamachari.sudhakar@gmail.com> wrote:
I am sure you should be able to run Tiny Core linux ( vanilla without WM) on Raspberry.. add Pharo ...
There is a Debian made specially for the hardware... http://www.raspbian.org I think this is what everyone is using.
So the only thing missing is a VM...
I assumed that Phil wants to run the image directly on the hardware, because the Pi already runs Squeak/Pharo/Scratch just fine.
The SqueakNOS people might be able to help?
frank
Marcus
-- Marcus Denker -- denker@acm.org http://www.marcusdenker.de
-- Lic. Javier Pimás Ciudad de Buenos Aires