Commit graph

34 commits

Author SHA1 Message Date
Kostas Missos
33457ad8f8 As always remove more uneeded stuff 2018-07-09 22:13:56 +03:00
Kostas Missos
2f120d1cbb Change partial backup msg + some fixes 2018-07-09 16:02:47 +03:00
Kostas Missos
60905c3829 Don't run hos keygen twice + Fix memory leaks 2018-07-07 18:36:18 +03:00
Kostas Missos
879fc643d9 Add important fuse info (like burnt eFuses) 2018-07-05 01:51:36 +03:00
Kostas Missos
5e8eb1c57a Implement ms timer and fix all timers
This will fix everything that uses a timer (or sleep).

Without this any function like eMMC/SD read/write/verify, TSEC/SE, etc can break when the time reaches the max value of the u32 microsecond timer (71minutes).

This fixes every possible breakage, including backup and restore (read/write/verify errors) that takes a lot of time.

The new max before a timer reset is now 48 days (the old one was 71 minutes)
2018-07-04 18:39:26 +03:00
Kostas Missos
ffeb8c60df Preliminary Exosphère support 2018-07-01 05:03:17 +03:00
Kostas Missos
6961769a86 Name more hardcoded values 2018-06-24 22:31:24 +03:00
Kostas Missos
bee8004b74 [GFX] Add position saving and muting 2018-06-23 07:07:53 +03:00
Kostas Missos
f3149e0be3 FatFS and general file operations fixes
* Make FatFS thread safe via malloc and remove alloca.
* Fix memory leak from emmc gpt parsing
* Always unmount SD card in menu and when launching
* Use folders for Backup/Dump/Restore operations
* Add error report for some important f_opens
* Don't let partial dumping if backup chosen is not GPP or USER.
2018-06-23 07:04:41 +03:00
Kostas Missos
d2291a78e2 Switch Framebuffer to ARGB by default 2018-06-19 16:53:41 +03:00
Kostas Missos
e76c2b4cb6 General additions, fixes and bugfixes 2018-06-18 09:04:13 +03:00
Kostas Missos
9d50a13ef0 Update GNU copyright for big changes
Additionally change the readme
2018-06-18 09:00:53 +03:00
nwert
694a8b5395 Fixed screen brightness problems (tested on 1.0.0 and 2.0.0). Some refactoring. 2018-06-15 23:38:09 +12:00
Kostas Missos
b2dd070d10 [INI] Fix memory leaks + other fixes (#38)
* [INI] Fix memory leaks + other fixes

* Add ini_free
* check and return if NULL pointer in free()
* Add button check with timeout
* Fix a bug in menu rendering that tries to parse a string without existing
* Change initial cnt value to max (fixes menus with first entry not a selectable entry)
* Some & ? clarifications

* [INI] Add get selected boot cfg

- This allows to free ini as we launch the firmware and have the lowest mem leak

* [INI] Rename ini section clone/free functions
2018-06-13 11:34:32 +12:00
nwert
62a8618606 Buildfix. 2018-06-12 10:30:40 +12:00
nwert
486a121cbf Normalise patchsets. Simplify LP0 config (needs testing). 2018-06-10 00:05:29 +12:00
nwert
24e172b5fb Refactored the firmware loader and LP0 config. 2018-06-08 23:07:25 +12:00
nwert
120e8f5870 Fix all warning. 2018-06-08 21:42:24 +12:00
Kostas Missos
16ac26f583 [DP/GFX/SDMMC] Bugfixes
- Sanitize framebuffer. Original idea from @StevenMattera
- Change clear framebuffer to memset (for grey colors), for performance (we don't use alpha blending, so it does not matter to set it to 0xFF).
- Enable screen backlight after gfx init
- Reduce wait time for emmc/sd read/write retries to 100ms.
2018-06-06 13:29:38 +03:00
Kostas Missos
b299cb40c7 [PKG2] Switch kernel patching to crc32c based kernel id
This provides support for the 3.0.2 kernel, where pkg1 has the same id with 3.0.1.

Thanks @roblabla for noticing and providing the Debug mode kernel patch.
2018-06-05 02:04:08 +03:00
Kostas Missos
fb9e91ed0c Better dump of pkg1 + Wording 2018-06-05 01:55:32 +03:00
nwert
b8b7889e68 Fixed sleep mode [test on 1.0.0, 2.0.0 and 5.1.0]. 2018-06-04 14:44:40 +12:00
Kostas Missos
c43b6f8a5d SD errata, bugfixes, replace hardcoded values 2018-06-03 22:27:15 +12:00
Kostas Missos
e0cb0e867b [HOS] Add sd unmount and proper secmon signaling 2018-06-03 22:27:15 +12:00
Kostas Missos
4b806f1e7d Oups. Remove unmerged functions 2018-06-03 22:27:15 +12:00
Kostas Missos
e2a8b36750 [PKG1] Add kernel patching
Add Disable Svc Verification and Debug mode.
Can be enabled via the hekate .ini

https://gist.github.com/roblabla/440f3ceaa0b2d3ca530c2a43fe258420
2018-06-03 22:27:15 +12:00
Kostas Missos
54a0a353bc Bug fixes, wording, etc 2018-06-03 22:27:15 +12:00
Kostas Missos
746a557deb Add 3.X support through SE patches
This includes @jsaowji commits and also adds support for 3.0.1 and 3.0.2
2018-05-28 18:27:02 -07:00
Kostas Missos
54187226c8 Better error messaging structure 2018-05-15 12:40:04 -07:00
Ced2911
4d7f016e3a Feature/4x (#10)
* Dump sm, added JanV work
* add Ac_K patches, fix boot, keygen is wrong, need more work
* cleanup keygen, correct key for 4xx
* remove unused code, cleanup code
2018-05-13 13:13:17 +12:00
st4rk
8d6b6c4f0e Fix mistake where I was reading pkg1 twice 2018-05-04 00:32:28 -07:00
st4rk
6ebfaa1200 keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:31:08 -07:00
st4rk
8b9e65e76f keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:15:29 -07:00
nwert
8365426fc3 So it has come to this. 2018-05-01 17:22:03 +12:00