Hi again!
I am trying to reactivate RAW stuff. First things first, so I've tried LV:
RAW_LV_EDMAC is 0xC0F26208
CAM_COLORMATRIX1 is
6444, 10000, -904, 10000, -893, 10000, \
-4563, 10000, 12308, 10000, 2535, 10000, \
-903, 10000, 2016, 10000, 6728, 10000
dynamic_ranges is {1099, 1098, 1082, 1025, 965, 877, 784}
I have defined CONFIG_RAW_LIVEVIEW and a RAW histogram appears when I switch to LV. But LV freezes, the camera seems to take a picture and crashes with a nice Err 70 (assert 0 in evf). I am not quite sure to understand what is going on. Any ideas?
EDIT: And about Photo mode, I think we need a SSS_STATE (which should be easy to guess considering addresses of other cameras). How can I generate a state diagram from the firmware? And how do I use the interception code to find RAW_PHOTO_EDMAC?