Hello,
How do I boot SDM from within CHDK, using a script?
I have read this thread and the WIki on the subject, but so far I can only do a reboot of CHDK.
What should the file name be and what arguments does the script need?
SDM doesn't appear to include PS.FI2 files, which makes this more difficult for dryos cameras.
If you build an FI2 file, you can just put it on your SD card, named something like SDM.FI2, and then call reboot("A/SDM.FI2")
Without an FI2 file, you must have an *unencoded* diskboot. This means you can't use the DISKBOOT.BIN from dryos cameras. Instead, you must build sdm, and save loader/<camera>/main.bin* onto your SD card. Then use
reboot("A/MAIN.BIN")
You can rename it to anything you like, as long as the extension doesn't start with .FI
For cameras that don't use an encoded diskboot (vxworks) you can just use diskboot.bin instead of main.bin.
* I'm assuming the SDM build process creates this like CHDK, haven't checked.
edit:
It occurs to me that the Canon "firm update" menu may get confused if there are multiple .FI2 files in the root directory. If this is a problem, you can probably avoid it by calling the file *.FIX or putting it in a sub directory.