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
CTCaer
49943ee46f
nyx: unconditionally dump pk1/2 encrypted states
2021-08-28 18:06:32 +03:00
CTCaer
2a8c58af31
nyx: improve info tools
...
- Add Aula report
- Add new dram ids/names
- Signify that a SD card is fake if MID is 0
2021-08-28 18:05:49 +03:00
CTCaer
66cf88b967
nyx: fix percentage when restoring size unmatched emmc backup
2021-08-28 18:04:24 +03:00
CTCaer
f61e284ac0
config: add clamping of bootwait
2021-08-28 17:57:36 +03:00
CTCaer
9d69c9bd3f
main: deduplicate code
2021-08-28 17:56:19 +03:00
CTCaer
9258025eea
hos: add wrong pkg1 flashed detection
2021-08-28 17:55:30 +03:00
CTCaer
063abb3e23
hos: Fix compilation
2021-08-28 17:55:03 +03:00
CTCaer
f5ec4a3a37
hekate/Nyx: remove Sept completely
...
- remove any reference to sept and parsing of it
- completely refactor and simplify keygen
- use new Atmo tsec keygen for 7.0.0 and up
- simplify all info/tools that depend on hos keygen and bis keys
2021-08-28 17:53:14 +03:00
CTCaer
e9edcfeeb0
bdk: remove all references and defines to sept
2021-08-28 17:10:21 +03:00
CTCaer
4b7e1f699d
ums/xusb: do not allow multiple CBW requests
...
On XUSB do not allow multiple requests for CBW to be done.
This avoids an issue with some XHCI controllers and OS combos (e.g. ASMedia and Linux/Mac OS) which confuse that and concatenate an old CBW request with another write request (SCSI Write) and create a babble error (transmit overflow).
2021-08-28 17:09:38 +03:00
CTCaer
134f3dac52
ums: add warn reporting to log status
...
Some OSes do not adhere to limits reported by UMS gadget to them.
In such cases, make sure that user is notified about their host skipping the checks and sending "illegal" commands.
2021-08-28 17:08:15 +03:00
CTCaer
1afb1a50c3
xusb: update driver
...
- Better port init/status
- Correct port status report
- Add babble detection and rescue
- Some refactoring
2021-08-28 17:03:49 +03:00
CTCaer
4914ce1d49
usb: add more timeout control for ep1 read/write finish
2021-08-28 17:00:23 +03:00
CTCaer
70a06a6cae
sdram: add support for missing new dram ids
...
In preparation of dram chip shortages, add missing new ids that are now confirmed that they will be in mass usage
2021-08-28 16:56:49 +03:00
CTCaer
5044f014bf
mc: move ahb aperture size control inside enable function
2021-08-28 16:51:16 +03:00
CTCaer
7c72c9777a
fuse/hwinit: move automatic SBK set into fuse
2021-08-28 16:46:15 +03:00
CTCaer
73df5e6743
fuse: add nx aula hw type
2021-08-28 16:44:16 +03:00
CTCaer
9cf0b0f484
tsec: change kb to type
...
Now the path taken is decided by tsec fw type instead of mkey version
2021-08-28 16:42:03 +03:00
CTCaer
9541d1bbd3
se: add encrypt/decrypt defines
2021-08-28 16:40:29 +03:00
CTCaer
3e15eb44ab
touch: rename 4th panel so it's not confused with errors
2021-08-28 16:39:38 +03:00
CTCaer
bf89d9b841
display: Add Aula panel support
2021-08-28 16:38:42 +03:00
CTCaer
d8995ee9c0
hekate: clean unused stuff
...
Remove anything that will never be in TUI in the future.
Especially these that need modernization.
2021-08-22 16:56:05 +03:00
CTCaer
42f86cf82c
Bump hekate to v5.5.8 and Nyx to v1.0.5
2021-07-06 20:02:23 +03:00
CTCaer
a704679990
nyx: add sandisk device report for eMMC mods
2021-07-06 19:51:00 +03:00
CTCaer
5876e1765d
nyx: hos: support BIS for 12.1.0 keygen devices
2021-07-06 19:49:15 +03:00
CTCaer
dcdf687a07
sdmmc: add support for sandisk emmc device report
2021-07-06 10:15:59 +03:00
CTCaer
e94bd23d6f
nyx: info: add missing old touch fw version
2021-07-06 10:10:17 +03:00
CTCaer
cd5b93feb1
nyx: tools: improve error messaging when restore folder is empty
2021-07-06 10:09:06 +03:00
CTCaer
f231173ebe
fss: remove deprecated check
2021-07-06 10:06:49 +03:00
CTCaer
561a96c62a
hos: small refactoring
2021-07-06 10:05:37 +03:00
CTCaer
57e6623d74
hos: 12.1.0 support
2021-07-06 10:02:52 +03:00
CTCaer
57623acc99
Bump hekate to v5.5.7 and Nyx to v1.0.4
2021-06-08 06:06:26 +03:00
CTCaer
4f8d29d0b7
pkg2: Add HOS 12.0.3 support
...
In 12.0.3 only FS is the relevant change.
So add support for 12.0.3 emuMMC and NOGC
2021-06-08 06:05:12 +03:00
CTCaer
8eda2d805f
nyx: explicitly state if fuses are overburnt
2021-06-08 05:57:39 +03:00
CTCaer
432d4a4ffa
Use bit_count for burnt fuses counting
2021-06-08 05:57:00 +03:00
CTCaer
539caf3d83
utils: add bit count and bit count mask
2021-06-08 05:53:58 +03:00
CTCaer
ce6926c36c
fuse: remove fuse counting, bit count will be used instead
2021-06-08 05:53:31 +03:00
CTCaer
8058d550ab
nyx: reflect 5v regulator changes
2021-06-08 05:51:52 +03:00
CTCaer
9a21ff6976
regulator 5v: don't enable usb one by default
2021-06-08 05:51:21 +03:00
CTCaer
1f4f41b6e6
als: Update ambient light sensor driver to use integers
...
Additionally separate calibration so later Aula one can be used
2021-06-08 05:49:16 +03:00
CTCaer
a959196c2a
Add info about usb3force key in readme
...
Additionally explain what atmosphere config keys can affect hekate boot configuration externally when the equivalent ones are missing from hekate config.
2021-06-03 03:25:51 +03:00
CTCaer
3f22601022
Bump hekate to v5.5.6 and Nyx to v1.0.3
2021-05-12 12:55:03 +03:00
CTCaer
a80a7ecba9
hos: nogc detection support for 12.0.2
...
12.0.2 burnt a fuse so we can now automatically detect if NoGC is needed for LAFW v5
2021-05-12 12:04:46 +03:00
CTCaer
7c450f4a5f
hos: 12.0.2 support
2021-05-12 11:47:39 +03:00
CTCaer
6316d3076d
nyx: fix restore logic when backup does not match emmc
...
- If sd backup size exceeds eMMC size, bail out.
- If partial files backup is smaller allow restoring in case user has an eMMC upgrade.
Following the same behavior that single file backup has when it's smaller.
2021-05-12 11:47:25 +03:00
CTCaer
7181683d8e
ums: various fixes
...
- Immediately exit if offset exceeds num of sectors.
- Correct cmnd type and checks.
- Inform user if ejected unsafely (while medium removal prevention is enabled).
2021-05-11 10:45:17 +03:00
CTCaer
7d7134dd9e
utils: correct align down
2021-05-11 10:34:10 +03:00
CTCaer
c29db97f73
hwinit/joycon: move uart clock deinits to joycon driver
2021-05-11 10:24:48 +03:00
CTCaer
05833bb38c
minerva: update to v1.4
...
- Correct Zqlatch period checks
- Update periodic training
- Simplify some logic
- Fix some mr13 values
- Separate EMC channel enums from macros
- Add extra reg flushes
- Fix tree margin comparison signedness
By using incorrect signedness on tree margins the delta taps would always apply.
By casting margins to integer it now properly checks if it should apply delta taps on the new trimmers.
This fixes a bug that exists in every Nvidia emc dvfs code.
2021-05-11 10:23:08 +03:00
CTCaer
253de81a6b
Further reduce hekate size by streamlining about screen
2021-05-11 10:11:31 +03:00
CTCaer
21e6a0cf7e
pkg1: reduce struct sizes
2021-05-11 10:08:43 +03:00
CTCaer
d0fefabad7
nyx: return unknown if SD vendor is not known
...
TODO: Investigate which OEM/ODM makes the new Lexar SD cards.
2021-05-11 10:07:08 +03:00
CTCaer
44db160ab1
nyx: add info about new InnoLux panel revision
2021-05-11 10:04:31 +03:00
CTCaer
cb633a8f32
display: add info about new InnoLux panel revision
2021-05-11 10:04:24 +03:00
CTCaer
66b7130641
nyx: align total sectors to guarantee alignment
...
Helps on some sd cards with weird total sectors number.
2021-05-11 09:57:29 +03:00
CTCaer
80d9718770
GCC 11 fixes
...
The array/stringop warning removals are undesirable.
Consider removing them when a new GCC version moves back to saner checks for pointers.
2021-05-11 09:51:08 +03:00
CTCaer
dfbbca4c9f
pkg2: isolate kernel/kip patches structs from code
2021-05-11 09:45:12 +03:00
CTCaer
f4d08b2d9b
pkg2: refactor defines for kernel patches
2021-05-11 09:38:20 +03:00
CTCaer
588a834ae4
nyx: allow backing up resized emummc
2021-05-11 09:34:19 +03:00
CTCaer
833dda7e7c
nyx: bpmp: automatically find best clock for t210
...
There were 4 reports of Nyx hanging or UMS and backup verification failing because of low binned Erista SoC.
This change reduces clock for hekate main and Nyx will now automatically try and find a working one.
In case Nyx hangs it will reduce it on next inject.
If Nyx works and user still has issues with UMS/Verification, manually editing nyx.ini and setting `bpmpclock=2` will fix that.
2021-05-11 09:32:38 +03:00
CTCaer
6a4ab55930
storage: add sd_get_card_mounted declaration
2021-05-11 09:22:39 +03:00
CTCaer
d7ce2a81db
bpmp: return previous fid when setting a new one
2021-05-11 09:21:12 +03:00
CTCaer
4d90fa4830
hos: set applied bits on double defined kip patches
...
The loop would break before and if a patch was double defined, would not set its applied bit and thus throw an error.
2021-04-12 04:28:14 +03:00
CTCaer
501fdda138
main: do not clear screen on payload launch
2021-04-12 04:26:16 +03:00
CTCaer
678e8d34e3
Bump hekate to v5.5.5 and Nyx to v1.0.2
2021-04-11 15:02:35 +03:00
CTCaer
07d1982abf
minerva: add compile time sdram voltage change
2021-04-11 10:31:57 +03:00
CTCaer
fd05f83636
ianos: add extensions magic
...
Useful to avoid using extensions if bootloader does not support them.
2021-04-11 10:30:24 +03:00
CTCaer
94e119fb51
max77620: allow max sdram voltage of 1.25V
2021-04-11 10:20:54 +03:00
CTCaer
c2ff4bf623
ianos: add regulator voltage set
2021-04-11 10:18:47 +03:00
CTCaer
faf5651607
minerva: more accurate clock tree delays
...
Additionally, do not restore source DPD ctrl when switching frequencies or training is not needed.
2021-04-11 09:50:06 +03:00
CTCaer
978e8344cf
nyx: check for errors in benchmark
2021-04-11 09:28:28 +03:00
CTCaer
160d6eacc0
nyx: add new touch panel id
2021-04-11 09:27:47 +03:00
CTCaer
075d8e6393
gfx: change line if max width is reached
2021-04-11 09:25:53 +03:00
CTCaer
28008ac7ac
hwinit: add seamless display (L4T Linux/Android)
...
Initial support is for coreboot based preloading.
2021-04-11 09:18:55 +03:00
CTCaer
345d36287e
display: add pwm duty getter
2021-04-11 09:16:55 +03:00
CTCaer
edff6c551d
hos: Add 12.0.0 support
2021-04-09 19:49:44 +03:00
CTCaer
d42a94f148
minerva: Scale down RAM OC if stock boot
2021-04-09 19:28:04 +03:00
CTCaer
c01b8aa89c
exo: add usb3 force enable support
...
Like the other configs, it can be read from system_settings.ini and be set.
Additionally a new `usb3force` key was added to allow user to override and enable/disable that setting via a boot entry.
This allows for fast (re)boot into an entry that disables that (important because of the huge interference that USB3 creates to Bluetooth and WiFi 2.4GHz).
2021-03-17 09:31:06 +02:00
CTCaer
4958bd6a52
fatfs: utilize fatfs buffers for parsing gpt
2021-03-17 09:23:51 +02:00
CTCaer
46038032a4
bdk: make sure that boot storage has the correct size
2021-03-17 09:23:13 +02:00
CTCaer
f66ddca100
nyx: make hybrid mbr fixer smarter
...
Allow usage of FatFS simple gpt parsing for setting the fat partition in case its label is not hos_data.
Additionally allow hos_data partition to not be the first one.
2021-03-17 09:20:01 +02:00
CTCaer
6981c59de3
gpt: properly check that GPT is valid
2021-03-17 09:14:50 +02:00
CTCaer
f21f13b15d
ums/nyx: reinit sd to update cal trimmers for max perf
2021-03-17 09:12:30 +02:00
CTCaer
ef5a01433d
nyx: inform user that Fix RAW also fixes partition type
2021-03-17 09:09:59 +02:00
CTCaer
0e12d8545b
Decrease stack usage on various functions
2021-03-17 09:08:34 +02:00
CTCaer
9dbf745649
regulator 5V: fix battery/usb source swap
2021-03-17 08:56:46 +02:00
CTCaer
e8f73a42b8
fan: increase irq polling to get more accurate rpm
2021-03-17 08:55:54 +02:00
CTCaer
dbe431095a
touch: report gpio info in case of unknown panel
2021-03-17 08:53:23 +02:00
CTCaer
513f77a2ad
uart: use proper interrupt decoding
2021-03-17 08:51:49 +02:00
CTCaer
e8cf85bd65
Merge pull request #575 from DarkMatterCore/master
...
Fix bin2c behaviour under Windows if compiled with MinGW / TDM-GCC.
2021-02-08 23:32:51 +02:00
CTCaer
4e7e5081a7
Bump Nyx to v1.0.1
2021-02-08 04:01:39 +02:00
CTCaer
fff750e609
bis: Fix BIS write for emuMMC
...
A last minute cleanup changed the function for writing the changed BIS sectors in emuMMC to a read.
Restore it to a sd card write.
2021-02-08 04:00:11 +02:00