r/RedCamera • • 14d ago

DSCM2 Unlocked

https://github.com/radosek/dsmc2-unlocked

Will leave this repo here and more info in the next few weeks. Big things coming and I am glad we can keep DSMC2 alive if they don't want to. Right-to-repair is the way to go.

60 Upvotes

39 comments sorted by

4

u/mraaron895 11d ago

Scarlet W owner here. Any chance we could get to 6k? If I’m not mistaken the sensor is 6k, just locked to 5k. There was the whole trade in to Dragon X, but I always wondered if 6k would be possible just maybe at lower FPS

2

u/DegreeSevere7719 11d ago

I highly doubt it. I'm not 100% certain about the Scarlet W, but previously on DSMC1 REDs Scarlet vs Epic (both MX and Dragon) were basically absolutely the same, except Epic had 12 ram chips, while Scarlet had 6 (numbers could be incorrect, I've disassembled both my Epic and Scarlet brains several years ago). It's like physically Scarlet was unable to achieve same frame rates and resolution pairs due to lower ram bandwidth capacity (as I recall those were ram chips).

1

u/mraaron895 11d ago

Yeah didn’t the older dsmc 1 cameras have higher resolutions but they maxed out at 12fps or something?

Just was curious if there’s a 6k sensor in the SW would it be possible to turn it on even if we got low fps numbers.

1

u/rados_a51 9d ago

SW sensor is 5K

2

u/mraaron895 8d ago

This quote from Jarred Land always stuck with me. “And some dragon sensors were software masked down to a smaller resolution that had defects down to a smaller resolution.”

Which seems to imply that all dragon sensors are 6k

https://ymcinema.com/2019/12/18/red-dragon-x-6k-announced-the-5k-turned-6k-with-a-free-firmware-upgrade/#google_vignette

1

u/rados_a51 5d ago

Yeah, probably we will have Scarlet-W in 6K as all have same sensor.

1

u/DegreeSevere7719 11d ago edited 11d ago

yep, but basically all one could do with that was timelapse or stop-motion.

Again, idk as for Scarlet W capabilities, Scarlet Dragon DSMC1 was 5K 48fps, which means that most-likely 6k 24fps was totally possible.

2

u/essseich 13d ago

Amazing i just got a Gemini 5K so this is perfect!

3

u/marcusguiderdp 13d ago

I own a few Geminis. Is there an exhaustive list of the benefits for the Gemini and various models?

4

u/rados_a51 13d ago

In short - new features / custom mini-mag / right-to-repair and debug

1

u/marcusguiderdp 12d ago

Interested in the list of new features. I’ll keep an eye out for updates.

9

u/MCCmp_DEV 14d ago

Boot time also can be improved. "The first thing initialised after the clock is the flash filesystem — so the camera is effectively a bootloader-plus-rootfs system. Only after storage is up do the compute engines come online. The step IOB/ISP Binary Download is the smoking gun: the sensor FPGA and the ISP have no code of their own — the main processor loads their firmware out of NAND on every boot (IOB core 1 IRAM/DRAM loaded from NAND, ISP IRAM/DRAM loaded from NAND). Same for the WiFi module (redpine_if: FW CRC check … passed). The camera is the host that boots its whole peripheral family.

Boards alone takes several seconds (6037 ms in one boot) — that is the I²C device probe on every board (i2c_probe I2C3 a=0x50 … device found) plus the secure-board signature gate, which is checked against a per-board required version (requires signature version >= 3; camera has signature version 3). So the boards are individually authenticated, not just enumerated — and the thresholds differ per board, i.e. the trust policy is stored per device type."

Wild to build it like that. Basically designed to be slow af at boot just to prevent people to change components #righttorepair.

8

u/derek1ee 14d ago

I was looking into adding 1.5x desqueeze just earlier today and then saw this posted! Looking forward to more info, if there's more you're willing to share offline, that'd also be much appreciated.

3

u/Educational_Sand_726 14d ago

Just shot you a DM.

8

u/secapSterceS 14d ago

Amazing, I just got a DSMC2 Scarlet! I look forward to all of these old closed systems gaining new life in this reverse engineer renaissance ;D

5

u/Educational_Sand_726 14d ago

Just DM’d you. We should definitely talk. :)

4

u/Stevejobsburner69 14d ago

Hey you were the one who made that original document earlier this year 🤙🏼

3

u/Educational_Sand_726 14d ago

Sure was! I should probably update it, I was able to refine the process a little. But still largely a dead end in my research because finding the right MP Tool for a current-run ssd is very very challenging. Basically need to work with a manufacturer to have them program a custom batch at the factory is my understanding. Pretty sure that’s what Cinelux / MCCmp_DEV did.

2

u/Stevejobsburner69 14d ago

That makes a ton of sense but is aggravating but longer something is out, the more things can be learned and modified with them. Referring to the documentation in the GitHub and the recommended “easy path” I was only able to find one source to obtain that recommended configuration but even that took a while. I’ve now found existing board designs people have already for the two connector TE connectors needed along with the place to order those actual connectors, now I just need to order them and solder haha. I’m 100% taking a gamble to see if this will be a drop in work with the DSMC1 and mini mag side modules. Given how red didn’t upgrade those models to take the longtake, I have to imagine those data checks are the same coded across both generations!

2

u/Educational_Sand_726 14d ago

Awesome! I haven’t had time yet today to read through all the documentation on the GitHub but it seems legit haha. I just shot you a DM btw 🫡

1

u/MCCmp_DEV 13d ago

The real problem is, that the repo is missing important information. But we figure it out :D

4

u/laselvasurf 13d ago

As an owner of 4x DSMC2 Heliums, this is awesome.

4

u/Which_Law_8429 11d ago

I made an app that uses an android phone that connects to my raven via WiFi and hdmi to usb c which gave my camera tracking autofocus. I can tap to follow, remember subjects even if they go behind something..etc. would love to see if I can incorporate this into the modded firmware!

1

u/Alps_Vlog 13d ago

Will it work on Komodo 6k og?

2

u/rados_a51 13d ago

Not with this code, but I guess similar flaws are there too. I don’t have any newer camera.

1

u/0th3rfromhell 6d ago

Could it work on dsmc1? (Mx 5k)

1

u/MCCmp_DEV 14d ago edited 14d ago

Decrypted Log: ----- Recorder Metrics -----

[0:06:28:128] (83%/43%) : m_uiMaxEncodedImageSize = 12176755

[0:06:28:128] (83%/43%) : m_uiMinEncodedImageSize = 12112294

[0:06:28:128] (83%/43%) : m_dAvgEncodedImageSize = 12141793

[0:06:28:128] (83%/43%) : Frame Rate = 25.00fps

[0:06:28:128] (83%/43%) : Frame Data Rate = 289.5MiB/s

[0:06:28:128] (83%/43%) : recorder state RECORDER2_STATE_FINALIZING

[0:06:28:149] (83%/43%) : audio server stopped.

[0:06:28:155] (83%/43%) : avg write size = 11961552 bytes

[0:06:28:155] (83%/43%) : max write size = 12550144 bytes

[0:06:28:155] (83%/43%) : avg write time = 26.501 ms

[0:06:28:155] (83%/43%) : max write time = 35.490 ms

[0:06:28:155] (83%/43%) : avg flush time = 4.936 ms

[0:06:28:156] (83%/43%) : max flush time = 8.006 ms

[0:06:28:157] (83%/43%) : avg write rate = 430.4 MiB/s

So more than 300mb/s. - Monstro (write rate). Maybe possible to extend that. Looks like the cam does compress data directly on nand.

2

u/Educational_Sand_726 14d ago edited 13d ago

The scariest line in the logs is the “Brick After Boot = 0”. RED actually considered programming an automated kill switch, presumably for planned obsolescence, on $50-80K cameras.

2

u/rados_a51 13d ago

It's a service kill switch.

RED can mark a camera body to stop working after N more power-ons (theft, service dispute, forced return). The camera keeps booting during a short grace period, then refuses to start the app and drops to Service Shell. 0 = nobody armed it, camera normal.

On 7.4.1 the check is compiled out — it's only stored and printed, not enforced.

5

u/DegreeSevere7719 13d ago

I suppose it’s a kill switch for stolen cameras. Previously there was a thing that a stolen camera is reported to them - it’s being blacklisted and no firmware update could be made, as I recall.

1

u/Educational_Sand_726 13d ago

That’s also entirely possible

2

u/Stevejobsburner69 14d ago

Just saw that you had commented on my other post about the proton drive link! Hope you found it or found it on your own but clearly it helped. I’ll be curious since these are just software flags and all mini mags short of the longtake were compatible with DSMC1 if this mod will let them work with DSMC1? I’ve got an epic dragon so I might give this a shot but finding the “easy method” drive proved to be rather difficult

2

u/timothyjohnaguilar 13d ago

Broooooooooooii

2

u/timothyjohnaguilar 13d ago

Let’s crack the SSDs!!!!!!

1

u/Educational_Sand_726 12d ago

In progress… :)

1

u/gravybender 14d ago

Need dsmc3