supplierdeeply

Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started

  • 14 Replies
  • 7541 Views
*

Chefchen

  • Publish
    Advertisements
    Ok Guys

    This time i checked it!
    i just dumped the 1.01b dump from by camera and started doing a few things but it seems i dont really get it running.

    as included in the archive you will find my progress in adopting to 1.01b

    content:
    primary.bin    - 101b
    sub source     - mixture between 101a and 101b

    diskboot.bin   - 101b
    ps.fir             - 101b


    status:
    i can already start the "firmware update" and the camera comes back with a LCD truned on then the blue LED blinks once an the camera shuts down.


    debugging in this environment seem to be a nightmare...

    so any idea from someone who did a porting  before?

    link:
    http://rapidshare.com/files/74434482/SD500_101b.zip.html


    help welcome!
    cheers
    Chefchen


    PS:
    a hint: if you should try to work with IDA on this aim for a version 5+!!
    it cost me weeks to find out!

    PPS: of course all the work is based on the existing version 1.01 port. which seems to be a great help
    « Last Edit: 05 / December / 2007, 07:03:55 by Chefchen »

    *

    Chefchen

  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #1 on: 05 / December / 2007, 07:14:06 »
    one more thing....


    i obviously changed the following files in the sub 101b:
    stubs_min.S
    stubs_entry_2.S
    boot.c
    lib.c

    i marked all the changes with //1b  or //1a 1b or // 1a
    1b     ~ i think this is the right address
    1a 1b ~ seem to be the same in both versions
    1a     ~ did look for it but did not find it

    if there is no comment, i did not touch it (most likely) so feel free to double check my suggestions .... maybe we can get a working version out of it....

    cheers
    chefchen

    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #2 on: 05 / December / 2007, 07:38:18 »
    Ok, tonight I shall try to help you.

    Quick look -  address of GetProperyCase is 0xFF825CA4
    « Last Edit: 05 / December / 2007, 08:20:24 by ewavr »

    *

    Chefchen

  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #3 on: 05 / December / 2007, 08:54:03 »
    Thanks.....  IT DID CHANGE Everything!!!!


    the first look it, that it works.....

    coming back in a few minutes after playing around!!!!

    cheers!
    « Last Edit: 05 / December / 2007, 09:00:38 by Chefchen »


    *

    Chefchen

  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #4 on: 05 / December / 2007, 09:12:51 »
    Checking it for a few minutes...

    it was partly successfully.
    in playback mode it works 100%
    i do have the splash screen and all the menus

    but when i go to camera mode the sd500 dies.

    most likely a wrong address still somewhere

    keep up the good suggestions

    cheers

    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #5 on: 05 / December / 2007, 09:21:11 »
    My version of stubs_entry_2.S:

    Code: [Select]
    #include "stubs_asm.h"

    NHSTUB(Open, 0xFF86A938)
    NHSTUB(Close, 0xFF86A944)
    NHSTUB(Read, 0xFF86A9A4)
    NHSTUB(Write, 0xFF86A9B0)
    NHSTUB(Remove, 0xFF86A950)
    NHSTUB(free, 0xFFABCC78)
    NHSTUB(Mount_FileSystem, 0xFF869CD4)
    NHSTUB(SetPropertyCase, 0xFF825B9C)
    NHSTUB(GetPropertyCase, 0xFF825CA4)
    NHSTUB(VbattGet, 0xFFA60A9C)
    NHSTUB(GetZoomLensCurrentPoint, 0xFFA56FBC)
    NHSTUB(GetCurrentAvValue, 0xFFA6F28C)
    NHSTUB(GetZoomLensCurrentPosition, 0xFFA56FD0)
    NHSTUB(GetFocusLensSubjectDistance, 0xFFA64C98)
    NHSTUB(MoveFocusLensToDistance, 0xFFA715D8)
    NHSTUB(UniqueLedOn, 0xFFA6887C)
    NHSTUB(UniqueLedOff, 0xFFA688D8)


    NHSTUB(platformsub_kbd_fetch_data, 0xFF8299B4)
    NHSTUB(kbd_p1_f_cont, 0xFF828FEC)
    NHSTUB(kbd_p1_1, 0xFF8293FC)
    NHSTUB(kbd_p1_2, 0xFF829464)
    NHSTUB(kbd_p1_3, 0xFF829848)


    //null stub
    NHSTUB(PhySw_testgpio, 0xFF8118C0)
    NHSTUB(SetZoomActuatorSpeedPercent, 0xFF8118C0)
    NHSTUB(kbd_p1_f, 0xFF8118C0)
    NHSTUB(kbd_p2_f, 0xFF8118C0)
    NHSTUB(kbd_read_keys_r2, 0xFF8118C0)


    note that autofind of shooting-related function is incorrect.

    boot.c and lib.c are right. Now I will check capt_seq.c and movie_rec.c
    « Last Edit: 05 / December / 2007, 09:22:44 by ewavr »

    *

    Chefchen

  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #6 on: 05 / December / 2007, 09:40:14 »
    I changed the the stubs_entry_2.s

    it did not fix the problem.

    in fact I did not touch capt_seq.c and movie_rec.c, yet.
    so this might be the source.


    cheers and thanks for the good work

    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #7 on: 05 / December / 2007, 09:48:32 »
    Yes, capt_seq.c is incorrect, I have fixed it. Wait some time, I will post corrected sources.


    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #8 on: 05 / December / 2007, 10:40:40 »
    Sources and binaries - http://www.zshare.net/download/5391899f340d10/.

    I hope that it will work   :-[

    *

    Chefchen

  • Publish
    Re: Ixus 700 / SD 500 Firmware Dump 1.01b available - porting started
    « Reply #9 on: 05 / December / 2007, 10:57:00 »
     :)

    You know what!

    it does!

    so we have a sd500 1.01b version now!

    Congrats!

    Chefchen

     

    Related Topics