James Cameron | 23 Aug 08:05 2014

WebKit uses SSE XMM and breaks on XO-1

With recent changes to Google Search JavaScript, searching terminates
Browse with a SIGSEGV, in WTF::dtoa.

http://bugs.sugarlabs.org/ticket/4785

This is only seen on an XO-1, in 13.2.1, 13.2.0, all the way back to
12.1.0.  It is not seen on more recent XO laptops.

On Fedora 20, with Sugar 0.102, and Browse-156, on kernel 3.10, does
similar, but the failure is SIGILL.  Using gdb we find the failing
instructions are references to XMM registers:

   0xabeda509:  mov    0x4(%eax),%ebx
   0xabeda50c:  cmp    -0x8(%ebx),%ecx
   0xabeda50f:  jae    0xabedbcde
=> 0xabeda515:  movsd  (%ebx,%ecx,8),%xmm0    <=
   0xabeda51a:  ucomisd %xmm0,%xmm0
   0xabeda51e:  jp     0xabedbcde
   0xabeda524:  movd   %xmm0,%eax

The XO-1 with AMD Geode processor does not have these registers, so
the SIGILL is valid.

So it would seem one way to fix this may be to rebuild WebKit without
this instruction stream.

But first, I want to make sure I can rebuild WebKit.  I've tried on a
Fedora 20 system to do this:

yumdownloader --source webkitgtk3
(Continue reading)

Lionel Laské | 17 Jul 22:19 2014

Error on Write activity: no module named abiword


Hi all,

I've got an issue with Write 79 on XO 1.75 using a custom build based on Sugar 0.98.7.
When I launch the activity, it don't start and write the error:

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 161, in <module>
    main()
  File "/usr/bin/sugar-activity", line 119, in main
    module = __import__(module_name)
  File "/home/olpc/Activities/Write.activity/AbiWordActivity.py", line 31, in <module>
    from abiword import Canvas
ImportError: No module named abiword
Exited with status 1, pid 1072 data (None, <open file '<fdopen>', mode 'w' at 0xc4ade0>, '6142fa1b96ff478628b102f9f18ca8f430ae180e')


Sound like "abiword" is not installed but when I'm doing "yum install abiword", it tell me that the last abiword is already installed.

Any idea ?

Best regards from France.

              Lionel.

_______________________________________________
Devel mailing list
Devel <at> lists.laptop.org
http://lists.laptop.org/listinfo/devel
Hellânio Costa | 30 Jun 22:03 2014
Picon

Xubuntu on OLPC X-1


Hello,

I'm Hellanio Costa. I work with the One Computer per student projeto (UCA) at the Universidade Federal do Ceará (http://blogs.virtual.ufc.br/uca-ce2/).
We have a school with over 500 OLPC X1 and teachers are asking me to install xubuntu, but I do not know where to start. I also do not have the developer key and do not know where to turn now that OLPC no longer support these machines.

Can anyone help me?


--
       Hellânio Ferreira da Costa
"Um tropeço pode evitar uma queda."
_______________________________________________
Devel mailing list
Devel <at> lists.laptop.org
http://lists.laptop.org/listinfo/devel
James Cameron | 24 Jun 02:09 2014

Announcing another early Android build for XO-4

An Android 4.3.1 (Jelly Bean) build for the XO-4 laptop.

OLPC is preparing an Android, Sugar and Gnome dual-boot system for the
XO-4.

Our next development build is available, with the following changes:

- fix several graphics drawing failures on 1 GB RAM laptops, #12781

- only show onscreen keyboard when in tablet configuration, #12790

http://wiki.laptop.org/go/Android
http://build.laptop.org/android/2014-06-23/

Note: the .zd file has the same name as previous releases, use the
md5sum if in doubt.

Note: the Sugar and Gnome half of the build remains unchanged at
13.2.0.

--

-- 
James Cameron
http://quozl.linux.org.au/
James Cameron | 20 Jun 01:39 2014

13.2.1 for XO-1 using external SD card slot

Announcing an unsigned early build of 13.2.1 for XO-1 using external
SD card slot.

The XO-1 has 1GB of NAND flash with jffs2 filesystem.  After many
years of service the NAND flash will have slowed down [1].

The XO-1 has a 433 MHz Geode processor.  The processor is used to
compress and decompress data stored on NAND flash.

The XO-1 has 256 MB of RAM.  11 MB is consumed by jffs2 filesystem log
structure.  During read and write, extra memory is used temporarily
for compress and decompress.

The XO-1 has an external SD card slot.  Some don't work well, but most
do.

SD cards have increased in performance, increased in capacity, and
decreased in cost.

Therefore using an SD card instead of NAND flash should increase I/O
performance, decrease processor time, and increase available memory.

Would you like to try it?

You need an XO-1, an SD card of 4GB or more, a USB drive of 1GB, and a
download of 585 MB.

http://wiki.laptop.org/go/11233 has the instructions.

This build is 13.2.0 plus new firmware, plus new kernel with wireless
fixes, plus driver for new camera, and packaged for use with an SD
card, not internal NAND flash.  The NAND flash is not touched.

Do not remove the card while the laptop is running.  The laptop will
hang if the card is removed.  The data on the card may be damaged.

In testing so far, this build boots a little bit faster than 13.2.0.

Measurement methods suggested:

1.  subsequent boot time to journal ready,

    (boot first time, enter name, select colour, wait for journal icon
    to colour, shutdown, press power button and begin timing, wait for
    the journal icon to colour and end timing).

2.  initial startup time for Browse activity,

    (boot once, open Browse, quit Browse, reboot, wait for journal
    icon to colour, switch to journal, start Browse journal entry and
    begin timing, wait for rendering and end timing, quit Browse),

3.  subsequent startup time for Browse activity,

    (prepare as above, then start Browse journal entry and begin
    timing, wait for rendering and end timing, quit Browse)

A further performance gain is to add a swap file to the SD card, which
in my tests using Sugar can free up to another 30 MB.

--

Footnote:

1.  no analysis is available for how much slow down has happened, but
a timing of scan-nand and copy-nand firmware commands should be an
effective measure:

ok t( scan-nand )t

press the escape key while the scan is in progress, then read off the
result in milliseconds,

ok t( copy-nand u:\32013o0.img )t

note this destroys all data on the laptop.

--

-- 
James Cameron
http://quozl.linux.org.au/
Tony Anderson | 15 Jun 09:30 2014
Picon
Picon

Re: Devel Digest, Vol 100, Issue 8

Hi, James

Thanks for your response. I would conclude that the best approach at the 
moment is to
use 13.2.0 on the XO-1. This fixes the issue with the firmware and the 
libertas problem.
It also means working with only one build across the XO versions.

In my experience, the children we are serving are more patient than the 
developers.

Tony

On 06/14/2014 06:00 PM, devel-request <at> lists.laptop.org wrote:
> Regarding the 12.1.0 vs 13.2.0 debate that Adam keeps raising, the
> underlying problem is more about management of expectations.  The
> teachers and students were probably not involved in development,
> didn't get an early chance to point out the regression, and so Adam
> was burned.
>
> I find 12.1.0 as slow as 13.2.0, so I can't recommend it for XO-1
> unless Gnome is used instead of Sugar.
Sebastian Silva | 13 Jun 15:34 2014

Re: Announcing the development of OLPC OS 13.2.1

The main hurdle would be the DRM. no volunteer can possibly help where "security" is enabled. In Peru we had to lobby the government for the crypto keys but it might not be possible with smaller deployments that only have OLPC keys, then it might make sense to have a mechanism for James or OLPC to sign volunteer-built images?

El vie, 13 de jun 2014 a las 8:27 AM, Paul Fox <pgf <at> laptop.org> escribió:

not speaking for james or olpc, i think this sounds like a request for a volunteer project
_______________________________________________
Devel mailing list
Devel <at> lists.laptop.org
http://lists.laptop.org/listinfo/devel
Tony Anderson | 13 Jun 13:41 2014
Picon
Picon

Re: Announcing the development of OLPC OS 13.2.1

Hi, James

It would also be very helpful to have a release 12.2.0 for the XO-1. 
This release would incorporate
the libertas patch and correct the firmware version. Perhaps the 
ds-backup.sh and ds-backup.py could
be replaced with versions that correct the reported problems. If 
politically acceptable, this could also be shown on the release page as 
the recommended  alternative for use with the XO-1.

Tony

On 06/12/2014 06:00 PM, devel-request <at> lists.laptop.org wrote:
> Message: 1
> Date: Thu, 12 Jun 2014 15:26:00 +1000
> From: James Cameron<quozl <at> laptop.org>
> To:devel <at> lists.laptop.org
> Subject: Announcing the development of OLPC OS 13.2.1
> Message-ID:<20140612052600.GF13823 <at> us.netrek.org>
> Content-Type: text/plain; charset=us-ascii
>
> Announcing our next release cycle:
>
> http://wiki.laptop.org/go/13.2.1
>
> Goal is to add hardware support for the new SIV121C camera sensor, and
> include wireless performance fixes published since 13.2.0.
>
> Scope is restricted to Open Firmware, and kernel.
>
> -- James Cameron http://quozl.linux.org.au/
James Cameron | 12 Jun 07:26 2014

Announcing the development of OLPC OS 13.2.1

Announcing our next release cycle:

http://wiki.laptop.org/go/13.2.1

Goal is to add hardware support for the new SIV121C camera sensor, and
include wireless performance fixes published since 13.2.0.

Scope is restricted to Open Firmware, and kernel.

--

-- 
James Cameron
http://quozl.linux.org.au/
James Cameron | 5 Jun 08:57 2014

Announcing another early Android build for XO-4

An Android 4.3.1 (Jelly Bean) build for the XO-4 laptop.

OLPC is preparing an Android, Sugar and Gnome dual-boot system for the
XO-4.

Our next development build is available, with the following changes:

- fix a performance regression on 1 GB RAM laptops,

- add support for Marvell 8686 wireless card, #12771,

- add support for boot from external SD card slot, #12782,

http://wiki.laptop.org/go/Android
http://build.laptop.org/android/2014-06-05/

Note: the .zd file has the same name as previous releases.
The md5sum is ead265b913b0d9a469f546f5f59d2db3.

Note: the Sugar and Gnome operating system build remains unchanged.

--

-- 
James Cameron
http://quozl.linux.org.au/
James Cameron | 5 Jun 03:38 2014

New camera sensor SIV121C

We have begun qualification of a new camera sensor SIV121C for
production of the XO-1.75 and XO-4 laptops.

Deployments using olpc-os-builder can pick up the new kernel via the
usual RPM dropbox mechanism.

Laptops fitted with the new sensor as a spare can upgrade just the
kernel.

The new sensor does a little bit better at low light levels, as a
result of a different analog to digital conversion method.

http://wiki.laptop.org/go/12785
http://dev.laptop.org/ticket/12785

--

-- 
James Cameron
http://quozl.linux.org.au/

Gmane