Bootanim

From OLPC
Revision as of 23:47, 30 April 2009 by Bobbyp (talk | contribs) (New page: This page is about the C rewrite of the OLPC boot animation, available [http://dev.laptop.org/git/users/bobbyp/bootanim here], discussed [http://lists.laptop.org/pipermail/devel/2009-Febru...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is about the C rewrite of the OLPC boot animation, available here, discussed here.

Remaining Issues

(as enumerated by Daniel)

1. The VT_SETMODE stuff which you omitted is needed for the feature where when you press ctrl+alt+mesh during boot, pretty boot is disabled and you see the console messages. This does not happen with your version, ctrl+alt+mesh is ignored and the animation continues.

2. You use TIOCCONS during startup to redirect console output, but you do not cancel this as the animation ends. You should do this by calling TIOCCONS on /dev/console.

3. boot-anim-stop should be able to be called before the animation has finished, and it should prevent any further boot-anim-clients from doing anything.

4. You can save a few kb by compiling the apps with the "-fwhole-program -combine" compiler flags.

5. I've spent too much time wrangling diskspacecheck and I can't make it play nice... we do indeed still require a "are we in a pretty boot" codepath.. so I guess we need a program for checking that. Then when the other items are done, it will be possible to make this work again, without requiring pyvt.

6. the initramfs includes its own copy of act-gui/bootanim. You removed gui_server and gui_client in your tree, so if someone were to build a new initramfs using your tree rather than scott's, then the activation stuff wouldn't work. This also requires pyvt. Not sure how you want to handle this...