Skip to content

Optimal-parse packer, section 4 loader margin, survey of public DN2 work - #3

Closed
complex-ping wants to merge 1 commit into
mainfrom
packer-loader-survey
Closed

complex-ping wants to merge 1 commit into
mainfrom
packer-loader-survey

Conversation

@complex-ping

Copy link
Copy Markdown
Owner
  • scripts/optpack.c: a cost-optimal parse in the same aPLib variant, window and match cap as dnfw (after mischa85/elektron-firmware-tool). On a modded MAIN OS it is 4.6-5.3 % smaller than dnfw's greedy parse. Measured offline and round-tripped through dnfw.codec.aplib.depack; not HW-proven.
  • scripts/inplace_margin.c + setup.md: section 4 (a factory board test) depacks MAIN OS in place from 0x40200000 when the panel key read times out (naturarum/dn2-cfw notes/T1.2). Stock 1.12 keeps a +31,181 B margin; a mod that grows MAIN OS beyond it hangs on that path.
  • setup.md: a survey of public DN2 / Elektron firmware projects (2026-11-16).
  • firmware.md: section 4 is not an updater.

tests/skill_check.py and the unit tests pass.

🤖 Generated with Claude Code

…ublic DN2 work

scripts/optpack.c: a cost-optimal parse in dnfw's aPLib format (4.6-5.3 % smaller MAIN OS streams than
dnfw's greedy parse). scripts/inplace_margin.c: the margin section 4's in-place loader needs.
setup.md: both, plus a 2026-11-16 survey of public projects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@complex-ping
complex-ping deleted the packer-loader-survey branch November 16, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant