G11 porting - page 35 - DryOS Development - CHDK Forum

G11 porting

  • 530 Replies
  • 253837 Views
*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #340 on: 24 / January / 2010, 09:49:39 »
Advertisements
1.00k has some differences to 1.00J, but nothing CHDK code related. Looks like "only" some data has changed.
The main difference in the important upper 4MB region is only the build-date:
Sep 28 2009 08:45:15 vs. Oct 27 2009 15:33:17
So it looks like that there are no changes necessary for 1.00k, the 1.00J build should be ok.

For 1.00f, there is work to do. There are more changes, and after a first quick look i can say, at least boot.c needs to
be updated.

Re: G11 porting
« Reply #341 on: 24 / January / 2010, 14:04:31 »
« Last Edit: 24 / January / 2010, 14:07:00 by kingcang »

Re: G11 porting
« Reply #342 on: 24 / January / 2010, 15:09:53 »

*

Offline reyalp

  • ******
  • 14128
Re: G11 porting
« Reply #343 on: 24 / January / 2010, 16:49:15 »
Don't forget what the H stands for.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: G11 porting
« Reply #344 on: 24 / January / 2010, 17:50:10 »
Quote
Can you post your modified udumper source ? It would be great to come up with a modification that works generically on new cams

Funny, i've just been working on upgrading the CardTricks udumper section this afternoon - so i'm also interested

keep up the good work,

wim




*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #345 on: 25 / January / 2010, 04:01:01 »
I am not a home, so i dont have the source available. But i can tell you what i did.
1) The WriteSDCard functions seems to have now to additional function parameters. At least, i have to add two int/"0" parameter at the end of function call/prototpye to get it write something on the sd-card.

2) For finding the WriteSDCard funtion adresses, i use a very, very simple aproach, i dont think it will work on much other cameras, but it is at least good enough for g11. ;) After checking several firmware dumps of other ports, i see that the variables with the function pointers for Read/Write-SD Card are allways short behind the "DISKBOOT" string. So im simply search for that at take the next data that looks like a flash adress in the upper 4MB of the camera as WriteSDCard function address. What differs is, which of the both function adresses is for read and which is for write. For the G11, its seems it is allways the first one.

*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #346 on: 26 / January / 2010, 11:06:26 »
Lets try a modified udumper. I am not sure if it works with 1.00F, but we will see. ;)
Thank you for the detailed instructions. Please find below the link to the renamed "empty.dum".

g11_100f.7z - 1.92MB

Now a first bootable version of the 1.00f port is ready. I dont have a G11 with 1.00f Firmware to test it, i got some help in the german chdk forum to get this port running (thanks goes to genervi and kriki :) ). Hopefully here are also some 1.00f users who wants to test the current 1.00f beta version. So here it comes:

Re: G11 porting
« Reply #347 on: 26 / January / 2010, 12:14:44 »
You are working very hard   :)

When do you think the builds will be ready to add to the trunk ?


Re: G11 porting
« Reply #348 on: 26 / January / 2010, 15:39:40 »
Now a first bootable version of the 1.00f port is ready. I dont have a G11 with 1.00f Firmware to test it, i got some help in the german chdk forum to get this port running (thanks goes to genervi and kriki :) ). Hopefully here are also some 1.00f users who wants to test the current 1.00f beta version. So here it comes:
It seems to be working. The only bug i've encountered so far is that the button with the flash sign (right of func set) is not working when in playback mode. For example when zooming into a picture i've taken i can scroll up, down and left but not right.I'm new to chdk and i have not tried all of the new features yet. Overriding the shutter speed and zebra are working fine and i really like it. Thank you very much!

*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #349 on: 26 / January / 2010, 16:18:21 »
It seems to be working. The only bug i've encountered so far is that the button with the flash sign (right of func set) is not working when in playback mode.

Oh yes, you are right, a bug! I played arround with altmode keymasking and used a wrong keymask. ;)
So here comes 1.00f Beta V2, now also the right/flash key should work in playmode.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal