New Forth Lesson - Open Firmware System Initialization

2010-08-13 Thread Mitch Bradley
Submitted for your consideration and amusement:

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


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


Re: New Forth Lesson - Open Firmware System Initialization

2010-08-13 Thread Bert Freudenberg
On 13.08.2010, at 09:43, Mitch Bradley wrote:

 Submitted for your consideration and amusement:
 
 http://wiki.laptop.org/go/Forth_Lesson_20

Quite fascinating! Thanks for writing this up :)

- Bert -

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


Re: olpc-update and 10.1.2

2010-08-13 Thread S Page
On Wed, Aug 11, 2010 at 11:04 PM, James Cameron qu...@laptop.org wrote:
 [[`olpc-update --usb`]] Fixed for os851.

Excellent, and I can confirm it works for an upgrade from 8.2.1 (build 802).

 It sounds like olpc-update will take a lot of flash space.  Maybe the
 10.1.2 notes should say how much you'll need.  Will the program tell
 me there's not enough room?

 Takes about 350Mb, but it is not practical to explain exactly how much
 space is required, since it depends on too many factors (other previous
 olpc-updates in particular).

Understood.  I had 358MB free on my xo-1 and that wasn't enough.  My
first `sudo olpc-update --usb` failed with a string of errors, after
it exited I had only 16MB free.  BTW, Mb means Megabits, you mean
MB.

  Yes, if there's not enough room it stops,
 and after clearing some room
I removed the WikiBrowse activity and some large collections (maybe
the release notes should have pointers for how to do this) to free up
about 110 MB.

 it can be asked to continue from where it
 left off.
I'm not sure what you mean, but I simply repeated the command and
despite all its temp files and symlinks in /versions, it completed.
Now that's good softwarin' !

The next problem is Software update wanted to install 218.8 MB of
stuff and I had only 77MB free.  I unchecked Wikipedia and WikipediaEN
(WikiBrowse Spanish and WikiBrowse English) to save space and updated.

So I think the Release notes should say [upgrade] requires roughly
*450MB* of free space.  And change the second part to be and if you
install all the latest activities, Software update downloads about
350MB of material if that's what you are referring to.

I found a few minor glitches which I'll e-mail or file Trac tickets,
but the big problem I have is after Software update none of the new
activities showed up in the Home screen in the Favorites ring or List
view, and the List view shows the old versions for activities, e.g.
Browse 102 not 110.  Is this a known issue?  All the new versions are
sitting in ~/Activities, so I'm not sure why the Home screen has stale
info.

Cheers,
--
=S Page
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


strange behavior of 'rm'

2010-08-13 Thread Mikus Grinbergs
I experiment with manually adding/deleting Activities, then restarting
Sugar.  Sometimes I've seen obsolete activity-versions being listed in
some sort of snapshot recorded in shell.log.  I've empirically found
that I can lessen this by deleting ~/.sugar/default/favorite_activities
- and letting the Sugar restart rebuild that file.

A couple of times I've found that the 'rm' command I issue for this
purpose (e.g., from Terminal, while running as root) appears not to
work.  [The latest occurred on os353pyg - I don't remember which earlier
builds I saw it happen on.]  I'm mystified:

 0 [~]# rm .sugar/default/favorite_activities
 rm: remove regular file `.sugar/default/favorite_activities'? y
 0 [~]# rm .sugar/default/favorite_activities
 rm: remove regular file `.sugar/default/favorite_activities'? y
 0 [~]# rm .sugar/default/favorite_activities
 rm: remove regular file `.sugar/default/favorite_activities'? y
 0 [~]# ls -la .sugar/default/
 total 21
 drwxr-xr-x 8 olpc olpc0 2010-08-14 12:24 .
 drwx-- 3 olpc olpc0 2010-08-14 12:14 ..
 -rw-r--r-- 1 olpc olpc 9959 2010-08-14 05:41 buddy-icon.jpg
 drwxr-xr-x 3 olpc olpc0 2010-08-14 05:42 cache
 drwxr-xr-x 2 olpc olpc0 2010-08-14 05:39 data
 drwxr-xr-x 5 olpc olpc0 2010-08-14 05:42 datastore
 -rw-r--r-- 1 olpc olpc 7792 2010-08-14 12:24 favorite_activities
 drwxr-xr-x 2 olpc olpc0 2010-08-14 05:42 logs
 drwxr-xr-x 2 olpc olpc0 2010-08-14 05:42 nm
 drwxr-xr-x 5 olpc olpc0 2010-08-14 05:42 org.laptop.Terminal
 -rw--- 1 olpc olpc  668 2010-08-14 05:42 owner.key
 -rw-r--r-- 1 olpc olpc  590 2010-08-14 05:42 owner.key.pub
 -rw-r--r-- 1 olpc olpc  218 2010-08-14 05:42 terminalrc
 0 [~]#

mikus







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


NOW! Contributors Program Mtg (#olpc-meeting, 2:30PM Boston Time, Friday)

2010-08-13 Thread Holt
Please all join us right now reviewing the latest OLPC/Sugar community 
projects over IRC Live Chat:

http://forum.laptop.org/chat

Then type at bottom:
/join #olpc-meeting


AGENDA:

* Fast Review of the 4 latest (greatest!) HW/Project Proposals -- please
join us advocating for, and/or reviewing shortcomings of these proposals:

1. Squeakland/Etoys Testing - San Jose, CA; Hillsborough, NJ; Bigfork, 
MN; Champaign, IL

2. GSoC Squeakland Education - Buenos Aires, Argentina
3. Dominican College OLPC Chapter - Orangeburg/NYC, New York
4.

* Which projects might you enjoy Mentoring below?!
http://wiki.laptop.org/go/Projects
http://rt.laptop.org/Search/Results.html?Query=Queue=%27contributors%27

* New projects  libraries -- teaching them Community Outreach:
http://wiki.laptop.org/go/XO_Laptop_Lending_Libraries


1. Squeakland Etoys Testing - San Jose, CA; Hillsborough, NJ; Bigfork, 
MN; Champaign, IL

  http://tracker.squeakland.org
  http://rt.laptop.org/Ticket/Display.html?id=65375
  [SPECIFIC SITE NEEDS TO BE POSTED OFF 
http://wiki.laptop.org/go/Projects ] 


  Requests 4 XO-1.5s over 3 months

  Project Objectives:
  Currently, there is no dedicated user tester group for Squeakland. The
  education team, being the most active in the Squeakland community 
have been

  put to task to test the Etoys program prior to its release.

  The main objective of this project is to do a rigorous test of the beta
  version of Etoys against the planned release of Sugar and XO 1.5.


2. GSoC Squeakland Education - Buenos Aires, Argentina
  http://www.pcs.cnu.edu/~rcaton/ESUG/ESUG.html
  http://groups.google.com.ar/group/squeakland-education-gsoc-project
  http://rt.laptop.org/Ticket/Display.html?id=65377
  [SPECIFIC SITE NEEDS TO BE POSTED OFF 
http://wiki.laptop.org/go/Projects ]


  Requests 1 XOs over 4 months

  Project Objectives:
  This project involves developing tools in the Etoys/Squeak environment
  to aid learners, teachers and developers. I plan to use the XO to test
  these tools and assure they work properly in the platform.
  In outline, these tools will be:
  1) Etoys Paint Tool: The current implementation will be improved in
  order to support features like zoom, multiple undo, and a select tool,
  among others.
  2) Graphing of Data: Tiles for creating vertical and horizontal grid
  lines, major and minor tick marks, labels for axes, and a label for the
  graph will be created to allow students to graph data they acquire in
  science and mathematics projects.
  3) Input/Output of Data From/To Files: Tiles will be created to allow
  data from the Etoys environment to be output to a file and for
  information from an external file to be imported into the Etoys
  environment.
  4) Learner and Teacher Feedback: Tiles will be created to allow
  formative feedback to be provided to learners and teachers as a student
  progresses through a project.
  5) Better Translation Support: The translation framework would be
  improved in order to allow different =93.po=94 files instead of one big
  =93Etoys.po=94 file.
  6) Wider Font Support: Currently, Etoys has a set of cross-platform
  fonts to use. It would be desirable to enlarge this set in order to
  include nicer fonts. The problem is that loading lots of fonts would
  make the image too big. Code to address this problem already exists, but
  it needs to be tested and merged with current Etoys code.
  7) EtoyMaker: This tool would let developers select a class name and
  choose the slots and commands they want for their Etoy. It would then
  compile all the necessary classes and methods to generate the Etoys
  tiles, etc. Developers will only need to implement the methods of their
  class, everything else will be generated automatically.


3. Dominican College OLPC Chapter - Orangeburg/NYC, New York
  http://acrosstheseas-irie.blogspot.com
  http://rt.laptop.org/Ticket/Display.html?id=65417
  [SPECIFIC SITE NEEDS TO BE POSTED OFF 
http://wiki.laptop.org/go/Projects ] 


  Requests 10 XOs over 12 months

  Project Objectives:
  * Establish a University Chapter in which undergraduate US and Ugandan
computer science students collaborate with graduate education students
(via Blackboard, wikis, email, etc.)
  * Collaboration will be charged with creating/programming XO activities
in alignment with Ugandan National Curriculum for primary schools.


4. Roadshow In A Box Expansion - Pray, Montana; Los Angeles, California
  http://wiki.laptop.org/go/Roadshow_in_a_Box
  http://rt.laptop.org/Ticket/Display.html?id=65468
  [SPECIFIC SITE NEEDS TO BE POSTED OFF 
http://wiki.laptop.org/go/Projects ]


  Requests 3-6 XO-1.5s over 24+ months

  Project Objectives:

  The purpose of the Roadshow In A Box project is to bring awareness of
  the XO to as many educators, developers, and people interested in
  deployments as possible. The machines are used for demonstrations,
  presentations and workshops at conferences and schools, exhibit
  booths at expos, and 

Re: strange behavior of 'rm'

2010-08-13 Thread James Cameron
I'm mystified too.  But it doesn't happen when I try it on os851 on
XO-1.5 ...

1.  the file can be deleted by user olpc in Terminal and stays deleted
until Sugar restart, (an rm -f works, then an rm -f fails with No such
file or directory),

2.  the file can be deleted by user root in text console and stays
deleted until Sugar restart.

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


[Server-devel] Cloning

2010-08-13 Thread David Leeming
Are there any recommended ways of cloning an XS installation? We have tried
Ping and Reflect but with difficulty.

 

David Leeming

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Cloning

2010-08-13 Thread Martin Langhoff
Hi David,

super brief -

- get the machine in 'single user mode' (init 1 on the commandline will work)
- plug new disk in, setup the partition table, and the filesystems
- rsync / and /library to the temp mountpoints
- remove hardware-specific files: /etc/udev/rules.d/70-persisntent-net.rules
- fixup /etc/fstab to match the UID of the new filesystems
- run grub targetting the new disk
- move new disk to new machine

that will _clone_ the XS so it will keep a lot of identifiers (and all
the data) from the original XS.

Do NOT use this technique for cloning a base install. Use
kickstart/anaconda methods to automate many-machine rollouts.

cheers,


martin

On Fri, Aug 13, 2010 at 6:22 AM, David Leeming
da...@leeming-consulting.com wrote:
 Are there any recommended ways of cloning an XS installation? We have tried
 Ping and Reflect but with difficulty.



 David Leeming



 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel





-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel