CTCaer
ee682fdf24
bdk: l4t: minerva: don't rely on UB
2023-02-11 23:17:27 +02:00
CTCaer
0b1bb521d8
bdk: ini: add l4t key parsing
2022-12-19 05:38:03 +02:00
CTCaer
8bbe403e41
bdk: util: replace strtol/atoi w/ custom versions
...
To get rid of reentrancy baggage (which is not needed) and save binary space
2022-10-11 04:11:21 +03:00
CTCaer
70523e404f
bdk: whitespace refactor
2022-07-11 22:10:11 +03:00
CTCaer
b0c0a86108
bdk: migrate timers/sleeps to timer driver
2022-06-27 10:22:19 +03:00
CTCaer
061e10152f
bdk: timer: add timer/watchdog driver
2022-06-27 10:20:25 +03:00
CTCaer
50886382bf
bdk: list: add LIST_FOREACH_INVERSE and LIST_FOREACH_ENTRY_INVERSE
2022-06-25 05:59:53 +03:00
CTCaer
2378bf2863
bdk: ini: simplify kv free
2022-06-25 05:56:11 +03:00
CTCaer
bf00c79edb
bdk: ini: add ini free
...
Additionally, fix a bug where a list could not be initialized if section type is comment or caption.
2022-05-19 15:03:00 +03:00
CTCaer
429074293a
bdk: sprintf: no support for lower case hex and base that is not 10/16
2022-05-19 15:01:10 +03:00
CTCaer
b6384d5da5
bdk: utils: Set format attribute for s_printf
...
This allows the custom sprintf to be recognized as printf by gcc and effectively doing format checking.
NOTE: 64bit formatting is not supported for now, even if gcc asks to be set.
2022-05-12 16:40:34 +03:00
CTCaer
ebe7b5a603
bdk: utils: add approx. square root calc for u64
2022-05-08 05:27:05 +03:00
CTCaer
ebf0db77ee
bdk: sprintf: add negative number support for %d
...
This will now force a number as negative if bit31 is set and properly create the relevant string.
That means that external handling in order to show sign is now not needed.
2022-05-08 05:26:01 +03:00
CTCaer
dd2bb0f555
bdk: di: refractor configs
2022-05-08 04:34:44 +03: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
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
5e6a7c486b
bdk: btn: enable HOME button as input
2022-01-16 01:05:42 +02:00
CTCaer
70504c295e
bdk: various functionality independent changes
2022-01-16 01:03:24 +02:00
CTCaer
a5cd962f99
bdk: add global header
2022-01-15 23:58:27 +02:00
CTCaer
c801ef8dda
bdk: use size defines where applicable
2021-10-01 15:03:18 +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
e9edcfeeb0
bdk: remove all references and defines to sept
2021-08-28 17:10:21 +03:00
CTCaer
539caf3d83
utils: add bit count and bit count mask
2021-06-08 05:53:58 +03:00
CTCaer
7d7134dd9e
utils: correct align down
2021-05-11 10:34:10 +03:00
CTCaer
46038032a4
bdk: make sure that boot storage has the correct size
2021-03-17 09:23:13 +02:00
CTCaer
0e12d8545b
Decrease stack usage on various functions
2021-03-17 09:08:34 +02:00
CTCaer
3b9ab66cf1
nyx: Add resized emuMMC creation
2021-02-06 17:19:37 +02:00
CTCaer
6e314933d9
Various small changes
2021-02-06 04:17:31 +02:00
CTCaer
eea5463a5c
nyx: Refactor nyx extra cfg
2021-02-06 03:55:01 +02:00
CTCaer
2370ca0a44
util: Clear alarm wake flags also on power off even if rtc alram is off
2021-01-11 23:24:29 +02:00
CTCaer
c6c396ce2a
reg5V: Manage battery source based on charger status
2021-01-11 21:30:59 +02:00
CTCaer
745ac609d2
max7762x: Update everything to use the improved pmic management
2021-01-04 02:41:15 +02:00
CTCaer
5fd3bdede7
pmc: Add defines for power rails
2020-12-26 17:20:26 +02:00
CTCaer
601c85c23e
util: Refactor power management (reboot/power off)
2020-12-15 19:33:46 +02:00
CTCaer
14a048a496
nyx: Add SD init info from bootloader
...
This shows info about the sd initialization process that happened on hekate main
2020-12-11 17:46:44 +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
cabaa6cfb8
Utilize BIT macro everywhere
2020-11-26 01:41:45 +02:00
CTCaer
669e42960c
Utilize ARRAY_SIZE macro
2020-11-15 13:56:45 +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
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
926bd5d2fb
Add SD error report on first boot
2020-08-28 09:37:48 +03:00
CTCaer
0652d6b3f1
util: sprintf: Fix pointer printing
2020-08-15 12:16:25 +03:00
CTCaer
af0cd34f92
l4t: Add panic dump (PSTORE)
2020-07-19 20:32:22 +03:00
CTCaer
32e58d2bb3
hw init: Cosmetic refactoring
2020-07-17 18:08:27 +03:00
CTCaer
e158d9bc00
clk: Refactor CLK devices bits
2020-07-17 16:50:17 +03:00
CTCaer
f689bb253e
nyx: Add simple CAL0 info
2020-06-15 15:03:14 +03:00
CTCaer
6e256d29c7
Utilize hekate's BDK for hekate main and Nyx
2020-06-14 16:45:45 +03:00