Commit Graph

70 Commits

Author SHA1 Message Date
Artur Śleszyński
68af24d8e5 [CP-557] Remove audio files from bell update package
The package is too big and update fails.
2021-11-26 15:20:13 +01:00
Przemyslaw Brudny
0323d7cfad Merge remote-tracking branch 'origin/stable' 2021-11-18 23:51:50 +01:00
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
Lucjan Bryndza
f80facf3f3 [EGD-7980] Add tools for analyse crashumps
Add tools for analayse crashdumps from the release
build. Now user is able to get crashdump and tag number
and the tool is able to automatically retrive and analyse
backtrace

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-11-18 10:17:31 +01:00
Adam Dobrowolski
3c0538b8d9 [EGD-7973] Fixed luts file problem
Luts file was to big to download via api which limit is 1MB
2021-11-16 12:29:35 +01:00
Adam Dobrowolski
c1ec1d8bb0 [EGD-7973] Fixed luts file problem
Luts file was to big to download via api which limit is 1MB
2021-11-16 10:34:07 +01:00
Przemyslaw Brudny
90117445f1 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	tools/download_asset2.py
2021-11-15 21:04:18 +01:00
Adam Dobrowolski
8a61e57ffc [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-12 13:02:27 +01:00
Adam Dobrowolski
589dbd8867 [EGD-7932] Added logging od dir on 404
We want to know what we want to know
2021-11-12 13:02:27 +01:00
Adam Dobrowolski
a73211d7b1 [EGD-7932] Added logging od dir on 404
We want to know what we want to know
2021-11-10 16:54:36 +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
90dee999c0 [EGD-7912] Add signing update package SHA
To fully operate on signed packages we have to sign checksum
2021-11-05 11:31:35 +01:00
Adam Dobrowolski
e732ebbcc1 [EGD-7443] Documentation updated
Co-authored-by: Bartosz Cichocki
Co-authored-by: Paweł Olejniczak
2021-11-03 12:46:22 +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
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +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
ca75ebe449 [EGD-7587] Change user partition to ext4 fs
Add support for the EXT4 filesystem using LWEXT4
Add minor VFS fixes
Add unittest for the EXT4 partitions
Reformat partition for use EXT4 filesystem

[EGD-7587] Initial cmake of the ext4

[EGD-7587] Block driver for the ext4

Initial version of the block driver for the ext4 device

[EGD-7587] Initial version of the EXT4 fs support

Initial version of the ext4 filesystem support

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

[EGD-7587] Mount unmount initial unit tests

Mount and unmount initial unit tests

[EGD-7587] Unit tests and fixes for ext4

Unit tests and fixes for the ext4 partition

[EGD-7587[ adjust flags

Adjust ext configuration flags

[EGD-7587] Change to generate ext4 image

Change image generation script to generate ext4 image

[EGD-7584] Change cache memory settings

Change cache memory settings

[EGD-7587] Change create image flags

Change create image flags

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

[EGD-7587] Git change lwext4 to the mudita version

Change LWEXT4 to mudita version

[EGD-7587] Modify ext4 implementation

Modify ext4 implementation according to the new lwext4
mudita branch. Some issues were fixed in this branch

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

[EGD-7587] Add to VFS rmdir syscall

Add to VFS missing rmdir for compliance POSIX std

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-10-07 14:39:28 +02:00
Adam Dobrowolski
d83e8fe34b [EGD-7445] Removed dead scripts
Removed dead scripts
2021-09-20 12:58:45 +02:00
Maciej Gibowicz
91da0239aa [EGD-7481] Add user heap stats to puregdb
In the puregdb debugging script we have data about the system
heap and we need data about the user heap.
2021-09-20 10:51:58 +02:00
Piotr Tański
a33d4ea7c2 [EGD-7583] Merge stable into master branch
Merge stable into master branch - manual part.
2021-09-15 19:18:58 +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
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
b00fa887cf [EGD-7424] Added requirements to tools
Requirements are needed to know what python libraries our tools use
2021-08-27 09:03:29 +02:00
Adam Dobrowolski
cf29027e1a [EGD-7414] Daily release push from CI and minor fixes
- Daily release push from CI
- Fixed issue with existing tag on repo
- Fixed potential errors on submodules fetch
2021-08-26 08:49:52 +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
Adam Dobrowolski
4a130d39ef [EGD-7367] Latest daily_release.sh script from server
Please mind that I'm not author of most of these chages, what I added
was use of VERSION to build package - to fix version as date
2021-08-23 08:08:33 +02:00
Mateusz Grzegorzek
333c8c0db3 [BH-736] Add image generation
Add image generation
2021-08-10 15:25:12 +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
Marek Niepieklo
6ee6ed17f9 [CP-434] Restore checksums.txt for legacy update
To keep legacy update operational,
it needs checksums.txt in update package.
2021-07-28 15:56:33 +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
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
Artur Śleszyński
1fc553fc9a [CP-260] Use gdb with py to debug crash dumps
We want to be able to use our gdb extensions when debugging
crash dumps.
2021-07-20 12:11:30 +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
DariuszSabala
6eeb1d7570 [BH-628] Cleaned up module-vfs cmake
Cleaned up pattern of sharing source files among libraries
using cached lists, ultimately leading to silent linkage
failures. Symbols build repeatedly in different libraries
was linked depending on which library was passed in linker
command arguments first, so for example in same cases
cellular bsp files compiled in module-vfs was linked instead
of those from module-bsp leading to failure of cellular work
despite no explicite build failure.
2021-07-14 15:42:14 +02:00
Marcin Smoczyński
8c997729a7 [EGD-6745] Add tool to create JIRA version
Add script to create version and assign to it all issues which
introduced code changes in git.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-06-23 14:29:56 +02:00
Radoslaw Wicik
ae3118b96a [EGD-6875] Fix UT check script
Fix error causing bad tests where passing unnoticed.
2021-06-08 17:39:50 +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
Marek Niepieklo
d0558e5611 [CP-85] Support for Cp tag in commit message
CenterPure has its own Jira and own tickets tag.
2021-05-12 14:16:34 +02:00
Radoslaw Wicik
74de196d77 [BH-349] Support for BH tag in commit message
Bell Hybrid has it's own jira -> own tickets, we need to update commit
message checker.
2021-05-12 09:43:24 +02:00
Marcin Smoczyński
4dbab1b9b1 [EGD-6504] Only current changes in the relnotes
Include only changes from the current changes in the release notes.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-04-12 13:17:02 +02:00
Artur Śleszyński
33d652c1a1 [EGD-6156] Create crash dumps
Integrate the CrashCatcher library in order to store phone state after
a fault occurs. The dumps are stored in the CrashCatcher hex format and
can be debugged using the CrashDebug stub built for x86_64 via the
'debug_crash_dump.sh' script.
2021-04-02 14:58:42 +02:00
Radoslaw Wicik
f611184076 [EGD-6413] Update CI Debug for UT Release for harness
Split build types for UT and Harness tests.
2021-04-01 15:39:03 +02:00
Piotr Tański
31e9f19271 [EGD-6393] Fix for crashing unit tests
System update unit test crashes.
The test is disabled as that piece of code is not unit-testable.
2021-03-31 10:36:46 +02:00
Mateusz Grzegorzek
16763ee2ef [EGD-4593] Add Logging Engine docs
Add Logging Engine docs
2021-03-19 11:03:27 +01:00
Mateusz Grzegorzek
a60e27fa4b [EGD-4593] Dump logs to file on timeout
- Dump logs to file every 10 sec.
- max file size is 50 MB
  (after reaching it, no more logs will be logged),
- Add `LockGuard` with locking mechanism
  supporting IRQ and use it in `Logger`.
- Fix minor style issues in `Logger`.
- Add `mount_user_lfs_partition.py` script for mounting LFS on Linux FS
  in order to get `MuditaOS.log` file from `user` partition
2021-03-17 16:33:02 +01:00
Radoslaw Wicik
7a55c370cf [EGD-5855] Daily build scripts
Adding script for creating daily releases in docker environment
2021-03-10 09:59:20 +01:00
Adam Dobrowolski
d05de195d2 [EGD-5872] Mudita tools repository update
gdb tools: pure command have documentation
2021-03-08 15:26:12 +01:00