OLPC Firmware q3a65

From OLPC
Revision as of 00:09, 30 April 2011 by Quozl (talk | contribs)
Jump to navigation Jump to search


Pencil.png NOTE: The contents of this page are not set in stone, and are subject to change!

This page is a draft in active flux ...
Please leave suggestions on the talk page.

Pencil.png
  • add support for sparse .zd files, decreasing fs-update time,
  • disable fs-update erase step,
  • revised help display,

fs-update sparse .zd files

Sparse .zd files do not include unused filesystem blocks. As a result, installation time for 10.1.3 falls from 14 minutes to 7 minutes ... if the .zd file is processed. Patches to olpc-os-builder are available for future builds.

(There is now an installation time advantage to smaller operating system builds).

fs-update disable erase

In Q3A64 and earlier, fs-update used to erase one 256th of the microSD card before starting to write to the card. This was removed, because it was unnecessary, because some cards did not behave well, and if extended to the whole card it broke NANDblaster.

help

A revised help output:

UPDATES:
 fs-update u:\os1.zd4   Rewrite the OS on internal SD from USB drive
 flash u:\q3a64.rom     Rewrite the firmware from USB drive
 flash ext:\q3a64.rom   Rewrite the firmware from external SD file
DIRECTORY LISTING:
 dir u:\                List USB drive root directory
 dir u:\boot\           List USB drive /boot directory
 dir int:\boot\*.zip    List .zip files in internal SD /boot directory
BOOTING:
 boot                   Start the OS from list of default locations
 printenv boot-device   Show the list of default locations used by boot
 boot u:\test.fth       Start the OS from a specific location
CONFIGURATION VARIABLES FOR BOOTING:
 boot-device  Kernel or boot script paths.  Example: ext:\boot\olpc.fth
 boot-file    Default kernel command line.  Example: console=ttyS0,115200
 ramdisk      Initial RAMDISK path.         Example: int:\boot\initrd.img
MANAGING CONFIGURATION VARIABLES:
 printenv [ <name> ]    Show configuration variables
 setenv <name> <value>  Set configuration variable
 editenv <name>         Edit configuration variable
DIAGNOSTICS:
 test <device-name>     Test device.  Example: test mouse
 test-all               Test all devices that have test routines
 menu                   Graphical interface to selftests
More information: 
 http://wiki.laptop.org/go/OFW_FAQ