The modification for the jogdial task is to support disabling it. For example, so the jogdial isn't active in alt mode.
As far as creating ports from a base, my personal preference is starting from scratch, rather than copying a tree and then "fixing" it. The reason is that you know each part is done, rather than having to sort out what's fixed and what's not. It also makes you think about the things you don't understand. My approach was basically to work through the files in the reference tree one at a time, and for each one create a corresponding file in the new port tree. In some cases you can just copy a file or a large chunk without changes, but you still ensure you've looked at each part. This method also helps if there isn't a single good reference to start from, [...]
which leads to the next topic:What should your reference port be ? The ideal reference would be 1) a similar camera2) a stable, mature port.3) a recent port (because better ways of doing things, like dryos task hooking, have been discovered but not backported)4) a well documented portIn reality, you are unlikely to find all of these together so you will probably find yourself flipping between two or three different ports for different things.
There are no wrapper functions (such as taskSuspend() ) in \generic\wrappers.c.Nevertheless, similar code for cameras such as the ixus65 compiles without problem.When I compile my version, I first get 'implicit declarations' of those functions and then 'undefined reference'.
I have been put off from attempting a port (and from buying a camera that has not been ported) because I felt the porting process was impossibly complex. Your guide helps a lot in making it seem possible.
One question: do you have IDA or have you used the GPL tools?
One suggestion: try to minimize the number of links. One huge problem with CHDK documentation is that you have to follow link after link to get the whole picture. Sometimes the links get changed and no longer contain the relevant information or the information gets buried in a long article.
it appears that the ixus60 and ixus65 ports have a different stubs_asm.h
...porter (Is that a word?)...
I remember that someone commented (maybe on the SX10 porting thread?) that Canon seems to be swamping CHDK with new firmware versions.
This causes me to wonder if it might be easier to port a second firmware version if one has already been ported? Perhaps some simple searches and comparisons of the firmware dumps might be all that is needed?It would be great to get more people involved in the porting, i.e. people that can't do assembly work, but could do comparisons and searches on firmware dumps.
Not being a porter (Is that a word?) I have no clue if this is possible, but maybe someone can answer these questions:
Started by zfeet « 1 2 3 » General Discussion and Assistance
Started by justme « 1 2 » General Discussion and Assistance
Started by StevenD Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by It Is What It Is Feature Requests
Started by BlueChip General Discussion and Assistance