In 100b stubs_entry_2.s,NSTUB(Unmount_FileSystem, 0xFFC00940)NSTUB(Mount_FileSystem, 0xFFC00940)NHSTUB(UnsetZoomForMovie, 0xFFC00940)NSTUB(rewinddir, 0xFFC00940)is obviously incorrect and NSTUB should be NHSTUB.I can only assume CHDK does not use those functions.You need to set to a NULLSUB address.
I feel like I've edited that last post enough. Now I am at a loss for what to do next. I finally got the 100a CHDK version to compile so I loaded it up on a card, stuck it in my 100a camera, and it won't turn on. Just out of curiosity, I then put it in my 100b camera and it does turn on.
100a:line 78 " LDR R0, =0xFFEEAFD0 \n" 100b:line 77 " LDR R0, =0xFFEEAE90 \n"
On a sidenote, am I not supposed to have that PRIMARY.BIN file in there? It looks like the trunk sub/100b folder just has an empty file called PRIMARY.BIN at 0KB.)
It looks like just using the tasks .C files from the 100b for the 100a is not going to work. ... The files really need to be translated - CHDK-PT can help with that but it still a couple of hours work for someone who knows what they are doing.
This is normal - the 0KB version of the file prevents the signature finder from running each time a compile is done. The output of that step - the stubs_entry.S file should never change for a given primary.bin file and doing this results in a considerable time savings when building the entire trunk of all cameras. It also cuts the size of the source download as the 4M & 8M promary.bin files are not distributed.
I feel like I've edited that last post enough. Now I am at a loss for what to do next.
...These specify different start addresses for the data space. It possible the 1.00b boot.c code will be alright for the 1.00a if you simply change the value on line 33 from 0xFFEEAE90 to 0xFFEEAFD0.I went through the rest of the boot.c file and flagged anything that was different than what's in the 1.00a primary.bin file (other than the CHDK required mods). File attached - there were 10 things different between the 1.00b and 1.00a - marked //** different than 1.00b in the attached file.See if that will compile and run ?
Out of curiousity, how hard is it to go from the German trunk to the English trunk? I would kinda like to see the a1000 become part of the English trunk (with bothTthe 100a and 100b sub folders.) I'm guessing this would require tweaking a few files (like kbd.c, which was recently cleaned up in the German version by the way.) If someone could get around to that I'd appreciate it
Takes a few tweaks. Also your source zip files is missing the loader files for the A1000.
I tried loading the r695 version of CHDK, I formatted the SD card and extracted the archive onto it, turn camera on in the playback mode but the Firm Update menu option is missing.