-
Notifications
You must be signed in to change notification settings - Fork 89
Update Project CTR #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jakcron
wants to merge
371
commits into
bkifft:master
Choose a base branch
from
3DSGuy:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
[makerom/ctrtool] fixes + enhancements
[makerom] Fixed CpuSpeed typo.
…ackSize now read from exheader template.
…ks. (Works around fread/fwrite buffer size limitations)
…ress indicators as [ctrtool::ClassName LOG]
Add support for silencing CTRTool output
* Move files around to new directory structure * Rework libyaml into a stand-alone dep for makerom. * Rework libpolarssl to be standalone dependency for makerom. * Update includes. * Delete makefile * Add new makefile for makerom. * Update MakeROM github actions script. * Fix again. * Update MakeROM's makefile * Tweak makerom build script * Tweak MakeROM build script. * Fix typo * Update MakeROM makefiles. * Tweak CTRTool build script. * Tweak build script * Tweak CTRTool build script. * Tweak CTRTool build script * Add libmbedtls to makerom deps * Partially migrate makerom to libmbedtls * Break out libblz as an external dependency for makerom. * Tweak makerom build script. * Move dependencies to the top level. * Put everything back. * misc * Update makerom documentation. * Link to ctrtool/makerom readmes from the root readme. * Update root readme again. * Migrate makerom to modern mbedtls * Bump makerom version to 0.18.1 * Change signing errors to be warnings when they fail. * Add error verbosity to errors when generating CIA files. * Fix bug in RSA code. * misc. * Remove polarssl now migration to mbedtls complete. * Surface more makerom errors. * [makerom] Tolerate CCI signing errors as a warning. * Add missing return. * Import initial data key_x (prod/dev included) * [makerom] Fix initial data generation.
* [makerom] Correctly initialize prod initial_data_key_x * [makerom] Properly select CCI CryptoType when not manually specified. * [makerom] Bump version to v0.18.2
* [makerom] Update makefiles to address impl func warnings on linux. * [makerom] bump version to v0.18.3
* Add util functions to CTRTool * [ctrtool] Honour -p flag when processing CIA files. * Bump CTRTool version to v1.1.1
* add 9.6.0 cci changes * adjust crypto type validation * ugh --------- Co-authored-by: Liam <47696410+0Liam@users.noreply.github.com>
* [makerom] Add -baremetal flag This is a workaround to us not supporting multiple phdr per "segment". K9 and legacy FIRM k11 don't have memory management and have everything be RWX. We can exploit how they load CIPs to have the segment be anything, and be able to be loaded at any VMA (first segment defines LMA and entrypoint, however). With this flag, the first phdr in the .elf file is always chosen as the "code" segment and so on. For example, we can have a FCRAM segment where the image is initially loaded and jumped to, as the first segment, then an AXIWRAM segment. For TwlBg, Nintendo seems to have a RWX phdr inside the code "segment" that it relocates to AXIWRAM, but we don't support this. "-baremetal" implies "-nocodepadding". * [makerom] Add -pagesize option Kernel9 uses pagesize=0x100 instead of the usual 0x1000. * [makerom] Remove 32 interrupt ID limitation
SDK 0.10-era CXIs specify the full exheader size of 0x800 in the NCCH header, so allow that.
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.
No description provided.