G11 porting - page 31 - DryOS Development - CHDK Forum supplierdeeply

G11 porting

  • 530 Replies
  • 158349 Views
*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #300 on: 19 / January / 2010, 08:22:47 »
Advertisements
Thanks for the error reports so far, it looks like there is still work to do.  :D
I got also response in the german CHDK forum, and there are some issues regarding script loading:

- Some scripts can not be loaded. I find out that the fopen() function failes to open some files (e.g. "A\CHDK\SCRIPTS\examples\eggtimer.bas"). It looks like that the current DryOs cant open files with a path lenght >32 characters. So if you cant load a script, put it in a shorter path, e.g. direct in the SCRIPTS folder.

- At least one script (md_burst) makes trouble if you try to load it. CDHK does not respond anymore and the scriptload menu looks
strange. If find out the it has something to do with the name tag in the script. CHDK gets very busy during the try to draw the script title into the scriptmenu. Current workarround to get it run, is to change the title in the script:

Code: [Select]
@title Fast MD Burst/Review + Mask 080411
to
@title Fast MD Burst

*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #301 on: 19 / January / 2010, 08:31:43 »
I have GM 1.00K as well. Bought it on Jan 8. And most of it works...
Oh, a new firmware version, interesting. We better check if the are major differences to 1.00J.
I can try to build a  CHDK Version with integrated udumper, so you can dump your firmware onto sd-card
and post it here. So i can do a compare to the old version and see if there are adaptions needed.

Re: G11 porting
« Reply #302 on: 19 / January / 2010, 09:28:15 »
I can try to build a  CHDK Version with integrated udumper, so you can dump your firmware onto sd-card
and post it here. So i can do a compare to the old version and see if there are adaptions needed.
I think I could do it... but I have only Mac OS X, does udumper work here?

Ah just found out that I need only a bootable SD card... I have that :-). So if you upload the udumper image, I'll try it.
« Last Edit: 19 / January / 2010, 09:31:32 by bassist »

*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #303 on: 19 / January / 2010, 10:18:25 »
I can try to build a  CHDK Version with integrated udumper, so you can dump your firmware onto sd-card
and post it here. So i can do a compare to the old version and see if there are adaptions needed.
I think I could do it... but I have only Mac OS X, does udumper work here?

Ah just found out that I need only a bootable SD card... I have that :-). So if you upload the udumper image, I'll try it.

Lets try a very simple version of a udumper. I modified my current beta version quick&dirty to dump the ROM onto SD-Card. I was to lazy to add a seperate menu item for that, so i am using the "save romlog.txt" to call the romdump function.

So please put the attached diskboot.bin on your bootable sd-card and start your camera in PLAY mode. Then enter the CHDK Menu: "Miscellaneous stuff"->"Debug parameters" and select "save ROMLOG.txt" and hit "FUNC SET" button. Then the camera should "freeze" for 3-5 seconds and then you will (hopefully) see the text "ROMDUMP finished!" at the top of the screen. Then remove the battery and take a look on the sd-card. Hopefully you have then a file on the root of the sd-card, called "ROMDUMP.bin" with a size of ca. 8MB. Please zip this file and upload it on the web and post the link to the romfile here.
Then we will see what we got. ;)


*

Offline ERR99

  • ****
  • 339
Re: G11 porting
« Reply #304 on: 19 / January / 2010, 12:16:48 »
1) I set the camera to TV and select a shutter speed, for example 1/40.
Then I open the CHDK menu, and leave it again.
Now, the shutter speed is not 1/40 anymore, but 1/160.
Same happens with other shutter speeds, and happens also in M mode.
I cant reproduce this behaviour, is this happens all the time or is it a sporadic?. Please check if you have any overrides active. Is the "Value factor" for "Override shutter" in the "Extra Photo Operations" menu set to zero? Also check the setting for "Safety Shift" in the original canon camera menu. If this is set to "ON" it can lead to different shutterspeed then requested in TV-Mode.

2) The original histogram is enabled. I open the CHDK menu, and the histogram is now painted on top of the menu.
The original canon software is updating/drawing the histogramm all the time and CHDK does not know anything about it. So i think we cant do anything to prevent this.  :(

3) After leaving the CHDK menu, ALT is still enabled. Don't know if this is actually a bug, or if it is possible to disable that. I think it is a bit annoying.
If you close the CHDK main menu via "MENU" Button, it is standard CHDK behaviour that you are still in ALT mode.
At least my other camera here with CHDK do it that way, so i think it is "normal".  ;)

Re: G11 porting
« Reply #305 on: 19 / January / 2010, 19:21:37 »
Thank you for the time, energy and brains that are going into this.

Mine loaded fine and ran a photo interval script fine.  But I can only auto-boot it.  I can't manual boot by loading a new firmware.  (Which means, I think, I'm stuck with my 4gb card, and can't use my partitioned 16gb card).  

Re: G11 porting
« Reply #306 on: 19 / January / 2010, 20:20:16 »
« Last Edit: 19 / January / 2010, 20:35:15 by KayDat »

Re: G11 porting
« Reply #307 on: 19 / January / 2010, 21:31:31 »
Create/swap partition functions don't seem to work yet, so I can't get CHDK to work off my SDHC card--stuck with using an old 32MB Canon SD card =D Not having a PS.FI2 adds to the complications (I think).

Edit:
Scratch that, I got dual partition booting to work. Had to use a replacement driver for my card reader to be able to copy CHDK on second partition, but at least now I can read both partitions at the same time. =]
« Last Edit: 20 / January / 2010, 02:31:49 by KayDat »


*

Offline whim

  • ******
  • 2020
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: G11 porting
« Reply #308 on: 20 / January / 2010, 05:18:13 »
Thank you for the time, energy and brains that are going into this.

Mine loaded fine and ran a photo interval script fine.  But I can only auto-boot it.  I can't manual boot by loading a new firmware.  (Which means, I think, I'm stuck with my 4gb card, and can't use my partitioned 16gb card).  

Good news: that's not true, it's just the other way around !

Manually booting CHDK (thru the 'Firm Update' menu) should work off all file systems (FAT12, FAT16, FAT32), while autoboot
requires FAT12 or FAT16, and is therefor limited to 4 GB maximum partition size.

hth,

wim

Re: G11 porting
« Reply #309 on: 20 / January / 2010, 06:29:35 »
Thank you for the time, energy and brains that are going into this.

Mine loaded fine and ran a photo interval script fine.  But I can only auto-boot it.  I can't manual boot by loading a new firmware.  (Which means, I think, I'm stuck with my 4gb card, and can't use my partitioned 16gb card). 

Good news: that's not true, it's just the other way around !

Manually booting CHDK (thru the 'Firm Update' menu) should work off all file systems (FAT12, FAT16, FAT32), while autoboot
requires FAT12 or FAT16, and is therefor limited to 4 GB maximum partition size.

hth,

wim

I got partition booting working, as mentioned above. And no, manual booting doesn't work. AFAIK, camera checks for PS.FI2 file in card, which is different for each card. I don't think G11 development has gotten that far yet, which is why ERR99 tells users to make card bootable with cardtricks.

The problem in Windows is that it can't detect more than one partition on removable drives; but that's just a driver thing, not hardware. Follow the guide here, look for the title "On flash drive only the first partition works". Basically, you're going to replace the driver used by Windows on your card reader, and it will be detected as a drive, much like USB hard drives.

Once done, you can format the SD card as you would HDD's. Partition one as FAT, two as FAT32 etc. Put CHDK on both partitions, and use cardtricks to make partition one bootable, and you're set. Bonus is now you don't need to use partition swap on CHDK before plugging into computer. =]

 

Related Topics