Commit Graph

16 Commits

Author SHA1 Message Date
Dawid Wojtas
76a62e8062 [BH-1884] Fix biwin memory errors
The BIWIN eMMC memory
doesn't work stable when enablePreDefinedBlockCount
flag is enabled.
2024-02-23 08:43:02 +01:00
Dawid Wojtas
54bf8311b0 [BH-1770][BH-1677] Update fsl drivers
Now the system uses 2.14.0 version.
Add only necessary drivers:
- pit
- pmu
- rtwdog
- snvs_hp
- snvs_lp
- src
- trng
- wdog
- gpio
- gpt
- lpi2c
- lpuart
- lpuart_edma
- common
- common_arm
- dmamux
- edma
- flexram
- flexram_allocate
- clock
- cache
- CMSIS
- dcp
- iomuxc

Changed speed of the USDHC clock from ~109MHz to ~81MHz.
Also changed bus timing from kMMC_HighSpeedTiming to
kMMC_HighSpeed200Timing for better efficiency.
2024-02-21 18:58:12 +01:00
Lefucjusz
32c6769cb6 [BH-1657][BH-1833][BH-1854] Add WFI and SDRAM self-refresh mode
* Added mechanism enabling CPU to
enter WFI mode when the OS is
in idle, what results in large
power consumption reduction.
* Added mechanism to switch SDRAM to
self-refresh mode before entering
WFI, what resulted in further power
consumption reduction.
2024-01-22 12:32:35 +01:00
Lefucjusz
fdede98a11 [BH-1672] Add logging of eMMC parameters
Added logging of eMMC storage card
parameters so that it's easy to
determine what chip is installed
in the device the logs are from.
2023-04-12 15:03:48 +02:00
Mateusz Piesta
150f1cfdef [CP-1560] New user directory structure
* New user directory implemented.
* Generate user directory structure at compile
time instead of at runtime(Pure/Harmony).
* Changed MTP root path to /storage
* FileIndexer: Minor refactor
* FileIndexer: Fixed handling incorrect/non-existing
scan directories.
* Updated Repository module to correctly handle
many assets paths.
* MultimediaDB: Minor unit tests refactor and fixed
some issues when using simulator.
* MultimediaDB: Added new queries and unit tests
* Harmony/Relaxation: Updated to correctly
use audio assets from more than one source.
* Harmony/Relaxation: Updated model and list items
provider.
* Harmony/Relaxation: Fixed stack overflow in audio service
2023-01-19 16:41:56 +01:00
Mateusz Piesta
2f42cd5e73 [BH-1424] FreeRTOS update
Updated FreeRTOS source code to 10.4.6.
Moved FreeRTOS sources to the third-party directory.
Added necessary changes to the CMake configuration.
Split FreeRTOSConfig.h. From now, each board has its own.
Added missing log headers.
Minor refactor of the module-os cmake.
Fixed stack overflows in bell application main and time service.
2022-04-07 13:31:28 +02:00
Mateusz Piesta
6ad290366f [MOS-296] Merge SNVS cherry-pick conflicts fixed
Fix SNVS Harmony approach conflicts with master
2022-03-09 19:34:39 +01:00
Alek Rudnik
9cf11913a1 [EGD-8129] Add atexit functionality
Added atexit functionality. All global destructors and functions
registered with atexit() should be called at program exit.
It was possbile to reuse original newlib implementation with
MALLOC_PROVIDED flag set.

Made sure logger destructructor is called as last one.

Due to mudita OS legacy, it was not possible to simply fix dependencies
in global objectes and hence there are neither global objects
destructors nor functions registered with atexit() called when exit()
is called.
Possibly it will be changed later.
2022-01-05 13:59:51 +01:00
Lucjan Bryndza
b83605d227 [EGD-7573] Add support for reliance edge fs
Added support for reliance edge file system.
The initial port is done.
The whole effort is still WIP.
Left a note in readme file what should be done next.
2021-12-14 09:44:34 +01:00
Lucjan Bryndza
f82d6f1085 [EGD-7423] Revert FSL MMC driver may stuck in inifinite loop"
This reverts commit da4f9ea2e2.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-11-16 13:24:10 +01:00
Alek Rudnik
da4f9ea2e2 [EGD-7423] FSL MMC driver may stuck in inifinite loop
There was an issue in FSL MMC driver.
Proper fix would be to swith to never 2.10 version - as it looks
like the issues is solved there - but this is out of scope of
this Jira case.
2021-11-05 13:37:00 +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
Marek Niepieklo
22a02078cd [CP-162] Implement Logs directory
Added listing of log/crash dump files
Reorg'ed log/crash dump files locations
Added harness api/device_info
Updated test and tool scripts
2021-09-29 10:37:58 +02:00
Lucjan Bryndza
efa0a16543 [BH-848] Split board h for bell and pure
Split board.h for the bell and Pure

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-09-06 11:19:47 +02:00
Wojtek Rzepecki
4562a0379b [BH-769] Add vfs configuration for pltaforms
Add platform dependent configuration of vfs
partitions

revert of layout config
2021-08-24 18:11:21 +02:00
Marcin Smoczyński
9267e2d871 [EGD-7161] Remove image name reference in vfs
Add ability to change an image name in the vfs code by decoupling vfs
from a so-called board code.

Introduce platforms as a hardware and os abstraction layer for product
code.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-21 12:53:47 +02:00