CTCaer
2c1da3a97d
se: Upgrade SE and allow SHA calc continue
...
- Allow SHA to calculate sizes > 16MB and refactor sha function
- Name various registers and magic numbers
- Fix various key access bugs
In a later commit this new design will boost verification times significantly and also allow full SHA256 hashes.
2019-12-04 17:18:16 +02:00
CTCaer
29a51124fd
Simplify string ops with already compiled-in functions
2019-12-04 15:56:53 +02:00
Kostas Missos
74452074f6
Modernize readme and hekate_ipl_template.ini
...
Adds more info on how the configs work.
2019-10-31 16:31:16 +02:00
Kostas Missos
598073e50c
ext patches: Remove patches_template.ini load
...
Remove patches_template.ini load.
- It has useless patches, which some times, users confuse them for "bad" patches, even though they aren't.
- No one reads on how it works and it's constantly mishandled when there's no patches.ini (which completely overrides it).
- It was not supposed to be edited.
Also release will not include it anymore.
Template will still exist for demonstrating the syntax of `patches.ini`
This commit also corrects the patches.ini encoding note as ASCII.
2019-10-31 16:26:46 +02:00
CTCaer
58b57a7b14
Merge pull request #300 from shchmue/dev
...
heap: Prevent node chain collapse on free
2019-10-25 20:31:38 +03:00
CTCaer
65fbdfddbf
kfuse: Ensure that kfuse is ready 100% for tsec
2019-10-22 18:57:51 +03:00
Kostas Missos
7c42f72b8a
refactor: Remove all unwanted whitespace
2019-10-18 18:02:06 +03:00
CTCaer
9104b85143
hos: Improve boot error display
2019-10-09 00:42:13 +03:00
CTCaer
2857fcca52
pmic: Restore forced power off timeout back to 5s
2019-09-23 16:41:37 +03:00
CTCaer
6433dbd1ee
readme: Add info for id key
2019-09-14 22:06:18 +03:00
CTCaer
fe339120e2
Bump hekate to v5.0.2 and Nyx to v0.8.2
...
Also rip hekate main's menu logo.
(It will be back :P)
2019-09-12 23:55:48 +03:00
CTCaer
6a261e356f
hos: Update NOGC for LAFW v3
...
And also add emuMMC reverse protection by disabling GC when 9.0.0 fuses are burnt and emuMMC is lower than this.
This avoids fatals on boot.
2019-09-12 23:53:46 +03:00
CTCaer
e24bb44adf
hos: Add full 9.0.0 support
2019-09-12 23:41:08 +03:00
CTCaer
40afcfd686
hos: Support pkg2 encrypted with newer mkeys
2019-09-12 23:39:47 +03:00
CTCaer
658c3c112f
hos: automatically find new kernel ini1 offset
2019-09-12 23:37:00 +03:00
CTCaer
3b16b086f8
pkg2: Remove duplicate patches
2019-09-12 23:29:25 +03:00
CTCaer
8033ba461f
SE: Boost its speed while BPMP cache is on
...
Plus add se_aes_crypt_ecb().
Thanks @shchmue for pointing out that speed bump
2019-09-12 23:27:04 +03:00
CTCaer
4dcb2c6343
autoboot: Allow critical info to be shown
...
This is part of the big refactoring which had all HOS fatal errors.
2019-09-12 23:22:42 +03:00
CTCaer
95a6f2b763
sdram: Support fully burnt ODM fuses
2019-09-12 23:21:12 +03:00
CTCaer
8cef81c901
nyx: Fix some inconsistencies with transparency
2019-09-12 23:20:38 +03:00
CTCaer
08d212d4da
FatFS: Update to R0.13c (p4) and fix some crit issues
2019-09-12 23:18:39 +03:00
CTCaer
252a57ef6a
util: Utilize BPMP sleep when usleep is out of bounds
2019-09-12 23:12:17 +03:00
CTCaer
23e246f224
i2c: Add missing clocks + more refactoring
2019-09-12 23:11:17 +03:00
CTCaer
3028568019
pmc-ccplex: Have proper Power Domain toggling
2019-09-12 23:09:38 +03:00
CTCaer
a8d529cf6a
Refactoring and comment adding
2019-09-12 23:08:38 +03:00
CTCaer
c5b64a2b58
tsec: Don't disable HOST1x clock because it's used
...
Tsec keys function always disabled host1x clock after running.
This interferes with display interface and disables further window frame syncing.
Display_end code already handles disable and reset of said clock.
It also fixes an ancient bug that was mitigated by removing the 5 frame sync on HOST1X_SYNC_SYNCPT_9 at channel 0:
https://github.com/CTCaer/hekate/commit/5fd9daa3642216ae8a28f6cb662a262e29e7ce06#diff-6b0c56eab8515465d559ff0ea73a22c3L152
2019-09-11 02:19:41 +03:00
CTCaer
4c09454bca
nyx options: Do not hide delay time if AutoBoot is off
2019-09-10 23:53:45 +03:00
CTCaer
787c682f0f
readme: Add nouserexceptions key
2019-09-10 23:44:33 +03:00
CTCaer
29b86ce92b
nyx: Refactor Options to a separate object
2019-09-10 23:35:17 +03:00
Kostas Missos
50ebcee45d
nyx: Fix stray color tags (lvgl heap corruption)
2019-09-10 17:05:52 +03:00
Kostas Missos
b74b449601
hos: Add exosphere no user exceptions handle cfg
2019-09-09 17:00:13 +03:00
Kostas Missos
718e502983
Add more register names + refactoring
2019-09-09 16:56:37 +03:00
Kostas Missos
c1e072986d
Fix build issues
2019-09-09 15:48:49 +03:00
CTCaer
8045d7992b
hwinit: FIx CPU/GPU on warmboot reboot from Linux
...
Thanks @Stary2001 for all the testing!
2019-09-01 03:55:43 +03:00
CTCaer
02826dd9a6
sdmmc: Streamline power cycle wait for Sandisks U1
2019-08-28 02:39:43 +03:00
CTCaer
c50e61f961
nyx: Support fixing archive bits for emuMMC
2019-08-28 02:27:13 +03:00
CTCaer
deb9c94bcd
nyx: Check if split restore files are 4MB aligned
...
This is a mitigation for cluster version of FastFS.
During a split restore, it is allowed only once to write a cluster that is not full.
2019-08-28 02:25:48 +03:00
CTCaer
6cc3d9df67
nyx: Fix eMMC split restore when < 10 parts
...
Now it properly follows the double digit scheme.
(rawnand.bin.##)
2019-08-28 02:23:46 +03:00
CTCaer
92a60a1e89
nyx: Various fixes
2019-08-28 02:20:48 +03:00
CTCaer
d0b0164077
ianos: Remove error unneeded printing
2019-08-28 02:09:05 +03:00
CTCaer
f3d071ca69
mem: Remove memalign
...
It doesn't do what it should anyway.
2019-08-28 02:08:12 +03:00
CTCaer
9533dea124
nyx: Update AutoRCM status on eMMC restore
2019-08-28 02:06:19 +03:00
CTCaer
6159d94e5d
nyx: Fix autoboot list for inis
2019-08-28 01:58:12 +03:00
CTCaer
565956482a
hos: Fix SaltyNX on emuMMC
...
This actually fixes the send process id patch that SaltyNX depends on.
Why it only breaks on emuMMC is unknown.
2019-08-28 01:55:19 +03:00
CTCaer
f622d57f6b
utils: Fix ms timer accuracy
...
Additionally add BPMP delay timers for future use.
2019-08-28 01:33:38 +03:00
CTCaer
6cc0711382
autoboot: Fix force boot from ID
2019-08-28 01:12:34 +03:00
CTCaer
3472e7e7fb
Various bugfixes
2019-08-28 01:08:57 +03:00
CTCaer
e07dde1c58
Merge pull request #280 from Guillem96/patch-1
...
gui: Fix setting minerva periodic training task ready
2019-08-19 20:33:24 +03:00
CTCaer
31db2735ce
autoboot: Add forced boot from ID
...
By using the key `id=` with a max 7 ASCII id, hekate will search all inis automatically and pinpoint the boot entry with that id.
After that it forces a boot from this one.
2019-08-16 22:00:32 +03:00
CTCaer
6ec871ad5f
Merge pull request #265 from friedkeenan/master
...
Fix building with -C
2019-07-09 18:44:06 +03:00
ctcaer@gmail.com
101c8bc1d0
Bump hekate to v5.0.1 and Nyx to v0.8.1
2019-07-06 22:43:53 +03:00
ctcaer@gmail.com
9b80ec9ac7
[emuMMC] Improve change logic
...
It can now properly show the existing sd parition emuMMC
2019-07-06 22:42:59 +03:00
ctcaer@gmail.com
ac425368e4
[emuMMC] Improve migrate logic
...
It can now find more existing emuMMC
2019-07-06 22:42:01 +03:00
ctcaer@gmail.com
205dab6cbd
[Nyx] Add power options when sd card removed
...
Additionally disable screenshot function.
2019-07-06 22:40:39 +03:00
ctcaer@gmail.com
ac7eb092d5
[emuMMC] Change partition type to xE0
2019-07-06 22:39:44 +03:00
ctcaer@gmail.com
fed15a2f2f
[Nyx] Add init of temperature sensor
2019-07-06 22:36:35 +03:00
ctcaer@gmail.com
2bb0dba724
[Nyx] Add button to force HOS boot screen logs
2019-07-06 22:34:03 +03:00
ctcaer@gmail.com
078ef1c4f1
Remove backup hash mode from main to reduce bin size.
2019-07-06 22:32:49 +03:00
ctcaer@gmail.com
c40c125462
[emuMMC] Disable stock emuMMC unti it's fixed
2019-07-06 22:30:22 +03:00
ctcaer@gmail.com
5b919cb12e
[Touch] Fix touch hang for some SoC revisions
...
Fixes the hang on Nyx boot.
2019-07-06 22:24:03 +03:00
ctcaer@gmail.com
138da26a9a
[BPMP] Fix cache coherency issues
...
+ Fix framebuffer memfetcher for some SoC revisions.
2019-07-06 22:22:47 +03:00
ctcaer@gmail.com
18a29c641c
[HOS] Easier kip patching update from release
...
Kip patches will be loaded from patches.ini.
If that's not found, then patches_template.ini will be used.
2019-07-06 22:18:32 +03:00
ctcaer@gmail.com
0862cb1e7e
[HOS] Fixed 6.0.x/6.1.0 stock
2019-07-06 22:16:42 +03:00
ctcaer@gmail.com
f26cfac10d
[HOS] Add CFW custom keygen for 6.2.0
2019-07-06 22:10:23 +03:00
ctcaer@gmail.com
08b84384a6
Bugfixes and cleanup
2019-07-06 22:08:37 +03:00
CTCaer
d55634638f
Update banner in readme
2019-06-30 06:38:48 +03:00
ctcaer@gmail.com
e6d1a31045
[Nyx] Fix icon loading for payload entries
...
+ Add missing resources
2019-06-30 06:12:31 +03:00
ctcaer@gmail.com
7cd545a124
[Nyx] Additions to readme
2019-06-30 05:23:20 +03:00
ctcaer@gmail.com
01e2302f84
Bump version to v5.0.0
2019-06-30 04:03:42 +03:00
ctcaer@gmail.com
c41f98039c
[Nyx] Introducing hekate GUI, named Nyx!
...
Version 0.8.0.
Expect dragons!
2019-06-30 04:03:00 +03:00
ctcaer@gmail.com
c0b3a4fc54
Add info about Nyx/emuMMC
2019-06-30 03:57:45 +03:00
ctcaer@gmail.com
a1a0d8db49
[Exo] Add support for new panic format
2019-06-30 03:55:52 +03:00
ctcaer@gmail.com
03872e814a
[Nyx] Prep hekate main for nyx
2019-06-30 03:55:19 +03:00
ctcaer@gmail.com
52478833de
[MTC] Utilize Minerva Training Cell
2019-06-30 03:49:33 +03:00
ctcaer@gmail.com
ba0f29bc5c
[PKG2] Add external kip1 patches support via .ini
...
The format is described in patches.ini.
For now it only supports the kips defined in hekate's code.
Next versions will add support for defining other kips.
2019-06-30 03:45:18 +03:00
ctcaer@gmail.com
f3dcfab095
More bugfixes
2019-06-30 03:40:37 +03:00
ctcaer@gmail.com
12f8f055eb
[HOS] Add 8.1.0 support
2019-06-30 03:29:46 +03:00
ctcaer@gmail.com
bd7f572989
[emuMMC] Add support
2019-06-30 03:24:58 +03:00
ctcaer@gmail.com
8101fd3f7f
Various bugfixes
2019-06-30 03:15:46 +03:00
CTCaer
c5ab4d6abd
Merge pull request #216 from speed47/se_sha1_parts
...
[Tools] implement hash file generation on backup (#101 ).
2019-05-19 22:36:55 +03:00
ctcaer@gmail.com
03268c4655
Bump version to v4.10.1
2019-04-23 18:23:17 +03:00
ctcaer@gmail.com
072bbcabf4
[HOS] Use sha256 for kernel hashing
2019-04-23 18:17:55 +03:00
ctcaer@gmail.com
7c877c5bce
[HOS] Normalize new pkg2 identification
2019-04-23 03:41:07 +03:00
ctcaer@gmail.com
6aa1bdd1c6
[HOS] Fix pk2 decr after running 2nd time on 7.x+
...
This could happen after a pkg1/2 dump or a failed hos launch.
The 2nd time a dump or launch would be attempted, it would fail.
2019-04-23 03:38:35 +03:00
ctcaer@gmail.com
91606334c4
[sdmmc] Revert 204MHz sd device clock
...
Again some Sandisk U1 cards do not behave at all at speeds like that (204MHz / 102MB/s).
Revert back to 163.2MHz / 81.6MB/s.
2019-04-23 03:34:39 +03:00
ctcaer@gmail.com
25f6e91677
[sdmmc] Fix Sandisk U1 fast power cycle
...
Some Sandisk U1 sd cards do not behave nicely if they power cycle too fast. A min 100ms wait, is enough to mitigate that.
Fortunately, because of how the code paths are structured, this was never hit.
2019-04-23 03:31:16 +03:00
ctcaer@gmail.com
36d2da5d79
Bump version to v4.10.0
2019-04-21 17:38:29 +03:00
ctcaer@gmail.com
fd0dc04953
[HOS] Add full 8.0.0 support
...
Additionally, allow pkg1 to be dumped if unknown fw version.
2019-04-21 17:37:12 +03:00
ctcaer@gmail.com
8eb5ee867d
[GFX] Finish ctxt global usage
...
Plus:
- Some whitespace fixes
- Allow UHS bus to reach max 102MB/s from 81.6MB/s
2019-04-21 17:33:39 +03:00
CTCaer
5d99f2fcf7
Merge pull request #208 from shchmue/master
...
[TSEC] Fix tsec timeout
2019-04-19 19:08:19 +03:00
ctcaer@gmail.com
c80fecd080
[main] Add brick protection for RCM patched units
...
- If AutoRCM was found enabled, force disable it.
(In case of chainloading.)
- Additionally disable AutoRCM function.
2019-04-16 20:09:04 +03:00
ctcaer@gmail.com
ed047ef5f5
[Tool] Support AutoRCM on devkits
2019-04-16 20:05:35 +03:00
ctcaer@gmail.com
a2ba2ecf26
Battery "desync" fix is now applied on boot
2019-04-16 19:58:12 +03:00
ctcaer@gmail.com
07fe94b6d4
[exo] Add exosphere panic report save to sd
2019-04-14 04:24:37 +03:00
ctcaer@gmail.com
ca0c0f786c
[Tools] Add status bar update while fixing arc bit
2019-04-14 02:41:29 +03:00
ctcaer@gmail.com
b0af57f98a
[GFX] Refactor gfx to utilize global contexts
2019-04-14 02:30:14 +03:00
ctcaer@gmail.com
5ba4848571
Various bugfixes
...
- Add error msg for what fails in a particular ini boot entry
- Fix wrongly defined s8 type
- Change raw fuse dump to correct size
2019-04-14 02:19:04 +03:00
CTCaer
361f8a3085
Correct byte offsets for boot cfg. Thanks @WerWolv
2019-03-21 08:45:33 +02:00
ctcaer@gmail.com
961768e14e
[sd tools] Utilize sd_file_read better
...
Additionally fix a long standing fread/fwrite bug, via a FatFS fix.
(Doesn't affect Tegra arch though)
2019-03-16 23:35:43 +02:00
Kostas Missos
491c4efe9c
[FatFS] Update to R0.13c (p3)
2019-03-13 12:27:43 +02:00