Commit Graph

  • 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
  • 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
  • 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
  • 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
  • 15bba0ba0c Make loadlist empty when booting Horizon, more nxboot.c code TuxSH 2018-05-14 21:17:06 +02:00
  • c2b22a6bf2 Write all the needed pk1 code and a large part of the nxboot function TuxSH 2018-05-14 02:40:35 +02:00
  • 17f4a17d17 [stage2] Add debug printf in main.c TuxSH 2018-05-14 00:06:48 +02:00
  • bc7369b5d1 [stage2] Add dump_to_file TuxSH 2018-05-14 00:03:05 +02:00
  • 8df624a10d Rename sd_utils to fs_utils, etc TuxSH 2018-05-13 23:49:50 +02:00
  • a3792d94dc [stage2] Support sector sizes up to 4K in FatFs. TuxSH 2018-05-13 20:51:57 +02:00
  • 9f53aa13d1 [stage2] Implement disk_status TuxSH 2018-05-13 20:32:38 +02:00
  • 4f50d412f5 Redesign fs_dev, raw_dev, introducing device_partition and switch_fs. TuxSH 2018-05-13 19:53:55 +02:00
  • 396a646fa3 [stage2] Add console_get_framebuffer TuxSH 2018-05-12 21:39:29 +02:00
  • 9dce3b05ba [stage1] refactor diskio.c TuxSH 2018-05-12 12:37:41 +02:00
  • 00f08321c7 [stage2] Accomodate raw_mmc_dev to latest sdmmc driver changes TuxSH 2018-05-12 12:23:07 +02:00
  • 75169790ff stage1 -> stage2 again TuxSH 2018-05-12 11:00:36 +02:00
  • 50047dffaa [stage1] unstub multiple sector-r/w code TuxSH 2018-05-12 10:52:04 +02:00
  • 9f86c75ea4 fusee: undo a silly mistake in longer-than-8K operations Kate J. Temkin 2018-05-11 21:36:21 -07:00
  • f6f8065417 We actually need the pk1 key TuxSH 2018-05-11 23:57:48 +02:00
  • 4ada3b6195 Merge pull request #93 from encounter/fix/stage2-args TuxSH 2018-05-11 23:38:25 +02:00
  • 6e43a71b5b Fix misconception in latest commit TuxSH 2018-05-11 23:11:57 +02:00
  • 3ac3183c85 [stage2] Refactor key_derivation type and function declarations TuxSH 2018-05-11 23:01:13 +02:00
  • eb8573093d Move sd init into diskio.c, write code for latest commit TuxSH 2018-05-11 22:21:44 +02:00