fast rebuilding all stub_entry.S files - General Discussion and Assistance - CHDK Forum

fast rebuilding all stub_entry.S files

  • 9 Replies
  • 2854 Views
*

Offline rudi

  • ***
  • 126
  • A590IS_101B, SX260HS_100B
fast rebuilding all stub_entry.S files
« on: 21 / November / 2012, 10:59:31 »
Advertisements
For fast rebuilding all stubs_entry.S files I have add a new section batch-rebuild-stubs in Makefile.
Normally get auto_build.sh all platforms/platformsubs without SKIP_AUTOBUILD. For this case, we need all platforms/platformsubs, so I add a paramater $4. If $4 = "-noskip" then get auto_build.sh all listed platforms/platformsubs.
The unported cameras ixusW_sd430 and s80 are also listed in camera_list.csv. Only for these is the makefile.inc check in Makefile section rebuild-stubs required.
Why they are not cleaned in platform, loader and camera_list.csv?

Additional is a patch for stubs_entry.S for trunk 2297 created by make batch-rebuild-stubs.

*

Online philmoz

  • *****
  • 3163
    • Photos
Re: fast rebuilding all stub_entry.S files
« Reply #1 on: 22 / November / 2012, 03:45:37 »
For fast rebuilding all stubs_entry.S files I have add a new section batch-rebuild-stubs in Makefile.
Normally get auto_build.sh all platforms/platformsubs without SKIP_AUTOBUILD. For this case, we need all platforms/platformsubs, so I add a paramater $4. If $4 = "-noskip" then get auto_build.sh all listed platforms/platformsubs.
The unported cameras ixusW_sd430 and s80 are also listed in camera_list.csv. Only for these is the makefile.inc check in Makefile section rebuild-stubs required.
Why they are not cleaned in platform, loader and camera_list.csv?

Additional is a patch for stubs_entry.S for trunk 2297 created by make batch-rebuild-stubs.

Thanks for that.
I've added this to both the trunk and release-1.1 versions.

Phil.

Edit: - anyone have the A570 1.01a firmware dump? The box repository is offline.
« Last Edit: 22 / November / 2012, 04:01:18 by philmoz »
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)

*

Offline msl

  • *****
  • 1269
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: fast rebuilding all stub_entry.S files
« Reply #2 on: 22 / November / 2012, 06:35:45 »
anyone have the A570 1.01a firmware dump? The box repository is offline.

Temporary for you from the CHDK-DE server: https://www.box.com/s/vv7wjbvz72cf3w4uw6li

msl
CHDK-DE:  CHDK-DE links

*

Online philmoz

  • *****
  • 3163
    • Photos
Re: fast rebuilding all stub_entry.S files
« Reply #3 on: 22 / November / 2012, 07:02:57 »
anyone have the A570 1.01a firmware dump? The box repository is offline.

Temporary for you from the CHDK-DE server: https://www.box.com/s/vv7wjbvz72cf3w4uw6li

msl

Thanks.

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)


*

Offline fe50

  • ******
  • 3117
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: fast rebuilding all stub_entry.S files
« Reply #4 on: 23 / November / 2012, 01:35:51 »
Edit: - anyone have the A570 1.01a firmware dump? The box repository is offline.
Not really, i've moved the "big" folders outside the public available share folder.

Some time ago, Box.net added the "Download folder" button for public shares also for free accounts; ATM there's no way to disable this...

Now users often use this button and download the whole CHDK folder or complete sub-folders like the "P&S fw dumps" folder.
Therefore the traffic limit of 10GB per month was reached after a few days...

Re: fast rebuilding all stub_entry.S files
« Reply #5 on: 23 / November / 2012, 10:28:51 »
Edit: - anyone have the A570 1.01a firmware dump? The box repository is offline.
Not really, i've moved the "big" folders outside the public available share folder.
Is there a way to find those now then ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline fe50

  • ******
  • 3117
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: fast rebuilding all stub_entry.S files
« Reply #6 on: 24 / November / 2012, 04:25:32 »
Is there a way to find those now then ?
The box.net support team can't or is not willed to disable the "Download folder" button for the CHDK box account.
I'm not willed to create, publish & manage hundreds of links to the separate files, so i started to build up a CHDK download repository with the google drive service.

When the content (~1GB of size, will be the same files & structures as on box/CHDK) is ready for public use i'll post the needed informations and update the wikia links...
 
Stay tuned, this should be done within one or two days...
  :xmas

*

Offline nafraf

  • *****
  • 1308
Re: fast rebuilding all stub_entry.S files
« Reply #7 on: 24 / November / 2012, 07:29:37 »
I'm not willed to create, publish & manage hundreds of links to the separate files, so i started to build up a CHDK download repository with the google drive service.
Would be possible to classify firmware dumps by series in different folders? Axxx, Sxxx, Gxx, ELPHxxx?
Thanks


*

Offline fe50

  • ******
  • 3117
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: fast rebuilding all stub_entry.S files
« Reply #8 on: 24 / November / 2012, 12:50:46 »
I'm not willed to create, publish & manage hundreds of links to the separate files, so i started to build up a CHDK download repository with the google drive service.
Would be possible to classify firmware dumps by series in different folders? Axxx, Sxxx, Gxx, ELPHxxx?
Yes, but this would not really eliminate the bandwith problem (10GB / month)...

--> Stay tuned, the new chdkfiles repository on google drive will be available soon...

*

Online philmoz

  • *****
  • 3163
    • Photos
Re: fast rebuilding all stub_entry.S files
« Reply #9 on: 08 / December / 2012, 22:37:08 »
For fast rebuilding all stubs_entry.S files I have add a new section batch-rebuild-stubs in Makefile.
Normally get auto_build.sh all platforms/platformsubs without SKIP_AUTOBUILD. For this case, we need all platforms/platformsubs, so I add a paramater $4. If $4 = "-noskip" then get auto_build.sh all listed platforms/platformsubs.
The unported cameras ixusW_sd430 and s80 are also listed in camera_list.csv. Only for these is the makefile.inc check in Makefile section rebuild-stubs required.
Why they are not cleaned in platform, loader and camera_list.csv?

Additional is a patch for stubs_entry.S for trunk 2297 created by make batch-rebuild-stubs.

I've added a new version of batch-rebuild-stubs called batch-rebuild-stubs-parallel.
This starts each of the stubs_entry.S builds in a seperate session so they all run in parallel.
On a multi-code CPU this will use all available cores and runs much faster - on my 6 core PC it reduces the total stubs rebuild time from 20 minutes to under 3 minutes.

At the moment this is Windows only and it will use 100% CPU and a fair amount of memory until all the builds are done.

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)

 

Related Topics