To find out the rough location of a function use the DRYOS-IDA-function-list.txt file in my zip and look at the a720-firmware. I did the same using the stubs_entry.S from the a710 to find some of the functions in dryos.
Ah, clever. I started to do this, but got tired and went to bed
In general I find it a good idea to put the IDA-function-list into the archives we post. It helps the other developers to reproduce and/or check our success.
No problem, I would even offer my IDA files to someone if they wanted a head start with my firmware.. I hate to think how many hours I have spent walking that file to mark functions and data.
Actually such things can be found out by using text search. Have IDA search the disassembly of a known camera...
I began down this path last night. I grabbed your firmware and started to disassemble it as well in an attempt to match things up.
Basically, everything you put in "used during init"
Forget this! That was an idea I had when I started, but it turns out that it's nonsense. These are addresses used in uHwSetup. It is one of the duplicated functions in boot.c. These names are used only in boot.c and the code itself is just a duplicate from the original firmware. So just stick to sub_XXXXXXXX and write descriptive names in the comment.
Duly noted. Thanks for the heads-up on that.
I think "SetupTask_x" is misleading. The code you found are the tasks itself.
This is only half true. I located as many "task_x" procedures as I could (I think I named them the same way), but then I also tagged the call site which performed the CreateTask as "SetupTask_x" (who knows why I chose that..). In matching names, I think what I called "SetupTask_x", you called "CreateTaskx"; IOW, SetupTask_Startup is your CreateTaskStartup.. bleh naming! I'll move to your naming scheme since you have already published code and it makes more sense anyways.
For the keyboard you will only need one name: "PhySw".
I figured that out shortly after I posted that. However, your code block showing the naming scheme is priceless, thank you. I'll look into the differences with the keyboard.. I'll keep you posted.
So, I have been working against GrAnd's branch..
Hell! That causes some major headaches
No, actually it's useful if we get a branch that's current. You may just have to figure out some things on your own as you are the first one to do it.
I suspect there are some extra functions used and names changed.. but I'm not sure yet whether fixing the Makefile for the trunk is less work than working against GrAnd's branch
As always, thanks for the info.
-Scott