Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - REDcineX

Pages: [1]
1
Camera Emergency Department / 5DM2 Not Working With 64GB CF and ML
« on: September 11, 2013, 07:14:32 AM »
Hi all,

     I have a 5D Mark II. I put the newest nightly build on my Komputerbay 64GB 1000x CF. It kept giving me problems stating that "Fonts.DAT" wasn't found. Finally, it stops saying that when inserting into the camera. I inserted in the camera and recorded a regular .h264 video. Then took a couple pictures. I hit playback and the images and video was corrupt. The images were fuzzy with a big banner that said they are corrupt and the video would play like the first frame or couple frames and loop for the remaining part of the video. Now when I try to turn it on with ML on the card, the playback, info, trash can, live view, and menu buttons do nothing.

     I put the same files on my Komputerbay 32GB 600x and it works perfectly.

     I bought a new Komputerbay 64GB 1000x and I put it in the camera. It won't format. It just refuses to! What do I do?

PS: If I take out the card it works as normal.

One other thing to note is that when I insert the card that won't format in the camera actually in the camera, the camera waits for a while and displays busy on the side lcd. Yes, this card is visible on my mac and will supposedly format it, but the 5D2 won't read it.

2
Success!

Last login: Wed Aug 14 00:31:07 on ttys000
Macbook-Pro-i7-26gHz-2012:~ Admin$ cd desktop/untitledfolder
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$ ls
M12-1656.RAW   _MG_9521.CR2   _MG_9524.CR2   _MG_9527.CR2
_MG_9518.CR2   _MG_9523.CR2   _MG_9526.CR2
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$ cr2hdr _MG_9523.CR2

Input file     : _MG_9523.CR2
Full size      : 5792 x 3804
Active area    : 5634 x 3753
White level    : 15834
Black borders  : 158 left, 51 top
Black level    : 972
ISO pattern    : BddB GBRG
Estimating ISO difference...
ISO difference : 4.21 EV (1847)
Black delta    : -6.81
Interpolation  : mean23-chroma5x5-contrast
Matching brightness...
Looking for hot pixels...
Hot pixels     : 1438
Full-res reconstruction...
Alias filtering...
Dark chroma filtering...
Building contrast map...
Dilating contrast map...
Smoothing contrast map...
ISO overlap    : 4.8 EV (approx)
Black adjust   : -3
Output file    : _MG_9523.DNG
    1 image files updated


My problem was this:

lrwxr-xr-x     1 root   wheel        49 Aug 13 23:07 cr2hdr -> /Users/Admin/magic-lantern/module/dual_iso/cr2hdr

When I ran the ls -al I saw the folder said "module" not "modules"

3
I get the same thing as Danne below. And I would imagine the problem is the in the toolchain as I mentioned before, the file says 4.7.4 (not 4.7.3). So we are calling a file that is not there. Of course, it can't find it. If I change it to 4.7.4 in the makefile.user, I get past that error, but I still do not get cr or cr2hdr as a command at the end.

Macbook-Pro-i7-26gHz-2012:~ Admin$ sudo rm /usr/bin/cr2hdr
Password:
Macbook-Pro-i7-26gHz-2012:~ Admin$ cd magic-lantern/modules/dual_iso/
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ make clean
[ RM ]  dual_iso.o dual_iso.mo *.o *.d
[ RM ]  cr2hdr
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ make
[ GCC      ]   cr2hdr
[ GCC      ]   cr2hdr
[ GCC      ]   cr2hdr
~/Downloads/gcc-arm-none-eabi-4_7-2013q2/bin/arm-none-eabi-gcc-4.7.3  -Os -mthumb-interwork -march=armv5te -D__ARM__ -Wp,-MMD,./dual_iso.d -Wp,-MT,dual_iso.o -nostdlib -fomit-frame-pointer -fno-strict-aliasing -I../../include  -Wall -W -Wno-unused-parameter -Wno-unused-function -Wno-implicit-function-declaration -Wno-missing-field-initializers -Wno-format -Wdouble-promotion -ffast-math -fno-trapping-math -fsingle-precision-constant -fshort-double -std=gnu99 -Winline -I../../platform/all -I../../platform/all/include -I../../src -I../../picoc   -DMODULE -DMODULE_NAME=dual_iso    -c -o dual_iso.o dual_iso.c
/bin/sh: /Users/Admin/Downloads/gcc-arm-none-eabi-4_7-2013q2/bin/arm-none-eabi-gcc-4.7.3: No such file or directory
make: *** [dual_iso.o] Error 127


Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ make
~/Downloads/gcc-arm-none-eabi-4_7-2013q2/bin/arm-none-eabi-gcc-4.7.4  -Os -mthumb-interwork -march=armv5te -D__ARM__ -Wp,-MMD,./dual_iso.d -Wp,-MT,dual_iso.o -nostdlib -fomit-frame-pointer -fno-strict-aliasing -I../../include  -Wall -W -Wno-unused-parameter -Wno-unused-function -Wno-implicit-function-declaration -Wno-missing-field-initializers -Wno-format -Wdouble-promotion -ffast-math -fno-trapping-math -fsingle-precision-constant -fshort-double -std=gnu99 -Winline -I../../platform/all -I../../platform/all/include -I../../src -I../../picoc   -DMODULE -DMODULE_NAME=dual_iso    -c -o dual_iso.o dual_iso.c
[ MODULE   ]   dual_iso.mo
[ STRIP    ]   dual_iso.mo
[ EXPORTS  ]   dual_iso.sym
[ DEPENDS  ]   dual_iso.dep
Not checked (compile ML for these cameras first):
    100D, 1100D, 40D, 500D, 50D, 550D, 5D2, 5D3, 5DC, 600D, 60D, 650D, 6D, 700D, 7D, EOSM
make: *** [dual_iso.dep] Error 1
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ ls
Makefile   cr2hdr      cr2hdr.o   dual_iso.d   dual_iso.o   optmed.h
chdk-dng.o   cr2hdr.c   dual_iso.c   dual_iso.mo   dual_iso.sym   qsort.h
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ sudo ln -s /Users/Admin/magic-lantern/module/dual_iso/cr2hdr /usr/bin/cr2hdr
Password:
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ cd ~/Desktop
Macbook-Pro-i7-26gHz-2012:Desktop Admin$ cd untitledfolder
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$ ls
M12-1656.RAW   _MG_9518.CR2   _MG_9521.CR2   _MG_9523.CR2   _MG_9524.CR2   _MG_9526.CR2   _MG_9527.CR2
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$ cr
-bash: cr: command not found
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$ cr2hdr _MG_9524.CR2
-bash: cr2hdr: command not found

4
@Francis Do you know why I am still getting a "command not found" error?

Look at reply #12 for the terminal

5
I believe you need to remove the "/Users/Saverio" in the ARM path on your makefile.user.

6
Francis,

sorry if I'am asking again your help but i have some errors.

I link a screenshoot with errors I have.



I attached also 2 other screen shoot to show my settings.





Please can you check if are they ok?

Many thanks in advance!
Saverio


Can you post a screenshot of what is in "bin"?

7
Hehe. One step at a time. Successfully deleted the previous file. Unfortunately, it still won't recognize "cr2hdr" as a command.

Macbook-Pro-i7-26gHz-2012:~ Admin$ rm /usr/bin/cr2hdr
rm: /usr/bin/cr2hdr: Permission denied
Macbook-Pro-i7-26gHz-2012:~ Admin$ sudo rm /usr/bin/cr2hdr
Password:
Macbook-Pro-i7-26gHz-2012:~ Admin$ cd magic-lantern/modules/dual_iso
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ make
[ DEPENDS  ]   dual_iso.dep
Not checked (compile ML for these cameras first):
    100D, 1100D, 40D, 500D, 50D, 550D, 5D2, 5D3, 5DC, 600D, 60D, 650D, 6D, 700D, 7D, EOSM
make: *** [dual_iso.dep] Error 1
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ sudo ln -s cr2hdr /usr/bin/cr2hdr
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ sudo ln -s cr2hdr /usr/bin/cr2hdr
ln: /usr/bin/cr2hdr: File exists
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ cd ..
Macbook-Pro-i7-26gHz-2012:modules Admin$ cd ..
Macbook-Pro-i7-26gHz-2012:magic-lantern Admin$ cd ..
Macbook-Pro-i7-26gHz-2012:~ Admin$ cd desktop
Macbook-Pro-i7-26gHz-2012:desktop Admin$ cd untitledfolder
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$ cr2hdr _MG_9518.CR2
-bash: cr2hdr: command not found
Macbook-Pro-i7-26gHz-2012:untitledfolder Admin$

8
Fixed the problem of the .alias files. It was my unarchiver.

Now it still won't work, but at least that problem above is out of the way.

Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ make
[ MODULE   ]   dual_iso.mo
[ STRIP    ]   dual_iso.mo
[ EXPORTS  ]   dual_iso.sym
[ DEPENDS  ]   dual_iso.dep
Not checked (compile ML for these cameras first):
    100D, 1100D, 40D, 500D, 50D, 550D, 5D2, 5D3, 5DC, 600D, 60D, 650D, 6D, 700D, 7D, EOSM
make: *** [dual_iso.dep] Error 1
Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ sudo ln -s cr2hdr /usr/bin/cr2hdr
Password:
ln: /usr/bin/cr2hdr: File exists


Is my problem that the file is already there so it won't overwrite it? Where can I actually find that file and erase it?

9
My first urge wasn't to use the windows version. I have parallels installed so I was going to see if I could use anything on windows. I rendered it pointless as others have made the mac version work.

I have tried both the new version of the toolchain and old versions because depending on which one I download I get more .alias (link) files. That is exactly how it looks after extracting the mac .tar.bz2

EDIT: I downloaded the current toolchain and changed it back to 4.7.3. My problem is still "/bin/sh: /Users/Admin/Downloads/gcc-arm-none-eabi-4_7-2013q2/bin/arm-none-eabi-ld: No such file or directory"

Because it appears as a link/alias and goes nowhere. I don't understand how it is doing that..

10
I have tried the windows, linux, and mac version. All with the same results. It just happened to be the windows one I took a screenshot of.



11
After downloading a few versions of the toolchain, I found an .exe of the 4.7.3 file. Now Terminal tells me that it cannot find the -ld file. I found the file and it is, as previously stated, a .alias file as well. It points no where.


"Macbook-Pro-i7-26gHz-2012:dual_iso Admin$ make
[ MODULE   ]   dual_iso.mo
/bin/sh: /Users/Admin/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi-ld: No such file or directory
make: *** [dual_iso.mo] Error 127"

Proof that file is in directory:


Makefile.user:

12
I looked up the file in the directory and found that on mac it is a .alias instead of an executable that surround it.




EDIT: And it doesn't link to an original file..

13
I am getting an error because it cannot find the file.

"/bin/sh: /Users/Admin/Downloads/magic-lantern/gcc/bin/arm-none-eabi-gcc-4.7.3: No such file or directory"

14
Modules Development / Re: Dual ISO - massive dynamic range improvement
« on: August 13, 2013, 07:29:56 AM »
When I type "./magic-lantern/modules/dual_iso"
Terminal replies "-bash: ./magic-lantern/modules/dual_iso: is a directory"

I type "make" after cd to /dual_iso
Terminal replies "[ GCC      ]   cr2hdr
[ GCC      ]   cr2hdr
[ GCC      ]   cr2hdr
~/Downloads/magic-lantern/gcc/bin/arm-none-eabi-gcc-4.7.3  -Os -mthumb-interwork -march=armv5te -D__ARM__ -Wp,-MMD,./dual_iso.d -Wp,-MT,dual_iso.o -nostdlib -fomit-frame-pointer -fno-strict-aliasing -I../../include  -Wall -W -Wno-unused-parameter -Wno-unused-function -Wno-implicit-function-declaration -Wno-missing-field-initializers -Wno-format -Wdouble-promotion -ffast-math -fno-trapping-math -fsingle-precision-constant -fshort-double -std=gnu99 -Winline -I../../platform/all -I../../platform/all/include -I../../src -I../../picoc   -DMODULE -DMODULE_NAME=dual_iso    -c -o dual_iso.o dual_iso.c
/bin/sh: /Users/Admin/Downloads/magic-lantern/gcc/bin/arm-none-eabi-gcc-4.7.3: No such file or directory

I enter "sudo ln -s cr2hdr /usr/bin/cr2hdr"
Terminal responds "ln: /usr/bin/cr2hdr: File exists"


15
Modules Development / Re: Dual ISO - massive dynamic range improvement
« on: August 13, 2013, 04:49:51 AM »
The only other thing I might have done wrong was download the toolchain (mac version), renamed it gcc, and placed it inside the magic-lantern folder in Downloads. I used all your commands, Francis, after that to keep it consistent.

16
Modules Development / Re: Dual ISO - massive dynamic range improvement
« on: August 13, 2013, 04:17:48 AM »
Aww..

"-bash: cr2hdr: command not found"

To back track a little further. When I do this line and of course the same line for raw2dng:
"Type 'make' then 'sudo ln -s cr2hdr /usr/bin/cr2hdr'."

Terminal says: "make: *** No targets specified and no makefile found. Stop."

17
Modules Development / Re: Dual ISO - massive dynamic range improvement
« on: August 13, 2013, 03:12:20 AM »
Error: Port hg not found

18
Modules Development / Re: Dual ISO - massive dynamic range improvement
« on: August 13, 2013, 01:30:30 AM »
Hi all.

Really new to this and I have a "dumb" question. I'm on Mac (Mountain Lion) I have the source code and pre-built toolchain. Could someone point me where to go from there. Not quite sure what to do with it to use my 5D2 .cr2 files and get cr2hdr working.

Pages: [1]