User:AlbertCahalan: Difference between revisions

From OLPC
Jump to navigation Jump to search
(damn protected wiki pages... so put the info here instead)
(Sugar demo app)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Image:Zone_plate_boys.png|thumb|the Zone Plate Boys image]]
[[Image:Zone_plate_boys.png|thumb|the Zone Plate Boys image]]


==how to flash an update==
[http://mailman.laptop.org/pipermail/devel/2007-March/004143.html According to Jim Gettys,] the procedure is as follows:
[http://mailman.laptop.org/pipermail/devel/2007-March/004143.html According to Jim Gettys,] the procedure is as follows:
#Put the [[OLPC_Firmware_Q2B76|Olpc-Q2B76.rom]] image on a USB device as '''Q2B76.rom'''
#Put the [[OLPC_Firmware_Q2B76|Olpc-Q2B76.rom]] image on a USB device as '''Q2B76.rom'''
#Put the [http://olpc.download.redhat.com/olpc/streams/development/build299/devel_jffs2/olpc-redhat-stream-development-devel_jffs2.img jffs2 devel "build 299"] OS image on a USB device as '''Build299.img'''
#Put the [http://olpc.download.redhat.com/olpc/streams/development/build299/devel_jffs2/olpc-redhat-stream-development-devel_jffs2.img jffs2 devel "build 299"] OS image on a USB device as '''Build299.img''' (see [http://learn.laptop.org/tinderbox/builds/build299/ tinderbox report])
#Boot, stopping at the OpenFirmware '''ok''' prompt by hitting the spacebar
#Boot, stopping at the OpenFirmware '''ok''' prompt by hitting the spacebar
#Run '''copy-nand disk:\Build299.img'''
#Run '''copy-nand disk:\Build299.img'''
#Run '''flash disk:\Q2B76.rom'''
#Run '''flash disk:\Q2B76.rom'''

==example app==
The [[Media:Hello-1.0.0.tar.gz|Hello-1.0.0.tar.gz]] file contains a somewhat normal "Hello, world!" app for Sugar. (normal: Makefile and *.c files without exotic non-standard libraries)

Hopefully I can get some help turning this into a demo of the Sugar API stuff, two different ways:

#the minimum (which should be '''nothing''')
#everything (sharing over the mesh, etc.)

Latest revision as of 02:47, 13 August 2007

the Zone Plate Boys image

how to flash an update

According to Jim Gettys, the procedure is as follows:

  1. Put the Olpc-Q2B76.rom image on a USB device as Q2B76.rom
  2. Put the jffs2 devel "build 299" OS image on a USB device as Build299.img (see tinderbox report)
  3. Boot, stopping at the OpenFirmware ok prompt by hitting the spacebar
  4. Run copy-nand disk:\Build299.img
  5. Run flash disk:\Q2B76.rom

example app

The Hello-1.0.0.tar.gz file contains a somewhat normal "Hello, world!" app for Sugar. (normal: Makefile and *.c files without exotic non-standard libraries)

Hopefully I can get some help turning this into a demo of the Sugar API stuff, two different ways:

  1. the minimum (which should be nothing)
  2. everything (sharing over the mesh, etc.)