OS Builder output img ?

James Cameron quozl at laptop.org
Mon Mar 25 18:40:59 EDT 2013

On Mon, Mar 25, 2013 at 11:23:39PM +0100, lionel at olpc-france.org wrote:
> Hmmm. Change-tag without reboot ? Is there any way to do that ?

Yes, it is possible.  For XO-4 it is easy.  For XO-1 it disables
keyboard during the actions.  If you have a bug in the code at this
time, you have to remove main battery to recover.  Requires Q2F16
firmware.  tags( starts the changes, )tags ends them and does reboot.

But maybe you don't need to do that, if you are only changing one tag?
How many tags are you changing?  If one, then finish the script with
the tag change.

> And that's only one part of the problem, the other one is that my
> "installer" script run for ever:
> copy-nand/change-tag/reboot/copy-nand/change-tag/reboot/...

Put in a prompt to remove USB drive after copy-nand:

\ example

: wait-for-enter
  begin key h# d = until

: ask-remove
  ." Please remove the USB drive and press enter ? "

: installer
  " copy-nand ...
  " change-tag ...

James Cameron

More information about the Devel mailing list