Michael Scire
|
bb1dcb2655
|
Fusee: Implement BIS crypto functions.
|
2018-05-17 07:15:29 -06:00 |
|
TuxSH
|
5631b27449
|
Fix out-of-bounds partition r/w bugs in raw_dev.c
|
2018-05-17 14:39:16 +02:00 |
|
TuxSH
|
858b40e5fb
|
GPT entry LBA range is inclusive
|
2018-05-17 14:38:19 +02:00 |
|
TuxSH
|
85bfbeccc3
|
Fix latest commit
|
2018-05-17 02:07:11 +02:00 |
|
TuxSH
|
52d2af86b6
|
Fix BCT version parsing
|
2018-05-17 01:54:19 +02:00 |
|
TuxSH
|
9309b0bed5
|
Don't overflow devoptabs, etc.
|
2018-05-17 01:53:32 +02:00 |
|
TuxSH
|
468a063c03
|
Load the appropriate package1 key. The warmboot fw is now properly read.
|
2018-05-16 23:19:55 +02:00 |
|
TuxSH
|
348b2457e0
|
Fix key derivation regression
|
2018-05-16 23:04:54 +02:00 |
|
TuxSH
|
c71e7c8c2e
|
[stage2] Add "hexdump"
|
2018-05-16 19:59:14 +02:00 |
|
TuxSH
|
0d5796fa0b
|
Align crypto buffers to 16 bytes in key_derivation.c
|
2018-05-16 19:57:36 +02:00 |
|
TuxSH
|
ab4518b9c1
|
Simplify some logic in derive_nx_keydata
|
2018-05-16 18:41:16 +02:00 |
|
TuxSH
|
c0617982b8
|
Fix typo in decrypting all keyblobs (thanks @tslater2006 !)
|
2018-05-16 16:45:44 +02:00 |
|
Michael Scire
|
1182ea23a5
|
Fusee: Fix typo when decrypting keyblobs.
|
2018-05-16 02:39:13 -06:00 |
|
Michael Scire
|
fa71e9cb15
|
Fusee: Decrypt all keyblobs during key derivation.
|
2018-05-16 02:06:59 -06:00 |
|
TuxSH
|
f84645e91f
|
Simplify package1_get_encrypted_package1
|
2018-05-16 02:55:48 +02:00 |
|
TuxSH
|
34a658ce4c
|
Fix package1_read_and_parse_boot0
Key derivation is now working
|
2018-05-16 01:46:08 +02:00 |
|
TuxSH
|
db929925f3
|
Fix TSEC key fetching, thanks to @rajkosto
|
2018-05-16 00:37:07 +02:00 |
|
TuxSH
|
6c50723209
|
Fix tsec.c (thanks @rajkosto @tslater2006), fixes #106
|
2018-05-15 23:59:20 +02:00 |
|
TuxSH
|
9a86ffec68
|
Fix diskio.c, etc.
|
2018-05-15 23:54:33 +02:00 |
|
TuxSH
|
42fd4f73cf
|
Remove stray debug printf in gpt.c
|
2018-05-15 22:10:45 +02:00 |
|
TuxSH
|
60dbc7c9d7
|
┬┴┬┴┤( ͡° ͜ʖ├┬┴┬┴
|
2018-05-15 21:08:57 +02:00 |
|
Luke Street
|
f5ab896343
|
[stage2] Invert a few checks
|
2018-05-15 14:40:18 -04:00 |
|
TuxSH
|
62ebf20e25
|
Fix typo in nxboot.c
|
2018-05-15 20:24:37 +02:00 |
|
TuxSH
|
1288f54965
|
Finish writing stratosphere_get_ini1
|
2018-05-15 19:50:20 +02:00 |
|
TuxSH
|
3c0436b98f
|
Write more code for stratosphere_get_ini1, make it and its caller take target_firmware
|
2018-05-15 16:09:06 +02:00 |
|
TuxSH
|
4e1a368b43
|
Write more of stratosphere_get_ini1
|
2018-05-15 12:38:07 +02:00 |
|
TuxSH
|
af2de57fdc
|
Embed exosphere, thermosphere, loader, pm, sm into fusee-secondary
Still needs boot and boot2 to be built as proper KIPs
|
2018-05-15 02:45:31 +02:00 |
|
TuxSH
|
172a2b679c
|
Fix strncpy bugs in fusée, etc.
|
2018-05-15 01:18:05 +02:00 |
|
TuxSH
|
15bba0ba0c
|
Make loadlist empty when booting Horizon, more nxboot.c code
|
2018-05-14 21:17:06 +02:00 |
|
TuxSH
|
c2b22a6bf2
|
Write all the needed pk1 code and a large part of the nxboot function
|
2018-05-14 02:40:35 +02:00 |
|
TuxSH
|
17f4a17d17
|
[stage2] Add debug printf in main.c
|
2018-05-14 00:06:48 +02:00 |
|
TuxSH
|
bc7369b5d1
|
[stage2] Add dump_to_file
|
2018-05-14 00:03:05 +02:00 |
|
TuxSH
|
8df624a10d
|
Rename sd_utils to fs_utils, etc
|
2018-05-13 23:49:50 +02:00 |
|
TuxSH
|
a3792d94dc
|
[stage2] Support sector sizes up to 4K in FatFs.
Note: SD cards always have a sector size of 512 bytes.
|
2018-05-13 20:51:57 +02:00 |
|
TuxSH
|
9f53aa13d1
|
[stage2] Implement disk_status
|
2018-05-13 20:32:38 +02:00 |
|
TuxSH
|
4f50d412f5
|
Redesign fs_dev, raw_dev, introducing device_partition and switch_fs.
In theory, one could mount an encrypted FAT partition itself coming from a disk image, etc.
|
2018-05-13 19:53:55 +02:00 |
|
TuxSH
|
396a646fa3
|
[stage2] Add console_get_framebuffer
|
2018-05-12 21:39:29 +02:00 |
|
TuxSH
|
00f08321c7
|
[stage2] Accomodate raw_mmc_dev to latest sdmmc driver changes
|
2018-05-12 12:23:07 +02:00 |
|
TuxSH
|
75169790ff
|
stage1 -> stage2 again
|
2018-05-12 11:00:36 +02:00 |
|
TuxSH
|
f6f8065417
|
We actually need the pk1 key
|
2018-05-11 23:57:48 +02:00 |
|
TuxSH
|
4ada3b6195
|
Merge pull request #93 from encounter/fix/stage2-args
Fix stage2_args_t mismatch
|
2018-05-11 23:38:25 +02:00 |
|
TuxSH
|
6e43a71b5b
|
Fix misconception in latest commit
|
2018-05-11 23:12:22 +02:00 |
|
TuxSH
|
3ac3183c85
|
[stage2] Refactor key_derivation type and function declarations
|
2018-05-11 23:01:13 +02:00 |
|
TuxSH
|
eb8573093d
|
Move sd init into diskio.c, write code for latest commit
|
2018-05-11 22:24:40 +02:00 |
|
TuxSH
|
f8cf7adad7
|
Add code to register rawnand, boot0, and bcpkg2
|
2018-05-10 23:48:41 +02:00 |
|
TuxSH
|
a790760de3
|
raw_mmc_dev: fields should be u64
|
2018-05-10 23:23:14 +02:00 |
|
TuxSH
|
4168a33dd1
|
[stage2] Implement package1_parse_boot0
|
2018-05-10 22:53:46 +02:00 |
|
TuxSH
|
1dd073d8d2
|
[stage2] Add bct.h
|
2018-05-10 21:54:58 +02:00 |
|
TuxSH
|
ac9939b7a1
|
Apply sdmmc stage1 changes to stage2
|
2018-05-10 21:36:26 +02:00 |
|
TuxSH
|
5b5aa38486
|
[stage2] Add GPT parsing code (tested on PC)
|
2018-05-10 15:16:44 +02:00 |
|