supplierdeeply

SX510

  • 213 Replies
  • 37278 Views
*

Offline firejdl

  • *
  • 10
  • PowerShot SX510HS
Re: SX510
« Reply #10 on: 05 / December / 2013, 23:20:45 »
Advertisements
According to my tests, SX510 requires new dancing bits.
To create the patch, is there any list of dancing bits flavors to follow?

Any luck with figuring out the new dancing bits? I don't see that in your repo. Here's a list of flavors!

I have not found all the missing stubs entries, but source code is here

Thank you! You've got a lot more than me. I can't look through everything right now, but this is starting to look like it may happen :) I should be able to get back to work on this on Monday. I at least got a couple of things that match up with yours. That's good.

*

Offline nafraf

  • *****
  • 1303
Re: SX510
« Reply #11 on: 05 / December / 2013, 23:59:45 »
Any luck with figuring out the new dancing bits? I don't see that in your repo. Here's a list of flavors!
Thanks, guacamole patch in attachment.

I made more changes, please update your working copy.  recreview_hold is missing.

*

Offline firejdl

  • *
  • 10
  • PowerShot SX510HS
Re: SX510
« Reply #12 on: 14 / December / 2013, 01:55:52 »
Been without Internet for a week, but I'm back & working on this again :)

*

Offline firejdl

  • *
  • 10
  • PowerShot SX510HS
Re: SX510
« Reply #13 on: 15 / December / 2013, 17:07:23 »
Ok, had to fix some issues with my computer, but here's an update.

I'm using the latest code from your repo & the guacamole.patch. When I run make rebuild-stubs I still get
Code: [Select]
//   NEED_ENCODED_DISKBOOT = ? Not found, possible new 'dancing bits' entry needed. // Found @ 0xffff399c in my stubs_entry.S, but I CAN compile the DISKBOOT.BIN with make clean fir. I do see a couple assembler messages, though:

Code: [Select]
>> Entering to platform/sx510hs/sub/101a
boot.c -> boot.o
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//cc5Jsnm9.s: Assembler messages:
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//cc5Jsnm9.s:41: Warning: (null)
stubs_min.S -> stubs_min.o

...

/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//ccgKmTvi.s: Assembler messages:
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//ccgKmTvi.s:59: Warning: (null)
blobs.S -> blobs.o
-> main.elf
main.elf -> main.bin
<< Leaving loader/sx510hs
dance -> DISKBOOT.BIN ver 11
**** Firmware creation completed successfully

and I still can't boot the camera with the new DISKBOOT.BIN. Still hangs until I remove & reinsert the battery.


*

Offline nafraf

  • *****
  • 1303
Re: SX510
« Reply #14 on: 15 / December / 2013, 19:45:12 »
Did you apply guacamole.patch to your working copy?  It should solve dancing bits issue.


*

Offline firejdl

  • *
  • 10
  • PowerShot SX510HS
Re: SX510
« Reply #15 on: 15 / December / 2013, 20:29:24 »
Yes, I did. It didn't help.

*

Offline firejdl

  • *
  • 10
  • PowerShot SX510HS
Re: SX510
« Reply #16 on: 21 / December / 2013, 18:18:01 »
Thanks to nafraf & switching SD cards, I can make the LEDs flash now :D making progress! Will try to get a little further into it tonight & tomorrow.

For reference, here are the LED addresses:
Rear green LED: 0xC022302C found @ 0xFF175150
Front AF LED: 0xC0223030 found by nafraf
« Last Edit: 21 / December / 2013, 18:20:16 by firejdl »

*

Offline nafraf

  • *****
  • 1303
Re: SX510
« Reply #17 on: 21 / December / 2013, 18:41:17 »
Now I have access to a SX510 101a.  I'm trying to fix the boot.


*

Offline firejdl

  • *
  • 10
  • PowerShot SX510HS
Re: SX510
« Reply #18 on: 22 / December / 2013, 00:46:49 »
That's happy news indeed, as I'm not making much progress.

*

Offline nafraf

  • *****
  • 1303
Re: SX510
« Reply #19 on: 24 / December / 2013, 01:14:45 »
Some tests fw 101a:
- llibtst.lua runs without problems (log in attachment)
- ubtest runs without problems
- remote capture works
- setmode.lua: Even using 2s delay, some modes fails, but using chdkptp all modes works without problems

TODO:
- Raw colors are wrong
- file counter is implemented as done in ixus140, but I have not tested if it is 100% reliable. Edit: +PAUSE_FOR_FILE_COUNTER and tested using rs -cont=5 -jpg
- Liveview fails in some modes.
- Zebra has wrong xoffset if 1:1 aspect ratio
« Last Edit: 09 / January / 2014, 23:14:41 by nafraf »

 

Related Topics