Android VM Status

JB
Jean Baptiste Arnaud
Thu, Jul 31, 2014 2:33 PM

Hi,
I made some advance on Android StackVM (using the standard unix sources).

:-)

Last Unix Stack VM with last 40Pharo image (a little bit modified cause au no-NativeBoost and some constraint from the Android Sandboxing ).
Content:

  • Somes lines of code change in SqUnixMain.c (using if define android, but not a lot, just for allow to load external lib :-).
  • 1 communication with java / C files, (will be split in two or three file one for printing debugging, one or two for core).
  • 1 external graphical plugins. vm-display-android, really short but for android, because the rendering is done by Android.

All these plugins are includes (not deeply tested yet, but most of them should work):
AndroidPlugin (for now I just allow to do debug printing from the image in the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin.

And a lot of debugging. :-).

Next step:

  • fixing all the Event.
  • Do a real Configuration generator to be able to generate from Jenkins using the NDK.
  • Then merge in the main PharoVM Git :-).
  • Do a configuration to allow older pharo image to run on it. Maybe older but I not convince yet.
  • And obviously a job for allow anybody to create a android package with it's own image :-)

See you soon :-)

Best Regards
Dr Arnaud
jbaptiste.arnaud@gmail.com

Hi, I made some advance on Android StackVM (using the standard unix sources). :-) Last Unix Stack VM with last 40Pharo image (a little bit modified cause au no-NativeBoost and some constraint from the Android Sandboxing ). Content: - Somes lines of code change in SqUnixMain.c (using if define android, but not a lot, just for allow to load external lib :-). - 1 communication with java / C files, (will be split in two or three file one for printing debugging, one or two for core). - 1 external graphical plugins. vm-display-android, really short but for android, because the rendering is done by Android. All these plugins are includes (not deeply tested yet, but most of them should work): AndroidPlugin (for now I just allow to do debug printing from the image in the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin. And a lot of debugging. :-). Next step: - fixing all the Event. - Do a real Configuration generator to be able to generate from Jenkins using the NDK. - Then merge in the main PharoVM Git :-). - Do a configuration to allow older pharo image to run on it. Maybe older but I not convince yet. - And obviously a job for allow anybody to create a android package with it's own image :-) See you soon :-) Best Regards Dr Arnaud jbaptiste.arnaud@gmail.com
SD
Stéphane Ducasse
Thu, Jul 31, 2014 7:09 PM

Well done JB!
This is great to see this fork realigned and to identify the changes.
Thanks for your constant push.

Stef

On 31 Jul 2014, at 16:33, Jean Baptiste Arnaud jbaptiste.arnaud@gmail.com wrote:

Hi,
I made some advance on Android StackVM (using the standard unix sources).

:-)

Last Unix Stack VM with last 40Pharo image (a little bit modified cause au no-NativeBoost and some constraint from the Android Sandboxing ).
Content:

  • Somes lines of code change in SqUnixMain.c (using if define android, but not a lot, just for allow to load external lib :-).
  • 1 communication with java / C files, (will be split in two or three file one for printing debugging, one or two for core).
  • 1 external graphical plugins. vm-display-android, really short but for android, because the rendering is done by Android.

All these plugins are includes (not deeply tested yet, but most of them should work):
AndroidPlugin (for now I just allow to do debug printing from the image in the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin.

And a lot of debugging. :-).

Next step:

  • fixing all the Event.
  • Do a real Configuration generator to be able to generate from Jenkins using the NDK.
  • Then merge in the main PharoVM Git :-).
  • Do a configuration to allow older pharo image to run on it. Maybe older but I not convince yet.
  • And obviously a job for allow anybody to create a android package with it's own image :-)

See you soon :-)

<IMG_3934.jpeg>

Best Regards
Dr Arnaud
jbaptiste.arnaud@gmail.com


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

Well done JB! This is great to see this fork realigned and to identify the changes. Thanks for your constant push. Stef On 31 Jul 2014, at 16:33, Jean Baptiste Arnaud <jbaptiste.arnaud@gmail.com> wrote: > Hi, > I made some advance on Android StackVM (using the standard unix sources). > > :-) > > Last Unix Stack VM with last 40Pharo image (a little bit modified cause au no-NativeBoost and some constraint from the Android Sandboxing ). > Content: > - Somes lines of code change in SqUnixMain.c (using if define android, but not a lot, just for allow to load external lib :-). > - 1 communication with java / C files, (will be split in two or three file one for printing debugging, one or two for core). > - 1 external graphical plugins. vm-display-android, really short but for android, because the rendering is done by Android. > > > All these plugins are includes (not deeply tested yet, but most of them should work): > AndroidPlugin (for now I just allow to do debug printing from the image in the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin. > > And a lot of debugging. :-). > > Next step: > - fixing all the Event. > - Do a real Configuration generator to be able to generate from Jenkins using the NDK. > - Then merge in the main PharoVM Git :-). > - Do a configuration to allow older pharo image to run on it. Maybe older but I not convince yet. > - And obviously a job for allow anybody to create a android package with it's own image :-) > > See you soon :-) > > <IMG_3934.jpeg> > > Best Regards > Dr Arnaud > jbaptiste.arnaud@gmail.com > > > > > > > > > _______________________________________________ > Esug-list mailing list > Esug-list@lists.esug.org > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
JB
Jean Baptiste Arnaud
Thu, Jul 31, 2014 9:27 PM

Couple a things still to do:

If you want jannik when I will have my first Beta, I give a version, but for a jenkins I will need some work on the configuration generator.

On 31 Jul 2014, at 21:09, Stéphane Ducasse stephane.ducasse@inria.fr wrote:

Well done JB!
This is great to see this fork realigned and to identify the changes.
Thanks for your constant push.

Stef

On 31 Jul 2014, at 16:33, Jean Baptiste Arnaud jbaptiste.arnaud@gmail.com wrote:

Hi,
I made some advance on Android StackVM (using the standard unix sources).

:-)

Last Unix Stack VM with last 40Pharo image (a little bit modified cause au no-NativeBoost and some constraint from the Android Sandboxing ).
Content:

  • Somes lines of code change in SqUnixMain.c (using if define android, but not a lot, just for allow to load external lib :-).
  • 1 communication with java / C files, (will be split in two or three file one for printing debugging, one or two for core).
  • 1 external graphical plugins. vm-display-android, really short but for android, because the rendering is done by Android.

All these plugins are includes (not deeply tested yet, but most of them should work):
AndroidPlugin (for now I just allow to do debug printing from the image in the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin.

And a lot of debugging. :-).

Next step:

  • fixing all the Event.
  • Do a real Configuration generator to be able to generate from Jenkins using the NDK.
  • Then merge in the main PharoVM Git :-).
  • Do a configuration to allow older pharo image to run on it. Maybe older but I not convince yet.
  • And obviously a job for allow anybody to create a android package with it's own image :-)

See you soon :-)

<IMG_3934.jpeg>

Best Regards
Dr Arnaud
jbaptiste.arnaud@gmail.com


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

Best Regards
Dr Arnaud
jbaptiste.arnaud@gmail.com

Couple a things still to do: If you want jannik when I will have my first Beta, I give a version, but for a jenkins I will need some work on the configuration generator. On 31 Jul 2014, at 21:09, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote: > Well done JB! > This is great to see this fork realigned and to identify the changes. > Thanks for your constant push. > > Stef > > On 31 Jul 2014, at 16:33, Jean Baptiste Arnaud <jbaptiste.arnaud@gmail.com> wrote: > >> Hi, >> I made some advance on Android StackVM (using the standard unix sources). >> >> :-) >> >> Last Unix Stack VM with last 40Pharo image (a little bit modified cause au no-NativeBoost and some constraint from the Android Sandboxing ). >> Content: >> - Somes lines of code change in SqUnixMain.c (using if define android, but not a lot, just for allow to load external lib :-). >> - 1 communication with java / C files, (will be split in two or three file one for printing debugging, one or two for core). >> - 1 external graphical plugins. vm-display-android, really short but for android, because the rendering is done by Android. >> >> >> All these plugins are includes (not deeply tested yet, but most of them should work): >> AndroidPlugin (for now I just allow to do debug printing from the image in the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin. >> >> And a lot of debugging. :-). >> >> Next step: >> - fixing all the Event. >> - Do a real Configuration generator to be able to generate from Jenkins using the NDK. >> - Then merge in the main PharoVM Git :-). >> - Do a configuration to allow older pharo image to run on it. Maybe older but I not convince yet. >> - And obviously a job for allow anybody to create a android package with it's own image :-) >> >> See you soon :-) >> >> <IMG_3934.jpeg> >> >> Best Regards >> Dr Arnaud >> jbaptiste.arnaud@gmail.com >> >> >> >> >> >> >> >> >> _______________________________________________ >> Esug-list mailing list >> Esug-list@lists.esug.org >> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org > > _______________________________________________ > Esug-list mailing list > Esug-list@lists.esug.org > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org Best Regards Dr Arnaud jbaptiste.arnaud@gmail.com
JL
jannik laval
Fri, Aug 1, 2014 6:09 AM

Yes, I would like to try Phratch on Android :)
It works faster now, so maybe it will become usable, as for RPi :)

Jannik

2014-07-31 23:27 GMT+02:00 Jean Baptiste Arnaud jbaptiste.arnaud@gmail.com
:

Couple a things still to do:

If you want jannik when I will have my first Beta, I give a version, but
for a jenkins I will need some work on the configuration generator.

On 31 Jul 2014, at 21:09, Stéphane Ducasse stephane.ducasse@inria.fr
wrote:

Well done JB!
This is great to see this fork realigned and to identify the changes.
Thanks for your constant push.

Stef

On 31 Jul 2014, at 16:33, Jean Baptiste Arnaud jbaptiste.arnaud@gmail.com
wrote:

Hi,
I made some advance on Android StackVM (using the standard unix sources).

:-)

Last Unix Stack VM with last 40Pharo image (a little bit modified cause au
no-NativeBoost and some constraint from the Android Sandboxing ).
Content:

  • Somes lines of code change in SqUnixMain.c (using if define android, but
    not a lot, just for allow to load external lib :-).
  • 1 communication with java / C files, (will be split in two or three file
    one for printing debugging, one or two for core).
  • 1 external graphical plugins. vm-display-android, really short but for
    android, because the rendering is done by Android.

All these plugins are includes (not deeply tested yet, but most of them
should work):
AndroidPlugin (for now I just allow to do debug printing from the image in
the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin,
DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin,
FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin,
LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin,
JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin.

And a lot of debugging. :-).

Next step:

  • fixing all the Event.
  • Do a real Configuration generator to be able to generate from Jenkins
    using the NDK.
  • Then merge in the main PharoVM Git :-).
  • Do a configuration to allow older pharo image to run on it. Maybe older
    but I not convince yet.
  • And obviously a job for allow anybody to create a android package with
    it's own image :-)

See you soon :-)

<IMG_3934.jpeg>

Best Regards
Dr Arnaud
jbaptiste.arnaud@gmail.com


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

Best Regards
Dr Arnaud
jbaptiste.arnaud@gmail.com


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

--

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://car.mines-douai.fr/

Yes, I would like to try Phratch on Android :) It works faster now, so maybe it will become usable, as for RPi :) Jannik 2014-07-31 23:27 GMT+02:00 Jean Baptiste Arnaud <jbaptiste.arnaud@gmail.com> : > Couple a things still to do: > > If you want jannik when I will have my first Beta, I give a version, but > for a jenkins I will need some work on the configuration generator. > > > > On 31 Jul 2014, at 21:09, Stéphane Ducasse <stephane.ducasse@inria.fr> > wrote: > > Well done JB! > This is great to see this fork realigned and to identify the changes. > Thanks for your constant push. > > Stef > > On 31 Jul 2014, at 16:33, Jean Baptiste Arnaud <jbaptiste.arnaud@gmail.com> > wrote: > > Hi, > I made some advance on Android StackVM (using the standard unix sources). > > :-) > > Last Unix Stack VM with last 40Pharo image (a little bit modified cause au > no-NativeBoost and some constraint from the Android Sandboxing ). > Content: > - Somes lines of code change in SqUnixMain.c (using if define android, but > not a lot, just for allow to load external lib :-). > - 1 communication with java / C files, (will be split in two or three file > one for printing debugging, one or two for core). > - 1 external graphical plugins. vm-display-android, really short but for > android, because the rendering is done by Android. > > > All these plugins are includes (not deeply tested yet, but most of them > should work): > AndroidPlugin (for now I just allow to do debug printing from the image in > the logCat), BitBltPlugin, B2DPlugin, BMPReadWriterPlugin, CroquetPlugin, > DSAPrims, FFTPlugin, FileCopyPlugin, FilePlugin, FloatArrayPlugin, > FloatMathPlugin, JoystickTabletPlugin, JPEGReaderPlugin, > LargeIntegers,Matrix2x3Plugin, RePlugin, SecurityPlugin, > JPEGReadWriter2Plugin, SocketPlugin, MiscPrimitivePlugin, ZipPlugin. > > And a lot of debugging. :-). > > Next step: > - fixing all the Event. > - Do a real Configuration generator to be able to generate from Jenkins > using the NDK. > - Then merge in the main PharoVM Git :-). > - Do a configuration to allow older pharo image to run on it. Maybe older > but I not convince yet. > - And obviously a job for allow anybody to create a android package with > it's own image :-) > > See you soon :-) > > <IMG_3934.jpeg> > > Best Regards > Dr Arnaud > jbaptiste.arnaud@gmail.com > > > > > > > > > _______________________________________________ > Esug-list mailing list > Esug-list@lists.esug.org > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org > > > _______________________________________________ > Esug-list mailing list > Esug-list@lists.esug.org > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org > > > Best Regards > Dr Arnaud > jbaptiste.arnaud@gmail.com > > > > > > > > > > _______________________________________________ > Esug-list mailing list > Esug-list@lists.esug.org > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org > > -- ~~Jannik Laval~~ École des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://car.mines-douai.fr/