Skip to content
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

19.0.0 Support #2386

Open
10 of 16 tasks
SciresM opened this issue Oct 8, 2024 · 10 comments
Open
10 of 16 tasks

19.0.0 Support #2386

SciresM opened this issue Oct 8, 2024 · 10 comments

Comments

@SciresM
Copy link
Collaborator

SciresM commented Oct 8, 2024

Master issue/check list of stuff to do for 19.0.0 changes. Note that I can't actually work on this properly until Wed/Thurs, I expect

  • Reverse engineer new kernel changes
  • Update fusee/exosphere with new keydata/values
  • Implement most new changes into mesosphere
  • Implement new changes into loader
  • Implement new changes into pm
  • Implement new changes into ro
  • Implement new changes into <sysmodules, create as needed>
  • Update emummc
  • Miscellaneous exosphere/fusee fixes for new DRAM IDs
  • Make sure libnx is updated for anything relevant.
  • Implement page table rewrite in mesosphere

Post-release:

  • Determine what other system modules need reverse engineering changes
  • Reverse engineer potential new boot sysmodule changes.
  • Miscellaneous post-release reverse engineering
  • Miscellaneous post-release implementation work/updating
  • Implement 18.0.0 jpegdec changes, eventually.
@Atmosphere-NX Atmosphere-NX deleted a comment from ilykami Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from masagrator Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Rakau Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from ilykami Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from steel101 Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Visualwit Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from CoolCoderGuy Oct 9, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 9, 2024

This issue is for me to track my work, please don't spam it with comments.

@Atmosphere-NX Atmosphere-NX deleted a comment from jealion5 Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Naxdy Oct 9, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from prodlucidity Oct 9, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 9, 2024

I am aware of how to lock issues, when I say "please do not spam", this includes e.g. advice comments on how to lock issues, thanks.

@SciresM
Copy link
Collaborator Author

SciresM commented Oct 10, 2024

Kernel is almost-but-not quite fully updated now; I will be coming back to it to tackle the remaining work later. My TODO.txt contains:

* KPageTable implementation was heavily rewritten.
    * Too many changes to summarize here; the fundamental implementation is now based on iteration over levels using TraversalContext instead of separate per-level logic.
* Many heavy K(Initial)PageTable changes, including:
    * KInitialPageTable's table entries no longer have bit 58 (0x0400000000000000) set; previously this was used to indicate/determine whether a mapping was present even if the entry was NotMapped.
        * Bit0 (0x1) is now used to check for mapping existence again in many places.
    * KPageTableImpl::InitializeForKernel now iterates over mappings created by KInitialPageTable, setting PageAttribute=#used entries for tables and setting bit 58 on blocks.

Logic is that rewriting the page table implementation is likely to be much more error-prone for me-as-programmer, and it's a better prioritization of my time to get the rest of ams basically functioning before doing that.

@SciresM
Copy link
Collaborator Author

SciresM commented Oct 11, 2024

Well, that's the kernel complete, unless there are bugs lurking in all that code I just wrote.

So far as I can tell, atmosphere is just working, but it's kind of hard for me to test something like this thoroughly. I uploaded a built to ReSwitched's discord, for people who are actually capable of helping me test that.

Please only use this if you are competent enough to give me good bug reports.

Do not use this if you need help with basic stuff/if you're not very familiar with atmosphere.

There may be hidden bugs lurking, please only use this if you're okay with your console being temporarily bricked if I fucked up something important.

@SciresM SciresM pinned this issue Oct 12, 2024
@Atmosphere-NX Atmosphere-NX locked and limited conversation to collaborators Oct 12, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 12, 2024

I am going to give this a few extra days to simmer before doing a proper pre-release, however, things seem stable enough to me.

Please feel free to use this build, if you're interested in using atmosphere on 19.0.0 even before a pre-release:

atmosphere-1.8.0-preprerelease-5717ea6c0.zip
fusee.bin.zip

Please note: Usage of certain custom system modules (including sys-clk) can cause the system to hang when waking from sleep. This is not an atmosphere bug. Additionally, some sysmodules may need to be compiled with an upgraded switch-tools in order to function correctly, especially if they use debug SVCs.

@Atmosphere-NX Atmosphere-NX unlocked this conversation Oct 12, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 12, 2024

I'm unlocking this issue, because I like looking at the emoji reactions to various posts. Any spam will be deleted, please do not make my life difficult as issue moderator, do not ask for help in this issue.

@Atmosphere-NX Atmosphere-NX deleted a comment from sand-undertale Oct 12, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Airfishgaming Oct 12, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from elipltr Oct 12, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from SlicedHammm Oct 12, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from steel101 Oct 12, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from steel101 Oct 12, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Dmitry290378 Oct 14, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from evan-cloud Oct 14, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from bdawg1989 Oct 14, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Skygames-yt Oct 14, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Dmitry290378 Oct 14, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from Dmitry290378 Oct 14, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 14, 2024

I would like to be clear that any comment on this issue by another person is spam at this point, and I will begin banning people from the issue tracker if they continue not taking the hint.

@Atmosphere-NX Atmosphere-NX deleted a comment from SkippTekk Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from WarioK Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from bmichalkiewicz Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from impeeza Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from DroidlyMobile Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from ltecheroffical Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from ltecheroffical Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from bdawg1989 Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from DroidlyMobile Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from WarioK Oct 16, 2024
@Atmosphere-NX Atmosphere-NX deleted a comment from ltecheroffical Oct 16, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 16, 2024

It is amazing how many people commented on this issue after I said "nobody else should comment on this issue".

@Atmosphere-NX Atmosphere-NX deleted a comment from ltecheroffical Oct 16, 2024
@SciresM
Copy link
Collaborator Author

SciresM commented Oct 16, 2024

That guy has been blocked from interacting with this repo for 7 days. This will also happen to anyone else who does a stupid, here.

@SciresM
Copy link
Collaborator Author

SciresM commented Oct 30, 2024

Atmosphere 1.8.0 supports 19.0.1 with no changes. There is no need to comment on this issue.

@Atmosphere-NX Atmosphere-NX deleted a comment from dracula99gr Oct 30, 2024
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

No branches or pull requests

2 participants
@SciresM and others