Quick and dirty next step. Turned on the capt_seq.c tasks and the touch task. Adjusted the screen colors a bit to compensate for the custom palette still not working. If it all works you should have a functional CHDK (minus the video function and FWT stuff).
Thank you very much. I booted it and it worked. Setting CHDK up didn't work well as the camera touch still isn't disabled and kept getting in the way with the arrow buttons so I simply took an already set up CHDK from another camera and copied the N FB one over it. I then had the options I wanted.
Shooting DNG I found two problems.
1) The DNG files are broken. dng_validate reports:
*** Error: Invalid DefaultCropOrigin ***
2) When quickly pressing the shutter (without waiting for auto focus) no DNG gets written.