Repository navigation
OMKit 0.2.0 for the OM-5 Mark II, firmware 1.1.
Added
-
Bloom and Halation on the film look's stills. Two optical effects, set per preset:
- Bloom - the soft glow of a diffusion filter: bright parts of the picture glow into the darker ones around them, with a long faint tail, in the colour of their light;
- Halation - the halo of colour film without an anti-halation layer: lamps, flames and street lights get a red edge that turns orange where it is strong, the lamp's own core stays white.
The look's column has two new rows after the grain item (G): B - Bloom, the last item of its first page, and H - Halation, alone on a second page (step down from Bloom). Each is a slider from 0 (off) to 5, kept with the preset's other edits; a long OK sets it back to 0. Every preset starts with both at 0: the pictures do not change until you turn a row up. Black-and-white presets get both without colour. With
exif = onin[FILMLOOK]the JPEG's UserComment carrieso=B,H. Everything about them: docs/modules/filmlook/optics.md. -
What to know about Bloom and Halation (limitations):
- only on the still: live view and the shooting screen never show them - look at the picture in playback;
- a still with them reaches the card later, about 2.3-2.9 s after the shutter release instead of about 1.6-1.9 s; bursts are taken as usual, only written more slowly;
- RAW+JPEG: only the JPEG gets them. The RAW never does, and the preview inside the ORF (what a computer shows for the RAW file) is without them; the camera's playback shows the JPEG, with them;
- only the film look's stills: not CREATPRF profiles, other picture modes, multi-frame shots or video;
- in a JPEG a lamp and a white surface in the sun look the same, so sunlit white surfaces get a faint Halation edge too, and an underexposed lamp gets none.
-
Settings for Bloom and Halation in the new
[optics]section ofOMKIT.INI. The layer is on by default, with the tuning OMKit is released with (the release'sOMKIT.INIspells it out);layer = offremoves the effects and their rows, and the other keys tune both effects for all presets (docs/config.md). Each still with a strength above 0 gets one line in the log:optics: job N: Bloom B, Halation H, ....
For developers (debug build)
The published release is a release build (see Changed); the items below are in a debug build of core only, built from the source with make BUILD=debug (docs/build.md), and their settings are read only there:
- The debug service, off by default: with
[debug] enabled = onthe log and snapshots of the camera's tasks also go to RAM that survives a reset, andtools/omkdebug.pyreads them, and the card's files, over USB in the MTP mode, also after a crash; withwrite = onit updates files of theOMKITfolder, each checked by a CRC-32 read back from the card (docs/debug.md, with its security notes). - The test scenario
[shoot]: a series of pictures without the user,corepressing the shutter button and choosing a preset or a profile before each step (docs/config.md). - Test sessions over USB: the computer restarts the camera by the firmware's own reboot request, gives it a one-shot scenario
OMKIT\SHOOT.RUN(docs/config.md) and reads the build that runs;omkdebug.py sessiondoes a whole session,--hands-freewith the USB cable kept as charge only and a restart at the end (docs/config.md, docs/debug.md). - The log's
debuglevel, the task dumps ([core] taskdump*), the probes of the camera's state, the rescue of a camera stuck with the lever off ([core] power_rescue) and the test keys of[grain]and[optics]. - Two build kinds of
coreand the modules:make BUILD=release(the default) andBUILD=debug;tools/buildcheck.pychecks that a release image has nothing of the debug build. A module writes its debug lines withOMK_LOG_D, compiled into its debug build only. The image ofcorewith its stack may now end at0x634b0000(was0x63490000). card_busy(API 19) also answers 1 while the camera is in a half-press, ascoreholds its own writes then.
Changed
- Updating copies
OMKIT.INItoo. A new release'sOMKIT.INImay have new settings (this one: the[optics]section) and may no longer have old ones, so the card's own file is no longer kept: if you changed settings, save yourOMKIT.INIfirst, copy the release's one with the other files, then make your changes again in it, with care, at the matching places (install guide). - Versions: core 1.46 (module API 20), CREATPRF 1.6, FILMLOOK 1.13. Both modules need the
coreof this release: updateCORE.BINand the files ofMODULEStogether (on the core of 0.1.0 they are not loaded -needs a newer core APIin the log - and the camera works without them). - A release is a release build. Its
CORE.BINand modules have only what the user needs; the development code is not in them at all. The log's first line names the build:======== OMKit core 1.46 release (...). The debug build's settings in anOMKIT.INIof 0.1.0 only give warnings:log_level = debugis taken asinfo;[core] core_events,fw_cache_invandtaskdump*getconfig: [core] KEY unknown. The file needs no edit. - No card writes of OMKit in a half-press.
corekeeps its log and store writes out of a half-press or a change of the camera's state (up to 6 s, and 0.5 s after it), as it keeps them out of a picture being written. It reads the camera's state from memory, once every quarter of a second, and no hardware register. - A reset during a card write no longer breaks the card's volume. The stores' copies have a fixed length and are rewritten in place, so a save changes neither the FAT nor the allocation bitmap nor more than one directory entry, and the log is no longer removed and made again at every start. Before, a reset in the middle of a save could leave a half-written directory entry set in
OMKIT\STORE(Windows hid the folder untilchkdsk /f). The copies of an older core are made again once, in the new length, at their first save; the settings in them are kept. - One log for all power-ons.
OMKIT\LOG\CORE.LOGis appended to from one start to the next; each power-on begins with a header line - the build, the run id, the camera clock's date and time - and a line with the versions of the loaded modules. The log is written through an open file, so an append costs the same however long the file is. OMKit never cuts it: delete it on the computer when it gets long.run_logsis gone (ignored if still inOMKIT.INI); oldXXXXXXXX.LOGfiles are left on the card. - FILMLOOK stores each preset's Bloom and Halation strengths with its edits (a new format of the stored edits).
- Going back to 0.1.0 (docs/platform/om5m2/fw1100/install.md): copy its
CORE.BINand modules as for an update. Thecoreof 0.1.0 reads the stores of this one as they are and does not read[optics]; its FILMLOOK (1.12) does not know the new format of the edits and drops them - tone curve and grain too - for every preset edited since the update.
Fixed
- A camera that did not switch off with the power lever (issue #2): in the viewfinder the camera could stay on, live view running, until the battery was taken out. On the camera this no longer happens with the release build of this version, which reads none of the camera's display registers (0.1.0 read one at every pass for a diagnostic line); the exact mechanism is not proven. Also, while the lever is off and the camera still runs,
corenow writes nothing to the card (before, it wrote the log again 5 s after the lever, just when the battery may be taken out). - A store whose file was removed while the camera was on (another card put in, files deleted over USB) is made again at its next save; before, its saves failed until the next power-on.
- Versions: core 1.46, CREATPRF 1.6, FILMLOOK 1.13.
- Install: extract the ZIP and follow
INSTALL.txt. Already installed OMKit? No flashing again: update the files of theOMKITfolder on the card,OMKIT.INItoo, then make your own settings again in it (INSTALL.txt, part B). - All changes:
CHANGELOG.mdin the ZIP. - ZIP SHA-256:
b637a850ad6180b64c8a9aa2a05d3c4115b2762a031e09d8b71a8666b8ee99f6