1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 05:42:17 +00:00
Atmosphère is a work-in-progress customized firmware for the Nintendo Switch.
Find a file
Tomasz Moń 804a40830e Fix race conditions and misconfiguration in sdmmc
Properly configure pull up and pull down offsets for autocal.
Run autocal prior to every transfer.

Prevent race conditions in sdmmc_wait_for_event() - make sure the fault
handler has highest priority, then the target irq, state conditions and
finally the error mask.

Do not clear all bits (|=) when acknowledging fault conditions,
only acknowledge the fault conditions itself.

Enable interrupts before preparing command registers - if sdmmc is fast
enough it can actually finish transfer before we enabled the interrupts.
Enabling interrupts clears the COMMAND COMPLETE status bit.

Temporarily print all the sdmmc messages in stage2 - for yet unknown
reason respecting the log level results in some failures.

This results in working microsd card in stage2 on my switch with Samsung
EVO+ 256GB microsd card.
2018-06-09 17:37:53 +02:00
exosphere Merge pull request #73 from Resaec/uart 2018-06-04 16:33:43 +01:00
fusee Fix race conditions and misconfiguration in sdmmc 2018-06-09 17:37:53 +02:00
img Push all graphical resources to main repo, add credits 2018-05-01 18:42:23 -06:00
stratosphere Build fix 2018-06-03 18:31:03 +02:00
thermosphere Revamp all the Makefiles (thanks @fincs @WinterMute) 2018-05-19 01:07:27 +02:00
.gitignore Revamp all the Makefiles (thanks @fincs @WinterMute) 2018-05-19 01:07:27 +02:00
LICENSE Add license and disclaimer. 2018-01-17 23:54:38 -08:00
Makefile Revamp all the Makefiles (thanks @fincs @WinterMute) 2018-05-19 01:07:27 +02:00
README.md Fix credits 2018-06-04 19:31:08 +01:00

Banner

License

Atmosphère is a work-in-progress customized firmware for the Nintendo Switch.

Credits

Atmosphère is currently being developed and maintained by SciresM, TuxSH and hexkyz.
In no particular order, we credit the following for their invaluable contributions:

  • switchbrew for the libnx project and the extensive documentation, research and tool development pertaining to the Nintendo Switch.
  • devkitPro for the devkitA64 toolchain and libnx support.
  • ReSwitched Team for additional documentation, research and tool development pertaining to the Nintendo Switch.
  • ChaN for the FatFs module.
  • Riley for suggesting "Atmosphere" as a Horizon OS reimplementation+customization project name.
  • naehrwert for the hekate project and its hwinit code base.
  • ktemkin for the work on Fusée Gelée and Atmosphère's SDMMC driver and hypervisor system.
  • hedgeberg for research and hardware testing.
  • lioncash for code cleanup and general improvements.
  • jaames for designing and providing Atmosphère's graphical resources.
  • Everyone who submitted entries for Atmosphère's splash design contest.
  • All those who actively contribute to the Atmosphère repository.