new branch - CHDK : Elf Edition - Developers wanted - page 16 - General Discussion and Assistance - CHDK Forum

new branch - CHDK : Elf Edition - Developers wanted

  • 316 Replies
  • 130995 Views
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #150 on: 30 / December / 2011, 02:16:20 »
Advertisements
Solve problem with shutdown on startup. Looks like startup sequence is very fragile. Moving module_menu init to first menu popup solve problem. Reason why shutdown happens now and didn't happen before unknown for me.

Problem with memview and edgeoverlay exists. Clean reyalp-flt1514 build. Reason unknown yet.

Last related changes to edgeovr is 1499. Maybe this is some kind of side effect for my camera. I will check stable branch later for this issue. 1497 works well on my camera

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #151 on: 30 / December / 2011, 08:39:11 »
Do confirm.
Problem with edgeovr exists in release_1_0-1504 on my S95. Something was broken in 1499.


reyalp-flt branch is updated:
1516
- common unified api versioning
- simplified and unified interaction with loadable libraries. export symbols moved to versioned api structures

1517
- Improved startup stability (run module_menu on first menu popup instead of runing in startup sequence)
- Added stoplist (unsafe symbols) to elf2flt. give no chance to make unobvious mistake

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #152 on: 31 / December / 2011, 00:29:21 »
Do confirm.
Problem with edgeovr exists in release_1_0-1504 on my S95. Something was broken in 1499.


reyalp-flt branch is updated:
1516
- common unified api versioning
- simplified and unified interaction with loadable libraries. export symbols moved to versioned api structures

1517
- Improved startup stability (run module_menu on first menu popup instead of runing in startup sequence)
- Added stoplist (unsafe symbols) to elf2flt. give no chance to make unobvious mistake

I missed the S95 in the viewport code cleanup I did on changeset 1499.
I've updated the reyalp-flt branch with a fix - let me know if it works now.

The rest of the changes in 1516 & 1517 work ok on my cameras.

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)

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #153 on: 31 / December / 2011, 01:07:35 »
Now works ok.
One more commit done: - Fix broken by 1516 shooting process (shutdown if shoot with turned off dng)

I have no more ideas which require broking of module compatibility. So I think code could go to trunk.

Still module_menu unstability exists. Camera shutdown if I try to go to menu quickly on startup or  go there first time during shoot finalization.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #154 on: 31 / December / 2011, 01:12:56 »
Still module_menu unstability exists. Camera shutdown if I try to go to menu quickly on startup or  go there first time during shoot finalization.

Can you dump a romlog and see where it's crashing?
It's a bit harder to diagnose if the crash was in the module as you don't know the load address to match against the stack dump.

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)

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #155 on: 31 / December / 2011, 01:27:10 »
Can you dump a romlog and see where it's crashing?
It's a bit harder to diagnose if the crash was in the module as you don't know the load address to match against the stack dump.
I think this could be resolved with module.log in which stored all loaded modules with its load address.

"Save ROM crash log" on 1521 cause immidiate shutdown. Release branch rev1504 works ok.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #156 on: 31 / December / 2011, 23:43:24 »
Can you dump a romlog and see where it's crashing?
It's a bit harder to diagnose if the crash was in the module as you don't know the load address to match against the stack dump.
I think this could be resolved with module.log in which stored all loaded modules with its load address.

"Save ROM crash log" on 1521 cause immidiate shutdown. Release branch rev1504 works ok.

I'm not sure why this would be happening.
I've tried moving user_menu_restore() back to gui_init() and moving gui_modules_menu_load() into core_spytask() after the last call to mkdir and before script_autostart().

No crashes so far on any of my cameras.

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)

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #157 on: 01 / January / 2012, 13:30:09 »
I have downloaded newest, 1522 source and compiled. I see it's modular?
It seems, that file_browser() Lua command is now broken. I'll look into the code but maybe some of you already know the reason?

EDIT

Oh, and file browser doesn't work at all... Well;) Big changes I see.

How could I download the lastest non-modular source? Or should I rather work on modular and try to improve it?
« Last Edit: 01 / January / 2012, 13:32:31 by outslider »
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #158 on: 01 / January / 2012, 13:41:49 »
How could I download the lastest non-modular source? Or should I rather work on modular and try to improve it?
In case you missed it,  there is now an official released stable branch (release-1_0) that you can get from the svn or CHDK-Shell via the branches option at the top.   Everything in the main trunk is now considered unstable / development status.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #159 on: 01 / January / 2012, 13:52:03 »
Quote
Everything in the main trunk is now considered unstable / development status.

This is what I know, but I missed, that modules have already been included... I have to do my homework and learn new mode of action of CHDK source... Ah... new year!
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics


SimplePortal © 2008-2014, SimplePortal