Commit Graph

130 Commits

Author SHA1 Message Date
Kuba
69cf2575cc [EGD-7909] Fixed phone mode switching
Service cellular is holding minimum cpu frequency during
phone mode switch.
2021-11-19 16:43:00 +01:00
Alek Rudnik
65d67e2690 [EGD-7948] Extend log dumping
Log are now dumped:
* on system shutdown including hard faults and aborts
* every 5 minutes

Fixed some logs
2021-11-16 17:56:28 +01:00
Alek Rudnik
1666429e07 [EGD-7584] Fix OS factory reset
There was an issue that we were deleting files which were still open.
Added removed of FI .indexed file.
2021-11-02 16:45:04 +01:00
Kuba
1ab84f774f [EGD-7720] Unmounting file system on system closure
Make sure file system is properly unmounted on gentle system
shut down.
2021-10-20 14:38:08 +02:00
Wojtek Rzepecki
6e69eb6aa6 [BH-990] Adjist CPU frequency chages
Adjusted Bell frequency low-power mode changes
2021-10-15 13:22:43 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Paweł Joński
d6ef922d26 [BH-958] Set info screen on critical battery turnoff
Set info screen on critical battery turnoff
2021-10-11 11:10:50 +02:00
Marcin Smoczyński
1f9109b924 [BH-819] Fix illegal dependencies in bsp
Break circular dependencies in the BSP module. Fix some missing
dependencies which surfaced after fixing BSP.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-27 17:27:21 +02:00
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Maciej Gibowicz
8534d9abe9 [EGD-7563] Hold minimum CPU frequency for logs dump
During the log dump, we wake up the CPU to 66 MHz
instead of the maximum frequency.
2021-09-22 13:17:28 +02:00
Marcin Smoczyński
958ce4906c [BH-897] Split module-sys
Split system module to better manage dependencies between system
components.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 16:11:59 +02:00
Artur Śleszyński
b15006a94c [CP-564] Make desktop endpoints a separate lib
In order to have different sets of endpoints for different products,
we need to separate endpoints from the desktop service.
2021-09-21 10:41:37 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Piotr Tański
6ab09d5ffd [EGD-7459] Fixed factory reset process
Fixed the factory reset process.
2021-09-11 16:23:51 +02:00
Maciej Gibowicz
7394811560 [EGD-4809] Add LDO switching
To reduce the power consumption, we switch LDO
to the low power mode.
2021-09-09 09:34:59 +02:00
Maciej Gibowicz
1134a38584 [EGD-4875] Add internal load resistor switching
To reduce the power consumption, we disconnect
internal load resistor
2021-09-08 11:03:55 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Mateusz Grzegorzek
51a8925127 [BH-740] Split SystemManager - part III
Move Pure-specific functionality to Pure SystemManager - part I
2021-08-26 10:42:53 +02:00
Mateusz Grzegorzek
2bdc4fbee6 [BH-740] Split SystemManager - part I
Rename SystemManager to SystemManagerCommon
2021-08-19 16:34:50 +02:00
Mateusz Grzegorzek
e1ef821609 [BH-741] Split ApplicationManager
Separate Pure and Bell ApplicationManager functionalities
to separate files.
2021-08-18 14:29:51 +02:00
GravisZro
e433e8dd03 Fix transparent backgrounds in PlantUML
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
2021-08-16 17:01:19 +02:00
Marek Niepieklo
bd06eacbda [CP-403] Replace old update code
Removed update related code
Removed update test scripts
2021-08-05 17:11:24 +02:00
Marek Niepieklo
6c32205e1b [CP-371] Updater miscelanous developer mode and logs changes
This reverts commit cb93d58d85.
2021-07-27 17:03:28 +02:00
Adam Dobrowolski
cb93d58d85 [CP-371] Updater miscelanous developer mode and logs changes
Changed:
- Runtime disabled logs which didn't add value from ServiceDesktop
- Runtime disabled logs which didn't add value from SystemManager
- Added possibility to change runtime logging levels
- Integrated ServiceDesktop developer code a bit - it might be used
  as virtual base with little to no modifications for other endpoints
  which would result with less redundant code
2021-07-27 13:56:37 +02:00
Mateusz Grzegorzek
7188802f8e [BH-669] Fix CMake in service-appmgr
Fix CMake in service-appmgr
2021-07-21 14:19:41 +02:00
Wojtek Rzepecki
b19ddb719e [EGD-6928] Fix system powe instability
Improved frequency switching mechanism
2021-07-15 11:36:40 +02:00
Wojtek Rzepecki
992b0ea2c3 [EGD-3171] Fix key shortRelease on app switch
Fix of shortRelease on app switch while long
press applied on previous window
2021-07-13 11:03:20 +02:00
Lucjan Bryndza
97538c8969 [CP-319] Extends reboot reason code
Extends reboot reason codes after reboot to updater
to detect updater command requests: Update, FactoryReset
and the Recovery.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-07-08 17:13:02 +02:00
Lucjan Bryndza
5324fcc0a6 [CP-312] Add reboot to update function
Because update procedure it is splitted to the two stages
downloading and update throught separate binary we need
to pass ecoboot special flag to request reboot to updater
bin after update procedure.
This patch adds this functionality to the PureOS.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-07-07 10:46:29 +02:00
Wojtek Rzepecki
c0115fdc9a [EGD-6952] Fix tethering on low battery
Added prevention of tehering mode change
while battery is below critical level
2021-06-18 09:15:34 +02:00
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00
Jakub Pyszczak
e2863061e0 [EGD-6932] Small cellular refactor
Refactor regarding https://github.com/mudita/MuditaOS/pull/2226.
2021-06-15 12:50:44 +02:00
Pawel.Paprocki
95d96b82b6 [BH-370] Convert utils common_data into a libs
Create clipboard and eventsore libs
2021-06-09 14:39:11 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Wiktor S. Ovalle Correa
b2ca227fd5 [EGD-6746] Use new SimCard implementation
Switch to SimCard implementation provided by previous commit
2021-05-20 17:52:48 +02:00
Piotr Tański
cd2cbbbd70 [EGD-6728] Documentation cleanup
Cleanup acc. to guidelines created in EGD-6632.
2021-05-19 16:29:54 +02:00
Maciej Gibowicz
fa61bb38cd [EGD-5661] Add power management for filesystem
Add peripheral control (USDHC and PLL2 clocks)
for file system support.
This will save energy and extend battery life.
2021-04-22 14:05:57 +02:00
Wiktor S. Ovalle Correa
55c41de597 [EGD-6575] Rename Unicast with timeout as UnicastSync
Using Unicast with timeout is dangerous and strongly discouraged.
This change allows for more precise tracking of such cases.
2021-04-20 09:57:58 +02:00
Piotr Tański
81adfe41ab [EGD-6347] Refactored phone modes handling in applications
PhoneModeObserver doesn't work properly in applications.
Applications have to handle the phone mode changes via AppMgr.
Phone mode and tethering handlers separated.
2021-04-12 14:54:55 +02:00
Bartosz Cichocki
22809d630b [EGD-6208] Add blocking phone mode changes during tethering
When the tethering is enabled, the phone mode shouldn't change,
now, any attempt ends with a notification
2021-04-12 12:56:36 +02:00
Wojtek Rzepecki
269efac576 [EGD-6285] Fix system close
Add proper way of closing
system services
2021-04-09 08:30:32 +02:00
Bartosz Cichocki
5fb105d0b1 [EGD-6214] Add slider position reading after disabling tethering
To be able to set proper phone mode changed by the slider during
tethering, the forced readout of slider position has been added
2021-04-08 15:48:25 +02:00
Piotr Tański
4f0c3c82af [EGD-6209] Tethering confirmation popup added
Provided a tethering confirmation popup.
The popup shows up once a USB cable is connected to a PC.
2021-04-08 09:26:46 +02:00
Pawel.Paprocki
29bf1e40f1 [EGD-5834] Fix restore API
Change restore API
backup/restore/update harness tests
2021-03-30 16:53:23 +02:00
Przemyslaw Brudny
3408fafa8f [EGD-6066] Removed Message default constructor
Forced each message to have declared type as parts of Bus logic
depends on it and previously we encountered undefined
behaviours. Added tests and messages validators.
2021-03-29 22:37:09 +02:00
Wojtek Rzepecki
232d0b4b2e [EGD-6101] Add low battery start prevention
Device will be shutdown after
startup if SOC will be below
shutdown level
2021-03-25 18:15:13 +01:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
Maciej Gibowicz
677e18cada [EGD-5658] Add eInk CPU frequency hold
While the screen is being redrawn,
we block CPU frequency decreasing
2021-03-15 08:54:40 +01:00
Maciej Gibowicz
9f87dead1c [EGD-4853] Add Wake up GSM modem on demand
System wakes up Cellular when there is a need to communicate
with the modem, e.g. to handle an outgoing call
2021-03-10 13:08:48 +01:00