I didn't know older card readers aren't compatible with SDHC So, will probably wait 'til after the weekend before I test so I can do it for real. Frustrating though, I had planned it all so well
Anywho, I've tested multipart booting and that seems to work fine. When I enabled CAM_MULTIPART the new options didnt work. To try it you'll need to define WriteSDCard (I have this as 0xFFCF9440 for the 102c, if its wrong that'd explain a few things). Swap partitions tells me I only have one partition, and make two partitions crashes the cam. That's as far as I've looked into it for now, so I left CAM_MULTIPART disabled.
I did some analysis on the 101b fw and assuming you are right about the address for 102c, the corresponding function in 101b should be at 0xFFCF8A00. I wouldn't bet my life on it though so we could maybe do a test build before it gets into svn.
Hello,I have a 101b, and it fails to boot using the build in your last message.Edit: Should also mention, using an 8GB SDHC card. Boots if either the larger partition is removed (boots into CHDK), or boots if the write protect tab is turned off. (boots to normal OS.) If I use Firmware Update with the write protect tab off, the camera shuts down.
reyalp, would you feel like committing another patch? Both 101b and 102c has been verified working now.http://nostalgia.suroot.com/chdk-a470-unofficial/patch-a470-774-mpart.txt
Any comments? Have I got it all wrong?
No, that sounds about right to me.
I also had some other thoughts about "make card with 2 partitions" http://chdk.setepontos.com/index.php/topic,3490.0.html in which I didn't notice this problem
Is there anyone reading this thread using an a470 with fw 1.00e?
Yes.. I dumped the 1.00e firmware (with a lot of help from someone who shall remain nameless*), but I'm not much of a coder, so I wasn't able to do anything meaningful. I'd love to help with testing any ports though.
Hmm, I've loaded the 100e fw up in IDA, and all addresses I've checked so far match those for the 101b build.. Have you tried that build on your camera?
Yep. Cam wouldn't boot to anything once the locked card was in the cam (assuming I did it right...).