CHDK for SX120 - page 61 - CHDK Releases - CHDK Forum

CHDK for SX120

  • 602 Replies
  • 266980 Views
*

Offline rivlb

  • *
  • 11
    • Riva Lab
Re: CHDK for SX120
« Reply #600 on: 04 / September / 2024, 08:14:29 »
Advertisements
Thanks a lot. I tried to get key from address 0xFFFF1D0C (this is ROM offset, but file offset is 0x3F1D0C) and use IV from SX150IS got from address mentioned here in Powershot SX150 IS Porting Thread. Works great.

I also find IV address for SX120IS: 0xFFEFDF7C in ROM (0x2FDF7C in file).

P.S. I wanted to use correct key/IV because I need no-bootable mode. And it didn't want to work without right key/IV pair. More precisely, CHDK was loading but with errors in .flt files.

P.P.S. I don't see the keys for SX120IS and SX150IS on page https://chdk.fandom.com/wiki/For_Developers/fi2offsets . It might be worth adding them there.

*

Offline reyalp

  • ******
  • 14118
Re: CHDK for SX120
« Reply #601 on: 04 / September / 2024, 14:03:50 »
Thanks a lot. I tried to get key from address 0xFFFF1D0C (this is ROM offset, but file offset is 0x3F1D0C) and use IV from SX150IS got from address mentioned here in Powershot SX150 IS Porting Thread. Works great.
Great. Can you confirm whether you need to hold play while doing the firmware update on SX120? If so, it would be nice to fix for that cam, or at least correct the notes.

Quote
P.S. I wanted to use correct key/IV because I need no-bootable mode. And it didn't want to work without right key/IV pair. More precisely, CHDK was loading but with errors in .flt files.
FWIW, the module .flt files are not directly affected by the FI2 keys in any way. In autobuilds, the modules are only built once per CPU architecture. The keys are only used to encode the core CHDK binary into PS.FI2 format so it can be manually loaded with firm update.
However, the .flt files must be compatible with the core CHDK binary you use, as defined by various version numbers and exported symbols. If you build your own CHDK version without FI2 keys, you get the core in DISKBOOT.BIN (for autobooting) and the module .flt files but no PS.FI2. So if you copy that on to a card that had a different build installed, the PS.FI2 will be the core from the old build, which may not be compatible with your new modules.
Don't forget what the H stands for.

*

Offline rivlb

  • *
  • 11
    • Riva Lab
Re: CHDK for SX120
« Reply #602 on: 10 / September / 2024, 05:55:32 »
Can you confirm whether you need to hold play while doing the firmware update on SX120?
Yes, I can. I have to hold play button all the time until CHDK loads, when I want to load it manually with no card write lock. But autoboot with card write lock works correctly on 2GB card.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal