Skip to content

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.

Boot memory, camera by camera: five cameras can't start any M-Film build yet

Claudedbf5536987bc
diff --git a/.github/workflows/camera.yml b/.github/workflows/camera.yml
index 92985f5..590d085 100644
--- a/.github/workflows/camera.yml
+++ b/.github/workflows/camera.yml
@@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- platform: [EOSM.202, 100D.101, 650D.104, 700D.115, 6D.116, 70D.112, 5D3.113, 5D3.123, 550D.109, 600D.102, 60D.111, 1100D.105, 500D.111, 50D.109, 5D2.212] # from ml-dev/cameras.txt
+ 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.txt
runs-on: ubuntu-24.04
name: camera ${{ matrix.platform }}
steps:
diff --git a/README.md b/README.md
index 0feeca0..f1040fd 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ The camera side is free and open, for everyone.
[![Buy the developer a coffee](https://img.shields.io/badge/Buy%20the%20developer%20a%20coffee-ffdd00?style=for-the-badge&logo=buymeacoffee&logoColor=black)](https://buy.stripe.com/7sY14p8d93QE5Ny5M58so02)
[![License GPL-2.0](https://img.shields.io/badge/license-GPL--2.0-3b352f)](LICENSE)
-[![Cameras](https://img.shields.io/badge/cameras-1%20works%20%C2%B7%2014%20in%20testing-3b352f)](#cameras)
+[![Cameras](https://img.shields.io/badge/cameras-1%20works%20%C2%B7%209%20in%20testing-3b352f)](#cameras)
[![Films](https://img.shields.io/badge/films-72-3b352f)](FILMS.md)
**English** · [ภาษาไทย](README.th.md) · [Films](#72-films) · [Cameras](#cameras) · [Darkrooms](#develop-on-your-computer-darkrooms) · [Take it further](PORTING.md)
@@ -105,17 +105,17 @@ one of them, you can help: [TESTING.md](TESTING.md) says how (about 20 minutes,
| Camera | Canon firmware | Status | Card files |
|---|---|---|---|
| Canon EOS M | 2.0.2 | ✅ **Works** | `M-Film-camera-EOSM.202.zip` |
-| Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | 🧪 Builds, needs a tester | `M-Film-camera-100D.101.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 6D | 1.1.6 | 🧪 Builds, needs a tester | `M-Film-camera-6D.116.zip` |
-| Canon EOS 70D | 1.1.2 | 🧪 Builds, needs a tester | `M-Film-camera-70D.112.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` |
| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | 🧪 Builds, needs a tester | `M-Film-camera-5D3.123.zip` |
-| Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | 🧪 Builds, needs a tester | `M-Film-camera-550D.109.zip` |
-| Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | 🧪 Builds, needs a tester | `M-Film-camera-600D.102.zip` |
+| Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | 🔧 Too big for its boot memory: being fixed | |
+| Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | 🔧 Too big for its boot memory: being fixed | |
| Canon EOS 60D | 1.1.1 | 🧪 Builds, needs a tester | `M-Film-camera-60D.111.zip` |
-| Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | 🧪 Builds, needs a tester | `M-Film-camera-1100D.105.zip` |
+| Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | 🔧 Too big for its boot memory: being fixed | |
| Canon EOS 500D / Rebel T1i / Kiss X3 | 1.1.1 | 🧪 Builds, needs a tester | `M-Film-camera-500D.111.zip` |
| Canon EOS 50D | 1.0.9 | 🧪 Builds, needs a tester | `M-Film-camera-50D.109.zip` |
| Canon EOS 5D Mark II | 2.1.2 | 🧪 Builds, needs a tester | `M-Film-camera-5D2.212.zip` |
@@ -123,7 +123,7 @@ one of them, you can help: [TESTING.md](TESTING.md) says how (about 20 minutes,
**Not yet:** 7D (Magic Lantern's current source doesn't build it) · 200D, 750D, 77D, 80D, 7D Mark II, 5D Mark IV, 5DS R, 6D Mark II, 850D, M50, R, RP, R5, R6, SX70 HS, SX740 HS (Magic Lantern itself is still experimental on these).
<!-- cameras:end -->
-✅ tried on the camera and works · 🧪 builds; waiting for someone to try it. The card files are in each
+✅ tried on the camera and works · 🧪 builds; waiting for someone to try it · 🔧 bigger than the memory Magic Lantern gets at boot there ([why](ml-dev/MEMORY.md)). The card files are in each
[release](../../releases/latest). The list lives in [`ml-dev/cameras.txt`](ml-dev/cameras.txt); porting
notes in [PORTING.md](PORTING.md).
diff --git a/README.th.md b/README.th.md
index 075b582..4a7aeef 100644
--- a/README.th.md
+++ b/README.th.md
@@ -14,7 +14,7 @@
[![เลี้ยงกาแฟผู้พัฒนา](https://img.shields.io/badge/%E0%B9%80%E0%B8%A5%E0%B8%B5%E0%B9%89%E0%B8%A2%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B9%81%E0%B8%9F%E0%B8%9C%E0%B8%B9%E0%B9%89%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2-ffdd00?style=for-the-badge&logo=buymeacoffee&logoColor=black)](https://buy.stripe.com/7sY14p8d93QE5Ny5M58so02)
[![License GPL-2.0](https://img.shields.io/badge/license-GPL--2.0-3b352f)](LICENSE)
-[![Cameras](https://img.shields.io/badge/cameras-1%20works%20%C2%B7%2014%20in%20testing-3b352f)](#กล้องที่รองรับ)
+[![Cameras](https://img.shields.io/badge/cameras-1%20works%20%C2%B7%209%20in%20testing-3b352f)](#กล้องที่รองรับ)
[![Films](https://img.shields.io/badge/films-72-3b352f)](FILMS.md)
[English](README.md) · **ภาษาไทย** · [ฟิล์ม](#ฟิล์ม-72-แบบ) · [กล้องที่รองรับ](#กล้องที่รองรับ) · [Darkrooms](#ล้างบนคอม-darkrooms) · [คู่มือในกล้อง](docs/MANUAL.th.md) · [ทำต่อยอด](PORTING.md)
@@ -106,17 +106,17 @@ M-Film ทำบน EOS M และใช้ได้จริงบนรุ่
| กล้อง | เฟิร์มแวร์ Canon | สถานะ | ไฟล์ลงการ์ด |
|---|---|---|---|
| Canon EOS M | 2.0.2 | ✅ **ใช้ได้** | `M-Film-camera-EOSM.202.zip` |
-| Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-100D.101.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 6D | 1.1.6 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-6D.116.zip` |
-| Canon EOS 70D | 1.1.2 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-70D.112.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` |
| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-5D3.123.zip` |
-| Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-550D.109.zip` |
-| Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-600D.102.zip` |
+| Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | |
+| Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | |
| Canon EOS 60D | 1.1.1 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-60D.111.zip` |
-| Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-1100D.105.zip` |
+| Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | |
| Canon EOS 500D / Rebel T1i / Kiss X3 | 1.1.1 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-500D.111.zip` |
| Canon EOS 50D | 1.0.9 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-50D.109.zip` |
| Canon EOS 5D Mark II | 2.1.2 | 🧪 build ได้แล้ว รอคนทดสอบ | `M-Film-camera-5D2.212.zip` |
@@ -124,7 +124,7 @@ M-Film ทำบน EOS M และใช้ได้จริงบนรุ่
**ยังไม่รองรับ:** 7D (source ปัจจุบันของ Magic Lantern build รุ่นนี้ไม่ได้) · 200D, 750D, 77D, 80D, 7D Mark II, 5D Mark IV, 5DS R, 6D Mark II, 850D, M50, R, RP, R5, R6, SX70 HS, SX740 HS (Magic Lantern เองยังเป็นรุ่นทดลองบนกล้องเหล่านี้)
<!-- cameras:end -->
-✅ ลองบนกล้องแล้ว ใช้ได้ · 🧪 build ได้แล้ว รอคนลอง ไฟล์ลงการ์ดอยู่ใน [release](../../releases/latest) แต่ละเวอร์ชัน
+✅ ลองบนกล้องแล้ว ใช้ได้ · 🧪 build ได้แล้ว รอคนลอง · 🔧 ใหญ่เกินหน่วยความจำที่ ML ได้ตอนบูตบนรุ่นนั้น ([เหตุผล](ml-dev/MEMORY.md)) ไฟล์ลงการ์ดอยู่ใน [release](../../releases/latest) แต่ละเวอร์ชัน
รายชื่อกล้องอยู่ที่ [`ml-dev/cameras.txt`](ml-dev/cameras.txt) วิธีทำให้กล้องรุ่นอื่นอยู่ใน [PORTING.md](PORTING.md)
### ลงในกล้อง
diff --git a/TESTING.md b/TESTING.md
index b34e746..6a68978 100644
--- a/TESTING.md
+++ b/TESTING.md
@@ -1,8 +1,9 @@
# Testing M-Film on your camera
-M-Film runs on the **Canon EOS M**. The same code now **builds** for 14 more cameras (100D, 650D, 700D,
-6D, 70D, 5D Mark III, 550D, 600D, 60D, 1100D, 500D, 50D, 5D Mark II), but nobody has tried it on one
-of those yet. If you have one, you can be the first: it takes about
+M-Film runs on the **Canon EOS M**. The same code now **builds** for 8 more cameras (650D, 700D, 6D,
+5D Mark III on two firmwares, 60D, 500D, 50D, 5D Mark II), but few have been tried yet. The 100D, 70D,
+550D, 600D and 1100D wait until Magic Lantern's boot memory is raised for them
+([MEMORY.md](ml-dev/MEMORY.md)). If you have one of the 8, you can be the first: it takes about
20 minutes, and you can always go back.
> **Is it safe?** Magic Lantern runs from the card and changes nothing permanent in the camera.
@@ -19,17 +20,12 @@ From the [latest release](../../releases/latest) (or the newest run under *Actio
| Camera | Canon firmware it needs | File |
|---|---|---|
| Canon EOS M | 2.0.2 | `M-Film-camera-EOSM.202.zip` |
-| Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | `M-Film-camera-100D.101.zip` |
| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | `M-Film-camera-650D.104.zip` |
| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | `M-Film-camera-700D.115.zip` |
| Canon EOS 6D | 1.1.6 | `M-Film-camera-6D.116.zip` |
-| Canon EOS 70D | 1.1.2 | `M-Film-camera-70D.112.zip` |
| Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | `M-Film-camera-5D3.113.zip` |
| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | `M-Film-camera-5D3.123.zip` |
-| Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | `M-Film-camera-550D.109.zip` |
-| Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | `M-Film-camera-600D.102.zip` |
| Canon EOS 60D | 1.1.1 | `M-Film-camera-60D.111.zip` |
-| Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | `M-Film-camera-1100D.105.zip` |
| Canon EOS 500D / Rebel T1i / Kiss X3 | 1.1.1 | `M-Film-camera-500D.111.zip` |
| Canon EOS 50D | 1.0.9 | `M-Film-camera-50D.109.zip` |
| Canon EOS 5D Mark II | 2.1.2 | `M-Film-camera-5D2.212.zip` |
diff --git a/docs/ROADMAP.th.md b/docs/ROADMAP.th.md
index 2c656fc..49efd14 100644
--- a/docs/ROADMAP.th.md
+++ b/docs/ROADMAP.th.md
@@ -6,12 +6,13 @@
- ตอนนี้ `build_fork.sh` ทำ `ML/SAMPLES` ให้แค่ EOS M แต่ไฟล์ตัวอย่างเป็นภาพ 720×480 ที่ไม่ขึ้นกับรุ่นกล้อง ใช้ชุดเดียวกันได้ทุกรุ่น
- build ที่ไม่มีห้องมืด (`--no-darkroom`) จะดูตัวอย่างไม่ได้ เพราะตัวอ่านภาพ (`fos_print_load`) อยู่ใน `fos_dev.c`: ย้ายตัวอ่านไปไฟล์เล็กของมันเอง (ไม่กี่ KB) ทุก build จะได้มี
-## 2. สำรวจหน่วยความจำของกล้องทุกรุ่น (ก่อนข้ออื่นที่ทำให้ไฟล์ใหญ่ขึ้น)
-- ทำตารางต่อรุ่น: ขนาดตอนบูตของ ML ปกติ, ของ M-Film แบบเต็ม, แบบไม่มีห้องมืด
-- ดูจากโค้ดของ ML ด้วยว่าแต่ละรุ่นมีหน่วยความจำ (malloc pool ของ Canon) ตอนบูตเท่าไร เพื่อเดาว่ารุ่นไหนเสี่ยงแบบ 6D
-- ขอผู้ทดสอบส่งค่าจาก ML ปกติ: Debug → *Free memory* ได้ตัวเลขจริงของแต่ละรุ่น
-- ผล: ใส่ช่อง boot limit ใน `ml-dev/cameras.txt` และเลือกต่อรุ่นว่าออกแบบเต็มหรือแบบไม่มีห้องมืด (หรือย้าย Film OS ไปเป็น module ที่โหลดหลังบูต ถ้าเล็กลงแค่นี้ยังไม่พอ)
-- CPU: DIGIC 4 ช้ากว่า DIGIC 5 การล้างในกล้องจะช้าลง (ประมาณ 15 วินาทีต่อรูปบน EOS M) ใช้ได้ แต่ควรบอกผู้ใช้
+## 2. สำรวจหน่วยความจำของกล้องทุกรุ่น ✅ (ผลอยู่ใน `ml-dev/MEMORY.md`)
+- กล้องที่ ML จองหน่วยความจำแบบตายตัว (100D, 70D, 550D, 600D, 1100D) ไฟล์ใหญ่เกินทุกตัว แม้ตัดห้องมืดออกแล้ว
+ ตั้งสถานะ `memory` แล้ว ยังไม่ build และยังไม่ปล่อยจนกว่าจะแก้
+- กล้องที่ ML ขยายพื้นที่ให้พอดีเอง (650D, 700D, 5D3, 60D, 500D, 50D, 5D2) ไม่มีเพดานตายตัว
+ 60D ผ่านแล้ว 650D/700D ใหญ่กว่าเพดานของ EOS M (727K) ต้องระวัง
+- **ต่อไป:** ขอผู้ทดสอบส่งค่า Debug → *Free Memory* จาก ML ปกติ แล้วขยายพื้นที่จองให้แต่ละรุ่นแบบที่ทำกับ 6D (#8)
+ เริ่มจาก 70D ที่หน่วยความจำเหมือน 6D
## 3. โหมด Basic / Realistic (ตั้งค่าใน System)
- **Basic** (ค่าเริ่มต้น): ไม่ต้องกรอฟิล์ม ถ่ายครบม้วนแล้วม้วนจบเองและส่งเข้าห้องมืดได้เลย ถ้าจะจบกลางม้วนใช้ "Finish roll" แทน Rewind
diff --git a/ml-dev/MEMORY.md b/ml-dev/MEMORY.md
new file mode 100644
index 0000000..ef9da8c
--- /dev/null
+++ b/ml-dev/MEMORY.md
@@ -0,0 +1,69 @@
+# Memory at boot, camera by camera
+
+Magic Lantern's `autoexec.bin` takes its memory out of Canon's at power on. Too much and the camera
+doesn't start. How much a camera can give depends on which of Magic Lantern's boot methods it uses.
+This is the survey behind the `memory` status in [`cameras.txt`](cameras.txt) (2026-10, Magic Lantern
+`ed3e7c0df`, gcc 13.2).
+
+**Boot size** below is what `build_fork.sh` prints: `_bss_end - RESTARTSTART`, the same figure Magic
+Lantern checks (`ml_used_mem`, `src/boot.h`).
+
+## Two kinds of camera
+
+**Sized to fit** (`boot-d45.c`): Magic Lantern moves the start of Canon's malloc pool to just after
+its own code and data, however big that is. Nothing stops the boot. If the build is too big, Canon
+itself runs short later and the camera hangs at power on with the card light on. The only limit is
+how much Canon can spare, and only trying on the camera finds it. On the EOS M it is 727,072 bytes.
+
+**Fixed reservation** (`boot-d45-am.c`, `boot-d45-ch.c`): Magic Lantern takes a fixed slice of
+Canon's AllocateMemory pool, the same size whatever the build. If the build is bigger, `src/boot.h`
+stops at power on and blinks the card light **3 long, 3 short, a pause**, forever. That is what the
+6D did (#3) until the fork raised its slice to 848K (#8).
+
+## The cameras
+
+| 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 |
+| 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) |
+| 500D | sized to fit | unknown | 734,208 | | try it |
+| 50D | sized to fit | unknown | 716,032 | | try it |
+| 5D Mark II | sized to fit | unknown | 749,824 | | try it |
+| 6D | fixed, raised by the fork | 868,096 (848K) | 740,864 | | ✅ starts (#3, #8) |
+| 100D | fixed | 605,952 (592K) | 741,888 | 684,288 | 🔧 too big, even without the darkroom |
+| 70D | fixed | 605,952 (592K) | 690,432 | 632,832 | 🔧 too big, even without the darkroom |
+| 550D | fixed | 589,568 (576K) | 751,616 | 694,016 | 🔧 too big, even without the darkroom |
+| 600D | fixed | 589,824 (576K, see below) | 716,800 | 659,200 | 🔧 too big, even without the darkroom |
+| 1100D | fixed | 524,032 (512K) | 672,000 | 614,400 | 🔧 too big, even without the darkroom |
+
+Where the fixed limits come from (`src/boot-d45-am.c`, `src/boot-d45-ch.c`):
+- **100D, 70D:** the pool's start moves from `0x44C000` to `0x4E0000`, so the limit is `0x4E0000 - RESTARTSTART (0x44C100)`.
+ The pool runs to `0xC3C000` (100D) or `0xD3C000` (70D, as on the 6D).
+- **550D:** the pool's end moves from `0xD00000` to `0xC70000`, so the limit is `0xD00000 - RESTARTSTART (0xC70100)`.
+- **1100D:** the same with `0xC80000`, so the limit is `0xD00000 - 0xC80100`.
+- **600D:** the end moves to `0xC70000` (from `RESTARTSTART`). The original end is read from the ROM at boot,
+ so the figure assumes `0xD00000`, as on the 550D.
+
+The sized-to-fit rows have no limit because nothing fixes one. The EOS M is built on the 650D and 700D, so a
+650D or 700D above its 727K may hang the same way. Their testers should be told to watch for a card light
+that stays on.
+
+## What would fix the fixed ones
+
+The same as the 6D: give Magic Lantern a bigger slice of the pool at boot, and check that Canon keeps enough.
+- **70D:** its pool starts and ends where the 6D's does (`0x44C000`–`0xD3C000`), so the 6D's `0x520000` (848K)
+ is the obvious first try.
+- **100D:** its pool is 1 MB smaller (it ends at `0xC3C000`). A smaller raise than the 6D's is safer.
+- **550D, 600D, 1100D:** Magic Lantern takes the slice from the pool's end. Lowering that end more (for example to
+ `0xC50000`, 704K on the 550D) needs the pool's start and use, which the source doesn't give.
+
+Each needs a number from the camera first: what Canon has free. **Stock** Magic Lantern shows it at
+*Debug → Free Memory* (the *AllocateMemory* line). The 6D's came from its crash logs: 2,192K free when idle,
+1,503K at the lowest. A raise that leaves about 1.5 MB free is what `src/mem.c` prefers.
+
+A different way out for every camera is to load the film OS as a module from the card after boot, so
+`autoexec.bin` stays near stock size. That is a bigger change, and it is only worth making if the raises don't work.
diff --git a/ml-dev/cameras.txt b/ml-dev/cameras.txt
index 1902e6c..aa3a1dd 100644
--- a/ml-dev/cameras.txt
+++ b/ml-dev/cameras.txt
@@ -3,21 +3,25 @@
# 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
+# 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)
# no not for now: Magic Lantern itself is experimental there (DIGIC 6 and later)
# boot-limit: the largest autoexec.bin (bytes at boot) known to start on it, - if not known yet
-# (6D: what the fork reserves for ML at boot, see the 6D edit in fork/apply_fork.py)
+# (6D: what the fork reserves for ML at boot, see the 6D edit in fork/apply_fork.py;
+# 100D, 70D, 550D, 600D, 1100D: the fixed reservation of Magic Lantern's boot code, MEMORY.md)
EOSM.202 working 727072 Canon EOS M
-100D.101 testing - Canon EOS 100D / Rebel SL1 / Kiss X7
+100D.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
6D.116 testing 868096 Canon EOS 6D
-70D.112 testing - Canon EOS 70D
+70D.112 memory 605952 Canon EOS 70D
5D3.113 testing - Canon EOS 5D Mark III (firmware 1.1.3)
5D3.123 testing - Canon EOS 5D Mark III (firmware 1.2.3)
-550D.109 testing - Canon EOS 550D / Rebel T2i / Kiss X4
-600D.102 testing - Canon EOS 600D / Rebel T3i / Kiss X5
+550D.109 memory 589568 Canon EOS 550D / Rebel T2i / Kiss X4
+600D.102 memory 589824 Canon EOS 600D / Rebel T3i / Kiss X5
60D.111 testing - Canon EOS 60D
-1100D.105 testing - Canon EOS 1100D / Rebel T3 / Kiss X50
+1100D.105 memory 524032 Canon EOS 1100D / Rebel T3 / Kiss X50
500D.111 testing - Canon EOS 500D / Rebel T1i / Kiss X3
50D.109 testing - Canon EOS 50D
5D2.212 testing - Canon EOS 5D Mark II
diff --git a/ml-dev/tools/cameras.py b/ml-dev/tools/cameras.py
index 430083e..b2f2920 100644
--- a/ml-dev/tools/cameras.py
+++ b/ml-dev/tools/cameras.py
@@ -12,6 +12,7 @@ STATUS = {
"working": "✅ **Works**",
"testing": "🧪 Builds, needs a tester",
"planned": "⏳ Planned",
+ "memory": "🔧 Too big for its boot memory: being fixed",
"no": "— Not yet",
}
WHY_NO = "Magic Lantern itself is still experimental on these"
@@ -20,6 +21,7 @@ STATUS_TH = {
"working": "✅ **ใช้ได้**",
"testing": "🧪 build ได้แล้ว รอคนทดสอบ",
"planned": "⏳ วางแผนไว้",
+ "memory": "🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้",
}
WHY_TH = {
WHY_NO: "Magic Lantern เองยังเป็นรุ่นทดลองบนกล้องเหล่านี้",
@@ -56,8 +58,8 @@ def main():
def table(head, status, not_yet, why_text, end="."):
rows = [head, "|---|---|---|---|"]
for c in cams:
- if c["status"] in ("working", "testing", "planned"):
- dl = f"`M-Film-camera-{c['plat']}.zip`" if c["status"] != "planned" else ""
+ if c["status"] in ("working", "testing", "memory", "planned"):
+ dl = f"`M-Film-camera-{c['plat']}.zip`" if c["status"] in ("working", "testing") else ""
rows.append(f"| {c['name']} | {c['fw']} | {status[c['status']]} | {dl} |")
# the ones Magic Lantern isn't ready on: one line, grouped by why
why = {}
@@ -85,7 +87,7 @@ def main():
lambda m: m.group(1) + "[" + ", ".join(c["plat"] for c in built) + "] # from ml-dev/cameras.txt", 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")
+ f"{sum(c['status'] == 'testing' for c in cams)} testing, {sum(c['status'] == 'memory' for c in cams)} too big at boot")
if __name__ == "__main__":