quozl at laptop.org
Wed Oct 15 19:04:28 EDT 2014
Thanks for the questions.
1. Signing a boot script
To sign a Forth boot script, rename it to data.img, sign it with your
deployment o1 key, then wrap it in runos.zip, copy to actos.zip, and
place on boot media.
The laptop will open runos.zip (if it has a lease) or actos.zip (if
there is no lease), will verify the signature, and will then execute
In the bios-crypto build tree;
./sign-os.sh o1 olpc.fth runos.zip
cp runos.zip actos.zip
This is further documented on the Wiki , with a couple of usage
examples  , but is possibly best described by the bios-crypto
2. Forth menus
Yes, there is some nice simple menu code. It uses the same
infrastructure as the diagnostics test menu  . You can find it
in cpu/arm/olpc/bootmenu.fth from SVN 3722 .
The same code during development was in an olpc.fth file, before being
moved into the firmware .
The icon definitions can be read from USB drive, but since that path
is not signed it is best to use icons that already exist.
Other examples of the menu code can be found in the firmware source.
Let me know if you have problems with it.
More information about the Devel