Re: GTK widgets in C# was: Re: WSJ
Alle mercoledì 28 novembre 2007, Scott Cytacki ha scritto: Torello Querci wrote: If you're interested in supporting Mono on the OLPC, I can create a wiki where I'll put the code I've already written, because at this time I'm working alone. I am interested in supporting Mono on the OLPC. One thing I've wanted to try is running all of Sugar with IronPython. This ought to give C#, Java (through IKVM), and any other mono language: http://www.mono-project.com/Languages full access to the Sugar widgets and APIs. I don't have time to try this now, but when I or someone else does, it would be helpful to know what is necessary to run Mono. Scott Hi Scott, unfortunately, there are a few problems running existing Python code with IronPython because the glue level between Python and C library is managed in a different way. Python requires a specific C library to handle native calls, while IronPython uses PInvoke to do this. I'm now trying to implement a class library to run any mono program on Sugar, but being compatible with Python class libraries is not a priority at this time. Best Regards, Torello Querci ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: GTK widgets in C# was: Re: WSJ
Alle giovedì 29 novembre 2007, Chad Z. Hower aka Kudzu ha scritto: Im already working on this. Im working on it in a way though to run more effficiently than running as a normal JIT and instead working on a compiler of IL that can use the mono libs. We already have quite a bit working. Sorry Chad, I don't understand what you're doing. Is it like the AOT (Ahead Of Time compiler)? If so, I know that this function works in the mono compiler. I never use it because, when you use the AOT option to compile a program, the metadata are stored the usual way, but the native code for all the functions is also included in the final binary, so the size grows. Ok, you can save the startup time the JIT compiler, but it is generally fast and called only once per each method, do I don't know how much performance improvement you get. Best Regards Torello Querci - Original Message - From: Scott Cytacki [EMAIL PROTECTED] To: Torello Querci [EMAIL PROTECTED] Cc: devel@lists.laptop.org Sent: Wednesday, November 28, 2007 10:33 PM Subject: Re: GTK widgets in C# was: Re: WSJ Torello Querci wrote: If you're interested in supporting Mono on the OLPC, I can create a wiki where I'll put the code I've already written, because at this time I'm working alone. I am interested in supporting Mono on the OLPC. One thing I've wanted to try is running all of Sugar with IronPython. This ought to give C#, Java (through IKVM), and any other mono language: http://www.mono-project.com/Languages full access to the Sugar widgets and APIs. I don't have time to try this now, but when I or someone else does, it would be helpful to know what is necessary to run Mono. Scott ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
new version of GBrainy for OLPC released
Hi everyone, I'm releasing a new snapshot of GBrainy for OLPC. This version rebases on the upstream 0.50, so it is aligned with the latest one. I hope you like it. You can find it at http://wiki.laptop.org/go/GBrainy web page. Thanks to Jordy Mas for the original code :) Torello Querci ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Walter leaving and shift to XP.
With a lot of friends we are create a legal association called OLPC Italia to allow the Italian citizens to buy OLPC using G1G1. For us the most important thing is the Educational Project but sell the XO with XP is not an educational project. We accept Sugar as core of the user interface but which are the real benefits to have Sugar on Windows instead to have Sugar on Linux? If is possible to use normal windows application on top Sugar+Windows the educational project is broken because the developers what need to write a program (program not activity) write it on windows because in this manner one PC with windows can run it, and XO XPzed too so why write code for sugar? In this scenario Sugar is dead and OLPC became a Laptop organization (for me of sure). If, otherwise, Sugar XPzed is not able to run normal windows application I not understand why abandoned Linux to Windows but is the only choice to maintaining the original aim (Not a Laptop but an Educational Project). Regard the problem about flash, we need to thing that XO is not thing to be use as normal PC for normal user so we simply need to promote the creation of education website that can be viewed from the XO. Last point is the need of clarity. If OLPC turn to this direction we are not interested to sell a PC and prefer to spend our time in other manner. If OLPC not thing to became a Laptop company we ask to understand how OLPC wants to do this. P.S. Sorry for my awful english Regards, Torello Querci ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: qemu on Kubuntu - error regarding 3dnow support.
Hi Alle sabato 28 giugno 2008, Kent Dahl ha scritto: Hi. I was going through the instruction on the Wiki regarding setup of qemu on Linux: http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux But once I select a boot entry (such as 'OLPC for qemu target (Full size)') it fails to load the kernel with the message: This kernel requires the following features not present on the CPU: 3dnow Unable to boot - please use a kernel appropriate for your CPU. Is this a know issue? I noticed a comment about images failing in Ubuntu, but it was from January. I was expecting this (3dnow) to be part of what qemu emulated, but found no settings related to it. I was testing with this image: xo-1-olpc-stream-joyride-build-2084-20080627_2253-devel_ext3.img.bz2 Using qemulator 0.5: detected qemu_version: 0.9.1 qemu 0.9.x detected, using 0.9 command set My setup: Linux neuromancer 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux Kubuntu 8.04.1, upgraded from 7.10. AMD Athlon 64 CPU (but running in 32-bit mode) I have the same problem on a Intel CoreDue laptop and joyride 2141 build version. I try to use VMWare 1.4 and VirtualBox also. In both configuration the kernel not boot 'cause the is no 3dnow feature on CPU. I try to use all the preconfigured setting present on grub menu. Can anyone give me a suggestion other than recompile the kernel from scratch? Regards, Torello. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: qemu on Kubuntu - error regarding 3dnow support.
Hi Joel Alle mercoledì 9 luglio 2008, Joel Stanley ha scritto: On Sun, Jun 29, 2008 at 1:35 AM, Kent Dahl [EMAIL PROTECTED] wrote: I was going through the instruction on the Wiki regarding setup of qemu on Linux: http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux But once I select a boot entry (such as 'OLPC for qemu target (Full size)') it fails to load the kernel with the message: This kernel requires the following features not present on the CPU: 3dnow Unable to boot - please use a kernel appropriate for your CPU. I'm seeing the same. As of 2.6.23, if the kernel is configured with support for instruction set extensions, it will refuse to boot without the presence of the flags that indicate support for those instructions. Some digging revealed a patch[1] for qemu that enables 3dnow emulation, but it hasn't been merged to qemu svn. How much do we gain from having 3DNow support turned on in the kernels? If the difference is small, perhaps we could disable it? Is booting xo images under qemu still worthwhile functionality to include, now that there are other options for running Sugar, as well higher[2] availability of XO's for developers? If this path was taken, software such as grub and additional drivers could be dropped in return for free space on the NAND. Having a linux kernel that run at the maximum speed is right for jffs2 image where the target if the real device. The ext2 image, I suppose, is oriented to be used in external device or virtualization system. If qemu, vmware and virtualbox are not able to handle 3dnow extension, since I suppose to be run on more power system like AMD64 or IntelCore3, I think that is better if this option is not enbaled on this image type. If this is wrong, I hope there is a kernel version that can be used on this virtualization tool from the GRUB menu. My 2 cent Regards, Torello ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: qemu on Kubuntu - error regarding 3dnow support.
Alle mercoledì 9 luglio 2008, Deepak Saxena ha scritto: On Jul 09 2008, at 15:14, Torello Querci was caught saying: The ext2 image, I suppose, is oriented to be used in external device or virtualization system. If qemu, vmware and virtualbox are not able to handle 3dnow extension, since I suppose to be run on more power system like AMD64 or IntelCore3, I think that is better if this option is not enbaled on this image type. Currently we do not build different kernel configs or have an easy method to do so automatically. I'll add it to my todo list to build a kernel RPM w/o 3dNow support but if you you have an F9 system and want something right away, you can follow the directions at [1] to rebuild the RPM yourself. ~Deepak [1] http://wiki.laptop.org/go/Rebuilding_OLPC_kernel Thanks Deepak next days I will go to make some test. Cheers, Torello ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Virtualising and 3dnow woes on a Mac
Hi Alle lunedì 14 luglio 2008, pyramind ha scritto: Hello, I made a search in the list but couldn't find a solution. I'm running Os X Leopard and want to use qemu to emulate the os and start developing. However I'm getting problems. I'm following the directions here: http://wiki.laptop.org/go/OS_images#Latest_Stable_Build and got my image from here: http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/latest/devel_ext3/ When I try to boot the image, the kernel complains about 3dnow not being present in the cpu(which is not emulated with Q in macs), and I don't know what to do now from here. Me too. Fortunally I have 2 machine: one laptop with intel and a desktop with AMD so I use the desktop for my test. I already ask about this problem but seems that at the moment only one kernel is build with 3dnow extension enabled. I hope for the next build. Any suggestions? Personally I install a FC9 on my virtualizzazione system and build all the sugar environment to make my test. You can use this way but it is right only if you want develop for XO (I suppose). Regards, Torello ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
767 XO image - Italian keyboard not work
Hi to all, This week I got a XO device with Italian keyboard from Florence Council. I installed the 767 kernel image on it and unfortunally it not works. I (with a lots of external help :) ) identify the problem in a symbol configuration keyboard file, so I fix it on this device. I generated a new image that I can use on my XO B4 (open with development key) but I can't apply to the offical XO (that are closed). Now I work on a script that make the same fix can be executed by the teachers because I not able to sign my image. How send the patch to fix this problem on the official build? Which time for 768? Best Regards, Torello Querci P.S. Sorry for my awful english ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 767 XO image - Italian keyboard not work
Hi Sayamindu, the ticket is 8849. I place the right file inside the ticket. Moreover I write some instruction in the Italy wiki page, so the italian keyboard can be used while if the image build is not available. Cheers, Torello. Il giorno lun, 20/10/2008 alle 03.31 +0530, Sayamindu Dasgupta ha scritto: Hello Torello, Please file a ticket at dev.laptop.org and attach your modified symbol file to it. Thanks, Sayamindu On Mon, Oct 20, 2008 at 3:02 AM, Torello Querci [EMAIL PROTECTED] wrote: Hi to all, This week I got a XO device with Italian keyboard from Florence Council. I installed the 767 kernel image on it and unfortunally it not works. I (with a lots of external help :) ) identify the problem in a symbol configuration keyboard file, so I fix it on this device. I generated a new image that I can use on my XO B4 (open with development key) but I can't apply to the offical XO (that are closed). Now I work on a script that make the same fix can be executed by the teachers because I not able to sign my image. How send the patch to fix this problem on the official build? Which time for 768? Best Regards, Torello Querci P.S. Sorry for my awful english ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 9.1 Proposal: Printing support
Il giorno lun, 20/10/2008 alle 16.55 -0700, Jim Gettys ha scritto: Actually, teachers are the other people who have asked for printing support (e.g. at Arahuay, when I visited). They don't have enough conventional systems to do their test sheets. Now on line tests may make some/most of that need obsolete; but that will take time for teachers to get used to. - Jim Really the Teachers want to print the children works, but in Sugar anything is simple, so I think that the UI for manage the printer need to be very, very, very easy to use without the need to explain and this I suppose to be not so easy like install CUPS. My 2 cent Torello ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Final pre-release Candidate Release 8.2.1 incl Activities
Il giorno mar, 12/05/2009 alle 23.15 -0400, Holt ha scritto: Please test this Give1Get1-suitable image, including Activities now. Notify pronto if any final showstoppers preventing Release 8.2.1! http://download.laptop.org/xo-1/custom/g1g1/gg-802-1/ http://wiki.laptop.org/go/Friends_in_testing In short, clean install as follows: (1) Burn these 2 files onto a fresh USB memory stick: http://download.laptop.org/xo-1/custom/g1g1/gg-802-1/fs.zip 300KB http://download.laptop.org/xo-1/custom/g1g1/gg-802-1/gg-802-1.img 454MB (2) Insert the USB Stick into your XO Laptop. Make sure the XO's plugged in, and contains its battery. (3) Turn on your XO Laptop while holding down all 4 games keys, above the power switch -- the reinstall should be done 10min later. (4) Sanity-check your favorite Activities :) As compared to: http://wiki.laptop.org/go/Release_notes/8.2.0 Thanks! Firmware Q2E41 now appoved, thanks also to your help last week! Hi Adam, I try this build on a normal XO with italian keyboard, with not the security disabled. After flash the storage, the XO is not able to start. So, I'm not able to go on. Cheers, Torello. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Final pre-release Candidate Release 8.2.1 incl Activities
Il giorno mer, 13/05/2009 alle 11.52 -0400, Chris Ball ha scritto: Hi, I try this build on a normal XO with italian keyboard, with not the security disabled. After flash the storage, the XO is not able to start. So, I'm not able to go on. Thanks, sounds like the build isn't signed properly. I'll respin it and test on a locked machine. - Chris. If can be useful, the problem happen before upgrade the firmware, and the XO go down. Cheers, Torelo. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Final pre-release Candidate Release 8.2.1 incl Activities
Il giorno mer, 13/05/2009 alle 18.00 -0400, Chris Ball ha scritto: Hi, Thanks, sounds like the build isn't signed properly. I'll respin it and test on a locked machine. Thanks for the testing, all. The properly-signed build is in place now, so we're all set for release: http://download.laptop.org/xo-1/custom/g1g1/gg-802-1/ - Chris. Ok Chris, now it works. Thank's, Torello ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] dumping datastore to another filesystem
Il giorno ven, 15/05/2009 alle 10.21 +0200, Martin Langhoff ha scritto: On Thu, May 14, 2009 at 10:52 PM, torello tore...@torosoft.com wrote: the fuse module is published. You can find it here: http://git.sugarlabs.org/projects/fsgateway/repos/mainline Surprise! It's written in Mono! I was wondering about whether I could use it on the XS to replace my PHP implementation of the DS reader (which already handles version 0 and 1 of the DS :-) ) but Mono is a bit of a monster of a dependency to bring in. C or Python would have been much better :-( Actually this implementation is made with mono, yes. But it is possibile to migrate to other environment like C in a second step to have better performance and lower footprint of course. This module can be used for access datastore data as file, on a normal linux box, not only on XS. I use it to get the user datafile from a soas mounting the home.img datafile. For an XS environment is it possible to get a linux executable so not all the mono stack is necessary to run it. Only few shared library need to be used. This is a cool project, and I am sure it is interesting and useful outside the Sugar stack itself. But somewhat ill-suited for building Sugar and XS tools -- maybe I had my hopes up on something it wasn't meant to be :-( This project not start to access the datastore files, but implement it was easy, so I do it. Of course the target is not XS but the normal linux desktop with soas. In this case you simply plug the stick, mount the image and access the datafile. Normally linux box have mono installed, so I think that is not a big problem. The only special dependency is mono-fuse library that can be not available on all distro. Cheers, Torello. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel