~aleteoryx/muditaos

ref: 3056cd6f01358c1a77f142fe981666284b245b32 muditaos/module-bsp/board/linux d---------
d9a1194e — Lukasz Mastalerz 2 years ago
[BH-1688] Create a standard for logs

* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
674a7683 — Lefucjusz 2 years ago
[MOS-669] Add too hot battery notification when charging

* Added notification showing on the main
screen if the battery has reached too
high temperature to continue charging.
* Code cleanups.
3cbbeff5 — Lefucjusz 2 years ago
[MOS-1011] Fix frequency switching stability

Multiple fixes of clock switching related
stability issues:
* added RC oscillator hysteresis as in NXP example;
* changed DCDC converter config;
* configure PLL2 to be able to run on any CPU
frequency level;
* added switching to 1.275V (overdrive) voltage
when applying any clock change above 12MHz as
well as LDO or bandgap switching, as done in
Mbed OS' lpm.c for RT1050;
* changed BMCR AXI queues weighs for SDRAM
in JLink scripts to disable operations
reordering, as it is known to cause data
integrity issues;
* extracted some code to separate files;
* smaller or bigger code cleanups.
b53dec1f — Lefucjusz 2 years ago
[MOS-1012] Fix occasional crash when unplugging Pure from PC

Fix of the unhandled error issue that resulted
in occasional device crash when disconnecting
from PC with MC app running.
21171bb4 — Lukasz Mastalerz 2 years ago
[BH-1714] Eink refactor and error handling

Cleanup and refactor for eink code.
Changed turning on/off procedure.
Add error handling.
561e4e7a — Lefucjusz 2 years ago
[MOS-599] Fix undefined phone mode in simulator

Fix of the issue that on simulator phone mode
was in 'undefined' state, what resulted in
no phone mode selected in settings.
8883bf2d — Dawid Wojtas 2 years ago
[BH-1717] Fix no clock update

The secure RTC can lock and the clock is not updated.
To prevent this situation we reset LP registers (except for
timestamps and alarms) and clear the LVD flag. Then we
enable again LP SRTC.
2643d9a9 — Lefucjusz 2 years ago
[MOS-997] Fix failing sync with Mudita Center

Fix of the issue that sync with Mudita Center
would fail often after changes introduced in
CP-1968.
2620191e — Lefucjusz 2 years ago
[MOS-238] Use on-chip hardware TRNG as an entropy source

Use hardware TRNG integrated into RT1051 MCU
as an entropy source for builds complied
for RT1051.
1b03981b — Maciej-Mudita 2 years ago
[BH-1701] Add extended user heap statistics for debugging

Added extended statistics to help track potential memory leaks:
* used user heap size per task
* number of successful allocations
* number of successful frees
e1d3862f — Lefucjusz 2 years ago
[BH-1673] Fixes for Harmony random resets

Next part of Harmony random resets fixes:
* added RC OSC startup delay as in newest lpm.c;
* changed order of clock source, oscillator and
LDO switching;
* removed connecting internal DCDC load resistor,
as it is only required to speed up converter
startup after it was turned off completely;
* changed DCDC operation mode to continuous
conduction;
* set low VDD_SOC_IN voltage back to 950mV as
suggested in RM.
* added switching DCDC converter mode to
discontinuous conduction for two lowest CPU
clock frequencies, as using CCM mode resulted
in very high current consumption that would
shorten Harmony's life on battery
significantly.
ff18f17e — Dawid Wojtas 2 years ago
[BH-1700] Add date and time to logs at the startup

Save date and time at the startup of the system for analysis purposes.
c96dc7dc — rrandomsky 2 years ago
[MOS-686] Fixed MTP availability only after phone unlocked

Fixed file access via MTP even when phone is not unlocked.
Now access is granted when the phone is unlocked by the user entering
a passcode. If the phone is not passcode protected (passcode is nor set)
then access to the files is always possible via MTP.
205fedb9 — Mateusz Piesta 2 years ago
[BH-1595] USB reset procedure

* Fixed incorrect reset procedure
* Minor refactor
2cbadc6a — Dawid Wojtas 2 years ago
[BH-1630] Turn off the device for low voltage

The system closes only if the SoC is 0%, but
it doesn't react if the voltage has low level.
The new implementation invokes the close
procedure if the voltage is less than 3.4V.
This solution should avoid possiblity to
hang the MCU.
f7980fea — Dawid Wojtas 2 years ago
[BH-1649] Reimplement I2C communication attempts

The CW2015 driver should avoid any logic.
Thus I2C communication attempts were moved
to the BatteryCharger which is product specific.
c0577999 — Lefucjusz 3 years ago
[MOS-887] Fix black screen left after power off

Fix of the issue that after powering off
the phone with dark mode enabled the
screen remained black instead of being
cleared to white.
01857dd1 — Bartosz 3 years ago
[MOS-786] Added support for A/B boot codes in OS

Further implementation of A/B booting
25096a1e — Bartosz Szostak 3 years ago
[MOS-820] Fix crashes caused by plugging the charger

The deleting of the USBLinuxReceive task has been added
in the USB stack de-initialization process to avoid creating
multiple instances during next initializations.
f4aaf4e3 — Maciej-Mudita 3 years ago
[MOS-775] Create run-time statistics for tasks

Every hour, statistics of tasks that put a heavy load
on the CPU will be logged
Next