Commit graph

  • b566d04036 Exosphere: Fix 4.0+ hang while waiting for BPMP shutdown. Michael Scire 2018-06-01 01:39:08 -06:00
  • af9bee6e7f Exosphere: Fix SE definition bug, misc other bugs. Now boots on 1.0.0 Michael Scire 2018-06-01 00:46:05 -06:00
  • 1058ac7b2d Exosphere: Fix MMIO configuration on low firmware versions. Michael Scire 2018-05-31 18:32:25 -06:00
  • 0534e36cf8 Set SDMMC controller to SDR104 as a workaround Tomasz Moń 2018-05-27 17:43:25 +02:00
  • c9723d7b68 Refactor fusee's makefile TuxSH 2018-05-27 00:59:02 +02:00
  • ad5be3cae5 Refactor exosphère's linker script TuxSH 2018-05-27 00:36:41 +02:00
  • d57f4c54a9 Fix mmc->allow_voltage_switching assignment in sdmmc_init TuxSH 2018-05-24 17:39:36 +02:00
  • 4d43a86b60 Copy latest sdmmc driver to stage2 TuxSH 2018-05-24 01:17:13 +02:00
  • fd77e5543e Add debug comment for exosphère TuxSH 2018-05-23 18:46:39 +02:00
  • 16ad355f45 Unstub "Validate section hashes." TuxSH 2018-05-23 18:45:53 +02:00
  • eaf8e559d6 fusee: work around some dual-init SDMMC issues Kate J. Temkin 2018-05-23 06:14:38 -06:00
  • ef9adabb40 Exosphere: Fix MC carveout setup bug, now receives smcCpuOn from kernel on 1.0.0. Michael Scire 2018-05-21 20:14:06 -06:00
  • b777844d2d
    Boot: Implement PMC wake pin events hexkyz 2018-05-21 21:32:57 +01:00
  • a4b1cf8b50 Stage1: fix SE issue too TuxSH 2018-05-21 21:18:30 +02:00
  • c64d7904b4 Fusee: Fix se_calculate_sha256 Michael Scire 2018-05-21 13:07:46 -06:00
  • 561fa90669 Use uintX_t for the SE & copy bugfixed SE struct definition TuxSH 2018-05-21 19:05:00 +02:00
  • f39622c421 Stage2: Fix bug, add more debug printfs to nxboot. The CCPLEX doesn't turn on TuxSH 2018-05-21 18:42:42 +02:00
  • 5920f5a4b0 Stage2: fix various bugs in package2.c TuxSH 2018-05-21 18:18:12 +02:00
  • ffd0b5df6a Fix bug in stratosphere_get_ini1, etc. TuxSH 2018-05-21 17:45:05 +02:00
  • 0e9a304533 stage2: package2: bypass hash checks for now TuxSH 2018-05-21 17:42:10 +02:00
  • ecb83903c0 Stage1: fix potential alignment issue TuxSH 2018-05-21 14:18:03 +02:00
  • 366cc5e189 Exosphere: Fix extremely spooky Security Engine bugs, now makes it to the end of package2loader. Michael Scire 2018-05-21 04:30:32 -06:00
  • ac7ee45493 fusee: improve SDR104 frequency and support AUTOCMD23 Kate J. Temkin 2018-05-21 04:24:50 -06:00
  • bf2c6dff25 Stage2: Add exception handlers TuxSH 2018-05-21 03:50:53 +02:00
  • c1687905a3 Fix stack overflow when chainloading stage2 TuxSH 2018-05-21 03:42:05 +02:00
  • ea2693dd2d Fix exception handlers (thanks @fincs) TuxSH 2018-05-21 03:39:18 +02:00
  • 43d1816ac2 [stage1] Add exception handlers... which somehow don't work? TuxSH 2018-05-21 02:24:41 +02:00
  • 83d9d874e6 Fusee use CAR reboot for fatal errors TuxSH 2018-05-20 23:52:09 +02:00
  • 4ec7d0fc82 Remove packed when not needed TuxSH 2018-05-20 22:57:25 +02:00
  • 57ff5e694a Don't check for panics in stage2 TuxSH 2018-05-20 22:00:11 +02:00
  • 3dd6ec5f6c wtf pmc reboot doesn't fully work -- display doesn't reinitialize TuxSH 2018-05-20 16:56:15 +02:00
  • f45bc83bc4 Introduce fatal_error TuxSH 2018-05-20 16:18:48 +02:00
  • add03d5774 fusee: correct computation of tuning block size Kate J. Temkin 2018-05-20 07:21:49 -06:00
  • d5411b5b1f fusee: begin adding support for MMC HS modes Kate J. Temkin 2018-05-20 07:04:18 -06:00
  • 5f3fc8156c fusee: SD: implement tuning, allowing for all SD UHS-I speed Kate J. Temkin 2018-05-20 02:43:06 -06:00
  • 38350e769c fusee: SD driver: implement everything necessary for UHS except tuning Kate J. Temkin 2018-05-18 21:51:12 -06:00
  • 633c5e95ed fusee: correct constants in CAR Kate J. Temkin 2018-05-18 21:23:53 -06:00
  • 817c42efc2 fusee: handle SDMMC speeds sanely Kate J. Temkin 2018-05-18 13:17:04 -06:00
  • ec7e0d923d Add custom panic driver TuxSH 2018-05-20 14:11:46 +02:00
  • c820375a86 Make struct tegra_pmc not packed TuxSH 2018-05-20 01:40:23 +02:00
  • 64cdd2e63f Actually don't use memcpy in sdmmc TuxSH 2018-05-19 03:10:06 +02:00
  • 2a98e2e3b8 Sync sdmmc changes between stage1 and 2 TuxSH 2018-05-19 02:50:50 +02:00
  • 2bc2fe1452 Use memcpy instead of raw casts in sdmmc.c TuxSH 2018-05-19 01:33:07 +02:00
  • b4eeddd7e1 Revamp all the Makefiles (thanks @fincs @WinterMute) TuxSH 2018-05-19 00:54:38 +02:00
  • e482839bd4
    Merge bf63fb0626 into 7bfdf63a71 Mikaela Szekely 2018-05-18 14:18:52 +00:00
  • 7bfdf63a71 fusee sdmmc: don't time out on long reads Kate J. Temkin 2018-05-18 07:42:35 -06:00
  • 9424510f8f Exosphere: Fix remaining crt0 bugs, we now make it to pk2ldr. Michael Scire 2018-05-18 07:16:41 -06:00
  • 6954925f71 Exosphere: Fix bug, we now make it past MMU enable. Michael Scire 2018-05-18 06:58:49 -06:00
  • ea905725c4 Exosphere: Copy initial data image to DRAM for coldboot init. Michael Scire 2018-05-18 06:49:49 -06:00
  • 1a9f095463 Exosphere: Fix relocation bug (warmboot relocs currently broken in edge case) Michael Scire 2018-05-18 03:10:06 -06:00
  • 207af476e2
    figured this may be handy just call me azure 2018-05-17 22:08:02 -04:00
  • e0a5acd0ba [stage2] Add more debugging printfs to package2.c, etc. TuxSH 2018-05-18 00:24:06 +02:00
  • 993db7ee95 Fix nxboot mkey rev misconception TuxSH 2018-05-18 00:10:53 +02:00
  • ec6d05892c Refactor nxboot package2 reading, work around sdmmc issue, other changes TuxSH 2018-05-17 23:18:33 +02:00
  • 9ed2f92cdc [stage2] Fix some FS bugs TuxSH 2018-05-17 19:53:42 +02:00
  • 5b5d3c69c2 [exosphere] Fix bug in package2.c TuxSH 2018-05-17 16:14:20 +02:00
  • 3dac6c9268 Fix bug in fusee: package2.c, etc. TuxSH 2018-05-17 16:11:10 +02:00
  • 1b07a07353 Fusee: Change package2 loading logic (untested) TuxSH 2018-05-17 15:56:02 +02:00
  • 5088851de4 Fusee: fix unused var Michael Scire 2018-05-17 07:15:55 -06:00
  • bb1dcb2655 Fusee: Implement BIS crypto functions. Michael Scire 2018-05-17 07:15:29 -06:00
  • 5631b27449 Fix out-of-bounds partition r/w bugs in raw_dev.c TuxSH 2018-05-17 14:39:16 +02:00
  • 858b40e5fb GPT entry LBA range is inclusive TuxSH 2018-05-17 14:38:19 +02:00
  • 85bfbeccc3 Fix latest commit TuxSH 2018-05-17 02:07:11 +02:00
  • 52d2af86b6 Fix BCT version parsing TuxSH 2018-05-17 01:54:19 +02:00
  • 9309b0bed5 Don't overflow devoptabs, etc. TuxSH 2018-05-17 01:53:32 +02:00
  • 468a063c03 Load the appropriate package1 key. The warmboot fw is now properly read. TuxSH 2018-05-16 23:19:55 +02:00
  • 348b2457e0 Fix key derivation regression TuxSH 2018-05-16 23:03:57 +02:00
  • c71e7c8c2e [stage2] Add "hexdump" TuxSH 2018-05-16 19:58:04 +02:00
  • 0d5796fa0b Align crypto buffers to 16 bytes in key_derivation.c TuxSH 2018-05-16 19:57:36 +02:00
  • ab4518b9c1 Simplify some logic in derive_nx_keydata TuxSH 2018-05-16 18:41:16 +02:00
  • c0617982b8 Fix typo in decrypting all keyblobs (thanks @tslater2006 !) TuxSH 2018-05-16 16:45:44 +02:00
  • 1182ea23a5 Fusee: Fix typo when decrypting keyblobs. Michael Scire 2018-05-16 02:39:13 -06:00
  • fa71e9cb15 Fusee: Decrypt all keyblobs during key derivation. Michael Scire 2018-05-16 02:06:59 -06:00
  • f84645e91f Simplify package1_get_encrypted_package1 TuxSH 2018-05-16 02:55:48 +02:00
  • 34a658ce4c Fix package1_read_and_parse_boot0 TuxSH 2018-05-16 01:46:08 +02:00
  • db929925f3 Fix TSEC key fetching, thanks to @rajkosto TuxSH 2018-05-16 00:37:07 +02:00
  • 6c50723209 Fix tsec.c (thanks @rajkosto @tslater2006), fixes #106 TuxSH 2018-05-15 23:59:20 +02:00
  • 9a86ffec68 Fix diskio.c, etc. TuxSH 2018-05-15 23:54:33 +02:00
  • bf3eea7031
    Boot: Implement pinmux drive pad configuration hexkyz 2018-05-15 21:25:40 +01:00
  • 42fd4f73cf Remove stray debug printf in gpt.c TuxSH 2018-05-15 22:10:45 +02:00
  • 60dbc7c9d7 ┬┴┬┴┤( ͡° ͜ʖ‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌├┬┴┬┴ TuxSH 2018-05-15 21:08:57 +02:00
  • 615d5b0882
    Merge pull request #105 from encounter/stage2-logic TuxSH 2018-05-15 20:52:06 +02:00
  • f5ab896343 [stage2] Invert a few checks Luke Street 2018-05-15 14:40:18 -04:00
  • 62ebf20e25 Fix typo in nxboot.c TuxSH 2018-05-15 20:24:37 +02:00
  • 1288f54965 Finish writing stratosphere_get_ini1 TuxSH 2018-05-15 19:47:10 +02:00
  • 6efe91b083 boot: build as KIP (thanks @fincs !) TuxSH 2018-05-15 19:38:04 +02:00
  • 40521a8f63 Fix the syntax errors in the boot JSON files TuxSH 2018-05-15 19:23:22 +02:00
  • 3c0436b98f Write more code for stratosphere_get_ini1, make it and its caller take target_firmware TuxSH 2018-05-15 16:09:06 +02:00
  • 4e1a368b43 Write more of stratosphere_get_ini1 TuxSH 2018-05-15 12:38:07 +02:00
  • af2de57fdc Embed exosphere, thermosphere, loader, pm, sm into fusee-secondary TuxSH 2018-05-15 02:45:31 +02:00
  • 4e12d55993 loader, pm, sm: build kip as only taget (thanks @fincs !) TuxSH 2018-05-15 02:28:41 +02:00
  • d9c2a54464 Make a top-level make build everything in order TuxSH 2018-05-15 01:30:56 +02:00
  • 8bf4cd1908 Fix string truncation warning in thermosphere TuxSH 2018-05-15 01:25:12 +02:00
  • 172a2b679c Fix strncpy bugs in fusée, etc. TuxSH 2018-05-15 01:18:05 +02:00
  • 9ec75d29c5
    Merge 5eee257e50 into cae107557d Luke Street 2018-05-14 23:10:18 +00:00
  • 5eee257e50 Fix ini.c for GCC 8 Luke Street 2018-05-14 18:57:23 -04:00
  • cae107557d Fix the remaining warnings in stratosphère TuxSH 2018-05-15 00:54:12 +02:00
  • 52114760b3 Ignore unused-but-set-variable in ipc_templating.h TuxSH 2018-05-15 00:44:10 +02:00
  • ce891c990f Fix latest commit not building TuxSH 2018-05-15 00:37:07 +02:00
  • a28924fa10
    Boot: Implement pinmux setup hexkyz 2018-05-14 22:02:40 +01:00