[PATCH] qi: load specific kernel upon button press

Marc Andre Tanner openmoko at brain-dump.org
Wed Dec 2 17:11:14 CET 2009


On Wed, Dec 02, 2009 at 10:24:19AM +0300, Paul Fertser wrote:
> Hi,
> 
> Marc Andre Tanner <openmoko at brain-dump.org> writes:
> > 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.
> 
> I'm sorry but i can't quite understand the objective. The user has a
> full and easy control over uSD contents so if he wants to use the NAND
> kernel he can just make sure uSD doesn't have bootable (according to
> Qi's notion partitions) so the whole card will be skipped and the NAND
> kernel started anyway. What advantages does your patch have over
> simply skipping the card automatically?

Fair enough. Adding a noboot-* file to every SD partition except the
default one would accomplish the same thing. The only difference is
that it should be marginally faster because it won't look into every 
partition for the noboot-* file.

Marc

-- 
 Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0



More information about the openmoko-kernel mailing list