ARM Cogit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

ARM Cogit

Eliot Miranda-2
Hi All,

    thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator.  We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur.  Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
--
best,
Eliot
Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

Thierry Goubier
Yes!

Thanks to all for that effort.

Thierry

Le 22/04/2015 20:42, Eliot Miranda a écrit :

> Hi All,
>
>      thanks to hard work by Tim Rowledge and Lars Wasserman we now have
> a functional JIT for the ARM in the simulator.  We're still probably
> some weeks away from a functional ARM JIT VM; issues like instruction
> cache flushing on real hardware can be tricky to solve.  But we're at
> least ready to start trying to compile the JIT VM for ARM.  Doug, see
> that I added a build directory for build.linux32ARM/squeak.cog.spur.
> Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
> --
> best,
> Eliot


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] ARM Cogit

Holger Freyther
In reply to this post by Eliot Miranda-2

> On 22 Apr 2015, at 14:42, Eliot Miranda <[hidden email]> wrote:

Hi,

>     thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator.  We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur.  Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.

tricky in which sense? The Linux kernel offers a syscall (cacheflush) where one
provides the start page and end page and GCC provides a builtin function for this
as well (__clear_cache).

holger


cache flush:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/kernel/traps.c?id=9ea18f8cab5f1c36cdd0f09717e35ceb48c36a87#n611
Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

douglas mcpherson
In reply to this post by Eliot Miranda-2
> On Apr 22, 2015, at 11:42, Eliot Miranda <[hidden email]> wrote:
>
> Hi All,
>
>     thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator.  We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur.  Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
> --
> best,
> Eliot

+1000
This is terrific news! Thanks to you, Tim, and Lars!

Doug
Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] ARM Cogit

Eliot Miranda-2
In reply to this post by Holger Freyther
Hi Holger,

On Wed, Apr 22, 2015 at 11:52 AM, Holger Freyther <[hidden email]> wrote:


> On 22 Apr 2015, at 14:42, Eliot Miranda <[hidden email]> wrote:

Hi,

>     thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator.  We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur.  Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.

tricky in which sense? The Linux kernel offers a syscall (cacheflush) where one
provides the start page and end page and GCC provides a builtin function for this
as well (__clear_cache).

 that's good news.  It wasn't always that easy.  When we got the ARM JIT working for VisualWorks we had to use hand-rolled code to flush the cache as linux didn't provide a reliable function at that time.  So perhaps we're closer than we think.  But it's always wise to lengthen time estimates, not shorten them :-)

holger


cache flush:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/kernel/traps.c?id=9ea18f8cab5f1c36cdd0f09717e35ceb48c36a87#n611



--
best,
Eliot
Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

kilon.alios
In reply to this post by Eliot Miranda-2
Yes , yes , yesssss , would love to have Pharo available on Android and use it on my smartphone on a daily basis , thank you very much guys.

On Wed, Apr 22, 2015 at 9:42 PM Eliot Miranda <[hidden email]> wrote:
Hi All,

    thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator.  We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur.  Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.

--
best,
Eliot
Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

stepharo
In reply to this post by Eliot Miranda-2
This is really excellent!
Keep pushing this.
I'm eager to play with a raspberry.
We should continue to revisit the UI elements to consume less in any case.
Because I'm convinced that we are doing too many things at the wrong place.

Stef

Le 22/4/15 21:42, Eliot Miranda a écrit :

> Hi All,
>
>     thanks to hard work by Tim Rowledge and Lars Wasserman we now have
> a functional JIT for the ARM in the simulator. We're still probably
> some weeks away from a functional ARM JIT VM; issues like instruction
> cache flushing on real hardware can be tricky to solve.  But we're at
> least ready to start trying to compile the JIT VM for ARM.  Doug, see
> that I added a build directory for build.linux32ARM/squeak.cog.spur.
> Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
> --
> best,
> Eliot


Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

Aliaksei Syrel
Hi

Any news on Pharo VM for android? ;)

Cheers,
Alex

On Thu, Apr 23, 2015 at 7:54 AM, stepharo <[hidden email]> wrote:
This is really excellent!
Keep pushing this.
I'm eager to play with a raspberry.
We should continue to revisit the UI elements to consume less in any case.
Because I'm convinced that we are doing too many things at the wrong place.

Stef

Le 22/4/15 21:42, Eliot Miranda a écrit :

Hi All,

    thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator. We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur. Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
--
best,
Eliot



Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

Eliot Miranda-2
Alex,

    have you tried building a Cog VM from the Cog svn sources?  I expect, provided you hack around the NativeBoost uses, that the VM will work.

On Tue, Oct 6, 2015 at 12:55 PM, Aliaksei Syrel <[hidden email]> wrote:
Hi

Any news on Pharo VM for android? ;)

Cheers,
Alex

On Thu, Apr 23, 2015 at 7:54 AM, stepharo <[hidden email]> wrote:
This is really excellent!
Keep pushing this.
I'm eager to play with a raspberry.
We should continue to revisit the UI elements to consume less in any case.
Because I'm convinced that we are doing too many things at the wrong place.

Stef

Le 22/4/15 21:42, Eliot Miranda a écrit :

Hi All,

    thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator. We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur. Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
--
best,
Eliot






--
_,,,^..^,,,_
best, Eliot
Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

stepharo
In reply to this post by Aliaksei Syrel
Hi alex

First we are discussing with inria to see if one of their engineer can work a month to check what jb did.
Because JB was revisiting the VM from scratch but he did not finish.
It will be on the roadmap for the new engineer the consortium will hire.

Second you can find information about the way Jannik deployed Phratch on Android
    http://www.phratch.com/archives/408

Stef

Hi

Any news on Pharo VM for android? ;)

Cheers,
Alex

On Thu, Apr 23, 2015 at 7:54 AM, stepharo <[hidden email]> wrote:
This is really excellent!
Keep pushing this.
I'm eager to play with a raspberry.
We should continue to revisit the UI elements to consume less in any case.
Because I'm convinced that we are doing too many things at the wrong place.

Stef

Le 22/4/15 21:42, Eliot Miranda a écrit :

Hi All,

    thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator. We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur. Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
--
best,
Eliot




Reply | Threaded
Open this post in threaded view
|

Re: ARM Cogit

EstebanLM
In reply to this post by Eliot Miranda-2

On 06 Oct 2015, at 23:04, Eliot Miranda <[hidden email]> wrote:

Alex,

    have you tried building a Cog VM from the Cog svn sources?  I expect, provided you hack around the NativeBoost uses, that the VM will work.

Android needs also some java crap in the middle (along with an “idle vm”) to work… just ARM support is not enough. 
But there was CogDroid some time ago, kind of hacky but worked and there is JB work who I hope is taken and finished eventually/soon. 

btw… my idea is to take JB's approach to “idle vm” and (once finished) translate it to regular VM… consuming a constant of 5% cpu is not good at all :(

Esteban


On Tue, Oct 6, 2015 at 12:55 PM, Aliaksei Syrel <[hidden email]> wrote:
Hi

Any news on Pharo VM for android? ;)

Cheers,
Alex

On Thu, Apr 23, 2015 at 7:54 AM, stepharo <[hidden email]> wrote:
This is really excellent!
Keep pushing this.
I'm eager to play with a raspberry.
We should continue to revisit the UI elements to consume less in any case.
Because I'm convinced that we are doing too many things at the wrong place.

Stef

Le 22/4/15 21:42, Eliot Miranda a écrit :

Hi All,

    thanks to hard work by Tim Rowledge and Lars Wasserman we now have a functional JIT for the ARM in the simulator. We're still probably some weeks away from a functional ARM JIT VM; issues like instruction cache flushing on real hardware can be tricky to solve.  But we're at least ready to start trying to compile the JIT VM for ARM.  Doug, see that I added a build directory for build.linux32ARM/squeak.cog.spur. Hopefully a fast VM for Raspberry Pi and Android is only a few weeks away.
--
best,
Eliot






--
_,,,^..^,,,_
best, Eliot