Working on merging this. Some questions/issues
in platform/sub/makefile.inc
PLATFORMID=12686
but
http://chdk.wikia.com/wiki/A2000 says
P-ID:3191 (=12689)
makefile.inc mentions USB id, but this isn't relevant AFAIK.
also the FI2 encoding method isn't specified (see KEYSYS=... in other dryos cams) Looking at the dump, it appears to use the digic 4 values
also, platform/kbd.c
//There used to be a note here about order being important
//and to look at kbd_get_pressed_key for more info, there wasn't any
//so to mess with my karma I removed note and changed order.
//Sofar the universe is ok with it.
Order does matter, otherwise you can confuse SHOOT_HALF and SHOOT_FULL (or any other buttons that shared bits). You happen to have got it in the order that's OK.
Another question, does the A2000 have an ND filter ? I'm guessing it doesn't have an adjustable iris since there's no Av mode ?
in platform/main.c, using SX10 fl_tbl must be wrong.
the vbatt settings I assume should be the same as other 2xAA cams.
edit:
very nice work overall btw
edit:
in camera.h, CAM_UNCACHED_BIT should be the default 0x10000000, you can see this in the early boot code where the CP15 regs are set up:
LDR R0, =0x10000033
MCR p15, 0, R0,c6,c3
sets up region 3 as 64mb at 0x10000000
This is described in
ARM946E-S Technical Reference Manual