[PATCH 1/3] Add a dedicated function to query debug action to board_api

Werner Almesberger werner at openmoko.org
Sat Jan 17 23:58:39 CET 2009

Paul Fertser wrote:
> currently used to skip a boot possibility. To allow user to debug boot
> problems we can use the POWER button,

By the way, may I suggest that, in the long run, this kind of features
should be handled by the intermediate system that implements the boot
loader GUI and kexec's to the real system.

There are a number of reasons:
- the number of possible interactions (buttons) is very limited
- magic buttons tend to be confusing (see how complex things are with
  GTA02 under u-boot for boot menu and NOR)
- on GTA02, AUX is a dangerous button, so it's better if we don't use
  it for too much

Implementing this in the intermediate system doesn't conflict with what
you're doing, but I think it would be good to direct efforts more
towards a long-term solution than tweaking Qi. Of course, hacking boot
loaders is fun ;-)

- Werner

More information about the openmoko-kernel mailing list