Author Topic: the sx10 porting thread  (Read 93144 times)

Offline nimrod

  • Rookie
  • *
  • Posts: 33
Re: the sx10 porting thread
« Reply #435 on: 29 / June / 2009, 10:23:31 »
I'm willing to work on 1.03a if we get a reliable dump.

I haven't really done anything on 1.00c since cormac seems to be making progress, and I've been either busy or lazy.

cormac: That's great that it's actually booting now! Did you happen to verify everything in stubs_min.S? That's the one that's a big pain and one of the ones that seems like it might be more likely to cause a crash during operation as opposed to boot.

Also, if you have two things you need to do (like say, check stubs_min.S and stubs_entry_2.S or something) that we can split, let me know if I can do one part while you do another. I just don't want to uselessly duplicate effort..... Just let me know which part to look at.

For debugging you might want to try disabling the OSD, then go into "record" (shooting) mode just to see if it's OSD-related.

(BTW, does CHDK always go into "play" mode when it starts up? I thought I had it booting into "record" mode at one point.)

Offline hoelk

  • Newbie
  • *
  • Posts: 3
Re: the sx10 porting thread
« Reply #436 on: 29 / June / 2009, 10:52:33 »
First, thanks for the porting efforts :) chdk was the main reason for me for buying another canon compact camera.

I'm using the 1.02b Beta build, and i have one more or less serious problem:

The camera doesn't switch on correctly every time. Sometimes the screen (and the seeker) just stay black.
This can happen, as far as i recall, in all 3 ways to switch it on ("play" button, "on" button, "on" button pressed for a few seconds)

Is this a know issue? any idea what it could be connected to? it really seems to be happening rather randomly.



Offline cormac

  • Rookie
  • *
  • Posts: 46
Re: the sx10 porting thread
« Reply #437 on: 29 / June / 2009, 11:11:12 »
I'm willing to work on 1.03a if we get a reliable dump.

I haven't really done anything on 1.00c since cormac seems to be making progress, and I've been either busy or lazy.

cormac: That's great that it's actually booting now! Did you happen to verify everything in stubs_min.S? That's the one that's a big pain and one of the ones that seems like it might be more likely to cause a crash during operation as opposed to boot.

Also, if you have two things you need to do (like say, check stubs_min.S and stubs_entry_2.S or something) that we can split, let me know if I can do one part while you do another. I just don't want to uselessly duplicate effort..... Just let me know which part to look at.

For debugging you might want to try disabling the OSD, then go into "record" (shooting) mode just to see if it's OSD-related.

(BTW, does CHDK always go into "play" mode when it starts up? I thought I had it booting into "record" mode at one point.)

The stubs was the core of the problem. I made it rescan (dropping primary.bin into the sub directory) and it fixed most of the problems, after I found two typos in addresses. The main problem I have is that if I go into shooting mode, it blinks the OSD then it immediately powers down, and the same happens if I try go into "Load scripts from file..." from the menu.

I turned off the OSD for everything and I was able to go into shooting mode, start the menu and setup to take a RAW photo in CRW mode.

I'm trying to figure out what call uses scripts and osd in common, then beat on it.

Regarding the play mode, the power button seems to have two modes (at least in my build). A short press on the power button boots into playback mode, a long press on the power button goes into shooting mode.

Edited: I might have turned off that funtion in the code -recompiling...
Edited again: I did have that turned off, switched it back on, and no difference... short press playback, long press shooting.
« Last Edit: 29 / June / 2009, 11:27:10 by cormac »

Offline cormac

  • Rookie
  • *
  • Posts: 46
Re: the sx10 porting thread
« Reply #438 on: 29 / June / 2009, 11:39:37 »
I've uploaded the latest 1.00c source at http://drop.io/CHDK_GM100c

Once I've gotten the OSD problem fixed I'll upload a compiled test version for people to beat on.

Offline alberto1x3

  • Newbie
  • *
  • Posts: 1
Re: the sx10 porting thread
« Reply #439 on: 29 / June / 2009, 12:34:17 »
I have tried CHDK for 1.01b.

First of all, it works!
I didn't found where the feature "Motion detection" is but i think this is my fault, i didn't read the manual well enough.

Sometimes the ALT menu disappear, if you press "down" or "up" it behaves like it has always been there, just invisible.
i think this is related to face recognition.

After some tests it stopped working, when i choose "update firmware" it just shut down the camera.
I think this is related to some configuration i made... resetting the configuration make it work again.

I didn't try to make the card bootable, it was just a test of this beta version.

Thanks to everyone, nice project! I really like custom grids!

« Last Edit: 29 / June / 2009, 18:08:32 by alberto1x3 »

Offline cormac

  • Rookie
  • *
  • Posts: 46
Re: the sx10 porting thread
« Reply #440 on: 29 / June / 2009, 20:26:32 »
I've uploaded the latest 1.00c source at http://drop.io/CHDK_GM100c

Once I've gotten the OSD problem fixed I'll upload a compiled test version for people to beat on.


Found it! I had screwed up on the location of GetDrive_FreeClusters

I'm working on getting a build up ASAP with the cleaned up code too.

Offline martinhamersky

  • Rookie
  • *
  • Posts: 10
Re: the sx10 porting thread
« Reply #441 on: 29 / June / 2009, 21:52:37 »

Offline cormac

  • Rookie
  • *
  • Posts: 46
Re: the sx10 porting thread
« Reply #442 on: 29 / June / 2009, 22:07:21 »
Here is the beta relase for GM1.00c:

CHDK Full: http://drop.io/CHDK_GM100c/asset/sx10-100c-0-9-8-full-zip
CHDK lite: http://drop.io/CHDK_GM100c/asset/sx10-100c-0-9-8-zip

Source: http://drop.io/CHDK_GM100c/asset/100c-20090702-beta-zip
I've included a patch file in the source zip for the 780 trunk main Makefile if you want have it show up in the list of firmwares for the SX10 using CHDKshell.

For those who want to test, I'd recommend downloading the full version, at least for the very first time. I've been testing this on my 1.00c camera and it seems to be fully functional. Let me know of any bugs you find.

Thanks!

Updates:
This includes the fix for the set_zoom_speed bug.
« Last Edit: 02 / July / 2009, 22:39:23 by cormac »

Offline cormac

  • Rookie
  • *
  • Posts: 46
Re: the sx10 porting thread
« Reply #443 on: 29 / June / 2009, 22:51:33 »

CHDK Forum

Re: the sx10 porting thread
« Reply #443 on: 29 / June / 2009, 22:51:33 »

Offline tool46

  • Rookie
  • *
  • Posts: 10
Re: the sx10 porting thread
« Reply #444 on: 29 / June / 2009, 23:15:43 »
cormac your the man. Installed and i played with it then my batteries ran down oh well ill charge them and get back to playing. Thanks so much.
sx10is eos 50d eos 1Ds Mark II eos 5D Mark II

Offline martinhamersky

  • Rookie
  • *
  • Posts: 10
Re: the sx10 porting thread
« Reply #445 on: 30 / June / 2009, 00:07:35 »

Offline cormac

  • Rookie
  • *
  • Posts: 46
Re: the sx10 porting thread
« Reply #446 on: 30 / June / 2009, 01:00:03 »

Offline patdop

  • Newbie
  • *
  • Posts: 3
Re: the sx10 porting thread
« Reply #447 on: 30 / June / 2009, 03:09:46 »
Thanks for the answer Fe50. in fact I try with a 4GB and every thing is working.

So my new question is : how can it work on a 32GB ? I try this (found on the user guide) :

1)This option creates a 2 MB FAT partition on the card, that's fixed on the code for now. You need to
copy the CHDK firmware extensions to this partition and load them.
step one works.

2)Then select "make card bootable"
in "Miscellaneous stuff", so it does not complain when you write-protect the card.
Next step is to select "swap partitions" on "Miscellaneous stuff", this will hide this small partition and
make the big FAT32 one visible.
step 2 woks but if I try the card again sx10 doesn't offer firmware update neither autoload boot (with card locked). so 2mb is no more visible. may I format the second partition with the camera or with the cardtricks ??

3) We need to format it, and copy CHKD firmware extensions to it too,
so we can perform "swap partitions" again. So format it in FAT32, copy CHDK, insert it on the camera
ad load CHDK. Select "swap partitions" and "make card bootable", write-protect (lock) the card and
power-cycle the camera.
this step doesn't work because when all it's done formated in fat32 it's not bootable and firmware update not available too...

4)It should now load CHDK from the small 2 MB partition, but have access to the big FAT32 partition
did not reach to this step

It doesn't work for me or I'm doing something wrong !
Thanks again for being so patient and for doing such a great job guys.
good night

Offline isidroco

  • Newbie
  • *
  • Posts: 1
Re: the sx10 porting thread
« Reply #448 on: 30 / June / 2009, 07:25:34 »
I'm using the 1.02b Beta build, and i have one more or less serious problem:
The camera doesn't switch on correctly every time. Sometimes the screen (and the seeker) just stay black.
I have the exact same problem with same 1.02b build 778, updated to 780, and it didn't fail yet (but only tested a few times)

Offline fe50

  • Guru Member
  • ******
  • Posts: 2602
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
Re: the sx10 porting thread
« Reply #449 on: 30 / June / 2009, 12:34:02 »
So my new question is : how can it work on a 32GB ? I try this (found on the user guide)

- From the CHDK menu, call Miscellaneous stuff -> Debug parameters -> Create card with two partitions
- Remove the card, use a card reader, format it, now you can access the first (2MB FAT12) partition
- Copy the files DISKBOOT.BIN and PS.FI2 to the root (or unzip the whole CHDK package)
- Now make the card bootable - this can be done either on a PC using a card reader (e.g. with Cardtricks) or
  with CHDK (start manually, then call "Make card bootable..." from the "Miscellaneous stuff " menu)
- Lock the card, CHDK should autoboot now - you can also start CHDK manually again...
- Call "Swap partitions" from the "Miscellaneous stuff" - "Debug parameters" menu
  Now the "big" partition is the first one an can be accessed...
- Format this partition using a card reader (NOT in the camera !), unzip CHDK to the card
- Start CHDK manually, then swap the partitions back.

MS Windows can only handle the first partition of such a SD card, use CHDK to swap the partitions...see also this post.
If you still have problems, please post in the "General Help and Assistance on using CHDK stable releases" section...

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal