CTCaer
960f3b23e7
bdk: ums: adhere to emmc ops changes also
2022-01-20 13:17:55 +02:00
CTCaer
28167b7304
hekate/nyx: move emmc ops to bdk and adhere to changes
2022-01-20 13:15:04 +02:00
CTCaer
b08e36a7b0
bdk: add emmc ops
...
- Add support for lower eMMC bus speed init in case of failures
- Add error count reporting
- Function names and defines changed from nx_emmc to emmc (except autorcm helper function)
- Enabling emuMMC support needs BDK_EMUMMC_ENABLE flag passed over
2022-01-20 13:14:38 +02:00
CTCaer
943f675046
hekate/main: move sd ops into bdk
2022-01-20 12:49:18 +02:00
CTCaer
00110a8863
bdk: move sd ops into bdk
2022-01-20 12:48:41 +02:00
CTCaer
7ae4fd03c2
bdk: minerva: prep for ATF direct boot support
2022-01-20 12:43:24 +02:00
CTCaer
e071fe44b0
bdk: ini: reduce heap fragmentation/pressure
2022-01-20 12:41:20 +02:00
CTCaer
39d411dc68
bdk: uart: add uart va print
2022-01-20 12:39:32 +02:00
CTCaer
82f90fae28
bdk: utils: add vprintf
2022-01-20 12:37:41 +02:00
CTCaer
10e1f67dc5
bdk: utils: add strcpy with head/tail whitespace removal
2022-01-20 12:36:25 +02:00
CTCaer
10b479dc1c
bdk: clock: add apb/ahb clock control
2022-01-20 12:32:57 +02:00
CTCaer
3dd12321f8
bdk: add activity monitor driver
2022-01-20 12:32:02 +02:00
CTCaer
c1441a64c7
bdk: se: expose xts functions and add nx xts
2022-01-20 12:28:26 +02:00
CTCaer
0e35e68fd5
bdk: se: add t210b01 data coherency WAR
2022-01-20 12:27:25 +02:00
CTCaer
853f10f774
bdk: pmc: update tzram defines
2022-01-20 12:13:35 +02:00
CTCaer
4628ee6dc5
bdk: di: window fb changes
...
- Get fb address from in window regs
- Remove 2 frames wait
2022-01-20 12:12:19 +02:00
CTCaer
3bb46c6470
bdk: di: allocate fifo buffer once
2022-01-20 12:09:29 +02:00
CTCaer
6a74f6ed04
minerva: make is_pllmb and fsp automatic
...
No need to keep these values around.
Software will automatically check the proper registers to get status.
2022-01-16 01:43:16 +02:00
CTCaer
d1c0d464dc
minerva: name needs_training flags
2022-01-16 01:41:24 +02:00
CTCaer
6092994240
nyx: sd part: set attributes to folders also on restore
2022-01-16 01:38:47 +02:00
CTCaer
5a88f7bc06
nyx: info: highlight battery temp info if cold/hot
2022-01-16 01:37:26 +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
5e6a7c486b
bdk: btn: enable HOME button as input
2022-01-16 01:05:42 +02:00
CTCaer
1a9c6bf983
bdk: correct reg init as per TRM
2022-01-16 01:04:52 +02:00
CTCaer
70504c295e
bdk: various functionality independent changes
2022-01-16 01:03:24 +02:00
CTCaer
5894062b93
hekate/nyx: utilize bdk global header
2022-01-16 00:04:34 +02:00
CTCaer
a5cd962f99
bdk: add global header
2022-01-15 23:58:27 +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
b0fe84070f
nyx: add new touch panel fw info
...
Additionally, do not alloc/free heap every time status bar update must run
2021-10-26 10:55:11 +03:00
CTCaer
4d91d2baff
bdk: fan: clamp duty before checking if the same
2021-10-26 10:53:22 +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
bdd9e48606
nyx: simplify touch ic fw ids
2021-10-19 09:16:18 +03:00
CTCaer
25a7544010
nyx: add new mircon ram model info
2021-10-19 09:15:28 +03:00
CTCaer
821ad23341
nyx: add fuses keygen revision info
2021-10-19 09:14:36 +03:00
CTCaer
981c986b3f
bdk: sdram: name the new micron modules
2021-10-19 09:13:14 +03:00
CTCaer
09b3e47ac8
bdk: touch: rename samsung touch panel
2021-10-19 09:11:58 +03:00
CTCaer
d2684f66a1
hos: change exfat check order
2021-10-19 09:11:36 +03:00
CTCaer
964381854e
readme: fix key name in description
2021-10-15 16:52:11 +03:00
CTCaer
d8670fbd87
nyx: bis: correct lookup check
2021-10-15 16:50:56 +03:00
CTCaer
3c81ac91df
nyx: fix months that have 30/31 days on date picker
2021-10-15 16:50:16 +03:00
CTCaer
147c82e0e2
nyx: fix text color on restore emmc errors
2021-10-15 16:49:28 +03:00
CTCaer
339ce2d861
minerva: change some types and fix temp check
...
Temperature error check for over temp compensation was wrong.
It's still unused though, so it didn't matter.
2021-10-15 16:48:51 +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
CTCaer
c4bf129d5e
hos: name pkg1/secmon states
2021-10-15 16:30:14 +03:00
CTCaer
503f4d4cd6
tui: tools: simplify autorcm warning
2021-10-15 16:26:57 +03:00
CTCaer
31d6c7d85d
bdk: reg 5v: fix a hang with T210B01 and Hoag/Aula
...
- Hoag and Aula do not have a USB based 5V bus source, so do not touch CC4 pin.
- More importantly, in T210B01 the GPIO AO IO rail seems to be working properly from boot.
Plus it also seems that is needed by various components.
That was found when running on Aula. It was causing an immediate hang. Probably SoC wide.
Only allow control of it on T210 to avoid such issues.
2021-10-15 16:26:11 +03:00
CTCaer
9a17ca2628
bdk: disable fan control on Hoag and Aula
...
TODO: Add support for them.
These use a different way to init/control fan.
2021-10-15 16:19:16 +03:00
CTCaer
49bcaf3914
bdk: correct some types and warnings
2021-10-15 16:18:06 +03:00
CTCaer
82d0346615
bdk: fatfs: remove errors that depend on full diskio
2021-10-15 16:17:08 +03:00
CTCaer
808da1bce0
bdk: di: adjust OLED panel brightness curve
...
The Samsung AMOLED panel least legible backlight is at a high duty (45 / 255).
Change the linear curve to a more appropriate one.
2021-10-15 16:16:24 +03:00
CTCaer
6992ece762
bdk: touch: add samsung touch model name
2021-10-15 16:09:25 +03:00
CTCaer
734e70b755
nyx: add samsung display/touch model info
2021-10-15 16:08:48 +03:00
CTCaer
681182540e
bdk: di: add model name for the samsung panel
2021-10-15 16:07:18 +03:00
CTCaer
9c29ee437a
Bump hekate to v5.6.3 and Nyx to v1.0.8
2021-10-01 15:54:49 +03:00
CTCaer
785baad5ea
hos: exo: better fatal description for boot2
2021-10-01 15:46:38 +03:00
CTCaer
91b08f10fd
hekate/nyx: use size defines where applicable
2021-10-01 15:45:25 +03:00
CTCaer
c801ef8dda
bdk: use size defines where applicable
2021-10-01 15:03:18 +03:00
CTCaer
b47c01981f
hekate: add OS panic error reporting
2021-10-01 14:35:39 +03:00
CTCaer
7e4c71748f
bdk: types: refactor and add size defines
2021-10-01 14:33:55 +03:00
CTCaer
a1910156d8
bdk: hwinit: save boot reason for later usage
2021-10-01 14:32:42 +03:00
CTCaer
99d15eaac8
bdk: fatfs: check if string is null for puts/printf
...
Avoid writing garbage to a file by checking string pointer passed to f_puts and f_printf.
Important on many embedded platforms that do not abort on NULL dereference.
2021-10-01 14:27:57 +03:00
CTCaer
e31d6446db
nyx: correct reboot name for patched devices
2021-09-26 12:53:34 +03:00
CTCaer
05ce867064
hekate: move emummc config load inside relevant functions
...
This ensures that hekate can re-read it in case of sd card swap while in TUI and also doesn't read it if not needed.
2021-09-26 12:23:54 +03:00
CTCaer
609a76045a
nyx: remove always true check
2021-09-26 12:16:04 +03:00
CTCaer
000ea3096a
nyx: check if emuMMC path is null before producing the ID
2021-09-26 12:15:25 +03:00
CTCaer
0160df7fb9
Bump hekate to v5.6.2
2021-09-20 11:45:58 +03:00
CTCaer
05c989a1ce
emummc: correct id size and also set id if emupath is used
...
This corrects a truncation that was happening and also if `emupath` key is used to change emuMMC on the fly, it now uses the path as id instead of 0.
2021-09-20 11:41:48 +03:00
CTCaer
ebefd1c2d3
Bump hekate to v5.6.1 and Nyx to v1.0.7
2021-09-19 22:35:56 +03:00
CTCaer
983d661da5
nyx: add many SD manufacturers
...
This will now properly identify many more manufacturers.
As a reminder, it shows who made the sd card, even if the SD card has another vendor name.
In that case, it's normally because the manufacturing is outsourced and vendor only puts a label on it.
For example, now lexar, transcend and sony do not exist in the list as they don't manufacture sd card nands and microcontrollers
2021-09-17 23:45:48 +03:00
CTCaer
da08d00d21
nyx: replace Tsec Keys with Lockpick RCM
...
This checks if bootloader/payloads/Lockpick_RCM.bin exists and if found it allows to launch it directly from there.
Only works with Lockpick RCM copied there and is version 1.9.5 or newer.
2021-09-17 23:41:40 +03:00
CTCaer
6bd4c31965
nyx: add info for new touch panels
...
New 6.2" touch panel and a new firmware for 7.0"
2021-09-17 23:37:43 +03:00
CTCaer
af7bee2231
nyx: derive emuMMC ID from its main path
...
This allows every emuMMC to have a unique id because its path is unique.
2021-09-17 23:35:13 +03:00
CTCaer
d61be73bca
nyx: add reminder that reload also checks for update.bin
2021-09-17 23:34:16 +03:00
CTCaer
768b3ba2d9
hos: update some log messages
2021-09-17 23:32:48 +03:00
CTCaer
0ff121284a
hos: add full 13.0.0 support
...
- 13.0.0 master key support
- Derive proper keys per mkey revision instead of the latest for Erista devices
This allows to identify issues with Pkg1/Pkg2 mismatch and also allows using old Exosphere/Atmosphere versions.
- Simplify pkg2 decryption because of proper keys
7.0.0 is still done via 8.1.0 mkey because of an Exosphere bug.
- Add nogc patches
2021-09-17 23:32:13 +03:00
CTCaer
bcc2512cb6
hos: exo: fatal: add check for mixed atmosphere sysmods
...
Normally that can only happen if atmosphere is updated and config uses fusee-secondary instead of package3. In that case boot2 sysmodule (0100000000000008) will fatal.
2021-09-17 23:23:43 +03:00
CTCaer
a2d18f0848
hos: update fss0 parser
...
- Move extra key checks in the parser
- Remove some sept leftover checks
- Update printing to reflect PK3 name (FSS0 -> FSS/PK3)
2021-09-17 23:20:39 +03:00
CTCaer
7fb10b0242
sdram: fix building for embedded lp0 config
2021-09-17 23:17:56 +03:00
CTCaer
bcec028b0f
clock: update device frequency getter function
...
- Add missing write commits
- Remove hardcoded values
2021-09-17 23:16:43 +03:00
CTCaer
8f9d52aa89
clock: move pllx enable to clock object
2021-09-17 23:13:53 +03:00
CTCaer
d368b93fdd
sdmmc: move error prints checks inside ifdefs
2021-09-17 23:12:54 +03:00
CTCaer
d5322f384b
tsec: make sure cpu power rails are off
2021-09-17 23:10:57 +03:00
CTCaer
03d027615c
sdram: update config for t210b01 (unused)
2021-09-17 23:09:33 +03:00
CTCaer
7fbab0122d
Modernize hekate_ipl.ini for atmosphere 1.0.0 and up
...
Additionally add extra info and guidance for various entries
2021-09-12 17:43:22 +03:00
CTCaer
f3f5687bc8
Correct bootlogo readme
2021-09-12 17:34:19 +03:00
CTCaer
bbffcc20d7
Modernize readme
2021-09-12 17:34:05 +03:00
CTCaer
197ed8c319
Bump hekate to v5.6.0 and Nyx to v1.0.6
2021-08-28 20:08:44 +03:00
CTCaer
9363494c3f
nyx: lower launch priority for ums boot
...
This fixes the backlight not being dimmed if UMS is launched from boot
2021-08-28 20:08:08 +03:00
CTCaer
d8d32f7932
Update readme with new changes
...
- Add feature list
- Remove sept references
- Add missing info
2021-08-28 18:13:08 +03:00
CTCaer
d575586d77
minerva: add non standard frequencies selection
2021-08-28 18:11:29 +03:00
CTCaer
4326dcdc6c
remove sept from makefile
2021-08-28 18:10:20 +03:00
CTCaer
792a3511da
nyx: clear nand patrol for resized emummc
...
On used eMMCs, the usage size might exceed the new resized size.
In such cases if the nand patrol points there, it will cause the sd card to timeout because of out of bounds access.
Clearing that allows resized emuMMC to always have the same speed as full sized emuMMC.
2021-08-28 18:09:34 +03:00
CTCaer
9ba867f19e
nyx: fix missing labels in launch if a previous label was big
2021-08-28 18:07:32 +03:00