Commit Graph
533 Commits
Author SHA1 Message Date
CTCaer 1ee9a9cd64 bdk: update memory map to increase ramdisk size
From 1040 to 1280MB.
2026-03-27 09:05:58 +01:00
CTCaer 528e1fb0a4 bdk: usb: revamp hid logic
- Add support for GET REPORT. Allows OS to get a single input report.
- Add support for SET_IDLE. Allows OS to control when to send input reports

The SET IDLE and the underlying logic change fixes several things:
- The old issue of congestion in some systems.
- The new bug that would not allow setup packets to be received because mode
 was set to only send when there are changes.
- Now this starts properly as the old code but allows to be changed by OS on
 demand, while continuing servicing setup packets.
2026-03-27 09:05:58 +01:00
CTCaer 077986cb47 bdk: usb: small refactor 2026-03-27 09:05:58 +01:00
CTCaer ec84a58dcc bdk: usb: remove unused endpoint from hid 2026-03-27 09:05:58 +01:00
CTCaer 51c1e31134 bdk: max17050: add version check 2026-03-27 09:05:58 +01:00
CTCaer 95af92d912 bdk: bq24193: add version check 2026-03-27 09:05:58 +01:00
CTCaer a028568349 bdk: bm92t: add version check 2026-03-27 09:05:58 +01:00
CTCaer fbaa88cc31 bdk: smmu: add smmu disable 2026-03-27 09:05:58 +01:00
CTCaer 1e870bcef4 bdk: display: update comments
And also set WinD reg updating to HSYNC
2026-03-27 09:05:58 +01:00
CTCaer 2d91e9b549 bdk: clock: refactor common PLL defines 2026-03-27 09:05:58 +01:00
Christoph Baumann bc42579f01 boot_storage_mount: only deinitialize storage, if it wasnt initialized to begin with 2025-10-09 12:36:35 +02:00
Christoph Baumann d6fda80057 remove prints, fix backup/restore 2025-05-21 12:31:17 +02:00
Christoph Baumann 9b95d026f3 support for file based and sd partition based emusd 2025-05-20 00:40:48 +02:00
Christoph Baumann 154ed594fc Support for hekate to boot hos with emusd/emmc base emummc 2025-05-14 02:24:33 +02:00
CTCaer 8978ba9e54 bdk: mc: fix warning for arbiter check 2025-05-13 16:27:15 +02:00
CTCaer 74833e19e7 bdk: se: heap is not used anymore 2025-05-13 16:27:09 +02:00
CTCaer d5d0f79c38 bdk: als: no need to check above 255 with u8 2025-05-13 16:27:04 +02:00
CTCaer e8addedd2f bdk: se: add 0 byte sha256 support 2025-05-13 16:17:40 +02:00
CTCaer 3c6bb75267 bdk: small refactoring 2025-05-13 16:17:31 +02:00
CTCaer 169c551445 bdk: display: update color mode definitions 2025-05-13 16:17:18 +02:00
CTCaer 3412714402 bdk: sdmmc: add extention regs read/parse 2025-05-13 16:16:45 +02:00
CTCaer 2b0591e2b0 bdk: utils: added qsort compare functions
int qsort_compare_int(const void *a, const void *b);
int qsort_compare_char(const void *a, const void *b);
int qsort_compare_char_case(const void *a, const void *b);
2025-05-13 16:16:30 +02:00
CTCaer 9a755b895b bdk: dirlist: switch to alphabetical ordering 2025-05-13 16:11:20 +02:00
CTCaer 4c4a63795e bdk: sdmmc: refactor error checking on rw
And also check if card status is ok after a read/write.
2025-05-13 16:11:13 +02:00
CTCaer 04dc8d2a86 bdk: sdmmc: check that cmd timed out if SDSC
Instead of assuming that, check it.
This fix will make SDUC not to be assumed as SDSC.
2025-05-13 16:10:59 +02:00
CTCaer ed4b638545 bdk: sdmmc: update unstuff_bits to use mod
Since unstuff_bits only supports 128bits, instead of subtracting the correct amount of bits with the offset array, use % 128.
2025-05-13 16:10:48 +02:00
CTCaer 1e54d538fd bdk: sdmmc: small refactor 2025-05-13 16:10:13 +02:00
CTCaer 20487cb8b9 bdk: sdmmc: check for out bounds access 2025-05-13 16:09:06 +02:00
CTCaer 8bc14f1043 bdk: ff: check for cltbl malloc success 2025-05-13 16:08:53 +02:00
CTCaer c8acea7ad5 bdk: se: remove malloc usage 2025-05-13 16:08:42 +02:00
CTCaer 3ea4fd81f7 bdk: display: remove malloc usage 2025-05-13 16:08:21 +02:00
Christoph Baumann 76508c74e8 file based emmc emummc, some other stuff 2025-05-12 01:24:01 +02:00
Christoph Baumann 0a7a004839 file based emummc on emmc 2025-05-08 01:48:04 +02:00
Christoph Baumann 7521055bec fix name 2025-05-07 17:29:04 +02:00
Christoph Baumann 55a4a814e0 fix emummc ums writes 2025-05-07 17:28:11 +02:00
Christoph Baumann 4bfe1fe2cd add missing fsync 2025-05-07 17:27:58 +02:00
Christoph Baumann 6d09e65d85 fix emummc bis 2025-05-07 16:46:48 +02:00
Christoph Baumann 59a173c994 add support for emummc ums, this is terrible plz fix 2025-05-07 16:46:36 +02:00
Christoph Baumann e5ceb4a2de add mmc types for emummc, used only for emummc ums 2025-05-07 16:45:26 +02:00
Christoph Baumann 942e7defe3 add methods to access file based emummc 2025-05-07 16:42:36 +02:00
Christoph Baumann 39b74dd50d file based bis support 2025-05-07 12:17:13 +02:00
Christoph Baumann 4a127db80b add emusd ums 2025-05-06 12:57:40 +02:00
Christoph Baumann 241b0f2274 . 2025-05-06 12:37:46 +02:00
Christoph Baumann 7941a3d4d6 fix boot storage selection 2025-05-02 17:07:42 +02:00
Christoph Baumann 4f72660603 fuck 2025-05-02 01:43:51 +02:00
Christoph Baumann 2440318cb5 emmc bis storage 2025-04-30 11:29:06 +02:00
Christoph Baumann 28796b417b fix indicators, add emmc_mount, various fixes 2025-04-29 12:36:32 +02:00
Christoph Baumann 849d533200 UMS: check if successfully initialized, don't care about fat mounted 2025-04-24 18:29:24 +02:00
Christoph Baumann 337f219ac6 Support for NYX to load from BOOT1/GPP/SD in that order, UMS option to mount whatever volume is selected as boot storage 2025-04-24 12:06:15 +02:00
Christoph Baumann 4e9e21b3b1 move boot_storage.h/.c to bdk/storage, check result of ensure_partition 2025-04-22 14:25:14 +02:00