1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-26 18:02:35 +00:00
Commit Graph

169 Commits

Author SHA1 Message Date
cepetr
765fe76b44 fix(core): fix write to otp memory (U5 only)
[no changelog]
2025-06-11 12:21:29 +02:00
kopecdav
5729416c4f fix(core): Update more accurate battery model + fuel gauge config tral v2.
[no changelog]
2025-06-11 12:15:12 +02:00
cepetr
2a50a58b92 fix(core): handle nmi, hard fault and bus fault in secure mode
[no changelog]
2025-06-11 11:49:42 +02:00
cepetr
3d2a9c93a9 feat(core): add details for fault and fatal error RSOD
[no changelog]
2025-06-11 11:49:42 +02:00
cepetr
09a4b2dca0 feat(core): add pc to systask_postmortem_info
[no changelog]
2025-06-11 11:49:42 +02:00
cepetr
dc69976a99 feat(core): move backup_ram driver to secmon
[no changelog]
2025-06-11 09:48:19 +02:00
cepetr
6bea09bbe7 fix(core): fix firmware hash calculation
[no changelog]
2025-06-11 09:46:37 +02:00
tychovrahe
01465aac7c feat(core): update NRF application from firmware
[no changelog]
2025-06-09 17:12:31 +02:00
cepetr
bbb74c03a4 feat(core): introduce secure monitor
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
e66f4f2d83 refactor(core): simplify unprivileged SAES execution
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
37b608827c feat(core): allow execution of syscalls in thread mode
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a133a01a1f feat(core): support mpu region setup per applet
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
820a3c5ba2 refactor(core): remove redundant SYSCALL_DISPATCH definition
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
1cf9dc4d62 refactor(core): simplify linker scripts II
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
aa5ba7aba6 refactor(core): simplify linker scripts
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
5b537103bd feat(core): improve post mortem info for secure fault
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
05acc1599b fix(core): enable SecureFault handling
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
1a372b5019 feat(core): allow passing postmortem info in bootargs
[no changelog]
2025-06-04 16:58:15 +02:00
tychovrahe
0081788d48 fix(core/prodtest): fix prodtest emulator build for T3W1
[no changelog]
2025-06-03 09:24:57 +02:00
tychovrahe
0ac3dec433 fix(core): fix pm_get_state syscall stub
[no changelog]
2025-06-03 09:24:40 +02:00
tychovrahe
9e8f989c80 fix(core): implement reboot_to_bootloader for unix
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
baa6317113 fix(core): fix lockable bootloader logic in secret and MPU
Also, fix firmware build with `DISABLE_OPTIGA=1`.

[no changelog]
2025-05-30 19:28:46 +03:00
kopecdav
7d3d2e877f refactor(core): add power manager api comments
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
b97d05247c fix(core/prodtest): fix power off led signalization
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
a4eaf4dc27 feat(core): respect manufacturing mode in power on sequence
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
2e23349419 feat(core/prodtest): limit charging in prodtest to 70% SOC
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
278a09f4c5 fix(core): improve robustness of device power on check
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
c63ff3bf44 feat(core): implement reboot command to bypass button check
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
c89ca35bbc feat(core): event polling for power manager
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
e3be94d599 feat(core): add pm_get_events syscall
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
6e82c2415f refactor(core): refactor power manager syscalls
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
0cd38186bf fix(core): adjust to powerctl->power manager transition
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
48ef573649 refactor(core): remove recursion from power manager state machine automat
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
a530fb2c76 feat(core): add pm_charging_set_max_current function to API
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
e1e6d77ba5 feat(core): update fuel gauge parameters + agressive regions at charging profiles boundry
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
56c55cf69d feat(core): add charging profiles forced bounderies [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
46272a854e fix(core) fuel gauge not updated while charging is IDLE.
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
4b9fb839cd refactor(core): split pmic as a separate feature
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
58e31be4ec feat(core): add power_state into prodtest pm_report
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
892a1b8171 style(core): fix cstyles [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
f31e190795 feat(core): disclose full power manager state machine to app [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
6ba574cd82 feat(core): add pm stabilization in init function [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
f050136abb feat(core): store fuel gauge covariance into backup ram [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
ac65d1f59d chore(core): put soc recovery inside the pm_init [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
b3e76e557e fix(core): fix async pmic variable reading [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
17031852cf feat(core): add pm_wait_until_active function [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
704bf3ed7c feat(core): improve power_manager backup ram data check [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
7acac1a0fd fix(core): remove reduntant store to backup ram function [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
63b374067c fix(core) fix fuel gauge sampling period calculation [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
3beebe5956 fix(core): remove ULTRA_POWER_SAVE and STARTUP_REJECTED states, improve battery low state detection [no changelog] 2025-05-30 14:04:45 +02:00