CTCaer
67157b1867
bdk: ini: switch back to ASCII ordering
...
For combining multiple inis.
2026-03-27 09:44:07 +01:00
CTCaer
af72bb5b94
bdk: dirlist: use flags instead of arguments
...
A new flag was also added that forces an ASCII ordering instead of Alphabetical one.
2026-03-27 09:44:07 +01:00
CTCaer
e19cf3038b
bdk: minerva: allow sdmmc la to be skipped on L4T
2026-03-27 09:44:07 +01:00
CTCaer
b52f5edce6
bdk: hwinit: refactor MBIST WAR & add description
...
The biggest take here is that the split approach of having it in Bootrom and
Bootloader is that it's only for boot. Any later powerdown must rerun the WAR
for that particular power domain.
2026-03-27 09:44:07 +01:00
CTCaer
393d135105
bdk: hwinit: fix RAM_SVOP_PDP try no 2
...
Previously the correct reg name was used but register address was not fixed.
So finally fix it.
2026-03-27 09:44:07 +01:00
CTCaer
6cc3aee389
bdk: storage: small mmc refactoring
...
- Correct some Response Type names
- And use _def for mmc defines similarly to sd_def
2026-03-27 09:44:07 +01:00
CTCaer
030576ff3f
bdk: mc: carveouts are not set by cfg so fix them
...
For HOS <= 3.0.2 the carveouts are set by bootloader and sdram config actually does not set them.
So add which need different value from reset and also make sure that data is flushed for WPR config.
2026-03-27 09:44:07 +01:00
CTCaer
44e4c0ab21
bdk: make use of new MC/EMC defines
2026-03-27 09:44:07 +01:00
CTCaer
f45adfd92f
bdk: rework MC/EMC register defines from scratch
...
And add register structs also.
2026-03-27 09:44:06 +01:00
CTCaer
2fda4115aa
bdk: add some t210 and fuses defines
...
PGUP tag register can be used to identify which cpu we are running on.
2026-03-27 09:44:06 +01:00
CTCaer
d289224653
bdk: clock: simplify logic
...
Simplify logic for clock enable and sdmmc clock management
2026-03-27 09:44:06 +01:00
CTCaer
0647fd06d8
bdk: clock: remove non existent module ids
...
And add comments to special handling ones
2026-03-27 09:44:06 +01:00
CTCaer
d33ded5f6d
bdk: pmc: rename pmc_enable_partition
2026-03-27 09:44:06 +01:00
CTCaer
b70932cfaa
bdk: clock: wait for PLLD to lock when set
2026-03-27 09:44:06 +01:00
CTCaer
c83bd247dd
bdk: add tegra BCT/BIT headers for T210/T210B01
2026-03-27 09:42:41 +01:00
CTCaer
3874b025a9
bdk: rtc: add auto dst support and fix an off-by-one
2026-03-27 09:41:57 +01:00
CTCaer
26d8faa502
bdk: lvgl: set long press to 5s
2026-03-27 09:07:45 +01:00
CTCaer
e66ab207d9
bdk: fatfs: optimize format and fix PrFILE2 SAFE
...
The FAT tables are now always aligned 1MB which can increase the FAT traversing
speed. Additionally, always aligning the FAT tables to minimum 16KB fixes a case
where PrFILE2 SAFE could be disabled because of unaligned FAT.
2026-03-27 09:07:45 +01:00
CTCaer
baea3b0265
bdk: use f_unmount instead of null f_mount
2026-03-27 09:07:45 +01:00
CTCaer
380c1dc9b2
bdk: refactor several comments and defines
2026-03-27 09:05:58 +01:00
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