1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 10:52:13 +00:00
Atmosphere/fusee/fusee-primary
Michael Scire c5edb031fa fusee: restore DRAM to 204MHz before starting main cpu on Mariko (closes #1600).
Nintendo's Mariko tables result in trained frequency of 1599999 instead of 1600000.

PCV checks for rate == 1600000 exactly, when doing EMC init.

Thus EMC init does not succeed if we are trained to 1600000.

PCV has a fudge factor of 1000 used in SetEmcDvfsFreq, but this is not used in InitEmcDvfs.

This failure means that PCV cannot change rate back to 204MHz before sleep, and then after
wake extremely degraded performance is observed.

Restoring DRAM to 204MHz before boot causes EMC init to succeed/fixes performance degradation.
2021-08-30 07:19:28 -07:00
..
fusee-primary-main fusee: restore DRAM to 204MHz before starting main cpu on Mariko (closes #1600). 2021-08-30 07:19:28 -07:00
src fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
linker.ld fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
linker.specs
Makefile build: use DWARFv4 explicitly for IDA compatibility with debug elfs 2021-06-25 23:48:41 -07:00