Commit Graph

  • b310824dac SDMMC: Adding register definitions and draft files hexkyz 2018-04-04 22:31:05 +01:00
  • a73ef0eab1 fusee: fix critical rendering bug Kate J. Temkin 2018-04-03 05:16:13 -06:00
  • 9766cabdef fusee: jeez, srsly, kate, include all the files when you commit Kate J. Temkin 2018-04-03 04:49:02 -06:00
  • 0c13e5a2c1 fusee: commit a straggler for flicker removal Kate J. Temkin 2018-04-03 04:15:48 -06:00
  • 3f40a89316 fusee: don't flicker as we turn the display on Kate J. Temkin 2018-04-03 03:56:50 -06:00
  • 2d8812ac6e Implement BIS Key derivation. Michael Scire 2018-03-31 15:36:54 -06:00
  • 19178d6176 Fix XTS implementation, now verified working on HW. Michael Scire 2018-03-31 14:29:59 -06:00
  • 9f36769b12 Update README.md SciresM 2018-03-29 18:30:58 -07:00
  • edf9e2f5c7 Prevent compiler optimization of SE LL writes Michael Scire 2018-03-29 13:46:10 -06:00
  • 6ed9123c24 Implement NX Key Derivation. Michael Scire 2018-03-29 13:14:58 -06:00
  • 57853602df fusee: add basic print-to-display console / printk Kate J. Temkin 2018-03-27 05:28:28 -06:00
  • 9ab7d66524 Implement SE XTS driver code for fusee Michael Scire 2018-03-25 18:50:56 -06:00
  • 53cf46d20f Clean up Fusee's SE API, removing unneeded functionality Michael Scire 2018-03-25 17:16:17 -06:00
  • 3140ddc301 Reserve AMS0 magic for later use, change to eXosphere Boot Config rev 0 Michael Scire 2018-03-25 17:02:24 -06:00
  • c2eed3caf6 Integrate 5.x SMC API changes, add 4.x specific setup, implement target firmware selection Michael Scire 2018-03-25 15:05:08 -06:00
  • c6ee1bffb7 Display PoC TuxSH 2018-03-15 23:12:38 +01:00
  • b48e71ab82 Import hwinit (with small changes) and exosphère drivers TuxSH 2018-03-15 16:14:41 +01:00
  • 171c82ea9e Add build system for fusee TuxSH 2018-03-14 21:14:02 +01:00
  • 965971edbd Fix off-by-one mkey revision errors TuxSH 2018-03-14 16:03:16 +01:00
  • 6a0946378a Remove useless "pack" pragmas TuxSH 2018-03-11 16:32:33 +01:00
  • 52f7adfc50 Add spsr_el3 to cpu_context TuxSH 2018-03-11 12:53:52 +01:00
  • f624cccd0d Fix LP0 TZRAM CMAC calculation Michael Scire 2018-03-10 19:11:58 -08:00
  • 32bd5b3a73 Fix LP0 entry. Exit still fails in warmboot bin. Michael Scire 2018-03-10 18:57:17 -08:00
  • ab2b8e4db5 Fix CpuSuspend not making it to finalize_powerdown() Michael Scire 2018-03-09 23:55:41 -08:00
  • c2676c359c Fix CAR primitives Michael Scire 2018-03-09 15:40:11 -08:00
  • 88c4dfd444 Fix flow controller set functions Michael Scire 2018-03-09 14:56:16 -08:00
  • 3f627798e7 Fix and/bic inversions in finalize_powerdown TuxSH 2018-03-09 22:56:41 +01:00
  • 3d72183471 Add 4.x configitem stuff TuxSH 2018-03-09 11:54:36 +01:00
  • 1ffa239b5a Fix async expMod output + smcUnwrapAesWrappedTitlekey Michael Scire 2018-03-08 19:48:35 -08:00
  • 7e780301de Fix AES-GCM code. Michael Scire 2018-03-08 17:26:42 -08:00
  • 8e5228866c Fix smcComputeCmac, generally improve userpage cache usage Michael Scire 2018-03-08 04:59:00 -08:00
  • ec8f27f1be Fix AES ECB encryption not encrypting Michael Scire 2018-03-08 03:16:50 -08:00
  • b35c418558 memcpy(x, NULL, 0) is undefined behavior TuxSH 2018-03-08 11:17:46 +01:00
  • 3d8ff446ad Implement BootReason config Michael Scire 2018-03-08 01:48:57 -08:00
  • ff9322a468 Use and adapt the UART driver from hekate/hwinit TuxSH 2018-03-08 01:02:45 +01:00
  • a409016a88 Fix fuse_get_hardware_type for 4.x TuxSH 2018-03-07 23:24:38 +01:00
  • d5bb96c0f8 Fix and with mask issue in smc_user.c TuxSH 2018-03-07 19:24:52 +01:00
  • 22f6c27654 Fix up comment Mike H 2018-03-07 16:11:53 +00:00
  • 54fac349f2 Fix user_generate_specific_aes_key wrong register use TuxSH 2018-03-07 15:50:50 +01:00
  • 4f0e8b8467 Fix bug in user_generate_specific_aes_key, add other read/write le/be funcs TuxSH 2018-03-07 15:11:53 +01:00
  • 71f01aaa43 Fix freudian slip TuxSH 2018-03-07 14:34:47 +01:00
  • 6592744b3b Add debug region to mapped memory Michael Scire 2018-03-07 04:00:19 -08:00
  • b26b8e1f5c Fix smcConfigureCarveout Michael Scire 2018-03-07 03:45:27 -08:00
  • d4c1e0b982 Merge branch 'master' of https://github.com/SciresM/Atmosphere-NX Michael Scire 2018-03-07 03:44:37 -08:00
  • 11e694d15c Fix SMMU Enable preventing FS from talking to NAND MMIO Michael Scire 2018-03-07 03:37:11 -08:00
  • d2b1febb43 Implement dbg log interface TuxSH 2018-03-06 01:29:06 +01:00
  • a65d380889 Make enum names consistent TuxSH 2018-03-05 23:59:46 +01:00
  • 827280ca12 Fix lock_try_acquire(&g_is_user_smc_in_progress) calls TuxSH 2018-03-05 21:07:09 +01:00
  • 6b10c21a10 Default kernel carveout is ID 4, not 5 Michael Scire 2018-03-05 03:27:24 -08:00
  • 5e75d8b2bd Fix func_copy null deref (?) TuxSH 2018-03-05 09:41:39 +01:00
  • ffd0181aa1 Fix Stack Overflow in SMC handler Michael Scire 2018-03-04 19:07:17 -08:00
  • 1fa64fccbf Add pre-defined panic utilities Michael Scire 2018-03-04 17:23:16 -08:00
  • 4c38be1560 Fix lock clear in warmboot_main TuxSH 2018-03-04 21:57:25 +01:00
  • 3e128a8b3e Add TI charger stuff to warmboot_main, add 4.x hw_type stuff as well TuxSH 2018-03-04 14:04:49 +01:00
  • ca80408349 Fix latest commit and set MAILBOX_NX_SECMON_BOOT_TIME TuxSH 2018-03-04 00:36:40 +01:00
  • 58036dac0b Fix coldboot init (presentations lie) Michael Scire 2018-03-03 12:22:50 -08:00
  • a6c7a2c57e Refactor 32-bit register definitions TuxSH 2018-03-03 20:23:13 +01:00
  • c0f99fcd1c Fix invalidate_icache_all dsb correctness TuxSH 2018-03-03 20:03:52 +01:00
  • 3d974857e4 warmboot_main: fix panic reason in panic code TuxSH 2018-03-03 19:49:25 +01:00
  • 4a2c9229ee Fix warmboot vs cpu_on check TuxSH 2018-03-03 19:43:44 +01:00
  • 03c1ad7119 Add most of warmboot_main TuxSH 2018-03-03 19:31:22 +01:00
  • be6b67669f Finish writing warmboot _crt0_ TuxSH 2018-03-03 16:58:23 +01:00
  • 48e8d9c7de Fix bugs required to successfully hand off to kernel Michael Scire 2018-03-03 06:15:46 -08:00
  • 93864f2289 Use the boot critical section TuxSH 2018-03-03 03:43:46 +01:00
  • 92d2abaf1c Fix section alignment, attempt to clean up the crt0 a bit TuxSH 2018-03-03 02:02:10 +01:00
  • 661bcaa3ec Change 'success' panic location to end of coldboot_main() Michael Scire 2018-03-02 15:09:51 -08:00
  • 102fb5004f Cleanup TODOs, implement bootconfig SCR_EL3 bit setting Michael Scire 2018-03-02 15:04:16 -08:00
  • bf63a077b1 Implement critical section (Lamport's Baker s algorithm)... TuxSH 2018-03-02 23:32:50 +01:00
  • 301b166684 Implement CPU state init, fix bug in cpu_context restore Michael Scire 2018-03-02 14:16:54 -08:00
  • a292e95c2f Finish bootup_misc_mmio() - Cur build gets to end of pk2ldr. Michael Scire 2018-03-02 13:44:21 -08:00
  • ca7b441079 Add call to se_generate_stored_vector() before validating Michael Scire 2018-03-02 12:59:12 -08:00
  • 3388198a26 Add coldboot mmio init (for non 4.x), required for FLOW writes to succeed. Michael Scire 2018-03-02 12:45:37 -08:00
  • e7e62ef90b Implement half of bootup_misc_mmio() Michael Scire 2018-03-02 12:16:30 -08:00
  • b3dbfd8ee0 Update pk2ldr outline, prepare for bootup_misc_mmio() impl Michael Scire 2018-03-02 11:28:05 -08:00
  • 303e189559 Implement a few TODOs with CAR driver. Michael Scire 2018-03-01 23:33:43 -08:00
  • 5f7308efd1 Implement Clock/Reset Driver. Michael Scire 2018-03-01 22:50:00 -08:00
  • cad9cdc6e0 Reintroduce unmap_* in package2.c TuxSH 2018-03-02 07:33:47 +01:00
  • 78bee60485 Fix dangling comments Michael Scire 2018-03-01 21:24:22 -08:00
  • 7b6d15ec36 Fix up package2.c, current build makes it to the panic() on hardware Michael Scire 2018-03-01 21:15:19 -08:00
  • 2390df4d07 Fix start.s to pass reloc_list properly to package2ldr Michael Scire 2018-03-01 20:39:49 -08:00
  • 0a80a7caf5 Fix coldboot init, Exosphere makes it to PK2LDR in this commit. Michael Scire 2018-03-01 20:10:05 -08:00
  • 63d0b08ac4 Rewrite relocation stuff TuxSH 2018-03-02 02:19:35 +01:00
  • 6903b20579 Fix wrong subsection name TuxSH 2018-03-01 21:28:50 +01:00
  • 82f10b4320 Implements missings parts of pk2ldr, refactor relocation a bit TuxSH 2018-03-01 19:11:09 +01:00
  • 568781bc7e Strongly validate SPL's buffer address TuxSH 2018-03-01 12:30:24 +01:00
  • 9553c69c8f Properly detect PK21 master key rev. Michael Scire 2018-03-01 03:28:34 -08:00
  • 205d3b8b80 Fix PK2LDR bugs, Fix SE bugs Michael Scire 2018-03-01 03:24:45 -08:00
  • 7850d3fd57 Put the loaded bootconfig in the evt page TuxSH 2018-03-01 11:06:55 +01:00
  • b67ce08f84 Fix Modulus Exponentiation in SE driver Michael Scire 2018-03-01 02:00:39 -08:00
  • 4025781f1c Make clear_bss work regardless of load address Michael Scire 2018-03-01 00:59:08 -08:00
  • 1d621f3bf4 Fix tzram_map_all_segments TuxSH 2018-03-01 02:36:16 +01:00
  • 78b9698260 Finish writing coldboot_main TuxSH 2018-03-01 01:40:09 +01:00
  • 19dda5ed48 Can't copy to VAs if VA don't exist (at that point of the program) TuxSH 2018-03-01 01:13:10 +01:00
  • e34d86b16f Fix the set_memory_registers_enable_mmu call TuxSH 2018-03-01 00:05:18 +01:00
  • 3d4dcdde13 Fix ttbl init pointer arith bug, other fixes TuxSH 2018-02-28 23:35:30 +01:00
  • 0a89831193 Clear bss at runtime like Nintendo actually does TuxSH 2018-02-28 22:29:17 +01:00
  • 303774aeb7 Use bic instead of and in finalize_powerdown TuxSH 2018-02-28 19:58:59 +01:00
  • 6be5b0a52f Implement flush_dcache_all_tzram_pa and invalidate_icache_all_inner_shareable_tzram_pa for the crt0s TuxSH 2018-02-28 19:06:41 +01:00
  • e5f293e004 Implement and use set_memory_registers_enable_mmu TuxSH 2018-02-28 13:32:18 +01:00
  • 64c8612342 Fix wrongly named register in __set_memory_registers, add prototype TuxSH 2018-02-28 07:32:14 +01:00