Canon G12 won't boot with the lastest stable version of CHDK - page 3 - General Help and Assistance on using CHDK stable releases - CHDK Forum

Canon G12 won't boot with the lastest stable version of CHDK

  • 32 Replies
  • 8159 Views
*

Offline srsa_4c

  • ******
  • 4242
Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #20 on: 19 / July / 2012, 07:26:23 »
Advertisements
@tome.vardasca
If it still doesn't work, can you try the following?

I assume you're using a Mac (you used forward slashes, and you seem to mention zeno's applications).
With this: http://www.zenoshrdlu.com/macboot/macboot.html mark your card as "Canon scriptable"
After this, try to make a romlog, with the script you find on this page: http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Romlog
And you can also try to create a dump of your camera's firmware: http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Dumper
General info about Canon Basic: http://chdk.wikia.com/wiki/Canon_Basic
If you managed to run the scripts, you can upload the dump/romlog onto a file sharing website and link it here.

Note that
- Canon Basic works on any card size, but it only uses the active partition - use a card with one partition.
- The scripts have to be plain text.

Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #21 on: 19 / July / 2012, 07:31:22 »
I assume you're using a Mac (you used forward slashes, and you seem to mention zeno's applications) ...
If he's using a Mac,  then this warning might apply: http://chdk.wikia.com/wiki/FAQ/Mac#Still_Having_Trouble.3F ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4242
Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #22 on: 19 / July / 2012, 07:48:57 »
@waterwingz
The problem is, he reported different behaviour for right/wrong CHDK versions.

Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #23 on: 19 / July / 2012, 08:11:59 »
@waterwingz
The problem is, he reported different behaviour for right/wrong CHDK versions.
Reading through this thread again,  its not really clear to me exactly what has been tried.  I did post a link to some older versions if he is convinced his setup is correct and its a problem with the latest release.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #24 on: 22 / July / 2012, 11:23:59 »
@waterwingz
The problem is, he reported different behaviour for right/wrong CHDK versions.

I assume you're using a Mac (you used forward slashes, and you seem to mention zeno's applications) ...
If he's using a Mac,  then this warning might apply: http://chdk.wikia.com/wiki/FAQ/Mac#Still_Having_Trouble.3F ?

Today I tried with windows and didn't work also...

Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #25 on: 22 / July / 2012, 11:26:32 »
@waterwingz
The problem is, he reported different behaviour for right/wrong CHDK versions.
Reading through this thread again,  its not really clear to me exactly what has been tried.  I did post a link to some older versions if he is convinced his setup is correct and its a problem with the latest release.

I tried the archives that you sent me form the old builds, but nothing worked. I think there is a problem with the camera, because when I try to film a video it instantly shuts down, the same thing that happens when is booting chdk.

Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #26 on: 22 / July / 2012, 11:28:17 »
@tome.vardasca
If it still doesn't work, can you try the following?

I assume you're using a Mac (you used forward slashes, and you seem to mention zeno's applications).
With this: http://www.zenoshrdlu.com/macboot/macboot.html mark your card as "Canon scriptable"
After this, try to make a romlog, with the script you find on this page: http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Romlog
And you can also try to create a dump of your camera's firmware: http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Dumper
General info about Canon Basic: http://chdk.wikia.com/wiki/Canon_Basic
If you managed to run the scripts, you can upload the dump/romlog onto a file sharing website and link it here.

Note that
- Canon Basic works on any card size, but it only uses the active partition - use a card with one partition.
- The scripts have to be plain text.
@tome.vardasca
If it still doesn't work, can you try the following?

I assume you're using a Mac (you used forward slashes, and you seem to mention zeno's applications).
With this: http://www.zenoshrdlu.com/macboot/macboot.html mark your card as "Canon scriptable"
After this, try to make a romlog, with the script you find on this page: http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Romlog
And you can also try to create a dump of your camera's firmware: http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Dumper
General info about Canon Basic: http://chdk.wikia.com/wiki/Canon_Basic
If you managed to run the scripts, you can upload the dump/romlog onto a file sharing website and link it here.

Note that
- Canon Basic works on any card size, but it only uses the active partition - use a card with one partition.
- The scripts have to be plain text.

Thanks. I wasn't able to prepare the card with my Mac, but today I've used a Windows machine and it work like a charm.
The url from the ROM dump is:http://db.tt/Sgsp3XUL

Tomé

*

Offline srsa_4c

  • ******
  • 4242
Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #27 on: 22 / July / 2012, 11:38:14 »
@tome.vardasca
Thanks for creating and sharing the firmware dump!

The camera's firmware is corrupted.
The solution is probably a firmware "upgrade". If there is no official one, only a Canon service can help you.

Tech details:
There is a single bit difference in one instruction of the mkdir() firmware function at 0xff837584.

So, as long as the camera doesn't attempt to create a folder, it should work...
« Last Edit: 22 / July / 2012, 12:36:22 by srsa_4c »


Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #28 on: 22 / July / 2012, 14:43:33 »
@tome.vardasca
Thanks for creating and sharing the firmware dump!

The camera's firmware is corrupted.
The solution is probably a firmware "upgrade". If there is no official one, only a Canon service can help you.

Tech details:
There is a single bit difference in one instruction of the mkdir() firmware function at 0xff837584.

So, as long as the camera doesn't attempt to create a folder, it should work...


Thank you very very much! now I understand the problem. I will try to contact the Canon service on my contry, to see if I have any luck.

*

Offline reyalp

  • ******
  • 12650
Re: Canon G12 won't boot with the lastest stable version of CHDK
« Reply #29 on: 22 / July / 2012, 14:48:57 »
Tech details:
There is a single bit difference in one instruction of the mkdir() firmware function at 0xff837584.

So, as long as the camera doesn't attempt to create a folder, it should work...
Wow, nice work. The difference:
FF837584                 LDRB    R0, [R0]
FF837584                 LDRB    R0, [R0,#0x400]
matches the ROM log perfectly. This code is getting the drive letter (first letter of the path), and the corrupt one (second line) gets something gets filename+1024 instead, and this causes an assert in DriveLetterManager.c

With just the dump, I'd think about other places it could be corrupted (bad SD card, uploading, etc) but I think this is quite definitive.
Don't forget what the H stands for.

 

Related Topics