Re: Sugar in a chroot?

2013-08-06 Thread Chris Ball
Hi,

On Wed, Aug 07 2013, Sameer Verma wrote:
 2) If we can run Android on the XO-4, then Fedora/Sugar can run in a
 chroot. That gives us Sugar and Android on the XO-4.

Well, if it was that easy, we'd all be running Ubuntu desktops on our
Android phones already, right?

The graphics system gets in the way -- you can't run X on top of
Android, yet Gtk depends on X, and Sugar depends on Gtk.

- Chris.
-- 
Chris Ball   ch...@printf.net   http://printf.net/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: planet down?

2013-03-21 Thread Chris Ball
Hi,

On Thu, Mar 21 2013, Sameer Verma wrote:
 Looks like planet.l.o and planet.sl.o are down.

They're both hosted on the main SL machine, sunjammer.sl.o.
There'll probably be a mail to iaep@ explaining the downtime
once it's back up.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fedora-18 ARM release: support for OLPC hardware?

2013-01-22 Thread Chris Ball
Hi,

On Tue, Jan 22 2013, Peter Robinson wrote:
 - non complete upstream support. Marvell is supporting all their ARM
 SoCs via the mvebu platform support with components making it upstream
 beginning in 3.7 but it's not all there yet. I'm not sure whether OLPC
 plans on supporting the ARM XO platforms through that or some other
 way.

As I understand it, mvebu is a set of Marvell systems (Kirkwood, Dove,
Armada XP) that are unrelated to MMP -- mach-mvebu vs. mach-mmp.  The
mvebu code doesn't help us.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fedora-18 ARM release: support for OLPC hardware?

2013-01-22 Thread Chris Ball
Hi,

On Tue, Jan 22 2013, Peter Robinson wrote:
 As I understand it, mvebu is a set of Marvell systems (Kirkwood, Dove,
 Armada XP) that are unrelated to MMP -- mach-mvebu vs. mach-mmp. The
 mvebu code doesn't help us.
 
 I thought the 1.75 chip set was codenamed dove?

It is not.

Marvell has very confusing naming.  Dove aka ARMADA 510 is a desktop SoC
(which we don't use), and MMP2 aka ARMADA 610 aka PXA688 is a mobile SoC
which we use on 1.75.  They don't have much in common technically
despite the similar ARMADA numbering.

The XO-4 uses MMP3 aka PXA2128.  MMP2/MMP3 are derived from Marvell's
purchase of XScale PXA from Intel, and Dove/mvebu aren't.

To summarize, there are MMP models and PXA models and ARMADA models, and
they're all mixed up with each other and some systems have one of each
type of number and some don't, and just because two systems each have a
number in the same type it doesn't mean they're from the same silicon
family.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fedora-18 ARM release: support for OLPC hardware?

2013-01-21 Thread Chris Ball
Hi,

On Mon, Jan 21 2013, John Gilmore wrote:
 I'm way outside the OLPC  Fedora development processes nowadays, which
 is why I'm asking what may be a dumb question.

 The Fedora 18 release is finally out for x86 and x64.  There's a beta
 for ARM that supports half a dozen ARM systems.  Oddly, in my mind,
 OLPC is not one of them.  It's odd because there are probably more
 OLPC systems running Fedora than any other ARM hardware.  In F17, the
 ARM release went to GA - General Availability for those half dozen
 ARM boards, again not for OLPC hardware.

Two reasons I can think of:

* We (OLPC hackers) have taken on the burden of creating these builds.
  Our 12.1.0 ARM release is based on Fedora 17, and our 13.1.0 ARM
  release is based on Fedora 18.  We use the Fedora packages directly,
  other than for packages that we've forked or added.

* The systems supported by Fedora all have upstream kernel support, but
  OLPC's ARM systems do not yet have upstream kernel support.  (There's
  no particular barrier; we just haven't had time to push it ourselves.)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Sandisk extreme 32GB and 16GB dont initialize in XO-1.75

2012-10-18 Thread Chris Ball
Hi,

On Thu, Oct 18 2012, John Watlington wrote:
 The kernel should recognize this limitation, and not try to negotiate for
 lower voltages.   This sounds like a bug in build 21, please file a ticket.

I just pushed a change to arm-3.0-wip that might fix this -- George,
please can you test?

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problems starting the XO

2012-09-01 Thread Chris Ball
Hi,

On Sat, Sep 01 2012, Ajay Garg wrote:
 Therafter, I upgraded the sugar package, via
 sudo rpm --force --nodeps --upgrade sugar-0.94.1-31.dx3.rpm

 After that, when I reboot, the sugar-session does not start :-\

Why did you need to use --force and --nodeps?

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: fixing the path on a mesh

2012-06-20 Thread Chris Ball
Hi,

On Wed, Jun 20 2012, Sameer Verma wrote:
 Is it possible to force the path of layer 2 traffic in a mesh? In
 other words, if we have laptops A, B and C in a room, all within radio
 range, can we force A to talk to C via B?

Yes:  http://wiki.laptop.org/go/Mesh_Forwarding_Table

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: fixing the path on a mesh

2012-06-20 Thread Chris Ball
Hi,

On Wed, Jun 20 2012, Chris Ball wrote:
 Hi,

 On Wed, Jun 20 2012, Sameer Verma wrote:
 Is it possible to force the path of layer 2 traffic in a mesh? In
 other words, if we have laptops A, B and C in a room, all within radio
 range, can we force A to talk to C via B?

 Yes:  http://wiki.laptop.org/go/Mesh_Forwarding_Table

Actually, that page doesn't explain how to manipulate the table.
That's described here:

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

FWT (Forwarding Table) Commands:
The forwarding table (FWT) is a feature used to manage mesh network
routing in the firmware.  The FWT is essentially a routing table that
associates a destination mac address (da) with a next hop receiver
address (ra).  The FWT can be inspected and edited with the following
iwpriv commands, which are described in greater detail below.
Eventually, the table will be automatically maintained by a custom
routing protocol.

iwpriv ethX fwt_add [parameters]
iwpriv ethX fwt_del [parameters]
iwpriv ethX fwt_lookup [parameters]
iwpriv ethX fwt_list [parameters]
iwpriv ethX fwt_list_route [parameters]
iwpriv ethX fwt_list_neigh [parameters]
iwpriv ethX fwt_reset [parameters]
iwpriv ethX fwt_cleanup
iwpriv ethX fwt_time

fwt_add
  This command is used to insert an entry into the FWT table. The list 
of 
  parameters must follow the following structure:

  iwpriv ethX fwt_add da ra [...]
  The different parameters are:-
da  -- DA MAC address in the form 00:11:22:33:44:55
ra  -- RA MAC address in the form 00:11:22:33:44:55

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Developer XO laptop loan or buy - Speakeasy project

2012-06-11 Thread Chris Ball
Hi,

On Mon, Jun 11 2012, Lester Leong wrote:
 Hi all,

 I'm trying to get this project off the ground:
 http://wiki.laptop.org/go/Speakeasy

Have you considered joining forces with:

http://www.kickstarter.com/projects/jsalsman/choose-your-reading-and-pronunciation-adventure

?  They seem to be very expert in language learning and speech recognition.

 I would like to buy or, if possible, loan, an XO laptop for
 development and testing. I live in Wantagh, NY, which is in Long
 Island and reasonably close to the greater New York city area.

 Please let me know what I need to do to get this project off the ground!

My advice would be that hardware and porting are not the difficult part
of this project -- if you create software that teaches literacy well,
porting it to the XO will be straightforward as long as it runs on top
of Linux and X11.  (And even if it doesn't work on the XO's platform,
there are so few good Free Software literacy software projects right
now that someone else would probably volunteer to do the port for you!)

The difficult part is actually designing and writing the code.  I think
you should think more about that, write up your ideas (your wiki page
currently contains no technical information at all!) and start seeing
if the ideas work by running them on standard laptops.

Sorry if this e-mail feels negative.  I think it's important to
understand that good literacy software is possibly the most difficult
type of software to write, yet also one of the most needed types in the
world right now.  I think your effort will be most likely to succeed
if you seek help from experts, and spend your time researching and
experimenting; there's no need for an XO to do any of those things.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Developer XO laptop loan or buy - Speakeasy project

2012-06-11 Thread Chris Ball
Hi Lester,

On Mon, Jun 11 2012, Lester Leong wrote:
 I think it could just be as easy as having a collection of multimedia
 and gamifying it. I thought of having a set of flashcards with audio -
 then many things could be done with that. Audio to picture matching.
 Finish the sentence. Multiplayer races. Pictures in a series to denote
 context, etc. It could just be that simple. Would be really trivial to
 implement as well. I even thought of implementing it as web served
 pages so that the whole thing could exist in website form - in remote
 locations without Internet, maybe the pages can be locally
 stored/hosted.

I like this idea, and I'm happy to see that you aren't trying to do too
much.  I think develping this as a set of webapps sounds like a fine
start -- it allows you to work on it more easily with other developers,
who don't share your platform, too.

 Anyway, the reason I would like an XO is because I'd like to get a
 feel for user interface, as well as the limitations of it, from the
 very beginning. It would help guide design immensely.

Did you know that it's easy to run OLPC's user interface, Sugar, on
non-OLPC laptops?  Here's a recent guide written by Simon Schampijer:

http://wiki.sugarlabs.org/go/Activity_Team/Activity_Development_Fedora17

There isn't much (if anything) of the user interface that's dependent on
the hardware; you can see it all by running Sugar locally too.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel development setup for XO-1.75 [Devel Digest, Vol 76, Issue 15]

2012-06-07 Thread Chris Ball
Hi,

On Thu, Jun 07 2012, Yioryos Asprobounitis wrote:
 Finally, all this is running on a 64bit machine (Intel 2x E8135) and
 although from a VM the CPU is seen correctly as a 64bit CPU. However,
 Fedora 14 is the i686 and not the x86_64.
 Could this also be an issue, ie Fedora _not_ being x86_64?

Yes, that's it; you need an x86_64 distribution to run x86_64 binaries.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel development setup for XO-1.75 [Devel Digest, Vol 76, Issue 15]

2012-06-07 Thread Chris Ball
Hi,

On Thu, Jun 07 2012, Yioryos Asprobounitis wrote:
 Thanks. That did it. 
 Compiles fine (so far) in an F15_64 VM.

 Is there/going to be any 32bit version available (for the XO-1.5 for
 example :o ) since kernel building on the the XO-1.75 itself is a bit
 problematic at the moment?

No, I don't plan on doing that.  I wasn't trying to publish a set of
cross-compilers, just sharing the cross-compiler that I use myself.

If you're on F17 (12.1.0), you can install a cross-compiler with yum;
that's a better idea than using mine.

sudo yum --enablerepo=updates-testing install gcc-arm-linux-gnu

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fwd: XO-1.5 image has more size than XO-1.0 with the same software

2012-06-01 Thread Chris Ball
Hi,

On Fri, Jun 01 2012, Esteban Arias wrote:
 Hi,

 I have created image for XO-1.0 with gnome and XO-1.5 (2GB) with gnome.

 but, XO-1.5 image has more size than XO-1.0 ¿?¿?¿?¿? Do you know why? 

Because the 1.3GB XO-1.5 image wouldn't fit on the 1.0GB XO-1 flash.

I think that, for example, the XO-1 images don't have the Wikipedia
slices included anymore; check for differences in /home/olpc/Activities.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fwd: XO-1.5 image has more size than XO-1.0 with the same software

2012-06-01 Thread Chris Ball
Hi,

On Fri, Jun 01 2012, Esteban Arias wrote:
 I have the same activities.
 And this difference packages:

Ah.  Well, one difference will be that jffs2 uses compression and ext3
doesn't, but I wasn't expecting that to account for such a large change.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fwd: XO-1.5 image has more size than XO-1.0 with the same software

2012-06-01 Thread Chris Ball
Hi,

On Fri, Jun 01 2012, Daniel Drake wrote:
 Can I compress for XO-1.5 ?

 If you switch to a filesystem that supports it, yes. btrfs would be one 
 option.

 Note that this will kill performance.

And reliability.  :-)

(Before Linux 3.4, btrfs' preferred method of dealing with a detected
filesystem inconsistency was to BUG() and hang the system, rather than
go read-only or fix the problem.)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Checking filesystems periodically

2012-05-04 Thread Chris Ball
Hi,

On Fri, May 04 2012, Daniel Drake wrote:
 Until F17 we haven't had a good way of communicating this via the boot
 animation. Now we can do that easily but it lacks implementation.

 Thirdly, fsck is not magic. It cannot detect/repair all corruption. As
 far as I know, we have not yet found a case of corruption which can be
 meaningfully fixed by fsck. We did do quite a bit of testing for this
 at an earlier point.

Also, our users cannot be expected to understand (or obey) a requirement
that they not turn off the machine while it's doing something dangerous:
so if powering down half way through fsck leaves the filesystem in a
worse state than it was before fsck ran, we probably shouldn't do it
at all.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Checking filesystems periodically

2012-05-04 Thread Chris Ball
Hi,

On Fri, May 04 2012, Chris Ball wrote:
 Hi,

 On Fri, May 04 2012, Daniel Drake wrote:
 Until F17 we haven't had a good way of communicating this via the boot
 animation. Now we can do that easily but it lacks implementation.

 Thirdly, fsck is not magic. It cannot detect/repair all corruption. As
 far as I know, we have not yet found a case of corruption which can be
 meaningfully fixed by fsck. We did do quite a bit of testing for this
 at an earlier point.

 Also, our users cannot be expected to understand (or obey) a requirement
 that they not turn off the machine while it's doing something dangerous:
 so if powering down half way through fsck leaves the filesystem in a
 worse state than it was before fsck ran, we probably shouldn't do it
 at all.

Another also: sometimes when fsck finds an inconsistency it asks you for
the root password, but some of our users don't have the root password,
so they might end up in a reboot loop where they can't progress.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

2012-05-01 Thread Chris Ball
Hi,

On Wed, May 02 2012, Ajay Garg wrote:
 Just wish to remove the mesh-icons from Neighborhood-View.

Have you considered just removing the icons directly?

diff --git a/src/jarabe/desktop/meshbox.py b/src/jarabe/desktop/meshbox.py
index 20dc413..0aa8c7f 100644
--- a/src/jarabe/desktop/meshbox.py
+++ b/src/jarabe/desktop/meshbox.py
@@ -635,9 +635,9 @@ class MeshBox(gtk.VBox):
 
 def enable_olpc_mesh(self, mesh_device):
 mesh_mgr = OlpcMeshManager(mesh_device)
-self._add_olpc_mesh_icon(mesh_mgr, 1)
-self._add_olpc_mesh_icon(mesh_mgr, 6)
-self._add_olpc_mesh_icon(mesh_mgr, 11)
+#self._add_olpc_mesh_icon(mesh_mgr, 1)
+#self._add_olpc_mesh_icon(mesh_mgr, 6)
+#self._add_olpc_mesh_icon(mesh_mgr, 11)
 
 # the OLPC mesh can be recognised as a normal wifi network. remove
 # any such normal networks if they have been created

-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel for 12.1.0

2012-04-11 Thread Chris Ball
Hi,

On Wed, Apr 11 2012, Daniel Drake wrote:
 We have arm-3.3 and arm-3.4 branches available for use in 12.1.0.

 Great! Are these ready for build inclusion now, or are there still
 some big parts broken?

Still waiting for CMA+galcore and suspend/resume, so not ready yet --
probably next week.

 3.4 final will probably release in early June, and is at -rc2 now.
 Are we sure we want to go with 3.3 rather than 3.4 for 12.1.0?

 I think 3.3 is the best option. 3.4 lands a bit too late for comfort
 in our release cycle, and we've already got a decent amount of testing
 with 3.3. Plus it lines us up nicely with F17.

Okay!  Sounds good, thanks.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Kernel for 12.1.0

2012-04-10 Thread Chris Ball
Hi Dan,

We have arm-3.3 and arm-3.4 branches available for use in 12.1.0.
3.4 final will probably release in early June, and is at -rc2 now.
Are we sure we want to go with 3.3 rather than 3.4 for 12.1.0?

I don't have strong opinions:  the two changes I'm interested in are
MMP2 device tree support and the CMA patchset, neither of which made
the merge window for 3.4.  But the option is there if we want it.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] XO brightness key operation

2012-04-09 Thread Chris Ball
Hi,

On Mon, Apr 09 2012, Nicholas Doiron wrote:
 Is there a way to read the current value of the 1.75's ambient light sensor?
 It'd be neat if that could be displayed by an activity.

Yes, /sys/devices/platform/olpc-ols.0/level

You can read powerd's source on the XO; it uses a more complicated API
involving setting limits of high and low light to change the backlight.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: SDcard support on XO-1 3.3 kernel

2012-03-31 Thread Chris Ball
Hi,

On Sat, Mar 31 2012, Yioryos Asprobounitis wrote:
 It would appear the the SDcard support on the XO-1 3.3 kernel is broken.
 The card can not be (sudo) mounted manually and udev fails to make the 
 mmcblk* devices.

Please can you provide a dmesg log?  (Ideally inside a
http://dev.laptop.org/newticket.)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Announcing Q4D06 for XO-1.75

2012-03-27 Thread Chris Ball
Hi,

Thanks for debugging this!

On Tue, Mar 27 2012, Sascha Silbe wrote:
 Excerpts from Chris Ball's message of 2012-03-26 20:36:21 +0200:

  I'm specifically asking because recent kernels don't like my SD card
  (only one in about twenty or fifty boots succeeds; two different
  failure modes), so I'd need to make sure I diagnose and fix that
  before upgrading OFW the next time.
 
 That sounds bad, what are the failure modes?

 The first, more common one is that the card is detected, but cannot be
 read from:

 [  664.720232] mmc0: new ultra high speed SDHC card at address e624

I haven't used a UHS-I card before, so you're in uncharted territory.  :)

 git bisect blames the following OLPC commit:

 39fc327e8d541d146528f03150fec36189e4dac5 is the first bad commit
 commit 39fc327e8d541d146528f03150fec36189e4dac5
 Author: Andres Salomon dilin...@queued.net
 Date:   Thu Dec 22 16:28:55 2011 -0800

 sdhci-pxa: add retuning of timing in the case of CRC errors
 
 This is only for the !wlan devices.
 
 Signed-off-by: Andres Salomon dilin...@queued.net

That's very interesting.  Does reverting this commit result in a kernel
that boots every time, then?

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 11.3.1 development build 31 for XO-1 and XO-1.5

2012-03-27 Thread Chris Ball
Hi,

On Tue, Mar 27 2012, Mikus Grinbergs wrote:
 The XO-1.5 build 31 came with Read-92.2 and Terminal 35.1.

 I am unable to locate the (raw) .xo files for these two Activities.

They're linked from http://wiki.laptop.org/go/Activities/G1G1/11.3.1.

 [They are __NOT__ referenced by
 http://wiki.laptop.org/go/Activities/G1G1/ -- which is the activity
 group URL listed by  My Settings - Software update - Modify
 activity groups.

 WHERE in laptop.org is the official URL for Activities contained in
 11.3.1 ??

There is no need to shout.  Please be polite.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Chris Ball
Hi,

On Mon, Mar 26 2012, Niels de Vos wrote:
 Now, I'd like to have the wireless working somehow. Any hints, or is
 there a ticket open for this already?

We're not sure why the crashes are happening.  If you (or anyone else)
would be willing to help debug, it'd be appreciated.  Either of these
two tests would be helpful:

(1) Try installing the kernel from 11.3.1 build os31 on os5:

 
http://dev.laptop.org/~kernels/public_rpms/f14-xo1.75/kernel-3.0.19_xo1.75-20120320.1540.olpc.7e610e7.armv7l.rpm

and see if the problem persists.

(2) Try installing the kernel from os5 onto 11.3.1 build os31:

 
http://dev.laptop.org/~kernels/public_rpms/f17-xo1.75/kernel-3.0.19_xo1.75-20120322.1410.olpc.8f384dd.armv7l.rpm

That'll help work out whether the problem follows the kernel RPM or
the build image.  (Make sure that you've checked that you are actually
running the newly-installed kernel, with uname -r.)

Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-25 Thread Chris Ball
Hi,

On Sun, Mar 25 2012, Simon Schampijer wrote:
 I have filed the Browse related tickets 11716, 11718 testing on the
 XO-1.5. My 1.75 does boot until the naming screen but I can not use
 the trackpad or the keyboard. This is a 1.75 1B1 with 4GB.

Keyboard/trackpad both work here on 1.75 1C2 8GB.  Constant libertas
timeouts, though.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-25 Thread Chris Ball
Hi,

On Sun, Mar 25 2012, Simon Schampijer wrote:
 Yeah, flashed now another 1.75 machine (1C2 4GB) and the first boot
 when I did not sit next to the machine it came up the same as my 1B1
 with a non usable keyboard and trackpad. I rebooted and directly
 entered a name and could use than the machine.

 Things I came across from a first quick look:
 - the trackpad was not as good responsible
 - the neighborhood view had no APs listed
 - Paint did not start due to missing binaries (does start on the 1.5)

It might have crashed on its way into idle suspend (probably due to the
libertas bugs) leading to an apparant symptom of no keyboard/trackpad.
I stopped powerd straight away to avoid that.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 11.3.1 development build 31 for XO-1 and XO-1.5

2012-03-23 Thread Chris Ball
Hi,

On Fri, Mar 23 2012, fors...@ozonline.com.au wrote:
 Updated XO1.75  29- 31 OK

 Xo1.5 failed

 [olpc@xo-e0-8d-68 /]$ sudo olpc-update 11.3.1_xo1.5-31
 Downloading contents of build 11.3.1_xo1.5-31.
 @ERROR: unknown module 'build-11.3.1_xo1.5-31': None
 rsync error: error starting client-server protocol (code 5) at main.c(1516) 
 [Receiver=3.0.8]

 Could not download update contents file from:
   rsync://updates.laptop.org/build-11.3.1_xo1.5-31/contents
 I don't think the requested build number exists.

Thanks, I've fixed this for XO-1/XO-1.5 now.

In 11.3.1 the build download path changed from e.g.:
   http://build.laptop.org/11.3.0/os8/xo-1.5/
to:
   http://build.laptop.org/11.3.1/os31/xo1.5/

so I've updated the pattern used by the update server to no longer use
the - for 11.3.1 builds.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Video chat activity

2012-03-21 Thread Chris Ball
Hi,

On Wed, Mar 21 2012, Martin Langhoff wrote:
 On Wed, Mar 21, 2012 at 11:40 AM, Walter Bender walter.ben...@gmail.com 
 wrote:
 FWIW, the Collabora guys wrote a video chat for Sugar back in 2007. I
 demoed it in Buenos Aires, connected to Boston.

 Where is that code?! I wanna! :-)

http://wiki.laptop.org/go/Video_Chat
http://dev.laptop.org/git/projects/video-chat-activity

It requires a jabber server and working routing between public IP addresses.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 12.1.0 trac milestone organisation (Devel Digest, Vol 73, Issue 25)

2012-03-17 Thread Chris Ball
Hi,

On Sat, Mar 17 2012, Yioryos Asprobounitis wrote:
 I was wondering if there are any VM builds planed for OLPC 12.1.0 
 (particularly XO-1.75 builds) or if this is considered an unnecessary burden 
 for tracking.
 I can understand that using the actual hardware is the most important thing. 
 But apparently there are not enough XO-1.75s available. 
 So VM builds could be of some value during development.

We haven't made having VM builds a priority because:

qemu-arm is extremely slow even on fast x86 machines, so emulating ARM
builds on x86 doesn't work well.

For the x86 builds, you might as well just install the same version of
Fedora that the build is based on, and yum install sugar.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: short read of zdata file

2012-01-11 Thread Chris Ball
Hi,

On Wed, Jan 11 2012, Sameer Verma wrote:
 I'm seeing a short read of zdata file on running fs-update on a 1.75
 using os23.zd4

 Any suggestions?

Did you check the md5sum?

If it's not a corrupt download, it might be a bad/incompatible USB key.

I think there were very early (months ago) bugs where sometimes you had
to run fs-update twice in a row; the first time would fail immediately
and then the second time would work.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC Policies Question Concerning Upgrading Default Installed Software

2012-01-11 Thread Chris Ball
Hi,

On Wed, Jan 11 2012, anth...@evolutionindesignz.com wrote:
 Does the OLPC project have any policies against upgrading the default
 versions of the software installed on the OLPC laptop?

 In particular, we are having issues with XULRunner 1.9.1.9. We are
 considering unstalling this version and replacing it with XULRunner
 8.0.

We have no policies against what people in OLPC deployments do with
software, so the question is just whether the upgrade does what you want
it to.  I don't know anything about upgrading to 8.0, so I don't think I
can help with working out whether that's a wise idea.

(I don't think I know you -- do you want to tell us about which
deployment you're involved with?)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC Policies Question Concerning Upgrading Default Installed Software

2012-01-11 Thread Chris Ball
Hi Anthony,

On Wed, Jan 11 2012, anth...@evolutionindesignz.com wrote:
 My name is Anthony, and I am doing some work for a company called
 Evolution in Design (http://www.evolutionindesignz.com).

Hm, I still don't understand.  Are you just writing a piece of software
for a deployment to install on their laptops, or are you managing a
deployment of laptops to kids?  Which deployment is it?

If you are just writing a software program, I don't think you should
modify the base system, because you will break other people's software
if they use the older version of xulrunner.  It would be better to bundle
the newer version of xulrunner inside your program, if you need it,
although that would waste some disk space.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC Policies Question Concerning Upgrading Default Installed Software

2012-01-11 Thread Chris Ball
Hi,

On Wed, Jan 11 2012, Christoph Derndorfer wrote:
 Maybe I'm wrong but given that Evolution in Design's list of clients
 (http://www.evolutionindesignz.com/clients.html) includes GogoNews (
 http://www.gogonews.com/) which recently announced that they're
 working on a custom, Linux-based browser specifically for use on
 OLPC XO devices to become part of the collection of default
 applications on new XO computers and offline capabilities are also
 mentioned (http://www.businesswire.com/news/home/20111214005404/en/
 GoGoNews-Delivers-Universal-News-Content-Laptop-Child) it sounds like
 Anthony is part of that effort.

 Where do I collect my prize? ;-)

Somebody get that man a job doing some kind of investigative writing
about technology.  :)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: PulseAudio vs XO hardware drivers

2011-11-28 Thread Chris Ball
Hi,

On Wed, Nov 23 2011, Daniel Drake wrote:
 On Tue, Nov 22, 2011 at 9:20 PM, Martin Langhoff mar...@laptop.org wrote:
 IIRC, there was a hard/deep/complex bug that held us from using PA in XO-1
 and/or XO-1.5 . Not just a run of the mill early PA bug, nor the usual CPU
 consumption concerns, 'twas a really hard one.

 Unfortunately searching isn't leading to the right report :-/ -- so I appeal
 to our communal elephant memories...

 At the time it completely failed on XO-1 with IO errors in the logs. I
 doubt it was a hard bug, we just took the shortcut of removing it.

I think we also had AV sync problems with Record on 1.5 with pulseaudio.

(We had sync problems with ALSA too, but I expect the fixes we used for
ALSA are different to ones we would have used for pulse.)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Raspberry Pi as development platform for XO-1.75

2011-11-26 Thread Chris Ball
Hi,

On Sat, Nov 26 2011, Sridhar Dhanapalan wrote:
 How useful could a Raspberry Pi be as a development platform for the XO-1.75?

 It looks like the Pi is ARM11 based (v6 arch) and the XO has a v7 arch.

You've correctly described why it probably won't be useful -- almost
every distribution compiles for ARMv7, including Fedora and Ubuntu,
so our builds won't boot on it at all.

Since you can create ARM binaries on an x86 machine with a cross
compiler, or on the 1.75 itself, the only use case I can think of for
it relating to 1.75 development would have been running our builds.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: automatic backlight control

2011-11-21 Thread Chris Ball
Hi,

On Mon, Nov 21 2011, Martin Langhoff wrote:
 Hi folks -- I was one of the early commenters on this. And Paul gave
 me a, ahem, strong recommendation. All caps. Neon lights, blinking:

 TRY IT OUT ON AN XO-1.75

And when *pgf* types in all caps, you *know* it's serious.

-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Firefox nightly builds for 1.75

2011-10-05 Thread Chris Ball
Hi,

I've made builds of the latest nightlies of Firefox Desktop and Firefox
Mobile for the 1.75:

http://dev.laptop.org/~cjb/firefox/firefox-10.0a1.en-US.linux-gnueabi-armv7l.tar.bz2
http://dev.laptop.org/~cjb/firefox/fennec-10.0a1.en-US.linux-gnueabi-armv7l.tar.bz2

Fennec appears to be running slower than Firefox, which is the opposite
of what I was expecting to see.  Maybe Fennec uses compositing operations
for the tabs UI?

While Firefox renders HTML quickly, its interactive performance with
JavaScript sites such as:
   http://dev.laptop.org/~cscott/TurtleScript/canvastest.html
   http://joapp.com/live/samples/test.html
is not good.  Maybe someone could do whole-system profiling with sysprof
to try to work out whether we're spending CPU time in the javascript
engine or inside cairo/pixman rendering code while using these apps?
That would tell us whether we're likely to see improvements as our
graphics driver grows more acceleration capabilities.

(If these builds don't have enough debugging symbols for that, I've
still got the full build trees available.)

Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 11.3.0 build 8 released, for XO-1.75, XO-1.5 and XO-1

2011-10-02 Thread Chris Ball
Hi,

On Sat, Oct 01 2011, Peter Robinson wrote:
 Changes and notes from os7:

 Fedora:
 - Fedora repo packages are now signed

Yum doesn't work here on os8 for xo-1.75, it gives:

Error: Cannot retrieve metalink for repository: fedora.

I discovered that sed -ei 's/https/http/g' /etc/yum.repos.d/*.repo
fixes the problem; maybe we're not shipping the https cert or something.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 11.3.0 build 8 released, for XO-1.75, XO-1.5 and XO-1

2011-10-02 Thread Chris Ball
Hi,

On Sun, Oct 02 2011, Chris Ball wrote:
 Yum doesn't work here on os8 for xo-1.75, it gives:

 Error: Cannot retrieve metalink for repository: fedora.

 I discovered that sed -ei 's/https/http/g' /etc/yum.repos.d/*.repo
 fixes the problem; maybe we're not shipping the https cert or something.

Dennis Gilmore worked it out on IRC -- my clock wasn't in the right
year, with the result that the SSL cert wasn't in its valid range.
(It's a shame the error from yum doesn't distinguish between a simple
404 and an SSL transaction error.)

So, if you see the above error and no-one else seems to be having
problems, check your system date.  :)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: MMP2 Interrupt Controller forcing IRQ

2011-09-26 Thread Chris Ball
Hi Andrei,

On Mon, Sep 26 2011, Andrei E. Warkentin wrote:
 I have a question about the ICU controller in the XO 1.75. I was
 looking into porting over and extending the FIQ debugger onto the XO (which
 allows debugging wedged/deadlocked kernels), and was wondering if it
 was possible to force triggering a particular IRQ (not FIQ).

 It's a feature common to SoCs where you have many cores (uncoherent
 ones at that,
 such as an AP and a service/power/control core), and my understanding is that
 the MMP2 SoC is one of these - if I understand correctly, you can
 route an interrupt to the SP.

Here's a transcription of an explanation Mitch just gave:

It's certainly possible to route any given interrupt to either FIQ or
IRQ on either core.  It is possible for an instruction to cause an
interrupt/exception; that's how OFW does breakpoints.  At the CPU core
level, each core has exactly one IRQ and one FIQ, for a total of 4.
Each of the many hardware interrupt sources can be used to assert any
combination of those 4 interrupt signals.

What's wrong with using FIQs instead of IRQs for this purpose?

 Is this what the MMP2_ICU_SP_IRQ_SEL/MMP2_ICU_PJ4_IRQ_SEL/MMP2_ICU_PJ4_FIQ_SEL
 regs are for?

Those registers are read-only; they *report* which one of the many
hardware interrupts is currently selected for servicing, so that when an
interrupt hits a CPU core it can discover which one to service.  (It's
essentially a priority encoder/latch function.)

The way you choose to route a given hardware interrupt to the 3 possible
AP (PJ4) lines is by ICU_REG(4 * interrupt_number).  Routing to the
security processor is done differently.

Setting 0x10 in the routing register for interrupt_number routes it to
SP IRQ.  Setting 0x20 routes to PJ IRQ, setting 0x40 routes to PJ FIQ.
The lower 4 bits (mask 0xf) of the routing register set the priority,
from 0 (lowest) to 0xf (highest).  You also need to know the mapping
from hardware interrupt sources to interrupt_number, 0 = interrupt_number
= 63.  But there are more than 64 interrupt sources, so some are ORed --
numbers 4,5,17,35,51,55 have secondary control and status registers so
you can control the 2nd level muxing.

The Linux macros that correspond to the above are:
   * ICU_INT_CONF(n) -- the register for interrupt_number n
   * ICU_INT_CONF_MASK -- the priority bits, and
   * ICU_INT_CONF_{{AP,CP}_INT,IRQ} -- the routing bits

(Make sure to ignore the Linux code for pxa168/pxa910 -- we're pxa688.)

Hopefully that's enough to get you going, feel free to ask more specific
questions.  Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Enable DEVTMPFS for Fedora 15

2011-09-12 Thread Chris Ball
Hi,

On Mon, Sep 12 2011, DJ Delorie wrote:
 One of possibly many kernel config changes to support Fedora 15.  This
 one is required to at least boot.

 --- a/arch/arm/configs/xo_175_defconfig   2011-09-09 16:50:12.0 
 -0400
 +++ b/arch/arm/configs/xo_175_defconfig   2011-09-09 18:20:21.0 
 -0400
 @@ -536,5 +538,6 @@
  #
  CONFIG_UEVENT_HELPER_PATH=
 -# CONFIG_DEVTMPFS is not set
 +CONFIG_DEVTMPFS=y
 +CONFIG_DEVTMPFS_MOUNT=y
  # CONFIG_STANDALONE is not set
  # CONFIG_PREVENT_FIRMWARE_BUILD is not set

Thanks, pushed to olpc-kernel/arm-3.0-wip; this will be in our next build.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


OLPC/pgf on LWN

2011-08-24 Thread Chris Ball
http://lwn.net/SubscriberLink/456217/25261a3982aee26d/

Sympathetic coverage, I think.  :-)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os40 - Almost in sync with x86!

2011-08-23 Thread Chris Ball
Hi,

On Tue, Aug 23 2011, Peter Robinson wrote:
 I believe OOB is pulling activities and version information from here:
 http://wiki.laptop.org/go/Activities/G1G1
 Update the links to the latest version and on the next build you should get
 the respective activity version.

 Thank you Reuben, that is what I was after. Are people happy for me to
 update those versions to later releases?

You should modify the subpage for the release you're working on --
see e.g. http://wiki.laptop.org/go/Activities/G1G1/11.2

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os40 - Almost in sync with x86!

2011-08-23 Thread Chris Ball
Hi,

On Tue, Aug 23 2011, Reuben K. Caron wrote:
 You should modify the subpage for the release you're working on --
 see e.g. http://wiki.laptop.org/go/Activities/G1G1/11.2

 In that case, the .ini should be altered:

 [sugar_activity_group]
 url=http://wiki.laptop.org/go/Activities/G1G1

No.  That string's just providing the base URL to use -- when o-o-b is
looking for activities, it will append the major/minor/release version
numbers to it.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os40 - Almost in sync with x86!

2011-08-23 Thread Chris Ball
Hi,

On Tue, Aug 23 2011, Samuel Greenfeld wrote:
 At this point (with my limited knowledge) I don't believe o-o-b uses
 the Wiki at all. It just looks straight at activities.sugarlabs.org
 for the latest experimental activities compatible with Sugar 0.92.

 See the [sugarlabs_activities] section of http://dev.laptop.org/git/
 projects/olpc-os-builder/tree/examples/f14-xo1.5.ini , which the git
 changelog says currently is the initial 11.3.0 XO-1.5 configuration.

 The 11.2.0 INI examples in the same directory have an example of a
 [sugar_activity_group] section being used, but the 11.3.0 config does
 not have one yet as it is not frozen.

Oh, you're right -- we only use the wiki page once we want manual control
of all of the activity versions.  So sugarlabs_activities is used
during development, and sugar_activity_group is used when frozen.

So the question is Since our config enables sugarlabs_activities, how
come we didn't get the latest versions of all of the activities?.

Peter, it looks like one of your commits changed this a few days ago.
See:

http://dev.laptop.org/git/projects/olpc-os-builder/commit/?h=f14-armid=d8d4cd017fde62ffbb7f83d0407722fed7ad5882

Which removed the [sugarlabs_activities] config definitions from
examples/f14-arm.ini, even though it left the module itself enabled.
(Without those definitions, the sugarlabs_activities code isn't going
to do anything.)

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Touchscreen driver

2011-08-22 Thread Chris Ball
Hi,

I've pushed touchscreen support to the olpc-kernel tree, and also fixes
for http://dev.laptop.org/ticket/11077 -- could we build a new kernel
RPM and spin a new ARM build for testing, please?

Thanks,

-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO 1.5 Solder Reflow in Toaster Oven

2011-08-21 Thread Chris Ball
Hi,

On Sun, Aug 21 2011, Anna wrote:
 And no, this is definitely not for the typical user, but hey, on
 Friday I had two dead XO 1.5's and now on Sunday evening I've got two
 working units. No idea on the longevity of this fix, but OLPC is all
 about experimentation, right?

+1 from me.  Nice job!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Sugar and GTK updates

2011-08-16 Thread Chris Ball
Hi,

On Tue, Aug 16 2011, Mikus Grinbergs wrote:
 It is likely that computer neophytes will find G3 (or fallback)
 acceptable -- but G3 itself as originally packaged in Fedora 15 has
 raised such a firestorm among long-time Linux users to in my opinion
 warrant being omitted from mention as a future direction for the XO.

I agree with you about finding G3 annoying and unconfigurable, but
disagree that we should form a constraint linking what long-time Linux
users find uninteresting and what should be omitted from mention as a
future direction for the XO.  That's not what we're here for.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os1 - Fedora mirror plus more!

2011-08-14 Thread Chris Ball
Hi Peter,

On Sun, Aug 14 2011, Peter Robinson wrote:
 The Peter's first release with Fedora Secondary Mirrors goodness plus
 much more release!

 Download from:

   http://build.laptop.org/~pbrobinson/f14-arm/os1/

If I give you permissions on http://build.laptop.org/F14-arm/, maybe you
could continue using Martin's numbering scheme?  It's better to minimize
the number of places we're hosting builds, I think, and not to have
shared build numbers in the same stream that point to different builds.

Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New F14-arm build os36 - Sugar in sync, device-tree!

2011-08-07 Thread Chris Ball
Hi Niels,

On Sat, Aug 06 2011, Niels de Vos wrote:
 = We have device-tree! So what used to be in /ofw now appears in
 /proc/device-tree . Time to port bitfrost, dracut-modules-olpc, sugar
 control panel, olpc-utils. Thanks Andres, Mitch and Saadia!

 Wow, this is quite impressive! You must be one of the first that have this
 in a real distribution for ARM :)

I think ChromiumOS is using flattened trees, but we're also running Open
Firmware and have it stay resident to be called into.

 = There is a new schedulear/timer patch from Lennert -- mystery
 minutes-long hangs should be gone for real now.

 Do you have any references like a git-commit or discussion on a
 mailinglist for this? I'd like to match this with some other ARM
 hardware (non/OLPC) issues I have seen.

There's a description of our problem at:

http://dev.laptop.org/git/olpc-kernel/commit/?h=arm-3.0id=b8923ed0809f29e53bd246153ca3a9e9367b4c56

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel git reorganisation

2011-08-04 Thread Chris Ball
Hi,

On Thu, Aug 04 2011, Daniel Drake wrote:
 We've recently talked about reorganising our kernel git repo, and
 avoiding having multiple repos like we have ended up with now.
 I propose the following (and I volunteer to do it):

 This has now been done.

I've pushed olpc-3.0:arm-3.0 to olpc-kernel:arm-3.0 now, so Martin can
start using olpc-kernel:arm-3.0 as the branch to include in ARM builds.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel git reorganisation

2011-08-03 Thread Chris Ball
Hi Dan,

On Wed, Aug 03 2011, Daniel Drake wrote:
 We've recently talked about reorganising our kernel git repo, and
 avoiding having multiple repos like we have ended up with now.
 I propose the following (and I volunteer to do it):

+1.  Go ahead!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: storage on XO 1.75

2011-08-01 Thread Chris Ball
Hi,

On Mon, Aug 01 2011, Sameer Verma wrote:
 What's the storage mechanism on the 1.75? I was looking at the board,
 but couldn't figure it out. microSD, full SD, eMMC soldered on board?

We're delaying the final choice until we hit production, to choose the
solution with the best price/reliability tradeoff, but right now the
main storage is on soldered-down eMMC.  (With SD for expansion.)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: *.laptop.org issues

2011-07-07 Thread Chris Ball
Hi,

On Thu, Jul 07 2011, Bert Freudenberg wrote:
 We've moved lists.laptop.org to a different machine (swan.laptop.org)
 now, and Adam reports that Yahoo is accepting mail from us again.
 The problems of the last ten days or so should be all gone now;
 let us know if not.

 Doesn't fix the download.laptop.org problem though:

Thanks, should be fixed now, providing your DNS says:

% host download.laptop.org
download.laptop.org is an alias for owl.laptop.org.
owl.laptop.org has address 18.85.2.163

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: *.laptop.org issues [Devel Digest, Vol 65, Issue 8]

2011-07-07 Thread Chris Ball
Hi,

On Thu, Jul 07 2011, Yioryos Asprobounitis wrote:
 Doesn't fix the download.laptop.org problem though:

 It does on my end

 $ traceroute download.laptop.org
 traceroute to pedal.laptop.org (18.85.2.148), 64 hops max, 40 byte packets

No, that's still the old IP, which works for you but not Bert.

There are a lot of problem reprots in this thread that are just DNS
caching issues -- could I suggest that we wait ~12 hours and see how
things look then?  I'm confident that everything now seems to be working
once the DNS changes show up.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: *.laptop.org issues

2011-07-06 Thread Chris Ball
Hi,

On Wed, Jul 06 2011, Yioryos Asprobounitis wrote:
 I'm not sure this is a devel issue, so apologies for any pollution.

 I too had problems downloading os871 and accessing lists.laptop.org all past 
 week.
 It has nothing to do with the service provider, since I was traveling
 and I had this issue in 2 countries and 4 different locations in
 Europe non on Vodafone/Verizon network.
 Today everything looks OK with *.laptol.org 

 However, (and for the last week) I do not get any mails from
 subscribed_l...@lists.laptop.org in my yahoo account that this mail is
 sent from.
 I did check my subscription settings in the lists and look OK.

 Any idea how I could debug the yahoo mail issue?

It should be fixed now -- someone broke into lists.laptop.org, used it
to send spam, and got its IP address blacklisted by Yahoo and some other
internet routers.

We've moved lists.laptop.org to a different machine (swan.laptop.org)
now, and Adam reports that Yahoo is accepting mail from us again.
The problems of the last ten days or so should be all gone now;
let us know if not.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: *.laptop.org issues

2011-07-06 Thread Chris Ball
Hi,

On Wed, Jul 06 2011, Mikus Grinbergs wrote:
 Can't reach lists.laptop.org.  Taken at 17:30 Jul 6, U.S. Central time:

 daina:/home/mikus/fetch # traceroute lists.laptop.org
 traceroute to lists.laptop.org (18.85.2.148), 30 hops max, 40 byte

Thanks.  That's the old IP; looks like DNS is being slow to update.
Eventually it should resolve to 18.85.2.166 for you, and start working.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F13-arm build os15

2011-06-24 Thread Chris Ball
Hi,

On Fri, Jun 24 2011, Martin Langhoff wrote:
 The olpc-utils and usable build.

 http://build.laptop.org/F13-arm/os15/

Looks like the upload of this build didn't complete; there's no .zd.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] Narrative Interfaces at OLPC

2011-06-17 Thread Chris Ball
Hi,

On Wed, Jun 15 2011, C. Scott Ananian wrote:
 I just posted an announcement for some invited talks we're having at
 OLPC's new offices this Friday:
   http://cananian.livejournal.com/64747.html
 It will all be live-streamed at:
   http://www.ustream.tv/channel/cscottnet

We're all done with Narrative Interfaces day now, and I've uploaded
video from all of the talks.  There's a blog post at:

   http://blog.printf.net/articles/2011/06/18/narrative-interfaces

or if you're super-impatient, you can jump straight to the videos at:

   http://www.dailymotion.com/user/sugarlabs/

Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Booting on xo-1.75 - load and go?

2011-06-15 Thread Chris Ball
Hi,

On Wed, Jun 15 2011, Martin Langhoff wrote:
 We currently boot on the 1.75 boards with an olpc.fth that dixit

   load last:\vmlinuz
   go

 Attempting boot int:\linuz does not work -- and from
 http://wiki.laptop.org/go/Forth_Lesson_12#Manual_Booting I gather that
 something in the decompression or preparing for execution stages
 something goes amiss.

 Have we got any notes on what's broken here?

 Finally, what are the semantics of 'last'? I'm not familiar with it,
 and google ain't help.

I've been using boot int:\vmlinuz for all of my 1.75 kernel work, and
it's been working fine.  What do you see on serial?

last:\ maps to whichever device the olpc.fth was loaded from, so that
you can write an olpc.fth that doesn't need to know ahead of time
whether it's going to be put on an SD card or a USB stick or whatever.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Booting on xo-1.75 - load and go?

2011-06-15 Thread Chris Ball
Hi,

On Wed, Jun 15 2011, Martin Langhoff wrote:
 d4282c08 l@ 80. invert and d4282c08 l!

It was necessary to avoid framebuffer tearing on A1, but I expect Mitch
now does that by default.  I had it in olpc.fth for machines that hadn't
got an OFW upgrade yet, is likely safe to remove.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Get serial number or XO name from command line or python

2011-05-27 Thread Chris Ball
Hi,

On Fri, May 27 2011, Henry Vélez Molina wrote:
 Also you could use this script:
 
 #!/usr/bin/python -tt
 import subprocess
 getserial = subprocess.Popen(['cat /ofw/serial-number'], shell=True,
 stdout=subprocess.PIPE)
 for line in getserial.stdout:
   print(line.decode().strip())

There's no need to spawn a shell, and then spawn cat inside a shell.
Python knows how to open files:

print open(/ofw/serial-number).readline().strip()

-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: rpm installation via customization stick

2011-05-10 Thread Chris Ball
Hi,

On Tue, May 10 2011, Sridhar Dhanapalan wrote:
 However, I was thinking along more simplistic lines. We could have
 have it so that one can only install RPMs signed with a signature[0]
 that is present in the RPM database. This would allow users to add
 their own RPMs, but prevent 'unofficial' ones from being installed.

I think it's still more complicated than that.

There could be a Fedora-signed RPM -- perhaps a sysadmin tool of some
kind -- that opens up root access to users in some way or another.
(And of course there are many Fedora-signed RPMs that develop known
security vulnerabilities at some point in their lives.)

I don't know if such a signed RPM exists, but my point is that we're
moving the semantics of a customization key from it's safe to secure-
boot a customization key on a locked machine to this greatly increases
the risk vector of secure-booting customization keys.

Anyway, I'm not saying that you shouldn't do it yourselves.  But OLPC
would have to be careful before signing a key with your patch included
if there are any locked deployments that use OLPC's keychain, which
means we should use the same care when deciding whether to merge the
patch.  Martin and dsd would be better at speaking to how big a worry
this is for deployments in real-world terms.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: rpm installation via customization stick

2011-05-04 Thread Chris Ball
Hi Jerry,

On Wed, May 04 2011, Jerry Vonau wrote:
 This there any interest in the ability to install rpms with a
 customization stick? I have a POC patch that does that with just a
 small patch to dracut's 30olpc-customization routine.

There's interest, but it's more complicated than you think.  As I
understand it, customization sticks can be signed and run in secure mode
because they perform no side-effects outside of /home.  However, an RPM
can have a %post section which lists commands to be run *as root* during
the installation.

So, offering the ability to install RPMs via signed customization stick
is equivalent to letting anyone run any series of commands as root.

There may be ways to mitigate this risk, such as refusing to run any
%post scripts (some of which are necessary for proper function of
packages).  Working out what the safe set of actions a hostile RPM
can perform on a system is a research project, as far as I know.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Power Mangement XO 1.0

2011-04-03 Thread Chris Ball
Hi Matías,

On Fri, Apr 01 2011, Matías Poloni wrote:
 I'm trying to reduce power consumption of the XO 1.0. I've notice in
 this power distribution scheme that it is possible to power off some
 devices when suspended or running (like the DCON with the command echo
 1  /sys/devices/platform/dcon/sleep). But I couldn't find more
 information related with this issue.

That's right.  Another is the WLAN, you can power it down with echo 0 
/sys/power/wlan_enabled.

 I would like to know weather is possible to reduce power
 significantly, turning off things I do not need like keyboard,
 touchpad, webcam, audio amp, etc.

The keyboard and touchpad use insignificant power; the webcam and audio
stay powered off until you are using them.  The webcam and audio are
only powered on if the LED lights on the left- and right-hand side of
the screen are turned on.  Otherwise, they don't use any power.

The program powerd on recent builds attempts to do what you are
describing, by powering down devices when they are idle.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: switching to GNOME

2011-03-24 Thread Chris Ball
Hi,

On Thu, Mar 24 2011, Sameer Verma wrote:
 What's the command line for switching to GNOME if the icon in the
 control panel has been removed?

http://dev.laptop.org/git/projects/olpc-switch-desktop/tree/sugar/model.py
suggests that it's:

echo gnome  /home/olpc/.olpc-active-desktop

and restart.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: zhashfs: write first block last

2011-03-20 Thread Chris Ball
Hi,

On Sun, Mar 20 2011, Daniel Drake wrote:
 1. Is this approach a good idea?

Sounds great to me.

 2. Are we bothered by a misleading WARNING message appearing at the
 end of the flashing process for those running on old/current firmware?
 (a firmware update would fix this in future)

I expect it'll cause people to report it to us or OLPCA as an error, yeah.
Am I right in thinking that a .zd is actually just a signed forth script?
Could we patch the misleading behavior inside the generated .zd, and would
that be a good idea?

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Determining developer lock status

2011-03-09 Thread Chris Ball
Hi,

On Wed, Mar 09 2011, Sridhar Dhanapalan wrote:
 What's the simplest way for a novice to tell if their XO is developer locked?

Push escape while the startup sound is playing.  If you get an ok prompt,
your XO is not developer locked.  If you don't, it is.

-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Memory replacement

2011-03-06 Thread Chris Ball
Hi,

On Sun, Mar 06 2011, Kevin Gordon wrote:
 Might someone be able to point me to the place where one can get
 instructions on how to upgrade the SD card from an old XO 1.5 currently
 with 2GiB, to a fresh new 8GiB micro-SD card?

Just:

wget http://build.laptop.org/10.1.3/xo-1.5/os860/os860-8g.zd
ok fs-update os860-8g.zd

(OFW does the formatting for you.)

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: cpia driver for microscope: any success?

2011-03-06 Thread Chris Ball
Hi,

On Sun, Mar 06 2011, Cherry Withers wrote:
 Hi Folks,

 I'm starting to figure out that because the Intel QX3 microscope has an
 CPiA chipset, it may not be supported by
 cheese (which takes V4L/V2L devices) but needs a special cpia driver that
 can be found in:
 http://webcam.sourceforge.net/

This is outdated information (site last updated in 2003!).  The drivers
have been merged into the main Linux kernel now; it looks like you just
need to turn on CONFIG_USB_GSPCA_CPIA1=m and build gspca_cpia1.ko from
drivers/media/video/gspca/cpia1.c.

Since our kernels already have CONFIG_USB_GSPCA=m, you can build this
module without having to recompile your current kernel.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: cpia driver for microscope: any success?

2011-03-06 Thread Chris Ball
Hi,

On Sun, Mar 06 2011, Kevin Gordon wrote:
 I was not able to get that particular Intel microscope to work with
 Cheese on my little Ubuntu 10.04 Lenovo either.  The Ubuntu folk told
 me that it was not UVC compliant.  That it was CPIA instead of V4L
 didnt seem to interest them.

Cheese definitely talks to V4L2 (via gstreamer), and not to UVC, so I
expect that you just need to build gspca_cpia1.ko too.

-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: about about my xo

2011-03-03 Thread Chris Ball
Hi,

On Thu, Mar 03 2011, Erik Blankinship wrote:
 Is there a way for a sugar activity (and gnome) to query the version and
 build information which is displayed in about my xo in the sugar control
 panel?

The way I'd answer this is by:

* finding out where the about my xo code lives
* seeing if it exports this data to activities
* if not, seeing if activities can get at it themselves

And:

* The code lives at sugar/extensions/cpsection/aboutcomputer/model.py
* It does not obviously export data to activities
* But it functions by reading files from the filesystem, and it looks
  like an activity could read the same ones.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Text-to-speech on the XO 1.5 with 10.1.3

2011-02-22 Thread Chris Ball
Hi,

Chat also has text to speech
it might be tapping into some common library?

There's a remarkable aversion to looking at source code in this
thread.  :)

Speak.activity/espeak_cmd.py:

import espeak
...
def speak(self, status, text):
subprocess.call([espeak, -w, wavpath, -p, str(status.pitch),
-s, str(rate), -v, status.voice.name, text],
stdout=subprocess.PIPE)

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: GNOME-only installs

2011-02-18 Thread Chris Ball
Hi,

The Sugar interface has provided distinctive user-control
facilities such as the Home View ring (to launch what the user
wants to do) and the Neighborhood View (to launch how the user
wants to communicate).

Is ticket 10704 an indication that One Laptop Per Child will in
the future be heading towards dispensing with such Sugar-only
interfaces ?

I'm not following the logic.  The Home View lets you launch programs
in Sugar, and the menu bar lets you launch programs in GNOME.  The
Neighborhood View lets you configure networking in Sugar, and the
NetworkManager applet lets you configure networking in GNOME.

The Control Panel lets you disable idle-suspend in Sugar, but
there's no functional analog in GNOME, so we're fixing that.
Nothing further is implied.

(To give a more straightforward answer:  No.)

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Developer locking an unlocked XO

2011-02-14 Thread Chris Ball
Hi,

Is it possible to lock an XO that came from the factory unlocked?
   
All of our XOs are currently unlocked and we are comfortable with
that for the moment. However, we may want to change this in the
future.

Yes, entirely possible; Martin can help.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Developer locking an unlocked XO

2011-02-14 Thread Chris Ball
Hi,

# You can reverse the disable-security command by entering
enable-security at the 'ok' prompt. Security will then be
permanently enabled until disabled again.

Yes, but that'll use OLPC's keys (if they were installed in
manufacturing).  You might want to use your own keys, which
would involve a different procedure.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Developer locking an unlocked XO

2011-02-14 Thread Chris Ball
Hi,

Is that the developer key mentioned at

http://wiki.laptop.org/go/Firmware_security#Deployment_Key_Manufacturing_Data_Tags
?

Yes, it's that set of keys.  I'd suggest discussing the rest off-list
with Martin/OLPCA.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: NANDblaster failing

2011-02-10 Thread Chris Ball
Hi,

I am seeing NANDblaster (nb-secure) fail after some time (from my
tests, anywhere between 30 minutes to an hour).

The text was scrolling very fast (screenshots attached), but I
think it was:

  SDHCI: Error: ISR = 8000 ESR = 3 Command CRC, Command Timeout,

Try using a different XO for the sender.  It looks like something's up
with the wifi module, or the SD pins, on that unit.

(It could also be a bug in OFW, but I expect that it's simply
reporting a CRC error being raised by the SD controller hardware.)

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Integrity checking of OS images

2011-02-07 Thread Chris Ball
Hi,

Are OS images checked for integrity by the XO before they are
written to the flash storage? I suspect not.

Yes.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: accessing Wikibrowse from GNOME

2011-01-28 Thread Chris Ball
Hi,

Is it possible to access Wikibrowse from the GNOME side?

Yeah, you can:

cd /home/olpc/Activities/Wikipedia.activity
python server.py es_PE/es_PE.xml.bz2 8000 
launch Firefox, browse to http://localhost:8000/

(That's from memory, might need tweaking.)

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC XO 1.75 GPU question

2011-01-10 Thread Chris Ball
Hi,

Or will the XO 1.75 not support 3D at all? (which would
presumably save power and make the battery last longer)

We're still trying out to work this out with the vendor, but I think
this is the most likely outcome -- that the binary blob for 3D will
be out there somewhere, but we won't distribute it.  This would be
the same situation as for XO-1.5.

I am curious because this is the first device with ARM and a 3D
GPU that I know of that is being made by an organization where
openness is a stated goal of the project and (on the surface)
that seems to conflict with the highly proprietary nature of most
vendors in the ARM SOC space.

Tell us about it.  :/

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Dextrose] Problems compiling bluetooth module

2011-01-05 Thread Chris Ball
Hi,

The version of gcc might take part in computing the magic number.

The idea is to prevent users from causing hard to diagnose bugs
by inadvertently loading modules that aren't 100% ABI compatible
with the running kernel.

It might, but it doesn't -- see include/linux/vermagic.h's VERMAGIC_STRING.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Create a new directory in /var/log/

2010-12-09 Thread Chris Ball
Hi,

Hi!  We want to register some events in /var/log/new_dir, if I
create the directory new_dir manually and then I restart the
machine the directory is deleted.  I imagine that I have to
define the structure of /var/log in a different place.  Do you
have any idea?

/var/log is defined in /etc/rwtab as a tmpfs.  On XO-1, having many
short writes to text files -- as happens with logs -- grows the JFFS2
node tree in a way that slows down boot and generally hurts I/O
responsiveness, so we don't do that.

I suggest putting your new logs somewhere else.  You can look at
/etc/rwtab to see where is available.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: SD card unpartitioned space -- used for swap?

2010-12-05 Thread Chris Ball
Hi,

That's strange, wherever I have used flash memory to serve as
boot drive, the kernel/userspace waits for the writes to be
complete before powering down. I have not experienced corruption
that looks anything similar to what's described. So the software
is thinking it has written it but it doesn't?

There are two separate transitions, and you're each talking about
a different one:

(1) From kernel to flash device:
  * This can be waited on as you describe, because the kernel knows
when its dirty page cache has been written to the device.  sync
and reboot/shutdown all wait on this completing before they return.

(2) From flash device to flash media:
  * The flash device has internal memory that it uses to stage blocks
to be written to the media.  The kernel can't know when this is
happening, because it happens internally to the flash device.

We've found instances of flash devices where you need to continue
providing power for two seconds after (1) has finished, such that
(2) can finish before power is lost, else corruption happens.
(Requiring this is in violation of the relevant specs, but that's
hardware for you.)

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO-1.5 ebook switch driver - upstream submission

2010-12-04 Thread Chris Ball
Hi Dan,

 - driver renamed to xo1p5-ebook

Not sure where the 'p' comes from -- how about xo1_5-ebook?
We could do the same on 1.75, e.g. olpc-ec-1_75.c.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Patches for a faster wikibrowse

2010-11-29 Thread Chris Ball
Hi Martin,

Hi Chris, in between things I've applied a few changes to
Wikibrowse that make it quite a bit faster.

So cool!  Thanks!

I'll probably prepare a releae of Wikipedia Spanish and English
at least with these and a few content edits -- perhaps with your
help?

Sounds great, let me know if there's anything I need to do.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Firmware update

2010-11-23 Thread Chris Ball
Hi,

And, I dont expect it to be there using the 35x fs-update method,
but I was just wondering whether this auto-firmware update
feature for 'game-key-release' installs of signed builds is now a
thing of the past, a figment of my iimagination, bad memory, or
whether the fw in the pack is maybe still q3a48.

You can check in a couple of ways:

* Run rpm -q bootfw while booted
* Look at http://build.laptop.org/10.1.2/xo-1.5/os852/os852.packages.txt,
  which says bootfw-q3a48-1.unsigned.i386

So, the update system works fine, but at the time of os852 release,
q3a48 was the latest OFW release.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


XO-1.75 progress

2010-11-10 Thread Chris Ball
Hi all,

OLPC Engineering had a trip to Taipei for the XO-1.75 motherboard
bringup last week.  The 1.75 machine lives in the same industrial
design (display, case, batteries) as the XO-1/XO-1.5, but uses an
ARM system-on-chip from Marvell -- the Armada 610/MMP2.

There's still a great deal of driver and basic bringup work ongoing,
but we're at a point where we can share details and photos:

http://wiki.laptop.org/go/XO_1.75_A1
http://wiki.laptop.org/go/XO1.75_Bringup
http://wiki.laptop.org/go/File:XO1.75_A1_bringup.jpg

http://dev.laptop.org/~lennert/20101109148.jpg
http://dev.laptop.org/~lennert/20101108144.jpg
http://dev.laptop.org/~lennert/20101108146.jpg
http://dev.laptop.org/~cjb/1.75/1.75-a1-dmesg
http://dev.laptop.org/~cjb/1.75/xo-1.75-broughtup.jpg

The grand plan is to first move to the new ARM motherboard in the
old industrial design (XO-1.75), then move to that same motherboard
in a new tablet industrial design (XO-3).  Of course, there tend to
be a lot of changes to OLPC's grand plans before devices ship!

Software-wise, we're running XO-EC and Open Firmware at the low level,
and Fedora 12 with Sugar and GNOME for the OS.  We plan on moving up
to Fedora 13 or 14 as they become available for ARM.  (An easy way
to help us out would be to help the Fedora ARM team with their mass
rebuilds for newer Fedora releases.)

As usual, we'll be running a Developers Program with these machines
once we've got past the necessary initial hardware fixes and made a
larger volume of boards.  That's going to take several months, but
we wanted you to know that it will be coming.

Thanks!

- Chris, on behalf of the OLPC Engineering team.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO-1.75 progress

2010-11-10 Thread Chris Ball
Hi,

I notice in the dmesg printout that the BogoMips for this initial
XO-1.75 version is less than for the G1G1 XO-1.

BogoMIPS, of course, being the ultimate measure of CPU performance..

The most obvious reason why this isn't a meaningful comparison, which
isn't to say that there aren't many more, is that we're now using a
dual-issue CPU.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wikiserver -- regenerating the index... without FreeBSD?

2010-11-05 Thread Chris Ball
Hi,

It all seems to work now.
http://wiki.laptop.org/go/WikiBrowse_Editing

Cool.  Could you (or anyone else reading) consider adding a mechanism
for uploading the changes people make?  It shouldn't go directly to
the Wikipedia article that's being edited, obviously, but could easily
go either to that article's talk page or to a webapp that someone
(us?) runs for reviewing and pushing changes.

In short, the current Wikibrowse is not at all constructionist, and
that's a shame -- reading what other people wrote is only part of
the point of Wikipedia.  :-)

(Thanks to Mako for a persuasive conversation about this.)

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wikiserver -- regenerating the index... without FreeBSD?

2010-11-04 Thread Chris Ball
Hi,

It seems to be present in modern FreeBSDs and OSX. Given its
origin as an iPhone-app, I can understand the FreeBSDish-ness.

That's right.

Have we been counting on OSX/FreeBSD to build/update these
bundles?

Yes, 'fraid so.  It would be good to fix that, since it's not a very
complicated step.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New 10.1.3 build os350 for XO-1 and XO-1.5

2010-10-25 Thread Chris Ball
Hi,

Is olpc-update of this build available?

That requires me to tell updates.laptop.org about the new build
stream, which I'll do when I have more free time/return from Taipei.

Thanks,

-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Power management

2010-09-22 Thread Chris Ball
Hi,

Is there a way to disable automatic power management from terminal?

 touch /etc/powerd/flags/inhibit-suspend # permanent, until rm
or
 touch /var/run/powerd-inhibit-suspend/1 # temporary, until next boot

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC XO-2 - Acer dual touchscreen

2010-09-13 Thread Chris Ball
Hi,

And here we go: http://www.techreviewsource.com/blog/?p=781

That's got two 15 displays -- the Libretto W100 is closer to the
XO-2 design:  http://laptops.toshiba.com/laptops/libretto/W100

Wonder what kind of support Win7 is using for this, as in how to
customize the keyboard  pop up interface widgets there.

In the Libretto's case, the Win7 software integration is (IMO) not
good.  There are some interesting UI ideas in there, though.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Announcing the OLPC OS 10.1.2 final release!

2010-08-30 Thread Chris Ball
Hi,

I'm very pleased to announce build os852 as the final 10.1.2 release
build for XO-1 and XO-1.5 laptops.  Here are its release notes:

   http://wiki.laptop.org/go/Release_notes/10.1.2

Instructions for installing the release on an XO can be found at:

   http://wiki.laptop.org/go/Release_notes/10.1.2#Installation

Many thanks to everyone -- testers, translators, documenters,
developers and others -- who contributed to this release!  As I
mentioned when announcing that this release would happen, being
able to release 10.1.2 for both XO-1 and XO-1.5 at the same time
was enabled by a group of volunteers who created XO-1 Fedora 11
builds: our particular thanks to Daniel Drake, Bernie Innocenti
and Steven M. Parrish for their work towards this release.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


OLPC 10.1.2 Release Candidate 3

2010-08-25 Thread Chris Ball
http://wiki.laptop.org/go/Release_notes/10.1.2

http://build.laptop.org/10.1.2/xo-1.5/os852
http://build.laptop.org/10.1.2/xo-1/os852

Compressed image size: 604.25mb (+1.50mb since build 851)

This build will become the 10.1.2 release after final testing, we hope.

Changelog:

* bootfw, #9100: New OFW version Q2E45 fixes crash during boot on xo-1
* Disable XO-1 idle-suspend for release due to blockers #10232 and #10233
* bitfrost, #10271: Fix home view update after Software Update
* kernel, #10233: Improve resuming from idle-suspend via touchpad on xo-1
* olpc-utils, #10299: new version of olpc-pwrlog tool
* Speak activity: upgrade to version 18

Package changes since build 851:

+bitfrost-1.0.10-1.fc11.i586
-bitfrost-1.0.9-1.fc11.i586
-bootfw-q2e44-1.olpc2.unsigned.i386
+bootfw-q2e45-1.olpc2.unsigned.i386
-kernel-2.6.31_xo1-20100804.1841.1.olpc.72481b500bcb92f.i586
+kernel-2.6.31_xo1-20100823.1641.1.olpc.12d64069981699a.i586
-kernel-firmware-2.6.31_xo1-20100804.1841.1.olpc.72481b500bcb92f.i586
+kernel-firmware-2.6.31_xo1-20100823.1641.1.olpc.12d64069981699a.i586
-olpc-utils-1.0.27-1.fc11.i586
+olpc-utils-1.0.28-1.fc11.i586
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC 10.1.2 Release Candidate 3

2010-08-25 Thread Chris Ball
Hi,

On my XO-1 after olpc-update --usb to os851 and then network
olpc-update to os852, I notice almost all my system files are
dated 2007-11-02 according to `ls -l`. 

This is intentional, to speed up future olpc-updates.  Don't worry
about it.

I suppose we could bump it¹ up to a newer date for major releases,
since apparently people start noticing that it's not moving after
around three years have passed.  :)

- Chris.

¹: OLPC_EPOCH defined in olpc-os-builder/modules/base/preimage.90.core.sh
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC 10.1.2 Release Candidate 3

2010-08-25 Thread Chris Ball
Hi,

In the deployments there are complaints about accidentally
deleting Activities in Gnome.  Can we use the .hidden file in
Nautilus too hide it?  Doing echo Activities  .hidden in
/home/olpc/ the directory is invisible in Nautilus.

Yes, you can do that.

I'm reluctant to do that for the build by default, because it has the
unintentional side effect of making it harder to view or edit activity
source code using nautilus and gedit.  So, I'd rather see work going
towards a solution that satisfies both requirements.  Some candidate
solutions are:

* We could implement a new file attribute, similar to the current
  immutable attr, that allows modification but not deletion.
  We could apply that attribute to the default activities.
  It would be possible to override it with chattr as root.

* We could have a single restore my default activities button,
  either in Sugar or GNOME or both, that restores copies of deleted
  activities using the /versions/pristine/ hierarchy.  This would
  also help to restore a laptop that has deleted some of its own
  activities in order to recover from being out of disk space.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


  1   2   3   4   5   6   7   >