Commit Graph

168 Commits

Author SHA1 Message Date
Mateusz Szczesny
cf3ca397bd [BH-1842] Fix dependabot alerts
GitHub's dependabot suggests we might be using outdated
and vulnerable python libraries. This commit updates our
requirements to use more recent verions of some of the
libraries.
2024-01-30 11:54:26 +01:00
Bartosz
f3e8f68f11 [MOS-000] Rework docker container creation
Cleaned up dockerfile
Removed PATH dependencies from jenkinsfile
2023-03-16 15:17:44 +01:00
Mateusz Piesta
7e06b0e413 [MOS-000] Add clang-format support for macOS
* clang-format tools are now correctly fetched
* Fixed some macOS specific issues in bash scripts
2023-03-08 12:27:45 +01:00
Adam Wulkiewicz
b13bcb6108 [BH-000] Restore old, smaller size of the disk image
Because some devices are shipped with smaller flash chips
2023-03-01 17:24:45 +01:00
Bartosz
ac78d44335 [MOS-835] Fix version.json entry
Renamed boot to os
2023-01-19 16:41:56 +01:00
Bartosz
d13a51d044 [MOS-785] Reworked updater dependencies into recovery
Fixed usage of updater in OS build flow to use recovery
2023-01-19 16:41:56 +01:00
Bartosz
ae6d19ff1e [MOS-786] Add to docker required libraries
Added required libraries for building docs for recovery
2023-01-19 16:41:56 +01:00
Lefucjusz
64ff02ab0f [MOS-783] Fixed issues with generating imgs
Fixed:
- improper block count in Harmony,
resulting in ~300MB unallocated space;
- invalid rsync parameters, resulting
in nested 'factory' directory structure
creation;
- minor fixes.
2023-01-19 16:41:56 +01:00
Mateusz Piesta
0a9846e4a8 [MOS-694] Move DB initialization from OS to build scripts
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
Bartosz
ccce9bb19f [MOS-724] CodeQL setup
added CodeQL setup, small fixes to CI
2022-10-19 15:59:32 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Bartosz Cichocki
553f04c78c [MOS-572] Add sfdisk do docker image
Needed for package build via docker image
2022-06-27 08:35:40 +02:00
Lucjan Bryndza
523eb6f577 [MOS-513] Fix issues related to the GCC12 gcc
Fix issues related to the GCC 12
Fix paths for ignore license headers
2022-06-02 13:24:09 +02:00
Paweł Joński
059d6daf96 [BH-1454] Remove binary dependencies from linux build
Remove binary dependencies from linux build
2022-05-04 14:29:34 +02:00
Mateusz Piesta
2c08432049 [BH-1453] Fix audio on the simulator
Replaced PortAudio library with PulseAudio.
Fixed minor issues with the WorkerQueue module.
2022-04-14 14:20:26 +02:00
Paweł Joński
3475c5aa25 [BH-1411] Revert MOS-343 Harmony defined flash size change
This reverts commit 1a2c4e45f5.
This commit causes inabilty to flash image to Harmony
2022-03-31 12:50:05 +02:00
Marek Niepieklo
1a2c4e45f5 [MOS-343] Harmony defined flash size is less than physical size
Updated DEVICE_BLK_COUNT to match physical size
2022-03-25 13:04:04 +01:00
Adam Dobrowolski
053f270655 [MOS-282] Librarisation of services and test service
* options work a bit better ,now services and apps are
  selectable by option in cmake
* test service example added
* major documentation for module-services
* documentation for project configs and logs

Co-authored-by: Bartosz Cichocki <sp2fet@gmail.com>
Co-authored-by: Mateusz Piesta <mateusz.piesta@mudita.com>
2022-03-18 08:06:21 +01:00
Maciej Janicki
455d69e553 [MOS-153] Fix quotes database
Fix quotes database not being loaded
Plus: updated SQLite (3.38.01)
Minor spelling fixes
2022-03-16 12:35:44 +01:00
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
GravisZro
f87de8aae5 [EGD-8258] Fix directory name in config scripts
For the bootscript.sh and run_runner_docker script to run, the
directory name for common_scripts_lib must be spelled correctly.
2022-02-10 10:38:45 +01:00
Paweł Joński
be1e6f7523 [BH-1303] Fix flat settings
Fix flat settings - rename main window
2022-01-03 08:50:25 +01:00
Bartosz Cichocki
56c86cb7b1 [EGD-8019] Clean docker build scripts
Cleanup of docker scripts and small fixups
2021-11-29 16:01:24 +01:00
Bartosz Cichocki
51c3dd2261 [EGD-8019] Clean docker build scripts
Cleanup of docker scripts and small fixups
2021-11-29 15:27:25 +01:00
Adam Dobrowolski
9b02d2d1db [EGD-7946] Binary check hook to not commit forbidden files
We can't commit gt_pressura and Luts.bin, therefore hook added to
force this obligation
2021-11-10 12:56:31 +01:00
Bartosz Cichocki
0887d73b2c [EGD-7912] Enable sign script for CI in CMake
Enabled possibility to sign boot.bin via CI scripts
2021-11-04 11:07:38 +01:00
Adam Dobrowolski
c31c1f23c2 [EGD-7753] Predefined upadter and bootloader versions in cmake
So that we would be able to select proper Uptader and Bootloader
as well as modify them in configuration on demand
2021-10-25 23:34:14 +02:00
Marcin Smoczyński
e942a94958 [BH-807] Add Bell audio device
Interface hardware audio codec to the audio subsystem.

Co-authored-by: Lukasz Skrzypczak <lukasz.skrzypczak@mudita.com>
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-10-22 16:12:24 +02:00
Bartosz Cichocki
878aa36157 [EGD-7839] Bump CMake version in docker image
PureUpdater requires at least CMake 3.20
2021-10-21 11:39:15 +02:00
Bartosz Cichocki
0310abdaae [EGD-7822] Fix clang_check script
Due to third-person enabled auto-merge one line was missing in
the previous PR
2021-10-19 14:03:05 +02:00
Bartosz Cichocki
73469dfc40 [EGD-7822] Fix clang-check product entry
As for now, all clang checks were performed only for PurePhone,
so we had to prepare it to work with bell builds
2021-10-19 12:33:26 +02:00
Marcin Smoczyński
d6aa228726 [EGD-7770] Fix atomic stability
Add global __GTHREADS definition to trick standard library into thinking
we have a proper threading support and that it should not used single
threaded locking policies. As a result shared pointers will use atomic
locking policy to synchronize access to reference counter.

Add own version of gthr.h to override __gthread_active_p.

Add cxa guard and release for globs.

Looks like there was conflict when __GTHREADS was set so own version of
atomicity.h is removed.

Co-authored-by: Alek Rudnik <aleksander.rudnik@mudita.com>
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
Tested-by: Alek Rudnik <aleksander.rudnik@mudita.com>
Tested-by: Tomasz Krosnowski <tomasz.krosnowski@mudita.com>
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-10-15 14:14:27 +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
Adam Dobrowolski
d1d34e558b [CP-688] Changed cmake so that it would accept version as parameter
We are guessing verion in scripts, when we should take it as parameter
2021-10-05 17:36:34 +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
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
Bartosz Cichocki
ca4836b64a [EGD-7355] Fix clang checking script
Fixed version check
2021-08-16 17:22:16 +02:00
Mateusz Grzegorzek
333c8c0db3 [BH-736] Add image generation
Add image generation
2021-08-10 15:25:12 +02:00
Mateusz Grzegorzek
18fdf152bd [BH-742] Handle different products in run script
Handle different products in run script
2021-08-10 10:24:32 +02:00
Marek Niepieklo
a906ec6422 [CP-411] Add updater.bin to Update package
Packaging updater.{bin, ver} using embedded assets
2021-08-04 14:08:08 +02:00
Marcin Smoczyński
42dfc346ce [EGD-7264] Fix blocked CI due to tidy check error
Fix error introduced by the product preconfiguration.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-03 08:03:12 +02:00
Artur Śleszyński
62924da9b9 [CP-459] Add boot.bin version string to version.json
We want all versions stings to be handled in the same way.
2021-08-02 15:55:13 +02:00
Artur Śleszyński
335f58149a [CP-282] Add md5sums to the version.json file
Move checksums from a separate file to the version.json file.
2021-07-16 14:35:51 +02:00
Mateusz Grzegorzek
211a6e078c [BH-375] Clean module-utils/third-party
Clean `module-utils/third-party`
2021-07-15 16:55:16 +02:00
Radoslaw Wicik
1a2e12af1a [BH-373] Convert utils json into a lib
Moving json to a third-party standalone library.
2021-06-11 09:41:44 +02:00
Adam Dobrowolski
02a8dfa1e9 [EGD-5238] Fixed no error message on bad style
Fixed no error information on style
2021-04-28 08:53:31 +02:00
Adam Dobrowolski
61ebd9e83f [EGD-5238] Revert Fixed no error message on bad style
This reverts commit 72992f77d9.
2021-04-28 08:53:31 +02:00
Radoslaw Wicik
27e8a170b9 [EGD-6622] Add GDB to docker image
GDB may be useful for debugging problems in docker itself.
2021-04-27 09:56:01 +02:00
Adam Dobrowolski
72992f77d9 [EGD-5238] Fixed no error message on bad style
With enabled fail on first error we never got to error
printing line in style check
2021-04-27 09:10:37 +02:00
Adam Dobrowolski
4e62e5d4e7 [EGD-6618] Added gdb to docker
Added gdb to docker
2021-04-26 11:20:09 +02:00