Hello, just a simple question. I have CHDK on my sx530hs, working fine but I cannot load any scripts or even see files on my SD card (Kingstone 64GB SDXC Class 10 uhs 1). Any suggestions? http://imgur.com/a/1WX5t
print(call_func_ptr(0xff030214,0))
After I did the 'Disable long filename support' step, I could open any file from my SD card, so thank you. When I tried creating the .lua file with code in it, the result number is 4.
0060e8e8 <_get_fstype>: 60e8e8: e3a00000 mov r0, #0 60e8ec: e12fff1e bx lr
Quote from: itsdzey on 24 / May / 2016, 14:34:41After I did the 'Disable long filename support' step, I could open any file from my SD card, so thank you. When I tried creating the .lua file with code in it, the result number is 4.Thanks. Keep that option ticked while using the test build.For developers:Weak functions strike again. This port (sx520/530) is cursed somehow.This is the CHDK function that should detect the filesystem type:Code: [Select]0060e8e8 <_get_fstype>: 60e8e8: e3a00000 mov r0, #0 60e8ec: e12fff1e bx lrNo wonder it doesn't work. No such problems on my ixus150 port.
Never end of surprises.Can I help you somehow?
So, try making a usable build.
QuoteSo, try making a usable build.I've checked all my machines with different OS,Windows XP 32-bit,Windows 7 32-bit,Windows 7 64-bit,but I always get incorrect build.I used arm-elf 4.5.1 and eabi 4.8.4 and 4.9.3 toolchains.
Turns out this one is a bug in the current CHDK code, affecting all ports.
I'm not sure what the simplest workaround is, maybe a camera.h define, or CAM_DRYOS_REL conditional.
//#define CAM_DRYOS_2_3_R39 1 // Don't define this - even though cam is R39 is still needs old CHDK code
On the broader issue:IMO, sigfinder matches should be hard, and overrides should be handled in some other way. The sigfinder already parses stubs_entry_2.s and doesn't generate entries that appear there,
get_fstype is missing on DryOS r31 and older cams. The only (supported) exception is the sx120, which also doesn't have it. The sx120 platform_camera.h already has this:...So, I guess we could just use #ifdef CAM_DRYOS_2_3_R39 in platform/generic/wrappers.c
If parsing of manual stubs files is working reliably, then I guess that would work. But, developers should then remember to re-generate stubs when overriding some of them manually.
Started by gvandyk CHDK Releases
Started by Jez General Help and Assistance on using CHDK stable releases
Started by ProfHankD « 1 2 » Feature Requests
Started by eaglesong General Chat
Started by duenyas General Discussion and Assistance