M-Film: film simulation for Canon EOS cameras with Magic Lantern. 72 film stocks (Portra, Velvia, Tri-X, CineStill…), a film-camera interface and an in-camera darkroom that develops your RAWs. 5D Mark III, 6D, 600D, 650D, 700D, EOS M and more.
C analog-photographycamera-firmwarecanoncanon-5d-mark-ivcanon-5dmark2canon-6dcanon-eoscr2darkroomeos-mfilm-emulationfilm-lookfilm-photographyfilm-simulationfujifilm-recipeskodak-portralutmagic-lanternphotographyraw
650D and 700D: released without the in-camera darkroom, so they start
Claude7a10a1393575
diff --git a/.github/workflows/camera.yml b/.github/workflows/camera.ymlindex 590d085..47e044f 100644--- a/.github/workflows/camera.yml+++ b/.github/workflows/camera.yml@@ -31,6 +31,9 @@ jobs:platform: [EOSM.202, 650D.104, 700D.115, 6D.116, 5D3.113, 5D3.123, 60D.111, 500D.111, 50D.109, 5D2.212] # from ml-dev/cameras.txtruns-on: ubuntu-24.04name: camera ${{ matrix.platform }}+ env:+ # built and released without the in-camera darkroom: the full build doesn't fit at boot (cameras.txt)+ NODARK: "650D.104 700D.115"steps:- uses: actions/checkout@v4- uses: actions/setup-python@v5@@ -45,11 +48,14 @@ jobs:git -C "$HOME/ml/magiclantern_simplified" checkout -q ed3e7c0dfacfdeaf3349dee73edf9e3621217462arm-none-eabi-gcc --version | head -1- name: Build- run: bash ml-dev/build_fork.sh ${{ matrix.platform }}+ run: |+ p=${{ matrix.platform }}+ case " $NODARK " in *" $p "*) bash ml-dev/build_fork.sh $p --no-darkroom ;; *) bash ml-dev/build_fork.sh $p ;; esac- name: Ziprun: |p=${{ matrix.platform }}if [ "$p" = EOSM.202 ]; then d=ml-dev/out/fork; else d=ml-dev/out/fork-$p; fi+ case " $NODARK " in *" $p "*) d=ml-dev/out/fork-$p-nodark ;; esaccp ml-dev/CAMERA-README.txt "$d/M-FILM-README.txt"# the licence and the notices travel with the binaries (GPL-2.0 section 1; the MIT notice of# Film-Luts, whose LUTs the colour tables and samples in ML/ are made from)@@ -132,3 +138,5 @@ jobs:**On the camera** (`M-Film-camera-<camera>.zip`): the Film OS with Magic Lantern. Unzip it onto the cardand run *Firmware ver.* → update once (see M-FILM-README.txt in the zip). The EOS M build is tried onthe camera; the others build but nobody has tried them yet: see TESTING.md before you put one on your camera.+ The 650D and 700D builds have no in-camera darkroom (the full one is too big for them at boot):+ develop their rolls with Darkrooms on a computer.diff --git a/README.md b/README.mdindex 9912780..f0d932f 100644--- a/README.md+++ b/README.md@@ -152,8 +152,8 @@ one of them, you can help: [TESTING.md](TESTING.md) says how (about 20 minutes,|---|---|---|---|| Canon EOS M | 2.0.2 | ✅ **Works** | `M-Film-camera-EOSM.202.zip` || Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | 🔧 Too big for its boot memory: being fixed | |-| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | 🧪 Builds, needs a tester | `M-Film-camera-650D.104.zip` |-| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | 🧪 Builds, needs a tester | `M-Film-camera-700D.115.zip` |+| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | 🧪 Without the in-camera darkroom (develop with Darkrooms), needs a tester | `M-Film-camera-650D.104.zip` |+| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | 🧪 Without the in-camera darkroom (develop with Darkrooms), needs a tester | `M-Film-camera-700D.115.zip` || Canon EOS 6D | 1.1.6 | 🧪 Builds, needs a tester | `M-Film-camera-6D.116.zip` || Canon EOS 70D | 1.1.2 | 🔧 Too big for its boot memory: being fixed | || Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | 🧪 Builds, needs a tester | `M-Film-camera-5D3.113.zip` |diff --git a/README.th.md b/README.th.mdindex 8c268ab..7dc52f3 100644--- a/README.th.md+++ b/README.th.md@@ -152,8 +152,8 @@ M-Film ทำบน EOS M และใช้ได้จริงบนรุ่|---|---|---|---|| Canon EOS M | 2.0.2 | ✅ **ใช้ได้** | `M-Film-camera-EOSM.202.zip` || Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | |-| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-650D.104.zip` |-| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-700D.115.zip` |+| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | 🧪 ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) รอคนทดสอบ | `M-Film-camera-650D.104.zip` |+| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | 🧪 ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) รอคนทดสอบ | `M-Film-camera-700D.115.zip` || Canon EOS 6D | 1.1.6 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-6D.116.zip` || Canon EOS 70D | 1.1.2 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | || Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-5D3.113.zip` |diff --git a/ml-dev/MEMORY.md b/ml-dev/MEMORY.mdindex ef9da8c..8fa7f78 100644--- a/ml-dev/MEMORY.md+++ b/ml-dev/MEMORY.md@@ -25,8 +25,8 @@ stops at power on and blinks the card light **3 long, 3 short, a pause**, foreve| Camera | Boot method | Limit (bytes) | Full build | No darkroom | Verdict ||---|---|---|---|---|---|| EOS M | sized to fit | 727,072 (found on the camera) | 715,552 | | ✅ works |-| 650D | sized to fit | unknown | 743,680 | | ⚠️ above the EOS M's limit: try it |-| 700D | sized to fit | unknown | 743,936 | | ⚠️ above the EOS M's limit: try it |+| 650D | sized to fit | at least 689,664 (no darkroom starts) | 743,680 (black screen) | 689,664 | ✅ starts without the darkroom: released that way |+| 700D | sized to fit | unknown | 743,936 (black screen, #19) | | 🧪 released without the darkroom, as the 650D || 5D Mark III 1.1.3 | sized to fit | unknown | 737,536 | | try it || 5D Mark III 1.2.3 | sized to fit | unknown | 733,440 | | try it || 60D | sized to fit | unknown | 740,096 | | ✅ a tester's 60D starts (#3) |@@ -52,6 +52,11 @@ The sized-to-fit rows have no limit because nothing fixes one. The EOS M is buil650D or 700D above its 727K may hang the same way. Their testers should be told to watch for a card lightthat stays on.+That is what happened: the full 650D and 700D builds give a black screen at power on (a 650D tester by message,+the 700D in #19). The 650D tester built it `--no-darkroom` (689,664 bytes at boot) and it starts with the film+interface. So both are `nodark` in cameras.txt: CI builds and releases them without the darkroom, under the+usual zip name. Their rolls are developed with Darkrooms.+## What would fix the fixed onesThe same as the 6D: give Magic Lantern a bigger slice of the pool at boot, and check that Canon keeps enough.diff --git a/ml-dev/cameras.txt b/ml-dev/cameras.txtindex aa3a1dd..d7e6e73 100644--- a/ml-dev/cameras.txt+++ b/ml-dev/cameras.txt@@ -3,6 +3,9 @@# status: working tried on the camera, works# testing builds; waiting for someone to try it on the camera# planned not started yet, but should be possible+# nodark the full build is too big at boot on it, so it's built and released without the+# in-camera darkroom (build_fork.sh --no-darkroom): rolls are developed with+# Darkrooms on a computer. 650D: a tester's 650D starts with it, the full one doesn't# memory builds, but bigger than the memory Magic Lantern gets at boot on it: the camera# would stop at power on (3 long, 3 short blinks), so it isn't built or released# until that reservation is raised for it, as for the 6D (MEMORY.md)@@ -12,8 +15,8 @@# 100D, 70D, 550D, 600D, 1100D: the fixed reservation of Magic Lantern's boot code, MEMORY.md)EOSM.202 working 727072 Canon EOS M100D.101 memory 605952 Canon EOS 100D / Rebel SL1 / Kiss X7-650D.104 testing - Canon EOS 650D / Rebel T4i / Kiss X6i-700D.115 testing - Canon EOS 700D / Rebel T5i / Kiss X7i+650D.104 nodark 689664 Canon EOS 650D / Rebel T4i / Kiss X6i+700D.115 nodark - Canon EOS 700D / Rebel T5i / Kiss X7i6D.116 testing 868096 Canon EOS 6D70D.112 memory 605952 Canon EOS 70D5D3.113 testing - Canon EOS 5D Mark III (firmware 1.1.3)diff --git a/ml-dev/tools/cameras.py b/ml-dev/tools/cameras.pyindex b2f2920..c2a07fd 100644--- a/ml-dev/tools/cameras.py+++ b/ml-dev/tools/cameras.py@@ -1,5 +1,5 @@"""ml-dev/cameras.txt -> the camera tables in README.md, README.th.md and TESTING.md, and the-cameras CI builds (.github/workflows/camera.yml). Run after changing cameras.txt:+cameras CI builds (.github/workflows/camera.yml, and which of them without the darkroom). Run after changing cameras.txt:python3 ml-dev/tools/cameras.py"""@@ -11,6 +11,7 @@ ROOT = Path(__file__).resolve().parents[2]STATUS = {"working": "✅ **Works**","testing": "🧪 Builds, needs a tester",+ "nodark": "🧪 Without the in-camera darkroom (develop with Darkrooms), needs a tester","planned": "⏳ Planned","memory": "🔧 Too big for its boot memory: being fixed","no": "— Not yet",@@ -20,6 +21,7 @@ WHY_NO = "Magic Lantern itself is still experimental on these"STATUS_TH = {"working": "✅ **ใช้ได้**","testing": "🧪 build ได้แล้ว รอคนทดสอบ",+ "nodark": "🧪 ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) รอคนทดสอบ","planned": "⏳ วางแผนไว้","memory": "🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้",}@@ -58,8 +60,8 @@ def main():def table(head, status, not_yet, why_text, end="."):rows = [head, "|---|---|---|---|"]for c in cams:- if c["status"] in ("working", "testing", "memory", "planned"):- dl = f"`M-Film-camera-{c['plat']}.zip`" if c["status"] in ("working", "testing") else ""+ if c["status"] in ("working", "testing", "nodark", "memory", "planned"):+ dl = f"`M-Film-camera-{c['plat']}.zip`" if c["status"] in ("working", "testing", "nodark") else ""rows.append(f"| {c['name']} | {c['fw']} | {status[c['status']]} | {dl} |")# the ones Magic Lantern isn't ready on: one line, grouped by whywhy = {}@@ -76,7 +78,7 @@ def main():replace(ROOT / "README.th.md", "<!-- cameras:start -->", "<!-- cameras:end -->", th)replace(ROOT / "README.md", "<!-- cameras:start -->", "<!-- cameras:end -->", rows)- built = [c for c in cams if c["status"] in ("working", "testing")]+ built = [c for c in cams if c["status"] in ("working", "testing", "nodark")]rows = ["| Camera | Canon firmware it needs | File |", "|---|---|---|"]rows += [f"| {c['name']} | {c['fw']} | `M-Film-camera-{c['plat']}.zip` |" for c in built]replace(ROOT / "TESTING.md", "<!-- cameras:start -->", "<!-- cameras:end -->", "\n".join(rows))@@ -85,9 +87,11 @@ def main():text = wf.read_text(encoding="utf-8")text = re.sub(r"( platform: )\[[^\]]*\]( *# from ml-dev/cameras.txt)?",lambda m: m.group(1) + "[" + ", ".join(c["plat"] for c in built) + "] # from ml-dev/cameras.txt", text, count=1)+ text = re.sub(r"( NODARK: \")[^\"]*(\")",+ lambda m: m.group(1) + " ".join(c["plat"] for c in cams if c["status"] == "nodark") + m.group(2), text, count=1)wf.write_text(text, encoding="utf-8")print(f"{len(cams)} cameras: {sum(c['status'] == 'working' for c in cams)} working, "- f"{sum(c['status'] == 'testing' for c in cams)} testing, {sum(c['status'] == 'memory' for c in cams)} too big at boot")+ f"{sum(c['status'] == 'testing' for c in cams)} testing, {sum(c['status'] == 'nodark' for c in cams)} without the darkroom, {sum(c['status'] == 'memory' for c in cams)} too big at boot")if __name__ == "__main__":