SX60HS Porting - page 85 - DryOS Development - CHDK Forum

SX60HS Porting

  • 915 Replies
  • 383782 Views
Re: SX60HS Porting
« Reply #840 on: 14 / April / 2018, 19:59:25 »
Advertisements
My approach is much the same as yours @reyalp   
Will get to it soon. Just got to stash my movie changes (@srsa_4c)  and revert to the standard tree. A good parallel visual diff display is useful in the checking phase because you say only addresses should change. 

The movie stuff isn't yet part of the development svn repo yet I assume.

*

Offline reyalp

  • ******
  • 14128
Re: SX60HS Porting
« Reply #841 on: 14 / April / 2018, 21:32:51 »
Just got to stash my movie changes srsa_4 and revert to the standard tree.
FWIW, you can also check out a new tree (disk space permitting, of course ;)). If you use multiple source trees, you can avoid duplicating all the firmware dumps by setting up a separate tree just for dumps and setting PRIMARY_ROOT to point to it in localbuildconf.inc or make command line.
Don't forget what the H stands for.

Re: SX60HS Porting
« Reply #842 on: 15 / April / 2018, 23:19:39 »
Here's a test version for the 100h firmware on SX60HS.  I'm not terribly confident with it, as capdis gave me quite a bit of grief with jumptables in capt_seq.c that required by hand entries.  Let's see if it at least boots the splash screen.  Good luck!

Edit: since this doesn't work I'm deleting the attachments..new version to try further down the thread
« Last Edit: 17 / April / 2018, 12:06:12 by 62ndidiot »

Re: SX60HS Porting
« Reply #843 on: 16 / April / 2018, 12:24:47 »
Let's see if it at least boots the splash screen.  Good luck!
and result is:
sx60hs-100b-1.5.0-5010-full_ALPHA - blink GREEN (power) led,
sx60hs-100c-1.5.0-5010-full_ALPHA - blink GREEN (power) led,
sx60hs-100f-1.5.0-5010-full_ALPHA - blink GREEN (power) led,
sx60hs-100h-prealpha-svn5010 - nothing, absolutely.

Re: SX60HS Porting
« Reply #844 on: 16 / April / 2018, 14:22:04 »
Ok thanks.  The three versions that are not 100h are behaving as expected.  100h is obviously bad.  I can't look today but I should have time on Tuesday to create a corrected version. 
Thanks for your patience. 

Re: SX60HS Porting
« Reply #845 on: 16 / April / 2018, 14:36:21 »
Thanks for your patience.
no problem, it's your free time, thanks for help.

Re: SX60HS Porting
« Reply #846 on: 16 / April / 2018, 20:06:33 »
@reyalp perhaps you can remind me, are there any changes needed outside of the 100h directory to support a new firmware version? Such as includes or loader?  I don't think so but thought I'd ask. 🙂

*

Offline reyalp

  • ******
  • 14128
Re: SX60HS Porting
« Reply #847 on: 16 / April / 2018, 20:24:44 »
@reyalp perhaps you can remind me, are there any changes needed outside of the 100h directory to support a new firmware version? Such as includes or loader?  I don't think so but thought I'd ask. 🙂
Not usually. A change would be required in loader main.c if the cache function doesn't have the same address for all subs. In that case, it has to be copied inline like sx700

If the stuff in platform/sx60hs (not in a sub) referred to ROM or variable address it might need to be changed, but I don't see anything like that.
Don't forget what the H stands for.

Re: SX60HS Porting
« Reply #848 on: 17 / April / 2018, 12:08:57 »
@megazaic
I found an error.  Please the attached version below.  Fingers crossed.  Boots to a blinking led in 100f which is expected because its the wrong firmware version.
Edit: doesn't work because filewrite task not updated....
« Last Edit: 17 / April / 2018, 13:56:55 by 62ndidiot »

Re: SX60HS Porting
« Reply #849 on: 17 / April / 2018, 12:37:30 »
Fingers crossed.
No, sx60hs-100h-prealpha-svn5010-v2 was not lucky. again a clean black screen, no reaction.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal