Sergii Dmytruk
4752005a19
src/compare_command.sh: give output a bit of structure
...
Indicate stages of operation so different output lines are grouped
according to their meaning.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-23 20:23:19 +03:00
Sergii Dmytruk
661e0bbb69
src/compare_command.sh: detect when only one ROM is provisioned
...
The detection is based on the list of files which differ.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-23 20:22:04 +03:00
Sergii Dmytruk
3924e8cf7d
src/compare_command.sh: detect change of IBG keys
...
Criteria:
- key_manifest.bin files differ in part preceding their signatures and
neither file is all zeroes
- length of mismatched range within SI_ME is less than or equal 1024
(may need to be revised if that grows)
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-23 20:21:09 +03:00
Sergii Dmytruk
84b9dd5d05
src/compare_command.sh: handle ROMs more symmetrically
...
List files from both images and then deduplicate to not depend on the
order in which ROM files are specified.
Also create missing files as empty to avoid `diff` failing and
`diffoscope` not producing a report.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-23 12:30:11 +03:00
Sergii Dmytruk
36f6217a70
src/compare_command.sh: formatting fixes/improvements
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-06 21:12:27 +03:00
Sergii Dmytruk
ea8f758a0f
src/bashly.yml: fix check for diffoscope dependency
...
It was checking for ifdtool probably due to copy&paste.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-06 21:09:54 +03:00
Sergii Dmytruk
8dcd076863
romscope: regenerate with bashly v1.2.13
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-08-06 21:09:21 +03:00
Michał Kopeć
0311fed5f2
src/compare_command.sh: Compare Vboot signatures separately
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-09-13 13:11:12 +02:00
Michał Kopeć
e349c7060d
README.md: add result interpretation guide
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-09-11 17:06:27 +02:00
Filip Gołaś
1dbf6610b7
Merge pull request #2 from Dasharo/1-compare-does-not-check-if-the-rom-files-exist-extract-does-that
...
src/compare_command.sh: Check if rom files exist
2024-07-25 13:45:48 +02:00
Filip Gołaś
73cb69a07e
src/compare_command.sh: Check if rom files exist
...
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com >
2024-07-25 12:50:26 +02:00
Michał Kopeć
463cdf96c7
README.md: add readme
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-23 11:47:00 +02:00
Michał Kopeć
55388aed16
Rename to romscope
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-23 11:44:14 +02:00
Michał Kopeć
cde9388f25
Add licensing info
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-23 11:32:42 +02:00
Michał Kopeć
5672c967c3
src/lib/extract.sh: fix copypaste error
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-22 18:04:04 +02:00
Michał Kopeć
938b1a4137
src/compare_command.sh: add compare command
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-22 17:08:46 +02:00
Michał Kopeć
36cd4474c6
src/extract_command.sh: factor out extract function to lib
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-22 17:08:27 +02:00
Michał Kopeć
b72b455909
src/extract_command.sh: add FMAP and CBFS parsers
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-22 15:40:32 +02:00
Michał Kopeć
740830687b
fw-inspect: initial commit
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-07-18 13:02:47 +02:00