[PATCH] qi: load specific kernel upon button press

Marc Andre Tanner openmoko at brain-dump.org
Wed Dec 2 01:52:51 CET 2009


Hi,

As part of my qi-bootmenu project[1] I needed a way to launch a specific
kernel upon AUX press which contains an initramfs that scans the available
partitions and presents a list of bootable systems. I therefore came up
with the following patches.

The first patch adds the basic functionality and could probably be applied
because it won't change the behaviour at all if not configured by the
board_api to do so.

The remaining 2 patches change the board_api for gta02 and gta01 respectively
to load the kernel from NAND upon AUX press. They are only useful if you
are using a kernel which provides a bootmenu and therefore porbably shouldn't 
be applied to mainline.

Anyway, let me know what you think.

Thanks,
Marc

[1] http://lists.openmoko.org/pipermail/devel/2009-October/006333.html




More information about the openmoko-kernel mailing list