A530 Chdk port - 0.5 beta - page 4 - General Discussion and Assistance - CHDK Forum

A530 Chdk port - 0.5 beta

  • 113 Replies
  • 51810 Views
*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.3 beta available!!
« Reply #30 on: 27 / February / 2008, 04:39:44 »
Advertisements
OSD not working (e.q. battery meter), except for the menus... :( Maybe I'm doing something wrong. :(

:)

M. R.

I have the same problem, but in review mode battery and clock are shown correctly.
May it is possible that it is a trunk version problem (I used an old one for this build).
I will update to current trunk version and release a new beta as soon as possible.
Thanks for reporting it!

Re: A530 Chdk port - 0.3 beta available!!
« Reply #31 on: 27 / February / 2008, 08:48:07 »
Ciao,

Thank you *very* much for this port. I haven't had much time to test it, but I probably will this weekend. I'd love to actually see the pictures I'm taking, so let's hope there's some way to convert our .crw files in the near future.

Thanks again from Spain!

Re: A530 Chdk port - 0.3 beta available!!
« Reply #32 on: 28 / February / 2008, 02:36:16 »
Thanks for the delevoper with A530 CHDK..

TEST REPORT:
                      1.ANYONE CAN NOT OPEN THE *.CRW HAS BEING SHOOTED.maybe i get wrong software.pleace direction the right way.
                      2.can`t support simple chinese font. : )
                     
                      3."make card bootable..." it`s no use.

                                                                                :D

*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.3 beta available!!
« Reply #33 on: 28 / February / 2008, 03:53:31 »
Thanks for the delevoper with A530 CHDK..

TEST REPORT:
                      1.ANYONE CAN NOT OPEN THE *.CRW HAS BEING SHOOTED.maybe i get wrong software.pleace direction the right way.
                      2.can`t support simple chinese font. : )
                     
                      3."make card bootable..." it`s no use.

                                                                                :D

first of all, thank sean for reporting!

1. for crw support i'm getting in touch with dcraw developer in order to support it ;)
2. added to issues list
3. may you have an old beta, try downloading 0.3beta version that fix this problem

Re: A530 Chdk port - 0.3 beta available!!
« Reply #34 on: 28 / February / 2008, 07:14:16 »
Thanks for the delevoper with A530 CHDK..

TEST REPORT:
                      1.ANYONE CAN NOT OPEN THE *.CRW HAS BEING SHOOTED.maybe i get wrong software.pleace direction the right way.
                      2.can`t support simple chinese font. : )
                     
                      3."make card bootable..." it`s no use.

                                                                                :D

first of all, thank sean for reporting!

1. for crw support i'm getting in touch with dcraw developer in order to support it ;)
2. added to issues list
3. may you have an old beta, try downloading 0.3beta version that fix this problem


thanks for reply!
Q3,has being done. 0.3beta version it`s can be used.    thanks,expect good news alot !: )
« Last Edit: 28 / February / 2008, 07:15:59 by sean »

*

Offline brabl2

  • *
  • 31
  • A710IS
Re: A530 Chdk port - 0.3 beta available!!
« Reply #35 on: 28 / February / 2008, 07:49:46 »
TEST REPORT:
1.ANYONE CAN NOT OPEN THE *.CRW HAS BEING SHOOTED.maybe i get wrong software.pleace direction the right way.
1. for crw support i'm getting in touch with dcraw developer in order to support it ;)

Hi,

After reading posts above and checking your source I'm almost sure your RAW related stuff is not correct.

raw.h:
#elif defined (CAMERA_a530)
#define ROWPIX 2592   // for 5 MP
#define ROWS   1944   // for 5 MP

Your RAW matrix dimensions look like standard JPEG dimensions for 5MPix picture, RAW dimensions should be slightly bigger.
How did you find those dimensions?
Where did you get hook_raw_size() defined in lib.c ?

You should use this equation:
hook_raw_size() =  ROWPIX*ROWS*10/8

Dimensions for A530 could be same as for A610/S2IS 5MPix matrix.  2672*1968

A460 has different 1/3" 5 MPix matrix (2664*1968*10/8=0x63FF60) 
I found those numbers for A460 with IDA near strings "CRAW BUF" and "WBIntegPrm.c"

Hope it makes sense  ;)

Pavel



*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.3 beta available!!
« Reply #36 on: 28 / February / 2008, 09:03:11 »
Pavel, I really have to thank you!
Changing values as you suggested has worked!

But I have a question about...
In order to reply to you, I have found raw size where I found raw address too... see here: http://chdk.setepontos.com/index.php/topic,586.msg4946.html#msg4946
Now, I changed value in lib.c from 0x658560 to 0x644c40 (2672*1968*10/8) and this works... even ROWPIX and ROWS values...
But the question is... if the orig firmware wants to write 0x658560 bytes of raw image this means that raw image is possibly even more bigger than 2672*1968?
I want to understand this...

Users, check the first post, 0.4beta available with usable .crw image
« Last Edit: 28 / February / 2008, 09:09:31 by bondo »

Re: A530 Chdk port - 0.4 beta - .crw fix!
« Reply #37 on: 28 / February / 2008, 09:30:23 »
Deleted
« Last Edit: 22 / April / 2008, 13:01:28 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline brabl2

  • *
  • 31
  • A710IS
Re: A530 Chdk port - 0.4 beta - .crw fix!
« Reply #38 on: 28 / February / 2008, 09:32:20 »
Hmmm,

RAW matrix size for A530 can be different from all other 5MPix models.
You should definitely find correct ROWPIX and ROWS values and then you will see, if your 0x658560 raw_size is correct.

Just find ROWPIX and ROWS in any known firmware dump similar to your A530.
Then find A530 ROWPIX and ROWS values according to it.

Good luck !

*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.4 beta - .crw fix!
« Reply #39 on: 28 / February / 2008, 09:56:10 »
thanks all of you, I didn't know this thing!

I searched for an integer divisor of 0x658560 but none found in the range 2674-2706, so I think this value was simply wrong...  :lol

..
Just find ROWPIX and ROWS in any known firmware dump similar to your A530.
..

I've looked in a700 dump and effectively the raw_size found where I found mine is the correct result of ROWS*ROWPIX*10/8 formula...  >:(
« Last Edit: 28 / February / 2008, 10:02:12 by bondo »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal