Repository navigation
Optimal-parse packer, section 4 loader margin, survey of public DN2 work - #3
Closed
complex-ping wants to merge 1 commit into
Closed
complex-ping wants to merge 1 commit into
complex-ping wants to merge 1 commit into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 throughdnfw.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.tests/skill_check.pyand the unit tests pass.🤖 Generated with Claude Code