Can SDM and CHDK be on the same SDHC card In-Camera - page 3 - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Can SDM and CHDK be on the same SDHC card In-Camera

  • 66 Replies
  • 15800 Views
*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #20 on: 18 / February / 2009, 08:08:56 »
Advertisements
@ewavr

You're probably using the original sh.exe from the 'gcc_env_for_hdk-3.4.6.rar' ?
that's actually zsh 3.0.5-nt-beta-0.68 (from 'echo $ZSH_VERSION') by Amol Deshpande
there also exists a slightly later version (zsh 3.0.5-nt-beta-0.75) and the source code to
beta 0.76.
Found it while looking for a Vista compatible shell program, but it did not work ...
On XP beta 0.75 worked exactly like 0.68 for me, in fact it is the only other Windows sh
that successfully handled the CHDK Makefile system ...
There must be enormous problems in porting zsh to Windows, because there is no newer
versions than the above 3.0.5 beta's, while the current zsh version is 4.3.9 ...

edit: attached edit2: removed attachments: zsh-3.05-nt-beta-0.75.zip & zshsrc-beta-0.76.tar.gz
                                       PM me if you need/want them

wim
« Last Edit: 19 / February / 2009, 16:01:34 by whim »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #21 on: 18 / February / 2009, 08:26:36 »
You're probably using the original sh.exe from the 'gcc_env_for_hdk-3.4.6.rar' ?
that's actually zsh 3.0.5-nt-beta-0.68 (from 'echo $ZSH_VERSION') by Amol Deshpande
Yes, 3.0.5-nt-beta-0.68
Quote
That said, if you want them, just say so and i'll attach them
Yes, please.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #22 on: 18 / February / 2009, 09:19:04 »
edit: attached

With this (z)sh.exe and any gensigs.sh we have other error:

d:\GCC-ARM\bin\cat.EXE: sig_ref_vxworks_1 2 3.txt: No such file or directory

and empty signatures_vxworks.h file.

WTF.

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #23 on: 18 / February / 2009, 10:22:43 »
@ewavr

reyalp seems to have encountered similar probs: http://chdk.setepontos.com/index.php/topic,2900.msg28959.html#msg28959

wim

edit: don't know if you run gensigs.sh directly or thru the Makefile, but if the latter: in this line
Quote
     $(SH) ./gensigs.sh $(SORT) vxworks "1 2 3" > signatures_vxworks.h ; \

$(SORT) under Windows expands to {some_path}//sort.exe ...

i have no idea if that causes trouble in this case, but i suppose in general all the stuff that sh is required to
expand must somehow overload it ...
« Last Edit: 18 / February / 2009, 10:44:44 by whim »


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #24 on: 18 / February / 2009, 11:16:52 »
Well, I complided it successfully (using my modification of gensigs.sh).
Unfortunately, I cannot still test it on camera.
Patch for "unlocking" diskboot.bin for all Vxworks cameras is attached.
Also I can upload binaries for any VxWorks camera for testing.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #25 on: 19 / February / 2009, 07:42:11 »
Tested on A710 and added to trunk in #713 (all addresses verified using IDA).

Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #26 on: 19 / February / 2009, 08:48:09 »
added to trunk in #713 (all addresses verified using IDA).


Good work !

Now Phyrephox can use CHDK   AND    SDM   ::)

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #27 on: 19 / February / 2009, 09:16:33 »
whats that remark about? it is not me who refuses to offer *.fir/fi2 files for his all-purpose-firmware :)

edit: i might add that this feature will not only be useful for switching between chdk and sdm. besides, there is no such feature in sdm yet ;)
« Last Edit: 19 / February / 2009, 09:22:30 by PhyrePhoX »


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #28 on: 19 / February / 2009, 09:34:50 »
Indeed, without manual CHDK loading is impossible to swap partitions in camera, if first partition is FAT32 (SDM has "swap partitions" option).

edit: Using sdminst.exe I "successfully" destroyed partition table of my hard disk (no SD card was inserted). And fortunately I have recovery software on CD.
« Last Edit: 19 / February / 2009, 13:38:42 by ewavr »

*

Offline whoever

  • ****
  • 280
  • IXUS950
Re: Can SDM and CHDK be on the same SDHC card In-Camera
« Reply #29 on: 19 / February / 2009, 13:44:00 »
Autobild works fine here. Indeed great job, thanks! Quite some effort, realizing what it takes to have
Quote
all addresses verified using IDA
among other things.

As a tiny little suggestion to those other kind people who're taking care of the creature known as CHDK trunk, could somebody add one or two little comments into the code next to ...hide() and ...unhide() explaining their purpose? Of course VxWorks is history, but it's still a reference code in a sense. And everybody knows how easy it is to read uncommented text, even well written.

edit:
Using sdminst.exe I "successfully" destroyed partition table of my hard disk (no SD card was inserted)
Great job again! Any details? I believe that many people, including myself, used sdminste without trouble...
« Last Edit: 19 / February / 2009, 13:49:13 by whoever »

 

Related Topics