Regarding the define name, CAM_DRYOS_2_3 would be better I think, assuming Canon won't change that structure at every revision I can use that to also #ifdef the LUA stuff.
#ifndef CAM_DRYOS_2_3_R39struct stat { unsigned long st_dev; //? unsigned long st_ino; //? unsigned short st_mode; //? short st_nlink; //? short st_uid; //? short st_gid; //? unsigned long st_atime; //? unsigned long st_mtime; //? unsigned long st_ctime; //? unsigned long st_size; long st_blksize; //? long st_blocks; //? unsigned char st_attrib; int reserved1; // int reserved2; // int reserved3; // int reserved4; // int reserved5; // int reserved6; //};#elsestruct stat { unsigned long st_unknown_1; unsigned long st_attrib; unsigned long st_size; unsigned long st_ctime; unsigned long st_mtime; unsigned long st_unknown_2;};#endif//CAM_DRYOS_2_3_R39
I was trying to get the bootdisk method to work (solve the infinite boot loop problem), so I looked for the SD power address. It turns out the address I had was right, same address as the SX10..Maybe now Canon turns on the SD power earlier, preventing the boot?
// "BL sub_FF829A08\n" // start diskboot.bin
Started by RaduP « 1 2 3 » Firmware Dumping
Started by RaduP General Discussion and Assistance
Started by RaduP « 1 2 ... 37 38 » CHDK Releases
Started by mmcon General Help and Assistance on using CHDK stable releases