This is an old revision of the document!
English Polski Česky Deutsch Hungarian Dutch Español Français Italiano Română Русский Türkçe 简体中文 日本語
Install Guide | User's Guide | FAQ
マジックランタンはCanonの一眼レフで動作するファームウエア拡張ソフトです。沢山の便利な機能を提供しています。それは、GPL(GNUパブリックライセンス)で提供されるオープンな枠組みで開発されています。
**いいえ** マジックランタンはメモリカードから起動し、標準ファームウエアの拡張機能として動作します。インストールしたとしてもキャノンファームウエアを上書きすることなく、すべての標準機能が利用できます。
もし、キャノンファームエアに戻るには・・・
**いいえ** 初期バージョンは5Dmk2用に別々のファームウエアでした(AJさんが作ったのでAJバージョンと呼ばれています)。このときは映画撮影用に特化したものでした。その後、マジックランタンはAPS-Cのカメラたちに移植されました。その際に、統合版(Unifiedバージョン)となり、静止画用の機能と動画用の機能の両方について便利な機能をいくつも提供しています。詳細は、後ほど説明します。
これは、たぶんOKです。Frequently asked questions about reverse engineeringとかlegality question; 結果、いろいろ調べたけど法律的に大丈夫ということがリンク先に書かれています。
マジックランタンは*キャノンのコードを含んでいません*。そしてキャノンやその他のメーカーの*コピーライトや暗号化のコードを配布していません**。すべてのコードは法律に触れない公開されたドキュメントと、実験的なARMコードを解析によって作られています。
*いいえ* マジックランタンは、一眼レフのOS上で文章化されていないことを試行錯誤によって作り上げたものです。そのため*100%安全とは言い切れません*。
マジックランタンはキャノンのコードを入れ替えることはしません。しかし*設定は変更します*(不揮発メモリに保存される標準ファームの設定)。もしマジックランタンが不正な値を書き込んでしまったら、カメラはマジックランタンに関係なく起動しません。
でもこれは、サードパーティのUSB経由でコントロールするAndroid・Windows・外付けデバイスをつかっても発生する可能性があります。 これらの外部装置は同じ機構をつかってカメラ設定を変更します。そして、キャノンのファームウエアは不正な値の場合にはその値を無視して起動してほしいが、その機能がなく不正な値を読み込んでクラッシュしますHere's a proof。USBコントロールの場合には、キャノン自身の公開しているSDKを使いますagree with this。
考えてみてください。設定ファイルが壊れていて、削除もできないため初期状態で起動できないとしたら。キャノンソフトウエアのこの部分は考慮が必要です。開発中にも発生するので、すでにわれわれは復旧方法を知っています。それはこちらUnbricking
**おそらく、もっとも安全にマジックランタンを利用するならカメラのモードをカスタムモードにしてください。これらのモードは、設定を不揮発メモリに保存しません。つまり不正な値で動作していたとしてもメモリ上でのみ動作して不揮発メモリに保存されていないため、再起動時には読み込まれません。(でも高級カメラにしかカスタムモードはありません)
今日、かなり多くのシチュエーションで使用していますし、数千のユーザーが問題なく利用できています。しかしこれは、完全なる保障といえるものではありませんので、ご利用の際には、自己リスクで使ってください。
実際、マジックランタンをつかって復旧することにも成功しています。 unbricked a 5D Mark II damaged by a USB remote controller app.
マジックランタンユーザーがいうには posted this on dpreview:
キャノンのCPS(イギリスのプロ用カスタマーサポート)と話をしたら、こういうアドバイスをされました。「ダウングレードは問題なく可能です、でもキャノンに送ってくれたら少しの料金でできるよ」
マジックランタンはハードウエア改造でないのでキャノンの保障は外れないともいわれました。
そして、ほかのユーザーposted this on t2iforum:
ポルトガルのキャノンにマジックランタンの使用について質問したのが以下です:
Quote
カスタムファームウエアや、サードパーティ製品と弊社製品の利用について、動作不具合がわかっているものに関しては保障の対象外になります。
キャノンはそれらの使用をとやかく言いませんが利用を決断するのはお客様の判断にてお願いします。 もちろん、キャノンではこれらはお勧めしませんし、これらの使用によって発生した障害は保障の対象外となります。
マジックランタンは*保障なし*で公開されているものです。ほとんど問題なく動きます。まだひとつもカメラを壊したことはありません。でもこの先壊れるかどうかは誰にもわかりません。
マジックランタンでサポート済みのカメラであれば、キャノンファームウエアのアップグレードに追従してマジックランタンもアップグレードします。新しいバージョンに合せてマジックランタン側を調整する作業が必要です。こんなかんじでpatchdiff2, Gensig/Finsig and GPL Tools/match.py。 (キャノンファームのバージョンごとにシステムコールのアドレスを探し出し、それらをマジックランタン側に静的に記述しておきます。)
これは*マジックランタンがキャノンのコードを含んでいない*からです。マジックランタンで公開されているファーム・コードはまったく法を侵すコードを含んでいません。
ゴミ箱
ボタンを押してください.
それはイージーモードだからです。このモードでは限られたいくつかの機能しか利用できません。
メニュー
ボタンを押してみてください。アドバンスドメニューになりすべての機能にアクセスできるようになります。
SDカードをマウントし、(ML/SETTINGS/MAGIC.CFG
)を削除してから、起動してください。
キャノンメニュー → 初期化 → Format card,KeepMagicLantern (Qでキープするか削除するかトグルで選択できます。削除を選ぶとアンインストールされます)
Clear Overlays
機能を有効にすることでフォーカスボックスや16:9のバーを隠すことができます。あと、省電力で停止してしまうのを阻止するために、シャッターを半押ししっぱなしになるよう固定しておいてください。技術的にはファームウエア上で12分制限しているものはありません。30分制限とファイルサイズ4Gの制限のどちらかに先に到達します。初期設定では、12分で4GBに到達します。
これらを使ってください:
`Debug`_ デバッグメニューから参照できます.
はい。ディスプレイゲインにて、画面明るさを7EVまで明るくなります。ノイズが多くなりますが、フォーカスや構図を決める程度には使えると思います
また、夜ならばメニューのテーマを暗めにすることもできますし、シャッター速度シュミレーションをOffにすることもできます。
いくつかあります:
はい。これらの機能を確認してください。
ライブビューでは、3-5%くらい多く電気が必要です。(60Dと5Dmk2でゼブラとフォーカスピーキングを試しました)。あなたが60Dを持っていたらこれyour own tests でテストできます。
他にもマジックランタンはLCDを切ったり、ミラーの移動なしにライプビューをポーズしたりする機能をもっていて省エネできます。詳細はこちら `Power saving`_
静止画モードでディスプレイOFFだと少し消費電力が大きい。それはマジックランタンが省電力機能を無効にしているから。(現にインターバルタイマーとかで設定時間がきても電源がきれない) 計測の結果60Dでは1時間で6%、5Dmk2では10%高くなった。
You will have to adjust the volume manually; use the audio meters to determine the proper level.
Best audio is obtained by use of a preamp system fed to the camera. As a general rule, the use of a quiet preamp to send the signal to the camera will result in better the sound recorded in camera. Use of a preamped XLR adapter like the JuicedLink CX231 or a field mixer will give superior results. You may also use a recorder like Zoom H1, H2 or H4n, but since the line out level is much higher than the mic level, you will have to turn the output down from your recorder or use a pad cable.
For more info, check out the Canon DSLR Audio thread on dvxuser and AGC Disable - Magic Lantern vs. Juicedlink? on dvinfo.
Follow the install guide. You will have to copy Magic Lantern files on your card and run Update firmware from the menu. The running firmware shuts down, loads the file into RAM and starts it running. Rather than reflashing the ROMs, this new program starts the DryOS boot process to install itself.
Simply format the card. The bootflag will be still there, but it will not affect normal operation (except for EyeFi cards).
To remove the bootflag (for using EyeFi cards), run Firmware Update from a ML card and follow the instructions.
It will not boot. Magic Lantern checks firmware version before attempting to run - if it doesn't match, the card LED will start blinking and you'll have to take the battery out.
Sometimes you have the right version number, but a different sub-version number (there are 3 more version digits, which are not displayed on the screen). If it happens, simply upgrade Canon firmware from the links mentioned in the install guide.
Yes. Besides the bootflag (which is required for auto-boot), there are a couple of other changes which are saved into NVRAM. These are:
*
) button whenever ML has to take a picture without autofocusing. This includes HDR bracketing and bulb exposures.With few exceptions, these settings can also be changed from Canon menus or controls.
A few settings are changed temporarily during certain operations (for example, autofocus for bracketed shots), but these settings are saved by Canon firmware in NVRAM. If you take the battery out in the middle of the operation (for example, in the middle of taking a picture), ML won't be able to restore these settings back to your initial values, and you'll have to change them back from Canon menus.
To the best of our knowledge, all these settings are restored to default values when you run Clear camera settings
and Clear custom functions
from Canon menu.
All persistent changes can be seen in ML source code by examining the calls to prop_request_change
. Some of the changes are not persistent (for example, LiveView zoom level), and they were not included in the above list.
We had serious problems with it, so it was disabled. The problems were confirmed with a minimal example code, so the issue is either in Canon firmware (which was probably not designed for dynamic mode remapping) or in the way we request the mode remapping procedure.
The only way to get it back is to show us a safe way to change the shooting mode. For this you need to point out what's wrong with this call: prop_request_change(PROP_SHOOTING_MODE, &new_mode, 4)
, and suggest a different method - which can only be done by examining Canon code and understanding how mode switching works.
Testing will not help - the probability of things going wrong is very low, but nonzero.
`Trap focus`_ may be active.
Mirror Lockup (MLU) is active.
It was probably moved to back button (*
or AF-ON
). Check your custom functions. It may happen if you take the battery out in the middle of photo shooting.
Anyway… any serious DSLR user should set AF to back button ;)
You may need to register it from Canon menu. This is not related to ML, but people tend to blame ML for Canon quirks.
This problem is not related to (or caused by) Magic Lantern.
You will get this error when your shutter mechanism no longer works properly. Contact your Canon service center.
Consider entering your shutter count in the Camera Shutter Life Database.
We have used some of the CHDK tools to learn about Canon firmware files, but this is all new code. They have done an amazing job of supporting hundreds of different camera models across multiple architectures and operating systems. At some point in the future chdk might be ported to the 5D Mark 2, but this project is much more focused on just the 5D Mark II and the needs of film makers. CHDK is a great project for Canon's Point-and-Shoot cameras. Without their initial effort in understanding DryOS, Canon's firmware files and the boot process, I wouldn't have been able to make as much progress as quickly as I did. While I was able to use modern tools to analyze dump files of ROM images thanks to their efforts, they got started bitbanging a UART via the status LED on a camera body. That's truly hardcore.
Originally the project was called just 5D Mark Free
, but out of an abundance of caution it seemed best to avoid Canon's trademarks.
The firmware hack is in C, with some inline assembly for boot strapping. The firmware build tools are in Perl and use Makefiles for dependency tracking. You need an arm-linux-elf build of gcc and binutils. Most of the code analysis has been done with objdump, strings and the IDA demo. No tech support will be provided. If it breaks you get to keep both pieces. If you know what all of these terms mean and aren't scared of the possibility of breaking your camera, you can download the Magic Lantern firmware source code.
We do not distribute ROM images, nor IDA .idb files, since they are verbatim copies of Canon's copyrighted code. You can generate the ROM images from your own camera by compiling with CONFIG_DEBUGMSG=1
and then selecting Dump ROM
from Debug menu.
These are the addresses in the official ROM firmware for different functions and names that we have given to functions. If you load the ROM0.bin image into IDA or use objdump you can trace through the instructions to determine how the software works. If you are just using the camera, they don't need to mean anything to you, but they give other developers a place to look in the firmware image.
The function names are unlikely to be the same as the ones in Canon's source code, which we have never seen. We name functions based on what they seem to do, or debugging / diagnostic strings embedded in the function. It isn't perfect, but it is sufficient to locate the important things for task creation, file I/O and GUI operation.
No one at Canon has contacted us regarding Magic Lantern or software development for their DSLR cameras. We are very eager to discuss the project with them, however, so if you have any technical contacts inside of Canon's software team, please put them in touch with us.
System Message: ERROR/3 (faq.rst
, line 118); backlink
Unknown target name: bitrate
.
System Message: ERROR/3 (faq.rst
, line 119); backlink
Unknown target name: movie restart
.
System Message: ERROR/3 (faq.rst
, line 130); backlink
Unknown target name: bulb timer
.
System Message: ERROR/3 (faq.rst
, line 131); backlink
Unknown target name: hdr
.
System Message: ERROR/3 (faq.rst
, line 132); backlink
Unknown target name: bulb ramping
.
System Message: ERROR/3 (faq.rst
, line 137); backlink
Unknown target name: debug
.
System Message: ERROR/3 (faq.rst
, line 172); backlink
Unknown target name: power saving
.
System Message: ERROR/3 (faq.rst
, line 215); backlink
Unknown target name: dim display
.
System Message: ERROR/3 (faq.rst
, line 217); backlink
Unknown target name: af patterns
.
System Message: ERROR/3 (faq.rst
, line 218); backlink
Unknown target name: fps override
.
System Message: ERROR/3 (faq.rst
, line 245); backlink
Unknown target name: trap focus
.