Hello,
I would like to port my IXUS 172 on CHDK and would like to know to which place I should start ?
Is it only a copy of the IXUS 170 rebranded ?
It seems it's a Switzerland specific model but I would like to test more my assumption before doing development effort.
It's not listed in Canon's camera museum, which does suggest it might be a simple rebadge (but why?)
https://global.canon/en/c-museum/camera.html?s=dcc* HEX P-ID is identical between IXUS 170 and IXUS 172, entry point is the same in the CDUMPER.LOG
Started
FF810000 dry
done
Will try to build the lastest IXUS170 CHDK build on IXUS172 and will see what is going on.
Note the firmware version could be different even if it's actually same model (e.g. 100b instead of 100a) . You can check the dump for a string like GM1...
Where can I upload the firmware dump of the IXUS172 ?
Any file hosting site like google drive, dropbox, box.com etc
If you are able to build CHDK, you can do the following:
put your ixus172 dump in the platform/sub/100a directory as PRIMARY.BIN
run make PLATFORM=ixus170_elph170 PLATFORMSUB=100a rebuild-stubs
Compare the resulting stubs_entry.S and funcs_by_address.csv with the original from SVN. If you did and svn checkout, you can just do svn diff.
If any function or variable addresses in stubs are different, a new port is needed.
If there are no differences in function and variable addresses, the build should be compatible. Since the PID is also the same, a CHDK build for the same firmware version should also work. If the firmware version is different (not 100a) then you need to make a new copied sub (like ixus140_elph130 100b) or disable the compatibility check.