The following series adds support for UI keys and "indicators", the mapping of which is decided by the board file. Holding AUX down causes the current kernel to be abandoned and the next one tried, but right now it's hard to figure out what's going on during boot without a debug board.
GTA02 also checks the battery level and disables the indicators and holds CPU at 200MHz if the battery is low. This is enough to get a boot with no battery on GTA02 A6, up to the point the kernel wants to raise the backlight when it dies due to the hard 100mA limit still in force by then. Also the default commandlines are changed to always have LCM as a console, but with loglevel 4 so only important messages should be seen. The kernel is changed in other patches to quench various debugging patches at KERN_ERR. --- Andy Green (13): qi-gta02-no-inidcators-if-battery-low.patch qi-gta01-02-03-always-tty0-console.patch qi-fix-only-init-same-block-device-once.patch qi-clean-fail-partition-on-mount-fail.patch qi-introduce-ui-indicators.patch qi-gta02-remap-steppingstone.patch qi-s3c2442-enable-d-cache.patch qi-commandline-debug-added-if-ui-key-down.patch qi-kernel-source-skip-if-ui-key-down.patch qi-gta01-add-ui-debounce.patch qi-gta03-add-ui-debounce.patch qi-gta02-add-ui-debounce.patch qi-add-ui-api.patch include/qi.h | 31 ++++++- src/cpu/s3c2410/gta01.c | 42 ++++++++-- src/cpu/s3c2442/gta02.c | 140 +++++++++++++++++++++++++-------- src/cpu/s3c2442/nand_read.c | 6 + src/cpu/s3c2442/qi.lds | 15 ++-- src/cpu/s3c2442/start.S | 2 src/cpu/s3c6410/gta03-steppingstone.c | 32 +++++++- src/fs/dev.c | 6 + src/phase2.c | 104 +++++++++++++++++++------ 9 files changed, 300 insertions(+), 78 deletions(-) -- Signature