Commit Graph

64 Commits

Author SHA1 Message Date
Adam Dobrowolski
2fed826c28 [EGD-7947] Unified aproach for download_asset
Improved timing. Uses cached file for both json and direct
downloads if possible.
Improved logging. Clear information what's being downloaded.
Removed older script.
2021-11-18 16:16:25 +01:00
Adam Dobrowolski
22a4979d91 [EGD-7969] Added lacking dependencies in cmake
We didn't have proper dependency for assets
2021-11-15 19:01:27 +01:00
Bartosz Cichocki
3c21710bea [EGD-7969] Fix assets script
Luts were downloaded to the wrong directory
2021-11-15 19:01:27 +01:00
Adam Dobrowolski
c467dc9a2f [EGD-7932] Added downloader for assets for Bell
With this all fonts and Luts bin are downloaed for other repo which
is closed from others. With minimum changes to our cmake and flow
Added cache dir as set in cmake for CI
CI has to use common cache to not download data all the time
Jenkinsfile updated to install lacking dependency
2021-11-10 16:54:36 +01:00
Bartosz Cichocki
260c2a57c7 [EGD-7912] Add signing update package SHA
To fully operate on signed packages we have to sign checksum
2021-11-05 12:20:35 +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
Jakub Pyszczak
0d501a63c0 [EGD-7849] Enabled sensitive data in dev build
Sensitive data are enabled by default in developer build.
2021-10-25 13:21:49 +01:00
Marek Niepieklo
a08a2d57cf [CP-747] Make the disk image depend on the version.json target
Added version.json as dependancy for disk image
2021-10-21 10:09:13 +02:00
Adam Dobrowolski
042b15d4c6 [EGD-7764] Cpack script naming update
Take set OS version not CMake project version
2021-10-20 10:11:36 +02:00
Marek Niepieklo
a0677af340 [CP-615] Update existing backup/restore implementation in OS
[CP-648] Handle updated API requests

Updated B&R to handle new API
Extended error reporting
Backup/Restore code clean up

[CP-649] Check OS version compatibility during restore
Added check of OS and backup versions
Fixed adding of version.json to PurePhone.img
2021-10-11 16:19:20 +02:00
Lucjan Bryndza
67c5de4da6 [EGD-7741] Cmake changes in the lwext4 project
Cmake changes in the LWEXT4 project

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-10-07 14:39:28 +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
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
Piotr Tański
ac7a942045 [CP-583] Update failure due to version.json on the phone
Added version.json to the image

(cherry picked from commit 395e99e162)
2021-09-15 19:18:58 +02:00
Marek Niepieklo
f4821943b1 [EGD-7224] Add option to enable/disable USB MTP
Added CMake option to enable/disable USB MTP
2021-09-08 14:42:09 +02:00
Piotr Tański
13d6915dc5 [EGD-7362] Development features flag restored
Flag removed during merge 0.76.1 into master.
2021-09-07 09:00:37 +02:00
Marek Niepieklo
7fa175ddaf [EGD-7434] Handle settings for USB stack in USB submodule CMakeLists.txt
Move out USB related flag definitions from
cmake/modules/ProjectConfig.cmake to usb_stack/CMakeLists.txt
2021-09-06 10:17:30 +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
Adam Dobrowolski
b61a018098 [EGD-7402] Cmake changes to download Updater
Right now we have updater as a fixed binary, we require
it downloaded as latest asset
2021-08-24 14:46:23 +02:00
Lucjan Bryndza
812dee8d0a [CP-305] Add sign update package in secure mode
Add signing package when the secure mode
is enabled

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-08-24 08:00:02 +02:00
Wojtek Rzepecki
1da915ace9 [BH-777] Add Bell specific ld script configuration
Added bell specific ld script configuration for
board memory layout
2021-08-18 08:40:44 +02:00
Mateusz Grzegorzek
6e0c4844f8 [BH-739] Split EventManager
Renaming:
- rename EventManager to EventManagerCommon,
- rename PureEventManager and BellEventManager
to EventManager
2021-08-16 14:15:55 +02:00
Mateusz Grzegorzek
6787a67fe7 [BH-739] Split EventManager
Move `test-settings` to `PurePhone` product-specific directory
2021-08-16 14:15:55 +02:00
Marcin Smoczyński
b355d5ce00 [BH-733] Cleanup target dependencies
Remove obsolete target dependencies across modules.
Remove 'cross' and 'unittests' targets.
Refactor some remaining target dependencies to use board include macro.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-13 01:43:56 +02:00
Marcin Smoczyński
f54d400500 [BH-734] Add hardware board selection
To support bell hardware one needs to distinguish between the rt1051
generic target and product's boards.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-13 00:39:14 +02:00
Mateusz Grzegorzek
333c8c0db3 [BH-736] Add image generation
Add image generation
2021-08-10 15:25:12 +02:00
Marek Niepieklo
64cfe81ec5 [CP-427] Set Mudita USB VID as default
Use Mudita USB VID/PID as default.
2021-08-05 16:29:28 +02:00
Artur Śleszyński
fac42e0cbb [CP-282] Compute MD5 of the correct boot.bin file
The version file must store the checksum of the secured boot.bin file.
2021-08-05 10:21:27 +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
2d68efff9b [EGD-7267] Fix product reconfiguration
Product should be stored as a string, not boolean.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-03 07:43:32 +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
Marcin Smoczyński
853446a974 [EGD-7032] Add product preconfiguration
Split build directories for each of a product.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-02 14:57:56 +02:00
Artur Śleszyński
f9d7e2e82b [EGD-7031] Remove pureflash dep from disk img
The generated disk image does not require pureflash to be created.
2021-07-29 15:32:52 +02:00
Marcin Smoczyński
a12e6ecf5b [EGD-7227] Fix update package generation
Adjust paths in update image generation script to point to a new
sysroot.
Fix boot.bin file path to point to a new sysroot.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-28 14:37:27 +02:00
Marcin Smoczyński
74ae1a6589 [EGD-7031] Remove UT deps to the production image
Remove dependency to the production image by creating separate sysroot
for test assets alongside with a test image Test.img.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-27 23:36:37 +02:00
Artur Śleszyński
e0f527c9b6 [CP-282] Set correct standalone image dependencies
Fix a bug indroduced by removing cmake variables.
2021-07-19 08:18:02 +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
Maciej Gibowicz
aea9e64bea [EGD-7088] SDRAM configuration on T7 board
Add configuration for new, increased to 64 MB SDRAM.
2021-07-15 17:02:37 +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
Alek Rudnik
49b7ab8509 [EGD-7005] Removed sensitive data cellular
Removed sensitive data from service and module cellular.
Logger factory introduced to easily manage sensitive logs.
2021-07-12 12:25:04 +02:00
Mateusz Grzegorzek
82b5859474 [BH-363] Move libphonenumber to a separate directory
Move libphonenumber to a separate directory
2021-06-29 12:19:03 +02:00
Radoslaw Wicik
943fef9643 [BH-353] Add Documentation for main targets
* clean up mimimu required cmake version
* fixes for release workflow

Add documentation for targets, fixes for cmake
and release workflow.
2021-06-11 09:07:41 +02:00
Radoslaw Wicik
25fc56f4c6 [BH-353] Add minimal build target for BH
* add BellHybridMain
* fixing post review

Git automatically converts BellHybird as move from source/main.cpp to
prevent this and maintain "main.cpp" history adding new target as
separate commit.
2021-06-07 17:05:29 +02:00
Radoslaw Wicik
aa1ca514cb [BH-353] Add minimal build target for BH
Introducing changes required for adding BellHybird target without
removing PurePhone.
Adden new targets:
* Pure (builds PurePhone and PurePhone.img)
* Bell (builds BellHybird and BellHybird.img)
* [PurePhone|BellHybrid]-[UpdatePackage|StandaloneImage)
2021-06-07 17:05:29 +02:00
DariuszSabala
40cef99e6d [BH-360] Move TPLIB re2 to separate dir
Changed submodule directory and updated cmake scripts.
Updated paths in PureCoverage script and Doxyfile
2021-06-07 11:30:34 +02:00
Lukasz Skrzypczak
40530e39aa [BH-399] Cleaning
Cleaned to match newest master
2021-05-28 19:29:04 +02:00
Artur Śleszyński
fbb820c284 [BH-357] Move protobuf to third-party dir
* Use the CMakeLists.txt from lib authors.
* Disable building libprotobuf in the all target.
* Disable warnings in the libprotobuf-lite target.
2021-05-28 15:00:31 +02:00
DariuszSabala
e6e9a79fa5 [BH-397] Move TPLIB parallel-hashmap
Changed submodule directory and changed way its linked,
in order to use target_link_libraries checkouted phmap
dependency to the newest revision which includes small
cmake fixes (see 031d214f2ce1973933abdf2a998d986ff8094d8e),
updated paths in PureCoverage script and Doxyfile
2021-05-28 13:51:49 +02:00
Pawel.Paprocki
b969442853 [BH-365] Move TPLIB (tinyexpr) to separate directory
Move library, amend CMAKE files
2021-05-28 13:05:32 +02:00