SDM 1.85 Released - page 3 - Microfunguy's Builds - CHDK Forum

SDM 1.85 Released

  • 38 Replies
  • 20765 Views
Re: SDM 1.85 Released
« Reply #20 on: 24 / April / 2011, 07:24:47 »
Advertisements
I was afraid that you may say that.

I am using GrAnd's pre-built Windows environment with gcc 3.4.6 and WinXP Pro.

I do not know anything about Eclipse.
Incidentally, I used the Tools directory from CHDK 1083 because it was already on my system.

Have you tried downloading the source again ?

EDIT

I don't get the rbf or local-time warnings.

local-time may be causing the problem.

EDIT2

Are your and my DISKBOOT.BIN the same size ?
« Last Edit: 24 / April / 2011, 07:36:50 by Microfunguy »

Re: SDM 1.85 Released
« Reply #21 on: 24 / April / 2011, 08:03:20 »
Hi David,

Quote
Are your and my DISKBOOT.BIN the same size ?
the DISKBOOT.BIN you provided has a size of 198.428 Bytes
my one has a size of 188.416 Bytes, so there is already a difference. :-(

Quote
Have you tried downloading the source again ?
No - should I? Did you change anything inside the source since yesterday?

Quote
local-time may be causing the problem.
What does it mean exactly? How can I check this or correct this?

Quote
I used the Tools directory from CHDK 1083
Can you provide your CHDK 1083 tools folder? Then I can test with that one.

I will also try to use GrAnd's pre-built Windows environment with gcc 3.4.6 and WinXP Pro.

Somewhere must be the problem ;-)

Thanks for further help!
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: SDM 1.85 Released
« Reply #22 on: 24 / April / 2011, 08:24:38 »
so there is already a difference. :-(
That is a big difference.

Quote
Did you change anything inside the source since yesterday?
No, I downloaded from website, same as you did.
Quote
Can you provide your CHDK 1083 tools folder?



http://tools.assembla.com/chdk/browser/trunk?rev=1083

Re: SDM 1.85 Released
« Reply #23 on: 24 / April / 2011, 09:18:06 »
Hi David,

thanks, I will try later.
Now I will go having easter coffee with my family.
Enjoy easter days as well ;-)

2 x IXUS 860IS 100c
2 x Powershot S110 103a

*

Offline hwntw

  • ***
  • 162
Re: SDM 1.85 Released
« Reply #24 on: 24 / April / 2011, 10:24:35 »
Hello,
I have no doubt that using GCC 4xx will not compile SDM cleanly. GCC 3.xx needs to be used to produce a good binary. If 4xx is used there are problems with blinking menus, incomplete menus and so on.
CHDKShell can be used to compile SDM with GCC 3.xx, if the SDM distribution is given a top level name of trunknnnn. It would be nice if the SDM dist was available in CHDKShell just as CHDK DE is, as a source option.

Best,

Colin
Ixus 95 IS Ixus 30 izoom Powershot S80 S100 S200


Windows 10

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SDM 1.85 Released
« Reply #25 on: 24 / April / 2011, 13:20:46 »
@hwntw
Quote
It would be nice if the SDM dist was available in CHDKShell just as CHDK DE is, as a source option.
I'm already in the process of cleaning up some rough edges to allow smooth SDM compilation.
Automatic downloading of updated sources is another matter - my current code is heavily dependant on
CHDK / CHDK-DE SVN structure, but I'll see if I can come up with something.

wim

 



Re: SDM 1.85 Released
« Reply #26 on: 24 / April / 2011, 14:43:41 »
I have no doubt that using GCC 4xx will not compile SDM cleanly.

Hmmm ... what a pain ... how can that be ?

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SDM 1.85 Released
« Reply #27 on: 24 / April / 2011, 15:54:26 »
@Microfunguy

David,

You might want to check this thread - it illustrates 'how it can be', and - who knows - might even point to a solution.

HTH,

wim

Re: SDM 1.85 Released
« Reply #28 on: 24 / April / 2011, 17:26:35 »
it illustrates 'how it can be', and - who knows - might even point to a solution.

Thanks, but I still have absolutely no idea.

As I use 3.4.6 and it works I guess it is not really my problem  :)

What is the easiest way of disassembling my code ?


David

*

Offline reyalp

  • ******
  • 14125
Re: SDM 1.85 Released
« Reply #29 on: 24 / April / 2011, 18:00:43 »
What is the easiest way of disassembling my code ?

David
chdk build process disassembles the binary automatically: for main code, look in core/main.dump
for boot code (also includes main code, but at the wrong address) look at loader/<camera>/main.dump

As I said in the other thread, bugs that crop up with compiler differences are almost always a sign of some underlying bug in your code. Compiler bugs do happen, but they are rare and usually only crop up when you are doing something quite unusual (that said CHDK does do a fair bit of unusual stuff...)

I would guess the one I fixed with readdir probably applies to SDM as well.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal