SX260 HS Porting Thread - page 5 - DryOS Development - CHDK Forum supplierdeeply

SX260 HS Porting Thread

  • 642 Replies
  • 220739 Views
*

Offline reyalp

  • ******
  • 14111
Re: SX260 HS Porting Thread
« Reply #40 on: 06 / April / 2012, 20:32:29 »
Advertisements
Someone tested the new dancingbits for generating the bin & FI2 ?

Maybe the "Update File Error"  is because it dosnt reach this { 6,3,1,0,5,7,2,4 }, // spicy habenaro sx260hs (dryos r50)

Thanks for any advice!
No, dancingbits only affects autoboot with diskboot.bin, not manual loading with PS.FI2. Update file error happens from incorrect FI2 (FI2KEY or FI2IV)

Unless you are saying you get "update file error" with autoboot, which would be something completely new.

I did not test the dancing bits obviously, since I don't have any of these cameras. It looks right though.
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: SX260 HS Porting Thread
« Reply #41 on: 06 / April / 2012, 21:08:55 »
thanks srsa_4c

Now seams to get stuck with focus_len_table,  it looks like it is not getting it from finsig_dryos.c

edit: manualy added to stubs_min , finsig is not getting it

You need to add DNG_LENS_INFO to platform_camera.h for finsig to find focus_len_table.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX260 HS Porting Thread
« Reply #42 on: 07 / April / 2012, 03:43:13 »
@reyalp
Yes I'm using Manual load -> Display - Menu - Firmware update -> "Update File Error"
So if it's not dancing bits, I'm a bit confused since keys  are like other d4c
FI2KEY is @ FFFF3CE0 , and FI2IV is @FF657B44

And I understand the format of fi2.inc is the same as allways.

@philmoz
If I activate DNG_LENS_INFO in platform_camera.h it dosnt find it in finsig and fails ?

Here are my latest full sources by the way:
http://www.4shared.com/zip/b01kskHq/sx260-100b-allsources-v1.html

I'm using trunk1788

*

Offline srsa_4c

  • ******
  • 4451
Re: SX260 HS Porting Thread
« Reply #43 on: 07 / April / 2012, 06:52:42 »
Yes I'm using Manual load -> Display - Menu - Firmware update -> "Update File Error"
Have you tried to start with the diskboot.bin method yet? If not, you should :)


*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX260 HS Porting Thread
« Reply #44 on: 07 / April / 2012, 10:48:32 »
@srsa_4c,
You mean usign canonbasic?

Maybe there are the same problems as in boot of sx40?

*

Offline srsa_4c

  • ******
  • 4451
Re: SX260 HS Porting Thread
« Reply #45 on: 07 / April / 2012, 11:08:19 »

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX260 HS Porting Thread
« Reply #46 on: 07 / April / 2012, 15:03:26 »
It dosn't work that way, either using 'BOOTDISK'  at offset 0x1E0 or 0x40

Any other clue, what was the issue with the SX40 ?

Re: SX260 HS Porting Thread
« Reply #47 on: 07 / April / 2012, 15:11:47 »
It dosn't work that way, either using 'BOOTDISK'  at offset 0x1E0 or 0x40
Any other clue, what was the issue with the SX40 ?
Did you format the card in  your camera ?  If so,  it might be formatted as exFAT rather than FAT32.  It needs to be FAT32 to boot properly.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline reyalp

  • ******
  • 14111
Re: SX260 HS Porting Thread
« Reply #48 on: 07 / April / 2012, 16:35:15 »
@reyalp
Yes I'm using Manual load -> Display - Menu - Firmware update -> "Update File Error"
So if it's not dancing bits, I'm a bit confused since keys  are like other d4c
FI2KEY is @ FFFF3CE0 , and FI2IV is @FF657B44
Update file error usually means the wrong encoding. I agree FI2KEY and FI2IV look the same as d4c. PLATFORMID must also be correct, but yours looks right.

If you somehow had another file with an .FI2 extension on the card, it could pick the wrong one.

If you are using a Mac http://chdk.wikia.com/wiki/FAQ/Mac#Still_Having_Trouble.3F might apply.

You can try loading with the Canon basic loader http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Loader
This must be completely unencoded, e.g. loader/<platform>/main.bin
Don't forget what the H stands for.

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX260 HS Porting Thread
« Reply #49 on: 07 / April / 2012, 16:50:53 »
Formating Fat32 & Boot at 0x1E0 It at least do something with the unencoded bin, I mean Crash completly

So it could be a start. I'll try CanonBasic too, It will be similar.

Reyalp, I only have one .FI2 & use PC, do you know how it was solved with sx40 ?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal