CTCaer
b8eff953c6
nyx: Utilize full shutdown based reboot for patched Erista also
2020-12-02 22:27:22 +02:00
CTCaer
cf1f94662c
sdram: Correct some dram names
2020-12-02 22:26:06 +02:00
CTCaer
d4d6730c20
fss: Disallow Mariko boot on Atmosphere< 0.17.0
...
Trying to boot on lower Atmosphere versions can have serious implications.
2020-12-02 22:03:20 +02:00
CTCaer
d287d40208
hos: Add HOS 11.0.0 support
2020-12-02 02:41:32 +02:00
CTCaer
7e5e365f18
hos: Change warmboot PA id calculation a bit
2020-12-02 02:17:41 +02:00
CTCaer
7bebec1304
hos: Change warmboot storage numbering from dec to hex
2020-12-02 02:14:06 +02:00
CTCaer
2aa1ce5390
nyx: Add eMMC and SD vendor id decoding into names
2020-12-02 02:11:22 +02:00
CTCaer
aaaf470dcf
display: Provide dsi command reading/writing to user
...
These work while video stream is either disabled or enabled.
2020-12-02 02:09:49 +02:00
CTCaer
cf175fc00d
nyx: Add alternate power saving modes
...
T210:
By default max power savings is enabled.
By changing `newpowersave=` to 0, it reverts to the old behavior of smaller power savings.
This was added to mitigate some strange DRAM chips, hanging from constant frequency change of a 800 MHz - 1600 MHz back and forth.
T210B01:
Defaults to a simple loop with no power savings. That's because of untrained ram.
2020-12-02 02:07:31 +02:00
CTCaer
c13eabcde8
sdmmc: Add T210B01 support
...
The driver was working before this, but adding the changes provides a proper and better sdmmc controller inner state.
2020-12-02 02:07:15 +02:00
CTCaer
8e45fcc069
hos: Disable stock secmon for Mariko until fixed
2020-12-02 01:56:29 +02:00
CTCaer
d1e3a0fdff
display: Add new Switch Lite panel support
2020-12-02 01:53:00 +02:00
CTCaer
19ddff299a
hos: Fix exfat FS check again..
2020-12-02 01:47:37 +02:00
CTCaer
0954eb2b09
nyx: Use full shutdown based reboot on T210B01
...
That's because of how the system is exploited.
2020-12-02 01:45:12 +02:00
CTCaer
0a9931ddb3
exo: Add exosphere fatal binary support for Mariko
...
Can be overriden with `exofatal={SD path}`.
2020-12-02 01:41:23 +02:00
CTCaer
0ccea3aa83
usb: Improve UMS ejection heuristic
2020-12-02 01:16:45 +02:00
CTCaer
a1188505e8
usb: Add XUSB support mainly for T210B01
2020-12-02 01:13:52 +02:00
CTCaer
2424ecc4f0
Disable coreboot.rom chainloading for T210B01
...
Unlike all RCM payloads that are based on hekate's hwinit, coreboot does full power management before sdram init is run.
Because of that and because it doesn't support T210B01, it does not hang as expected and configures all regulators and pins which can be dangerous!
2020-12-02 00:57:32 +02:00
CTCaer
202540c7f7
joycon: Disable driver for Switch Lite
2020-12-02 00:51:29 +02:00
CTCaer
1ceb380f6f
Add hekate loader
2020-07-04 22:12:12 +03:00
CTCaer
da0cdf1bd0
hos: Add stock secmon support for Mariko
2020-07-04 21:58:21 +03:00
CTCaer
708863358e
hos: Move warmboot patching into pkg1 object
2020-07-04 21:44:39 +03:00
CTCaer
a862b85a46
hos: Add Mariko warmboot storage and general configurator
...
The Mariko warmboot storage is needed because the warmboot exploit is not existant.
Fuses and PA id must match with the proper warmboot binary. Thus for supporting downgrades, we keep a copy of it for future use.
2020-07-04 21:43:34 +03:00
CTCaer
495907b8a4
sept: Mark as ready for Mariko
2020-07-04 21:36:37 +03:00
CTCaer
f9a1935762
nyx: Fix Dump pkg1/pkg2 and cal0 for Mariko
2020-07-04 21:36:04 +03:00
CTCaer
8ef9f888f6
hos: Add PK21 decryption support for Mariko
2020-07-04 21:35:26 +03:00
CTCaer
9b3e9724b7
hos: Add Mariko PK11 decryption and unpacking
2020-07-04 21:32:36 +03:00
CTCaer
8880dfab24
eks: Disallow on Mariko
2020-07-04 21:21:48 +03:00
CTCaer
5ffbbf40a5
hos: Add Mariko keygen
2020-07-04 21:13:25 +03:00
CTCaer
a36fec5696
clock: Lock clock to always enabled for SE in T210B01
2020-07-04 21:07:25 +03:00
CTCaer
7acad84932
nyx: Disable TSEC keys status for T210B01
2020-07-04 21:04:57 +03:00
CTCaer
8d2230dc51
fuse: Correct fuse array size for T210B01
2020-07-04 21:04:20 +03:00
CTCaer
528ddbe12c
minerva: Disable for T210B01
...
Minerva is currently unsupported for Mariko LPDDR4X.
2020-07-04 21:02:45 +03:00
CTCaer
e4c0756ded
nyx: Add DRAM names info + Mariko new ram codes
2020-06-26 22:41:34 +03:00
CTCaer
1c9efa327c
Correct RCM patched status for Mariko
...
This also disallows AutoRCM for Mariko.
2020-06-26 22:40:06 +03:00
CTCaer
fbbfeb2d1c
se: Add a T210B01 only register
2020-06-26 22:31:23 +03:00
CTCaer
ccaf49bece
display: Add T210B01 support
2020-06-26 22:29:52 +03:00
CTCaer
147fed39c8
ccplex: Add regulator for T210B01
2020-06-26 19:02:37 +03:00
CTCaer
d0a73bdc72
sc7: Add T210B01 SC7/LP0 (deep sleep) support
...
Note to future self: Almost a month passed and nothing changed, have fun cleaning that in the end...
2020-06-26 19:00:30 +03:00
CTCaer
29dc122dd4
sdram: Add T210B01 support & new LPDDR4X tables
2020-06-26 18:53:12 +03:00
CTCaer
293c47774d
fuse: Add NX hw type getter
2020-06-26 18:45:21 +03:00
CTCaer
795ed8aadc
hwinit: Add T210B01 support
2020-06-26 18:42:31 +03:00
CTCaer
377825d4fb
usb gadgets: Replace error status labels with error label and color
2020-11-26 01:58:13 +02:00
CTCaer
b89bb35054
usb: Refactor some variables
2020-11-26 01:55:33 +02:00
CTCaer
caae685fab
usb: Add buffer alignment checks
...
EDCI/EHCI controllers only allow 0x1000 aligned buffers.
So reply with a specific error type instead of a EP xfer error.
2020-11-26 01:54:10 +02:00
CTCaer
bd4517abab
usb: Name all controller errors
2020-11-26 01:50:49 +02:00
CTCaer
095b234fce
max17050: Be explicit about hardcoded calculations
2020-11-26 01:44:04 +02:00
CTCaer
b1c09f8a9c
max77620: Change try set to just retry if i2c xfer failed
2020-11-26 01:43:19 +02:00
CTCaer
cabaa6cfb8
Utilize BIT macro everywhere
2020-11-26 01:41:45 +02:00
CTCaer
94486873c1
di: Skip panel deinit if DI was not properly deinit'ed
2020-11-26 01:12:44 +02:00
CTCaer
89a4eadab0
sdmmc: Refactor some names
2020-11-26 01:08:42 +02:00
CTCaer
55395ea4fd
sdmmc: Correct bus speed for SDR25
...
Fix bus speed on SDR25 even if all UHS cards support SDR50 and SDR104.
2020-11-15 15:11:19 +02:00
CTCaer
4166a3c128
sdmmc: Add more debugging
2020-11-15 15:08:53 +02:00
CTCaer
cabb8cd33a
Allow booting on damaged fuel gauge
2020-11-15 14:49:54 +02:00
CTCaer
ab7a81081c
t210: Refactor AHB Gizmo registers
2020-11-15 14:46:42 +02:00
CTCaer
8a352bdfe2
usb: Split init into PHY init and device init
2020-11-15 14:45:48 +02:00
CTCaer
721e926a75
usb: Do proper UTMIPLL_HW_PWRDN_CFG0 config
2020-11-15 14:44:35 +02:00
CTCaer
0b314d7f21
clock: Move UTMIPLL init from USB to clock
2020-11-15 14:43:36 +02:00
CTCaer
8305058cf5
clock: Move PLLU init/deinit from USB to clock
2020-11-15 14:42:01 +02:00
CTCaer
6dddb968fa
usb: Fix various descriptor transfers in order to not rely on quirks
2020-11-15 14:38:18 +02:00
CTCaer
d3c318d0c9
usb: Correct latencies for HID gadgets
2020-11-15 14:37:14 +02:00
CTCaer
604ec4416d
usb: Refactor driver names and defines
2020-11-15 14:36:20 +02:00
CTCaer
c7fcea5f35
usb: Rfactor driver/gadgets in prep for XUSB
...
Allow gadgets using different USB controllers on demand.
This will allow plugging in XUSB for Mariko usage.
2020-11-15 14:30:25 +02:00
CTCaer
a84f1e5ee5
usb: Split descriptors to object and header
2020-11-15 14:10:00 +02:00
CTCaer
6a4161fdc4
usb: Move lang/serial descriptors to header
2020-11-15 14:04:10 +02:00
CTCaer
e45ffab5d8
Remove stray hekate cfg set. It's handled by default.
2020-11-15 14:00:35 +02:00
CTCaer
669e42960c
Utilize ARRAY_SIZE macro
2020-11-15 13:56:45 +02:00
CTCaer
55568b037f
nyx: Properly calculate Ranks and Channels in hw info
2020-11-15 13:50:19 +02:00
CTCaer
b5df428e43
nyx: Create bootloader folder on screenshots if missing
2020-11-15 13:47:47 +02:00
CTCaer
1c19a69e35
hos: Do not use custom kernel if stock
2020-11-15 13:45:45 +02:00
CTCaer
67a03bbd85
eks: Use LOT0 for identification
2020-11-15 13:43:22 +02:00
CTCaer
32955380c7
nyx: Fix icons for backup/restore swap
2020-11-15 13:40:53 +02:00
CTCaer
93b4514343
minerva: Return failed if module not found inside Nyx
2020-11-15 13:40:13 +02:00
CTCaer
68d57861cd
Add missing guard from some macros
...
Guard them for future usage, as none of these macros had a non-preset variable used with them yet.
2020-11-15 13:39:27 +02:00
CTCaer
485edb4883
emc: Rename Device to Rank
2020-11-15 13:23:37 +02:00
CTCaer
bbc3f41493
joycon: Fix controller button masking
...
Previously if the Right JC was missing it would clear the Capture button that's on the Left one
2020-11-15 13:10:44 +02:00
CTCaer
5a6608dff4
Bump hekate to v5.3.4 and Nyx to v0.9.5
2020-10-27 21:28:06 +02:00
CTCaer
8f222fd0bd
main: Fix update.bin creation on first boot
2020-10-27 21:27:51 +02:00
CTCaer
1f5b371608
Refactor some names
...
Additionally:
- Do not retry to init sd if all modes failed in Nyx.
- Do not try to read/write if sdmmc controller and card are not initialized.
2020-10-23 06:32:24 +03:00
CTCaer
ce156ab4e7
hos: Automate some eks and bis checks
2020-10-20 11:53:28 +03:00
CTCaer
94235dd005
bm92t30: Add proper info
...
The driver will now show more charger supported profiles and will also show selected profile.
2020-10-20 10:42:57 +03:00
CTCaer
cb471162d2
i2c: Fix packet mode
2020-10-20 10:37:33 +03:00
CTCaer
9d1c0ce308
Create update.bin if missing
...
This will allow l4t/Android to always use latest hekate in case of old r2p.
2020-10-20 10:34:33 +03:00
CTCaer
27b1f0e843
Various small fixes
2020-10-20 10:32:32 +03:00
CTCaer
dae7be8ec4
nyx: Allow disabling of Joycon
...
Setting `jcdisable=1` in nyx.ini disables the usage of Joycon completely.
This also disables the BT pairing data dumping tool.
2020-10-20 10:21:48 +03:00
CTCaer
2f5b52223c
config: Add bootloader protection
...
`bootprotect=1` enables protection of the `bootloader` folder inside HOS.
This disallows any reading/writing of the folder and its contents inside HOS, preventing any corruption of it.
This of course has the side-effect of homebrew that depend on it (e.g. hekate Toolbox) to not work fully.
2020-10-20 10:16:12 +03:00
CTCaer
bf222290b8
hos: Add support for mesosphere
...
The change adds support for mesosphere loading from fss0 or sd (kernel=).
2020-10-17 23:18:48 +03:00
CTCaer
d825be5eb2
hos: Tiny refactoring
2020-10-17 23:16:16 +03:00
CTCaer
9da0e0358b
Merge pull request #500 from AuroraWright/master
...
hos: Prevent booting emummc with failed emummc patching
2020-10-17 23:02:34 +03:00
CTCaer
85d43147ee
Bump hekate to v5.3.3 and Nyx to v0.9.4
2020-09-15 20:24:56 +03:00
CTCaer
e3e5dab0fc
nyx: Add USB Charger info
2020-09-15 20:14:56 +03:00
CTCaer
8b837dd81b
bm92t30 Add USB-PD driver stub
...
TODO:
This driver is a stub and relies on incorrect I2C requests.
The I2C driver needs to be updated with proper multi-xfer support.
For now it replies its whole register range, according to request size.
That's because the IC does not support the classic single transfer request-response style.
2020-09-15 20:13:29 +03:00
CTCaer
8f7bdd45b1
hos: Report exFAT compatible if missing FS kip hashes
2020-09-15 19:07:16 +03:00
CTCaer
0142ac1697
Add TUI reload in case of missing bootloader files
2020-09-15 18:57:49 +03:00
CTCaer
e8fb6624c0
Merge pull request #481 from NicholeMattera/master
...
Added new FS patches for 10.2.0.
2020-09-15 18:39:04 +03:00
CTCaer
2ca4fb6d8f
Correct readme about UMS on boot
2020-09-07 00:10:23 +03:00
CTCaer
e7900b11b4
nyx: Allow L4T last part to be unaligned
2020-09-02 13:11:03 +03:00
CTCaer
d71f6d0b99
sdmmc: Restart xfer on Read/Write error
2020-08-28 09:39:06 +03:00
CTCaer
926bd5d2fb
Add SD error report on first boot
2020-08-28 09:37:48 +03:00
CTCaer
461d14c39a
di: Correct panel id for AUO A062TAN02
2020-08-28 05:26:18 +03:00