a couple of simple scripts

Signed-off-by: Christopher Hall <hsw@openmoko.com>