Commit graph

564 commits

Author SHA1 Message Date
CTCaer c0b16320cc bootloader: improve launch code
- Fix error not showing if payload is missing or can't be read
- Move errors to their callee function to save binary space
- Refactor various parameters and comments
- Reduce size on some errors
- Do not read HOS specific config in case of payload launch
- Remove unneeded code
2022-10-11 07:21:41 +03:00
CTCaer e7866387cd bootloader: remove volatile from reloc
To save binary space, as it's not needed.
2022-10-11 07:00:24 +03:00
CTCaer 6739f03893 bootloader: remove rtc stop alarm from auto hos powerr off
It's done in power_set_state anyway.
2022-10-11 06:59:39 +03:00
CTCaer 0a9c71d5d6 bootloader: simplify emmcsn_path_impl 2022-10-11 06:58:22 +03:00
CTCaer 5392971c2c hekate/nyx: utilize emmc_end 2022-10-11 04:19:29 +03:00
CTCaer 1499f958dd Bump hekate to v5.8.0 and Nyx to v1.3.0 2022-07-01 13:47:47 +03:00
CTCaer fe7fd6370e hekate/nyx: push some missed changes 2022-07-01 11:33:43 +03:00
CTCaer 535ea95086 hekate/nyx: gfx: add text color defines
And reduce code size when using W/EPRINTF macros
2022-07-01 04:37:57 +03:00
CTCaer eba6b285ec hekate: utilize watchdog to catch sd based hangs
Utilize watchdog when configuring LP0/Minerva.
A problematic SD card connector can cause corrupted reads to happen and thus cause hekate to hang on a black screen.

By using a watchdog there, such issues can be avoided and the user can get notified visually.
2022-06-29 12:19:19 +03:00
CTCaer 3fa01a1975 hekate: fix a bug in low battery monitor
Do not try to deinit display if it's not enabled.

Can happen if LBM disables display to reserve power while charging and user presses both VOL buttons to exit the mode.
2022-06-04 22:03:47 +03:00
CTCaer 10205b17dd hekate: remove sd mount/unmout management for payload launch
Callers manage it anyway.
Fixes a case where missing the payload would result to Nyx not relaunching because sd was unmount.
2022-05-21 13:10:12 +03:00
CTCaer 75b7d91abf hekate: always init sublist on section creation
Even if there are no edge cases here
2022-05-21 13:08:46 +03:00
CTCaer 8428ce1a2e hekate/nyx: gfx: changes to putn 2022-05-19 15:06:37 +03:00
CTCaer 334d89973f hekate/nyx: adhere to uart driver changes 2022-05-08 05:46:23 +03:00
CTCaer c2869703af hekate: gfx: add negative decimals printing
And remove external handling
2022-05-08 05:29:30 +03:00
CTCaer 8f540b2543 Bump hekate to v5.7.2 and Nyx to v1.2.2 2022-03-23 19:34:59 +02:00
CTCaer f687c4f6da hos: add support for HOS 14.0.0 2022-03-23 02:21:59 +02:00
CTCaer 547c90a0a9 hekate: remove ipatches info from main hekate 2022-03-23 00:24:13 +02:00
CTCaer cfd6567f5d pkg1: move warmboot rsa patching into pkg1
And create a function for hekatf to be used
2022-02-15 00:26:07 +02:00
CTCaer 9aa55c2d76 hekate/nyx: correct type on heap_init 2022-02-15 00:23:23 +02:00
CTCaer ad4014f295 hekate: sd info: always reset mode after done 2022-02-15 00:18:24 +02:00
CTCaer 73d38e1183 hos: loop through counter instead of explicit sets 2022-02-15 00:16:42 +02:00
CTCaer 70ee61f0da More 2022 copyright updates 2022-01-29 01:43:35 +02:00
CTCaer ce16a08694 main: check pstore log size if 0 2022-01-29 01:37:02 +02:00
CTCaer 0ad42762e7 main: rename logo buffer 2022-01-29 01:36:35 +02:00
CTCaer 5f337bffd6 config: do not unmount on exit
Fixes Nyx not found for new users without hekate_ipl.ini
2022-01-29 01:35:09 +02:00
CTCaer aee5861f65 hekate/nyx: improve cyclomatic complexity 2022-01-29 01:23:40 +02:00
CTCaer 2f1d1572f7 Bump hekate to v5.7.0 and Nyx to v1.2.0 2022-01-20 14:34:54 +02:00
CTCaer 49f34581bb hos: add 13.2.1 support 2022-01-20 14:06:50 +02:00
CTCaer 17b0270eb5 hekate: move display init above others that need it 2022-01-20 13:57:25 +02:00
CTCaer 39ce19e6f4 hekate: remove unnecessary sd mounts
- Main already mounts sd. Also by trying again it takes forever to go into TUI
- Skip l4t kernel pstore dump and auto launch fw if sd failed to mount
2022-01-20 13:56:36 +02:00
CTCaer b18b5076b3 hos: change order of deinits and update for newer exo 2022-01-20 13:49:29 +02:00
CTCaer 6ac9d79282 pkg2: do not hash kernel/ini1 if exo 2022-01-20 13:34:18 +02:00
CTCaer 836530d4e3 pkg2: refactor bitflags and remove debugging code 2022-01-20 13:32:48 +02:00
CTCaer 3b2f438f69 pkg2: ini patches: reduce heap fragmentation/pressure 2022-01-20 13:31:16 +02:00
CTCaer 28167b7304 hekate/nyx: move emmc ops to bdk and adhere to changes 2022-01-20 13:15:04 +02:00
CTCaer 943f675046 hekate/main: move sd ops into bdk 2022-01-20 12:49:18 +02:00
CTCaer 06e7af150e hekate/nyx: improve exceptions reporting
- Do not report HOS panic if status is 0
- Do not report LP0/MTC libs missing if failed to mount sd
- Rename panics to be explicit of their source
2022-01-16 01:33:07 +02:00
CTCaer 864ec50a2d main: add L4T kernel panic report back
L4T kernel now uses a PANIC magic flag instead of a bitflag and so it's simpler to detect.
2022-01-16 01:23:39 +02:00
CTCaer aa0a9da37b fatfs: default year to 2022 2022-01-16 01:09:45 +02:00
CTCaer 30a4861da6 exo: change BOOT2 error message 2022-01-16 01:08:56 +02:00
CTCaer 5894062b93 hekate/nyx: utilize bdk global header 2022-01-16 00:04:34 +02:00
CTCaer 01b6e645b3 Bump hekate to v5.6.5 and Nyx to v1.1.1 2021-10-26 11:39:53 +03:00
CTCaer db8c41cdaa hos: pkg2: add 13.1.0 support 2021-10-26 11:39:32 +03:00
CTCaer c6fdb637ca Bump hekate to v5.6.4 and Nyx to v1.1.0 2021-10-19 09:16:49 +03:00
CTCaer d2684f66a1 hos: change exfat check order 2021-10-19 09:11:36 +03:00
CTCaer a7f0701cbf hos: move storage end above final touches 2021-10-15 16:47:06 +03:00
CTCaer 65b3b87c99 hos: pkg1: explicitly which type pkg1 is wrongly flashed 2021-10-15 16:42:39 +03:00
CTCaer 8d3700b76b hos: improve error for missing BEK or corrupt pkg1 on T210B01 2021-10-15 16:40:06 +03:00
CTCaer d2595a00b6 nyx: move autorcm protection in nyx 2021-10-15 16:34:15 +03:00