G16 Porting Thread - Test Versions Available - page 17 - DryOS Development - CHDK Forum

G16 Porting Thread - Test Versions Available

  • 229 Replies
  • 131431 Views
Re: G16 Porting Thread - Test Versions Available
« Reply #160 on: 10 / March / 2018, 18:59:41 »
Advertisements
Yes, I would appreciate if you could post a build with the timer reset.  I would like to test the build which would hopefully allow a final version for this firmware to be released.
I can remove the warning message but I don't believe that's the problem. Normally you can just safely ignore the warning but in your case the camera apparently stops functioning.  Which suggests that something is wrong with the CHDK port for the 1.01b.

Can you expand a bit more on what you mean by
Quote
"That is, not its normal state, but one where the lens doesn't extend and the menus are grayed out."
When you have the SD card switch locked, you get the CHDK splash screen logo at boot (with the warning message) but then that goes away and you get the "Card locked" Canon warning message and nothing responds after that?

I'll take a look for anything obvious but we might need to go through a few trial & error test versions before we get is all sorted out if you are up for that?


Edit test build #1 attached.  You can simply unzip it (expanding the folders) onto the root folder of your working CHDK SD card - no need to reformat or use STICK. This one will blink the orange LED on the OVF rapidly a few time on boot. You should also see a number counting up in the upper left hand area of the LCD. CHDK shooting feature have been disabled while we test this.  The warning message has been removed too.  Let me know what you see?

Not sure what's going on now.  The zip file created a subdirectory on the card, despite pointing the unzip location to the root directory.  I started over, formatting the card and reinstalling the original 101b build, but now the camera won't recognize that CHDK is present - it reads it as an ordinary locked card.  Same result if I unzip the new build into the card.

Re: G16 Porting Thread - Test Versions Available
« Reply #161 on: 10 / March / 2018, 19:09:38 »
Not sure what's going on now.  The zip file created a subdirectory on the card, despite pointing the unzip location to the root directory.
The zip file has files that go in the root or top directory. These are essentially the core CHDK program itself and a couple of text files.

It also has a subfolder called CHDK where all the rest of the files needed for CHDK are stored.

So what you saw was perfectly normal.

Quote
I started over, formatting the card and reinstalling the original 101b build, but now the camera won't recognize that CHDK is present - it reads it as an ordinary locked card.  Same result if I unzip the new build into the card.
When you reformatted the card, you wiped out the special configuration that STICK did to the card's master boot sector. 

To boot with the "SD Card Lock" method, two things are required
  • a file called DISKBOOT.BIN in the root folder
  • a special signature ("BOOTDISK") stored in the SD cards boot sector starting at offset 0x40 (decimal 64) on a FAT16 volume and at offset 0x1E0 on a FAT32 volume.

You need to rerun STICK to get the "BOOTDISK" signature rewritten.
« Last Edit: 10 / March / 2018, 19:13:47 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread - Test Versions Available
« Reply #162 on: 10 / March / 2018, 19:31:11 »
Not sure what's going on now.  The zip file created a subdirectory on the card, despite pointing the unzip location to the root directory.
The zip file has files that go in the root or top directory. These are essentially the core CHDK program itself and a couple of text files.

It also has a subfolder called CHDK where all the rest of the files needed for CHDK are stored.

So what you saw was perfectly normal.

Quote
I started over, formatting the card and reinstalling the original 101b build, but now the camera won't recognize that CHDK is present - it reads it as an ordinary locked card.  Same result if I unzip the new build into the card.
When you reformatted the card, you wiped out the special configuration that STICK did to the card's master boot sector. 

To boot with the "SD Card Lock" method, two things are required
  • a file called DISKBOOT.BIN in the root folder
  • a special signature ("BOOTDISK") stored in the SD cards boot sector starting at offset 0x40 (decimal 64) on a FAT16 volume and at offset 0x1E0 on a FAT32 volume.

You need to rerun STICK to get the "BOOTDISK" signature rewritten.

Tried that - reran STICK to install the original 101b build, it says the card is prepared, but the camera sees it as an ordinary locked card.

Re: G16 Porting Thread - Test Versions Available
« Reply #163 on: 10 / March / 2018, 19:39:37 »
[email]
Tried that - reran STICK to install the original 101b build, it says the card is prepared, but the camera sees it as an ordinary locked card.
It's frustrating that most of these problems seem to be with STICK and getting your SD card setup. Are you back on your Ubuntu machine or the Windows laptop?

There are other ways to get the SD card setup, as I mentioned earlier, but STICK is the usually the easiest.

Attach the STICK log file please?
Ported :   A1200    SD940   G10    Powershot N    G16



Re: G16 Porting Thread - Test Versions Available
« Reply #166 on: 10 / March / 2018, 20:54:59 »
I need to just give up on getting it to work with OSX.
Not my code. zeno/dave can worry about that some other day.
Quote
It installed fine again in Windows using IE to download the zip files.The 2nd build is installed.  Upon starting the camera, the sequence is rapid flash of orange LED, Canon logo displays briefly (this is my standard startup screen), "No image" message CHDK logo displays briefly, counter starts in upper left and continues until camera is turned off, no expiration warning visible
Sound pretty normal.  The "no image" message is pretty much normal if there are no images on your SD card.

If you press the shutter button, does the lens extend?  Can you take a photo by pressing again?

If you press the "ShortCut" button (the one below the red dot video button) does the CHDK <ALT> menu appear?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread - Test Versions Available
« Reply #167 on: 10 / March / 2018, 21:31:31 »
I need to just give up on getting it to work with OSX.
Not my code. zeno/dave can worry about that some other day.
Quote
It installed fine again in Windows using IE to download the zip files.The 2nd build is installed.  Upon starting the camera, the sequence is rapid flash of orange LED, Canon logo displays briefly (this is my standard startup screen), "No image" message CHDK logo displays briefly, counter starts in upper left and continues until camera is turned off, no expiration warning visible
Sound pretty normal.  The "no image" message is pretty much normal if there are no images on your SD card.

If you press the shutter button, does the lens extend?  Can you take a photo by pressing again?

If you press the "ShortCut" button (the one below the red dot video button) does the CHDK <ALT> menu appear?

Pressing the shutter button, the lens extends and a second press takes a photo.

The shortcut button brings up the CHDK alt menu although it blinks rapidly.

Re: G16 Porting Thread - Test Versions Available
« Reply #168 on: 10 / March / 2018, 21:32:33 »
I need to just give up on getting it to work with OSX.
Not my code. zeno/dave can worry about that some other day.
Quote
It installed fine again in Windows using IE to download the zip files.The 2nd build is installed.  Upon starting the camera, the sequence is rapid flash of orange LED, Canon logo displays briefly (this is my standard startup screen), "No image" message CHDK logo displays briefly, counter starts in upper left and continues until camera is turned off, no expiration warning visible
Sound pretty normal.  The "no image" message is pretty much normal if there are no images on your SD card.

If you press the shutter button, does the lens extend?  Can you take a photo by pressing again?

If you press the "ShortCut" button (the one below the red dot video button) does the CHDK <ALT> menu appear?

Pressing the shutter button, the lens extends and a second press takes a photo.

The shortcut button brings up the CHDK alt menu although it blinks rapidly.

Tried it again and it's stable, no blinking.

Re: G16 Porting Thread - Test Versions Available
« Reply #169 on: 10 / March / 2018, 21:56:29 »
Tried it again and it's stable, no blinking.
The blinking is unfortunately normal - especially when the camera is in shooting mode rather than playback mode.  It's a long story.

Now that you seem to have the install process worked out, here's a build with everything enabled (other than the nagging expired message).  Let's see how that goes?
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal