GH1 firmware research volunteers required

1279284902.jpg

1279284917.jpg

1279284941.jpg

1279284959.jpg



Quality generally is very good.
Design looks like bunch of analog things :-)
Same thing made using LED screen, DSP+Codec could be made cheaply.
But high development costs are included.
 
Last edited:
PTool 3.40d updated

"Additional version patch" added to testers patches for guys with newest Panasonic firmware versions flashed on factory (GH1 and GF1).
 
Special note

This is time then we especially need your support.
You can ask, why this is so?

Here is short explanation:
We want to archive same level of firmware understanding as in CHDK project, and in some areas even more deep.
Main difference here is that CHDK required years to gain such knowledge, they had very good SDK documentation, few leaks and bunch of debug strings. In no way it undermine that this guys made. But we don't have any of this, including time :-).
Plus we want to stay "clear project". Legal in every aspect.
In today terms it means that we need to make our own MN103S assembler.
As in last days we hit our next wall. We can load data from SD card, and we can even assign this action on menu items. So you just select item, click and part of your firmware functionality temporary changes (pull battery out and you at default firmware mode).
But any further progress is not possible without assembler, as Panasonic IDE have clear legal issues (it is trial with restricting license), plus it have many functional issues that is not very handy to us.
 
i've tryed diffirent compiler chains (am33 inclusive /gcc support that version of mn103/) but all that works was done on linux.
if you mention build for "windows users" - that was not sawn ...
not needed specific assembler, but appropriate header files for development ...
 
i've tryed diffirent compiler chains (am33 inclusive /gcc support that version of mn103/) but all that works was done on linux.
if you mention build for "windows users" - that was not sawn ...
not needed specific assembler, but appropriate header files for development ...

Thanks, it looks much better.

Can you try if http://sourceforge.net/downloads/mingw/
and http://sourceforge.net/projects/dev-cpp/ will work for Windows.

Anyway, we need our own assembler, but compatible gcc can be also handy.

One more option - http://ecos.sourceware.org/install-windows-131.html
 
Last edited:
PTool 3.40d updated

GF1 "Movie modes" patch added (M,A,P,S selection).

[Please note that this is risky patch.
I tested few not so risky variants but shooting mode jumped to stills after M,A,S selection (instead of staying in corresponding movie modes).
Now patch forces special internal mode to movie setting (same as GH1).
Most probably it'll result in non-working stills in non iA modes.

After your testing results we could move to improved variants of this patch.] - not actual anymore
 
Last edited:
Important Announcement

Manual movie modes work now on GF1 same as on GH1 (with latest "Movie modes" patch).
This includes all M, A, S modes.

You need to go to menu and set appropriate mode.
Also if you go to menu in picture shooting mode it'll convert to corresponding movie mode, just turn wheel one click and return it back to go to back to normal picture mode.
This can be even handy :-)

Tested and working. Including shutter control during recording, etc.

So, GF1 can be used as second camera now.
 
Last edited:
Important Announcement

Manual movie modes work now on GF1 same as on GH1 (with latest "Movie modes" patch).
This includes all M, A, S modes.

You need to go to menu and set appropriate mode.
Also if you go to menu in picture shooting mode it'll convert to corresponding movie mode, just turn wheel one click and return it back to go to back to normal picture mode.
This can be even handy :-)

Tested and working. Including shutter control during recording, etc.

So, GF1 can be used as second camera now.

There is a god! Thank you kind sir. You just made my day!
 
Vitaliy,

Thank you for your excellent work on the firmware hack. Outstanding.

I can't seem to get the latest manual movie modes feature working on my GF1, though. I followed your instructions to a T with the last 3.40d Ptool, and made sure to check the new boxes under "Patches for Testers": Preset Bitrate and Preset Bitrate 2. I'm assuming these boxes should be checked to enable the new manual movie modes in M/A/P/S?

I'm still not seeing any additional options/functionality in either the GF1 main menu, the toggle wheel menu, or any of the function buttons. Am I missing something or did the new hack not take?

Patches for testers/Middle Level Research/Menu Related/Movie Mode Patches

Give that one a click and you will be one happy camper.
 
Where to begin? Getting the manual features in video on the GF1 is like getting a whole new camera. It is great to be able to dial in the settings exactly. However, adjusting settings while filming is not recommended. The sound from the clicking wheel is annoying and the changes in picture are distracting.

However, I love setting up each scene perfectly and then using manual focus as I go.

There is one caution here though. Don't save any of the custom settings while in manual video mode. It will save them in that mode with only one way to change it back. That means you can't take pictures at all in that mode.

If you accidentally save it that way then just go to another custom mode, load it, and then save it over the custom mode you overwrote with the video only mode. Whatever you do don't overwrite all four of the modes. I am not sure you can recover from that without resetting the camera completely back to factory settings. Which will also reset you picture numbering.

I will post some samples later on.
 
Unfortunately a "compiling compiler" is not enough... there are some other issues to take care, as parameter passing, stack management, static/dynamic linking, library functions... For example Vitaliy said that there are 3 fopen functions in the code. So if you want to use fopen in your c code you must pass the parameters correctly (in registers, in the stack, in memory areas, a mix of all these?) and get the return value correctly. About this time in the year in 2001 I took part for some weeks in a similar reverse-engineering project. Someone adapted a disassembler to that embedded chip mnemonics and a full dump was finally produced. I took that disassembly and started to look at some often-called routines and name them... strcpy, strncpy etc... I then recreated some snippets of c code and compiled them with the compilers we could find for that chip, including trial of professional dev. Unfortunately none of that compilers created a similar parameter passing frmework...
 
mrduck : why need to post abstract message ? in firmwares all linking only static, there no any type of shared *.dll/*.so for dynamicaly linking to thats. Currently only Vitaly have most adequate reversed code (unsharable). And if you take a look to #2724 you may understand why is needed compiler.
And FYI: if need exact parameter passing to func/proc thru registers and not thru stack, you need pass that in inline asm code part, but not need to program whole procedure code in pure asm . So simple You forgot about KISS principles.
 
Last edited:
DaLiV, you are right. I just wanted to say that having a compiler doesn't automatically means that the compiled code may be used as is.... I understand what Vitaliy is trying to do, "hook" some jump table/jump instruction to "inject" it's own compiled code. May we continue in private ?
 
PTool 3.40d is updated

Added "Remove encoder limits" patch (will replace Limiting bitrate later).
Added "Overall bitrate 2" patch (for testers AVCHD encoder research).
GF1 Manual Movie modes patch moved from testers section.

GF1 FullHD patch just for fun. Encoder works, but image is flickering and is not of appropriate resolution.
 
Last edited:
PTool 3.40d is updated

Added "Remove encoder limits" patch (will replace Limiting bitrate later).
Added "Overall bitrate 2" patch (for testers AVCHD encoder research).
GF1 Manual Movie modes patch moved from testers section.

GF1 FullHD patch just for fun. Encoder works, but image is flickering and is not of appropriate resolution.

I don't have my camera with me right now so I can't test this. Is this doing true 1080p for the GF1? Are we talking MJPEG or AVC-HD for this mode? Are there major differences between this new 1080p mode and the old MJPEG 1080p mode?

Great work. You really are doing an outstanding job and we all appreciate your efforts very much.
 
Hi Vitaly

How likely is the breakthrough of video out whilst recording ? You said that it is complicated, but since then some time has passed and youve made some significant progress...

Would be awesome especially because I just finished my 5m crane...

Please excuse if this question has been answered, in that case I must have overread it....
 
Ability to select your camera standard through menu, on the fly (but of course, you must change cards or format old card as it is impossible to mix PAL/NTSC content).

Sounds like a great enhancement. I actually switched my camera over to PAL from NTSC because theoretically 25 FPS video should offer more bits per frame than 30 FPS. However, I noticed that on my GF1 MJPEG is still 30 FPS and AVC-HD nows shows up as 50 FPS instead of the 120 FPS that would show for an unhacked NTSC camera.

The new 1080p AVC-HD GF1 option is cool but it almost looks like a frame rate issue. The seconds would tick away twice as fast for the FHD video and it shows up with interlaced artifacts. Is it possible that the new 1080p option is trying to drive the GF1 at 1080i @ 30 FPS as opposed to 1080i @ 24 FPS like in the GH1? Or maybe it is trying to do 1080p @ 60 FPS and then interlace it?

Anyway, definitely add the in camera format switching option. I would love to have that.

Besides 720p @ 60 FPS and 1080p @ 24 FPS are there any other non-mechanical things that can be added to the GF13 that are in the GH1?

It is going to be tough for the GH2 to top the GH1 or the GF1 for that matter. They are going to have to bring out something really special to get us to want to upgrade. Keep up the great work.
 
Last edited by a moderator:
Back
Top