Commit Graph

  • 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
  • 2b871397c2 fusee: allow sdmmc_read / sdmmc_write of more data than fits in the bounce buffer Kate J. Temkin 2018-05-11 11:27:35 -07:00
  • 912590b2fd [exosphere] linker.ld: remove some unneeded "AT" commands TuxSH 2018-05-11 16:28:55 +02:00
  • 0d8ba7706d [exosphere] Map the crt0 too TuxSH 2018-05-11 16:13:45 +02:00
  • 05b8b42164 [exosphere] Rewrite crt0/init and ld script TuxSH 2018-05-11 14:07:37 +02:00
  • 02e01360fd Exosphere: Fix crt0 bug resulting in bad relocation calculations Michael Scire 2018-05-10 18:36:52 -06:00
  • f8cf7adad7 Add code to register rawnand, boot0, and bcpkg2 TuxSH 2018-05-10 23:48:41 +02:00
  • a790760de3 raw_mmc_dev: fields should be u64 TuxSH 2018-05-10 23:23:14 +02:00
  • 4168a33dd1 [stage2] Implement package1_parse_boot0 TuxSH 2018-05-10 22:53:46 +02:00
  • 1dd073d8d2 [stage2] Add bct.h TuxSH 2018-05-10 21:54:58 +02:00
  • ac9939b7a1 Apply sdmmc stage1 changes to stage2 TuxSH 2018-05-10 21:36:26 +02:00
  • 402b69c549 fusee: actually obey the SD spec when switching voltage Kate J. Temkin 2018-05-10 07:10:37 -07:00
  • 5b5aa38486 [stage2] Add GPT parsing code (tested on PC) TuxSH 2018-05-10 15:16:44 +02:00
  • 437344fd25 fusee: support low-voltage SDMMC mode Kate J. Temkin 2018-05-10 06:05:00 -07:00
  • b20a04ede5 fusee: use full bus width and faster initial clock speed Kate J. Temkin 2018-05-10 03:21:43 -07:00
  • 20c225c829 [stage2] raw_mmc_dev.c: fix various bugs TuxSH 2018-05-10 00:36:13 +02:00
  • 3273cc5357 Merge pull request #84 from leoetlino/printf-format hexkyz 2018-05-09 22:49:01 +01:00
  • 324efb6994 Merge pull request #94 from encounter/fix/boot-fsdev hexkyz 2018-05-09 22:46:10 +01:00
  • 3e68441040 [stage2] Make console.c manage the display, enable it only when needed TuxSH 2018-05-09 22:20:14 +02:00
  • 4217d7feef [stage2] Unstub rawmmcdev_write TuxSH 2018-05-09 20:52:21 +02:00
  • ff2472385f [sdmmc] sdmmc_handle_cpu_transfer: handle unaligned buffers TuxSH 2018-05-09 20:46:16 +02:00
  • b9b13e215f Fix struct tegra_sdmmc definition TuxSH 2018-05-09 19:33:54 +02:00
  • 3206583db3 [sdmmc] Fix const-correctness issue TuxSH 2018-05-09 19:11:16 +02:00
  • 96391ffca6 boot: Use fsdevMountSdmc & fsdevUnmountAll Luke Street 2018-05-09 12:07:53 -04:00
  • 7ad818ed93 Use latest sdmmc driver in stage2 TuxSH 2018-05-09 18:01:51 +02:00
  • 694289de0b Add raw_mmc_dev (untested!) TuxSH 2018-05-09 17:51:13 +02:00
  • 04f9920cc3 Rename g_devices to g_fsdev_devices TuxSH 2018-05-09 17:26:30 +02:00
  • 6ff90d8d30 Merge branch 'master' of github.com:Atmosphere-NX/Atmosphere TuxSH 2018-05-09 17:10:45 +02:00
  • 3fae01b08f Rewrite condition in fsdev_seek TuxSH 2018-05-09 17:10:35 +02:00
  • ba7d0c2cb6 Exosphere: Add API for retrieving versioning info. Michael Scire 2018-05-09 06:29:56 -06:00
  • bf94bf48d2 Refine error in fsdev_mount_device TuxSH 2018-05-09 14:16:33 +02:00
  • b2c82c75d0 Make stdout line-buffered TuxSH 2018-05-09 11:49:10 +02:00
  • 7560abbfbd Fix FindDevice and RemoveDevice calls in fs_dev.c TuxSH 2018-05-09 11:36:49 +02:00
  • 290fb356a1 stage2: fix init malloc size for stage2_args_t Luke Street 2018-05-08 23:24:10 -04:00
  • 6dbd8d0aae Fix stage2_args_t mismatch Luke Street 2018-05-08 23:08:54 -04:00