Re: Unannounced 12.1.0 devel build 4 does not boot on XO-1

2012-03-13 Thread Peter Robinson
On Tue, Mar 13, 2012 at 1:17 AM, Mikus Grinbergs mi...@bga.com wrote:
 Used 'update-nand' to write os4 onto XO-1.  With Q2F07 I get:

  |  Boot device: /nandflash:\boot\olpc.fth  Arguments:
  |  Boot device: /pci/nandflash@c\boot\vmlinuz  Arguments:
  |  buffer@ffb5d500:88:
  |  Can't open boot device

 With os3 (and Q2F07) the two Boot device lines are followed by

  !  Loading ramdisk image ...

There was a reason it was not announced, it has a number of issues but
was for core developers to verify the current state of F17 and fix a
number of issues before a widely announced release later in the week.

Peter
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


11.3.1 development build 30 for XO-1.75

2012-03-13 Thread Martin Langhoff
This build brings in OFW improvements, audio fixes, s/r hang fixes,
powerd, keybdshim and touchpad fixes.

Updatable via olpc-update -- try the cmdline below.

Notes:

 - Record Activity will sometimes hang - #11657

 - The getty on the serial port is _disabled_ by default now (that's
the workaround). It gets enabled when you hold the check game key
during boot (for verbose boot).

Upgrade online with:

  olpc-update 11.3.1_xo1.75-30

Download from:

  http://build.laptop.org/11.3.1/os30/

Fixes (please help us confirm):

#11658 OS28: Crashes in S/R on a busy network - related to WOL
#11545 Scratch activity cannot record audio reliably
#11685 Scratch can not record audio normal
#11656 Cannot use text-to-speech feature in Read 92.1 on XO-1.75
#11663 Read: menu next/previous page does not work in PDF
#11687 Add Q4D05 to 11.3.1 XO-1.75 builds
#11688 XO-1.75 Q4D04 Q4D05 autorun-mfg-tests graphical regression
#11659 Sentelic touchpad behaving unpredictable

Changes:

-kernel-3.0.19_xo1.75-20120223.0009.olpc.f11c4ee.armv7l
+kernel-3.0.19_xo1.75-20120313.0039.olpc.7f116f1.armv7l
-olpc-firmware-q4d04-1.unsigned.noarch
-olpc-kbdshim-24-2.fc14.armv5tel
+olpc-firmware-q4d05-1.unsigned.noarch
+olpc-kbdshim-25-1.fc14.armv5tel
-olpc-powerd-45-1.fc14.armv5tel
-olpc-powerd-dbus-45-1.fc14.armv5tel
+olpc-powerd-46-1.fc14.armv5tel
+olpc-powerd-dbus-46-1.fc14.armv5tel
-olpc-utils-1.3.13-1.fc14.armv5tel
+olpc-utils-1.3.14-1.fc14.armv5tel

-Read-92.1
+Read-92.2


cheers,



m
--
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 11.3.1 development build 30 for XO-1.75

2012-03-13 Thread Martin Langhoff
On Tue, Mar 13, 2012 at 2:53 PM, Martin Langhoff mar...@laptop.org wrote:
 This build brings in OFW improvements, audio fixes, s/r hang fixes,
 powerd, keybdshim and touchpad fixes.

One nice thing about os30 is that the combined kernel and olpc-powerd
fixes and tunings mean you can actually use aggressive suspend resume
in the sun to amazing power-saving results.

Bonus kernel changelog:

Andres Salomon (2):
  libertas: make sure to clear dnld_sent when a command has timed out
  libertas: drop commands if the libertas host is asleep

Jonathan Corbet (1):
  marvell-cam: ensure that the camera stops when requested

Saadia Baloch (3):
  alc5631.c: Change location of mic bias bit setting and uncomment
some code.
  alc5631.c: Fix mistake in stream name in previous commit 252c25c
  Set up audio registers for continuing open playback stream after capture.

cheers,



m
-- 
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Short paper on Nell (XO-3)

2012-03-13 Thread C. Scott Ananian
Chris Ball, Michael Stone, and I submitted a short paper about Nell's
design for the 2012 Interaction Design and Children conference.  It
contains a much more coherent description of our ideas and goals than
the random fragments at http://wiki.laptop.org/go/Nell.

The paper is posted at http://cscott.net/Publications/OLPC/idc2012.pdf

Comments and feedback welcome!  Assuming the paper is accepted, we
will still have to revise for publication, so also let us know if you
found any of our arguments confusing, wrong, or simply disagree, so we
can do a better job for the final paper.
  --scott

-- 
      ( http://cscott.net )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[PATCH] olpc.fth - grow the root filesystem partition on boot

2012-03-13 Thread James Cameron
Grows the second partition so that it takes up all remaining space on
the eMMC or microSD card.  Fix for #11690.  Part of #10040.

Costs 120ms.  (Use of a flag file costs 130ms).

Does not proceed if extra partitions are found.
---
Note: applies to XO-1.5, XO-1.75, and XO-3.

Note: resize2fs must be run by the operating system for the space to be
available to the user.
 olpc/olpc.fth |   43 +++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/olpc/olpc.fth b/olpc/olpc.fth
index 368e3c5..cd3b723 100644
--- a/olpc/olpc.fth
+++ b/olpc/olpc.fth
@@ -72,6 +72,48 @@ false value enable-serial
 ;
 [then]
 
+warning @ warning off
+0 value mbr-ih
+warning !
+
+: get-size  ( -- size )   size mbr-ih $call-method d# 512 um/mod swap drop  ;
+
+h# 1be. 2value pt  \ device byte offset to start of partition table
+h# 10 value /pe\ size of a partition entry
+/pe buffer: pe \ partition entry buffer
+
+: pe-seek  ( d.pos -- )   seek mbr-ih $call-method drop  ;
+: pe-read  ( d.pos -- )  pe-seek  pe /pe  read mbr-ih $call-method drop  ;
+: pe-write  ( d.pos -- )  pe-seek  pe /pe  write mbr-ih $call-method drop  ;
+
+: pe-start@  ( pe -- start )  pe h# 08 + le-l@  ;
+: pe-length@  ( pe -- length )  pe h# 0c + le-l@  ;
+: pe-length!  ( length pe -- )  pe h# 0c + le-l!  ;
+
+: pe#offset  ( n -- d.pos )  1- /pe * 0 pt d+  ;
+: pe-is-set?  ( pe# -- flag )  pe#offset pe-read  pe-start@ pe-length@ or  ;
+
+\ expands the partition of the root filesystem to cover the remaining
+\ free space on the device.  costs 120ms on XO-1.75.
+: maximise  ( -- )
+last:0 open-dev  dup 0= abort did not open device
+   to mbr-ih  ( )
+   4 pe-is-set?  abort partition 4 is non-zero
+   3 pe-is-set?  abort partition 3 is non-zero
+   get-size   ( d-end )
+   2 pe#offset pe-read   ( d-end )
+   pe-start@  dup r  ( d-end p-start )  ( r: p-start )
+   pe-length@ + swap  ( p-end d-end )( r: p-start )
+   2dup  abort partition ends beyond device size
+   2dup  if  ( p-end d-end )( r: p-start )
+  nip r - pe-length! ( )( r: )
+  2 pe#offset pe-write   ( )( r: )
+   else   ( p-end d-end )( r: p-start )
+  r 3drop( )( r: )
+   then   ( )( r: )
+   mbr-ih close-dev
+;
+
 : set-command-line  ( -- )
button-check game-key?  enable-serial or  if
ttyS2   SP $set-macro
@@ -107,4 +149,5 @@ false value enable-serial
boot
 ;
 
+maximise
 olpc-fth-boot-me
-- 
1.7.5.4


-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel