-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transfer rimage git history to subdirectory tools/rimage/ in the sof git repo #8297
Commits on Mar 26, 2020
-
CMake is to be used instead of autotools. So remove the autotools files. This revert commit f6bf4b0 and commit 0d33e87 Signed-off-by: Daniel Leung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58acbef - Browse repository at this point
Copy the full SHA 58acbefView commit details -
This adds the necessary bits to allow building rimage with CMake with similar configure options as the just removed autotools files. Also update README.md for new build instructions. Signed-off-by: Daniel Leung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a264697 - Browse repository at this point
Copy the full SHA a264697View commit details
Commits on Apr 5, 2020
-
Update rimage to remove ldc generation ability
This reflects the changes on SOF project commit b3c1679. Signed-off-by: Daniel Leung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e09354a - Browse repository at this point
Copy the full SHA e09354aView commit details -
Remove cmake option SOF_SOURCE_DIR
Since both fw.h and manifest.h are being used in the main SOF repo and also here in the standalone rimage repo, to prevent them getting out of sync, the SOF main repo is going to use the ones coming from the rimage repo. So there is no need for the option anymore. Signed-off-by: Daniel Leung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea04cb8 - Browse repository at this point
Copy the full SHA ea04cb8View commit details
Commits on Apr 7, 2020
-
rimage: Align function arguments in rimage.h
Code formatting should be consistent and function arguments should be aligned to opening parenthesis. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4701c7 - Browse repository at this point
Copy the full SHA c4701c7View commit details -
rimage: Remove unused 'image' argument in elf_find_section()
Unused arguments shouldn't be passed to function because it makes code messy. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e433e87 - Browse repository at this point
Copy the full SHA e433e87View commit details
Commits on Apr 15, 2020
-
Match LICENSE from the main SOF repo
This changes the LICENSE file to match the LICENSE file from the main SOF repo, except they entries for the kconfig scripts which are not here in this repo. Signed-off-by: Daniel Leung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c4c873 - Browse repository at this point
Copy the full SHA 6c4c873View commit details -
Fixes following error when compiling code: ... src/elf.c: In function ‘elf_find_section’: src/elf.c:469:20: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 469 | Elf32_Ehdr *hdr = &module->hdr; | ^ cc1: all warnings being treated as errors ... Signed-off-by: Andrei Emeltchenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc5eabb - Browse repository at this point
Copy the full SHA cc5eabbView commit details
Commits on Apr 16, 2020
-
Handle missing .init_array section
Fixes issue ".init_array" is not copied to ri image making it zero filled. This causes Zephyr crashing trying to execute functions from this section. Signed-off-by: Andrei Emeltchenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca65a44 - Browse repository at this point
Copy the full SHA ca65a44View commit details
Commits on Apr 17, 2020
-
CI: Travis: init build test for rimage
Enable simple build test for rimage. Signed-off-by: Pan Xiuli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aecc0b5 - Browse repository at this point
Copy the full SHA aecc0b5View commit details
Commits on Apr 21, 2020
-
elf: Add function to read section content with allocation
In many functions there is need to read user section content and check firmware version or write section content to some manifest or dictionary. Previously to do it, in each function was loop to search for proper section in proper module, then allocate buffer, read content and check for possible error between each step what is quite overwhelming. After change there will be one function responsible for this task. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f79d8d7 - Browse repository at this point
Copy the full SHA f79d8d7View commit details -
ext_man: Create extended manifest
Extended manifest is a place to store metadata about firmware, known during compilation time - for example firmware version or used compiler. Given information are read on host side before firmware startup. This part of output binary is not signed. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0c6ee0 - Browse repository at this point
Copy the full SHA f0c6ee0View commit details
Commits on Apr 24, 2020
-
ext_man: Move data section name to global define
This name is used in different part of source code so should refer to single place instead by copied. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b34a04 - Browse repository at this point
Copy the full SHA 6b34a04View commit details -
ext_man: elf: Split module and section searching
Such a solution improve code hermentization and flexibility. Also such a solution is more relevant because of focus on particular module during section reading, so there won't be possibility to implicity scan section 'A' from first module and section 'B' from second one. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fa22ac - Browse repository at this point
Copy the full SHA 0fa22acView commit details -
ext_man: Fix write flow when ext_man should be build
elf_read_section() returns section size when everything is ok, so ret value should be reset to 0 after this function call Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3288674 - Browse repository at this point
Copy the full SHA 3288674View commit details -
ext_man: Make extended manifest build optional
Try to build extended manifest only when `e` flag will be set, to prevent error and warning printing during creating optional part of formware image. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76b6301 - Browse repository at this point
Copy the full SHA 76b6301View commit details
Commits on May 7, 2020
-
ext_man: Remove redundant variable assign
ret variable is always set in elf_read_section(), to initial value is not important. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 537255b - Browse repository at this point
Copy the full SHA 537255bView commit details -
manifest: ads: meu: Fill FW version description also when MEU is used
This part of binary should contain valid firmware version. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ece04f9 - Browse repository at this point
Copy the full SHA ece04f9View commit details
Commits on May 12, 2020
-
rimage: show LMA and VMA in section view
Sometimes they will be different and this will make developer aware of the differences Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 932478a - Browse repository at this point
Copy the full SHA 932478aView commit details -
some sections may use different lma than vma address, in such case rimage needs to use lma Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f23b2c2 - Browse repository at this point
Copy the full SHA f23b2c2View commit details
Commits on May 25, 2020
-
ext_man: Move extended manifest generator out of kernel folder
Generator is part of rimage tool and there is any reference to them in kernel source code, so it should be moved out of kernel folder. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67d09d6 - Browse repository at this point
Copy the full SHA 67d09d6View commit details -
headers: Move headers to rimage namespace
Because there is possibility to reference headers from this repo from another one, there is a need to put every header into rimage namespace. Otherwise reference to headers from duplicated namespace (like kernel) from external repo may be ambiguous. Update guard ifdef/define/endif sequence value, to make it more unique Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 116e141 - Browse repository at this point
Copy the full SHA 116e141View commit details -
headers: Use full path to header
Path added to include should end at 'include' as usual, then it is easy to see where specific headers comes from during reading source code. It is especially important for projects composed from a few parts, like firmware, driver, build and debug tools in this project. Moreover changed "" to <> in include directives because there is specified full path to file from project include root and to be aligned with code style from firmware repository, Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f3f2d7 - Browse repository at this point
Copy the full SHA 9f3f2d7View commit details
Commits on Jun 16, 2020
-
cmake: use CMAKE_BUILD_TYPE and default to Debug
Unlike hardcoded target_compile_options(-g) can be overriden from the command line, from the parent ExternalProject_Add(CMAKE_ARGS) (tested) or from a CMake GUI (not tested). Default to Debug because the time spent running rimage is negligible compared to building the image to sign and because the time saved learning CMake when it crashes can be huge for some people. BTW -O2 -g is rarely ever useful. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4348e2a - Browse repository at this point
Copy the full SHA 4348e2aView commit details -
rimage.c: add assert(image.adsp->write_firmware[_meu])
This makes the write_firmware NULL pointer added by commit dd77445 and corresponding crash more user-friendly. Before: Program received signal SIGSEGV, Segmentation fault. After: rimage: src/rimage.c:197: main: Assertion `image.adsp->write_firmware' failed. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2156dcb - Browse repository at this point
Copy the full SHA 2156dcbView commit details
Commits on Jul 14, 2020
-
manifest: set feature mask to 0xffff
This feature is not used by SOF anyway and only causes FW load failures, we can set it to 0xffff so it will work for ADL+ platforms. Signed-off-by: Janusz Jankowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7317f2a - Browse repository at this point
Copy the full SHA 7317f2aView commit details
Commits on Sep 16, 2020
-
toml: Add TOML parsing library as git submodule
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29ed0da - Browse repository at this point
Copy the full SHA 29ed0daView commit details -
adsp: Refactor machine searching
This part should be moved to separate function, to allow easily add another way of machine description. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 210009c - Browse repository at this point
Copy the full SHA 210009cView commit details -
manifest: Export man_write_fw_vX_Y() to global context
Exported function will be used in configuration parser, to assign correct function version depending on manifest versiony Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f654d53 - Browse repository at this point
Copy the full SHA f654d53View commit details -
config: Add configuration file parsing interface
This allow to add new platform with old version of rimage tool. Default values are easily to define for any fields, so fields duplication in config files should be reduced. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de1b0f7 - Browse repository at this point
Copy the full SHA de1b0f7View commit details -
toml: Add platform configuration files
Given config files may be used as template for new platforms. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a94e12d - Browse repository at this point
Copy the full SHA a94e12dView commit details -
Used platform should be defined by config file, given in -c option. Double ways of defining platform may lead to missalignement, so old way should be removed. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2965908 - Browse repository at this point
Copy the full SHA 2965908View commit details
Commits on Sep 18, 2020
-
toml: Add version information in verbose mode
It allows to assure right version of chosen headers during reading logs in verbose mode. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dab9730 - Browse repository at this point
Copy the full SHA dab9730View commit details -
toml: Add adsp_file_ext attributes parsing
This field left without possibility to set value from config file. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3169dbd - Browse repository at this point
Copy the full SHA 3169dbdView commit details -
toml: manifest: Clear manifest allocated on heap before use
Memory clear allows to easily set seserved/padding fields to zero. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3ead75 - Browse repository at this point
Copy the full SHA d3ead75View commit details -
Set right write function. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9759df - Browse repository at this point
Copy the full SHA e9759dfView commit details
Commits on Sep 22, 2020
-
toml: Use only standard error codes
Error codes like ENOKEY and EBADE are not provide for all windows toolchains, so to immit possible build errors, some more standard error codes should be used. Detailed error message is printed in stderr, so end user still will be well informed about error source. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6dcf1b6 - Browse repository at this point
Copy the full SHA 6dcf1b6View commit details -
travis: Add more warnings to make command
Warnings may point some fatal error in source code. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b2398a - Browse repository at this point
Copy the full SHA 3b2398aView commit details -
travis: Treat warnings as errors
Then each warning message should be addressed. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4e0178 - Browse repository at this point
Copy the full SHA f4e0178View commit details
Commits on Sep 23, 2020
-
Stop silently discarding -l option
Commit https://github.com/thesofproject/soft/commits/59d81995f6828 added an -l option (for --liam? :-) which was never implemented. Remove it because silently discarding user input is really not nice no matter how wrong it is. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82d4767 - Browse repository at this point
Copy the full SHA 82d4767View commit details -
rimage.c: print an error instead of crashing when zero ELF argument
Also rename elf_argc to first_non_opt because it's a position, not a count. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91bd4fe - Browse repository at this point
Copy the full SHA 91bd4feView commit details -
elf.c: check ELF32-LE magic number instead of crashing
Passing a 64 bits ELF file by accident (for instance: '/usr/bin/openssl' while messing up the command line options) caused an interesting cascade of errors and memory corruption which are all caught in this commit. This doesn't make rimage fuzz-proof far from it; only fool-proof which is still useful. In passing add some quotes so the error message when failing to find the SHT_NULL section with an empty name is a little bit more readable. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75f9695 - Browse repository at this point
Copy the full SHA 75f9695View commit details -
adsp_config.c: actually check error when parsing "version" array elem…
…ents Caveat: this was just reported by valgrind. I did not test any actual toml parsing error either (who tests error handling?) but this code can't be worse than the previous one. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e67d68e - Browse repository at this point
Copy the full SHA e67d68eView commit details
Commits on Sep 24, 2020
-
travis: Use $(...) instead
...
in bash scriptsIt's encouraged to use version with $(...). Backtick command substitution `...` is legacy syntax with several issues. 1. It has a series of undefined behaviors related to quoting in POSIX. 2. It imposes a custom escaping mode with surprising results. 3. It's exceptionally hard to nest. ~https://github.com/koalaman/shellcheck/wiki/SC2006 Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e29baaa - Browse repository at this point
Copy the full SHA e29baaaView commit details -
Checkpatch is a tool which checks patch code style alignment with Linux kernel code. By the way print short graphs of used commits, to show whats under test. Checkpatch call is precede by `set -x`, to show used arguments values, especially checked commits range. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fccf521 - Browse repository at this point
Copy the full SHA fccf521View commit details
Commits on Oct 15, 2020
-
manifest.c: assert buffer overflow in man_copy_sram()
Does not solve thesofproject#3423 but converts a buffer overflow and crash into a more usable assert. Buffer overflow found by running rimage with valgrind and the binaries provided by @singalsu Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7322c02 - Browse repository at this point
Copy the full SHA 7322c02View commit details -
Merge pull request thesofproject#28 from marc-hb/copy-sram-overflow
manifest.c: assert buffer overflow in man_copy_sram()
Configuration menu - View commit details
-
Copy full SHA for 37323fa - Browse repository at this point
Copy the full SHA 37323faView commit details
Commits on Oct 19, 2020
-
hash: Assert memory overflow during hash calculation
ri_sha*() functions are often called with arguments calculated on the fly, so at list basic assertion here may save debugging time in the future. Cast size to uint64_t to properly handle nagative sizes, casted to uint32_t in argument list. Otherwise, sum size and offset may overflow uint32_t and don't trigger assert. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86754c1 - Browse repository at this point
Copy the full SHA 86754c1View commit details -
pkcs1_5.c: intermediate named constants in ri_manifest_sign_v1_x()
As suggested by Karol in the review of the next commit. Makes the function call shorter and naming the parameters makes the code much more readable. Can help for debugging too. Absolutely zero change: the two CMAKE_BUILD_TYPE=Release rimage binaries before and after this commit are actually identical. In passing, replace void * arithmetic in that function with char *. void * arithmetic is an actually illegal gcc extension (not just "undefined"). Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e87db0f - Browse repository at this point
Copy the full SHA e87db0fView commit details -
pkcs1_5.c: don't pretend everything is fine when failing to sign
Found by chance and reproduced by making a typo in the key's filename. Note there is already an (unchanged) error message: pkcs: signing with key sof/keys/otc_private_key_3k.pemX error: can't open file sof/keys/otc_private_key_3k.pemX -2 Firmware manifest and signing completed ! But now rimage does not pretend success and the build does not keep going with an unsigned image like nothing happened. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9cf1ae - Browse repository at this point
Copy the full SHA b9cf1aeView commit details -
toml: Extract version parsing to separate function
This task is fully separatable from adsp_parse_config_fd(), so should be done in separate function, to improve code readability. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c98a29d - Browse repository at this point
Copy the full SHA c98a29dView commit details -
toml: Keep available manifest parsers in list
This approach allows to easily expand parsers list in future, without harming code readability. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8249abf - Browse repository at this point
Copy the full SHA 8249abfView commit details
Commits on Oct 22, 2020
-
gitignore: Add checkpatch temporary file to gitignore
Any generated file should be tracked by git to keep repositiry clean. Such an file should be added to .gitignore to reduce possibility of accidentally pushig this file to remote branches, eg. after typing `git add *` before pushing changes. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d2af68 - Browse repository at this point
Copy the full SHA 0d2af68View commit details
Commits on Nov 16, 2020
-
README: install is optional and missed "sudo". CMake 3.13 -B option.
Also show useful "make help" that lists all targets. Show -B option of CMake that avoids changing the current directory to the build directory: especially inconvenient considering the recommended, CMake way to clean is to delete this directory and the recommended way to build multiple configurations is to use multiple build directories. -B was introduced in CMake 3.13 which has been released two years ago now and CMake spoils its users with a choice of ways to upgrade: https://cmake.org/download/ https://apt.kitware.com/ https://pypi.org/project/cmake/ This does _not_ imply CMakeLists.txt should drop backward compatibility with CMake < 3.13. I only think a README.md file should not keep the majority of users in the dark only for the convenience of a minority of obsolete CMake users. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0fa661 - Browse repository at this point
Copy the full SHA f0fa661View commit details -
config: tgl: fix CSE offsets for TGL
Now aligns with actual offsets. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6cf696 - Browse repository at this point
Copy the full SHA d6cf696View commit details -
css: add css header for cavs v2.5
Header contests are the same but with bigger key. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48ba01e - Browse repository at this point
Copy the full SHA 48ba01eView commit details -
cse: add simple crc32 function to calculate the v2.5 header checksum
Add simple crc32 function to calculate the checksum for v2.5 headers. Implementation is very simple using shift register as we don't require speed. Calculate the v2.5 header checksum with crc-32/iso-hdlc parameters. Signed-off-by: Jaska Uimonen <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8478c03 - Browse repository at this point
Copy the full SHA 8478c03View commit details -
manifest: Add cavs2.5 structures and offsets
cavs2.5 has different offsets and structures. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e9952f - Browse repository at this point
Copy the full SHA 7e9952fView commit details -
user: manifest: add macros for SHA385 modulus length
Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c3f8e2 - Browse repository at this point
Copy the full SHA 0c3f8e2View commit details -
pkcs: Add PSS signing mechanism for CAVS2.5
Add RSA PSS signing support for CAVS 2.5 platforms. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df20485 - Browse repository at this point
Copy the full SHA df20485View commit details -
hash: make module_sha384_create non static.
Used by other clients now. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f84676f - Browse repository at this point
Copy the full SHA f84676fView commit details -
plat_auth: use cavs 2.5 plat auth offsets
cavs2.5 has different offsets for plat auth data. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68b3693 - Browse repository at this point
Copy the full SHA 68b3693View commit details -
cavs: add support for cavs2.5 code signing
cavs 2.5 uses a larger key and the RSA signing PSS mode. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db40934 - Browse repository at this point
Copy the full SHA db40934View commit details -
manifest: cavs25: Add support for ext data type 0x16
This type was used by early versions of meu, but the hash is not used in later versions. Leave the code in in case it has to come back. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c1c09c - Browse repository at this point
Copy the full SHA 1c1c09cView commit details -
verify: add signature verification support
Add support to verify signatures of cavs firmware binaries. Signed-off-by: Liam Girdwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b7c192 - Browse repository at this point
Copy the full SHA 7b7c192View commit details
Commits on Dec 7, 2020
-
config: merge icl and jsl toml file
ICL and JSL is same DSP with differnt HW config. They can share same toml file Signed-off-by: Pan Xiuli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e29db4 - Browse repository at this point
Copy the full SHA 2e29db4View commit details -
config: add tgl-h toml file to support tglh build
Add tgl-h toml file to support sof-tgl-h.ri binary build Signed-off-by: Pan Xiuli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1f91ef - Browse repository at this point
Copy the full SHA d1f91efView commit details
Commits on Jan 6, 2021
-
pkcs_v1_5_sign_man_v2_5(): add "salt length" comment
This comment is meant for "git grep salt", that's its main purpose. Much more obvious timestamps aside, this new code is the only non-deterministic part of rimage - learned the very hard way (OpenSSL "documentation" calls it "sLen"...) A/B testing of build system changes is much, much easier when locally and temporarily making the build 100% deterministic. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0dba230 - Browse repository at this point
Copy the full SHA 0dba230View commit details
Commits on Mar 9, 2021
-
minor -h fix: -s meu_offset disables rimage signing
It wasn't exactly obvious who does what. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d641a7 - Browse repository at this point
Copy the full SHA 0d641a7View commit details
Commits on Apr 21, 2021
-
rimage: add cavs fw layout support
Add support of cavs extended manifest and modules. Now we will have another config tgl-cavs for tgl. Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbb49e0 - Browse repository at this point
Copy the full SHA dbb49e0View commit details
Commits on Apr 27, 2021
-
ext_man: Fix memory leak after manifest build
sec_buffer allocated inside elf_read_section() was not being freed before and is freed now. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c44aef - Browse repository at this point
Copy the full SHA 6c44aefView commit details -
Function parameters should be separated by ', '. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 994ee24 - Browse repository at this point
Copy the full SHA 994ee24View commit details
Commits on May 5, 2021
-
config: Fix 'module' parsing error messages
'key' argument must describe 'key' which triggered error message to keep stderr output helpful. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0297c67 - Browse repository at this point
Copy the full SHA 0297c67View commit details
Commits on May 19, 2021
-
adsp_config: fix out of bounds error
cppcheck find Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f42ee8 - Browse repository at this point
Copy the full SHA 8f42ee8View commit details -
ext_manifest: cppcheck: refactor to silence false positive
memory clearly has exit path through argument, factor out temporary variable to silence cppcheck Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cca9bf - Browse repository at this point
Copy the full SHA 1cca9bfView commit details -
found via cppcheck Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7764a8b - Browse repository at this point
Copy the full SHA 7764a8bView commit details -
actions: add cppcheck and yamllint
CI saves lives Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f45b61 - Browse repository at this point
Copy the full SHA 6f45b61View commit details
Commits on May 26, 2021
-
Issue detected by Klocwork Signed-off-by: Slawomir Blauciak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aeb95b - Browse repository at this point
Copy the full SHA 5aeb95bView commit details
Commits on Jul 2, 2021
-
config: tgl: change image_size to the real SRAM size
We have 46 bank HP and 1 bank LP SRAM on TGL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e50a02 - Browse repository at this point
Copy the full SHA 9e50a02View commit details -
config: tgl-h: change image_size to the real SRAM size
We have 30 bank HP and 1 bank LP SRAM on TGL-H, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8073ea3 - Browse repository at this point
Copy the full SHA 8073ea3View commit details -
config: icl: change image_size to the real SRAM size
We have 47 bank HP and 1 bank LP SRAM on ICL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f52a078 - Browse repository at this point
Copy the full SHA f52a078View commit details -
config: jsl: change image_size to the real SRAM size
We have 16 bank HP and 1 bank LP SRAM on JSL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1de9ccc - Browse repository at this point
Copy the full SHA 1de9cccView commit details -
config: cnl: change image_size to the real SRAM size
We have 47 bank HP and 1 bank LP SRAM on CNL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a2ea00 - Browse repository at this point
Copy the full SHA 8a2ea00View commit details -
config: apl: change image_size to the real SRAM size
We have 8 bank HP and 2 bank LP SRAM on APL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a26e45 - Browse repository at this point
Copy the full SHA 9a26e45View commit details
Commits on Jul 21, 2021
-
config: tgl-cavs: change image_size to the real SRAM size
Apply "config: tgl: change image_size to the real SRAM size" (9e50a02) to tgl-cavs Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 580e4d6 - Browse repository at this point
Copy the full SHA 580e4d6View commit details -
config: sue: change image_size to the real SRAM size
We have 47 bank HP and 1 bank LP SRAM on Suecreek, change the toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44b37d1 - Browse repository at this point
Copy the full SHA 44b37d1View commit details
Commits on Jul 23, 2021
-
config: kbl: change image_size to the real SRAM size
We have 30 bank HP and 2 bank LP SRAM on KBL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c9e07c - Browse repository at this point
Copy the full SHA 9c9e07cView commit details -
config: skl: change image_size to the real SRAM size
We have 30 bank HP and 2 bank LP SRAM on SKL, change to toml config file to reflect that. Signed-off-by: Keyon Jie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 246ea64 - Browse repository at this point
Copy the full SHA 246ea64View commit details
Commits on Jul 26, 2021
-
config: add rn toml file to support renoir build
Add rn toml file to support sof-rn.ri binary build Signed-off-by: Basavaraj Hiregoudar <[email protected]> Signed-off-by: Anup Kulkarni <[email protected]> Signed-off-by: balapati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1553e9 - Browse repository at this point
Copy the full SHA d1553e9View commit details
Commits on Jul 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b28b993 - Browse repository at this point
Copy the full SHA b28b993View commit details
Commits on Jul 29, 2021
-
Add imx8ulp toml file to support sof-imx8ulp.ri binary build. Signed-off-by: Zhang Peng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9716e10 - Browse repository at this point
Copy the full SHA 9716e10View commit details
Commits on Aug 27, 2021
-
adsp_config: fix potential overflow in strtol()
This patch fixes the potential overflow which may happen during conversion of signed long. On a platforms where signed long is only 32 bits the address which is stored in temp_s will experience overflow. Signed-off-by: Marcin Rajwa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aea1969 - Browse repository at this point
Copy the full SHA aea1969View commit details -
rimage: Add support for mt8195
Add mt8195.toml to support sof-mt8195.ri binary build. Add mt8195 memory layout Add mt8195 machine_id Signed-off-by: YC Hung <[email protected]> Signed-off-by: Allen-KH Cheng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9bf46d3 - Browse repository at this point
Copy the full SHA 9bf46d3View commit details
Commits on Aug 31, 2021
-
config: Remove unused adsp structs
After commit 2965908 "manifest: Remove -m option" those structs are unused. ADSP configuration comes from toml configuration files. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 916fc2c - Browse repository at this point
Copy the full SHA 916fc2cView commit details -
config: Remove machine_id field
This enum value is used only to distinguish suecreek from other platforms, which can be done also by platform name. Manual enumeration, in separate toml files with manual synchronization in enum definition is quite error prone. After commit 9bf46d3: "rimage: Add support for mt8195" and 9716e10: "config: Add imx8ulp.toml" there are two different platform with the same enum value 15 specified, which proves such a thesis. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4a7456 - Browse repository at this point
Copy the full SHA c4a7456View commit details -
config: Adjust return type with function name
Function with `parse_uint32` should return uint32_t value Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de9177b - Browse repository at this point
Copy the full SHA de9177bView commit details -
config: Explicit state return value for error cases in parse_uint32_*…
… functions Developer should know what is ther return value for error cases. Improved doxydoc may be used eg. by IDE to speed-up code development. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ada30c1 - Browse repository at this point
Copy the full SHA ada30c1View commit details -
config: Return error value in parse_uint32_* functions when key is no…
…t found Return value, for error case should be unified. For those functions, default error value is UINT32_MAX. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e20076 - Browse repository at this point
Copy the full SHA 3e20076View commit details
Commits on Sep 1, 2021
-
rimage: Fix error message content after adsp malloc fail
Message should reflect error root cause. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc4d7b8 - Browse repository at this point
Copy the full SHA fc4d7b8View commit details -
config: Remove unused, platform specific, memory region definitions
After commit 916fc2c: "config: Remove unused adsp structs" those defines are unused. Signed-off-by: Karol Trzcinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dcfcef8 - Browse repository at this point
Copy the full SHA dcfcef8View commit details
Commits on Sep 6, 2021
-
pkcs: quote the name of key file when logging it
This makes is more obvious when the filename is empty, which happened in bug thesofproject#4711 Also prefix identical log statements with their different __func__ names. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4823e87 - Browse repository at this point
Copy the full SHA 4823e87View commit details
Commits on Sep 14, 2021
-
ext_manifest: Fix incorrect signature
This patch changes the incorrect signature of extended manifest to the correct one "$AE1" Signed-off-by: Marcin Rajwa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 241af31 - Browse repository at this point
Copy the full SHA 241af31View commit details -
This patch removes the unnecessary and unscalable -x option. This option aims to add an offset to the .data section of its parent .module section. This is horrible idea because this offset will vary depend on the compiler used. It is better and much easier to just store only the .data section so the offset is always 0. Signed-off-by: Marcin Rajwa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9faf85 - Browse repository at this point
Copy the full SHA a9faf85View commit details
Commits on Sep 17, 2021
-
README.md: explain how to run SOF tests on new rimage code
Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e22944 - Browse repository at this point
Copy the full SHA 6e22944View commit details -
Do not exit(0) on invalid options or parameters
When some automation script gets some rimage flag wrong then rimage exits and does not run at all. In such a case we want the build to fail immediately and see the error at the bottom of the build logs and not obscured by other, consecutive failures caused by the lack of rimage output. Take control of the exit code away from usage() and give it back to main() where it belongs. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d7f2d4 - Browse repository at this point
Copy the full SHA 0d7f2d4View commit details -
Revert "ext_manifest: Fix incorrect signature"
This reverts commit 241af31 so the DSP can boot again. On my APL UP2 this fixes: 10:06:38: 00:0e.0: unstall/run core: core_mask = 1 10:06:38: 00:0e.0: DSP core(s) enabled? 1 : core_mask 1 10:06:38: 00:0e.0: FW Poll Status: reg[0x4c]=0x40000000 successful 10:06:38: 00:0e.0: FW Poll Status: reg[0x4]=0x3030202 successful 10:06:38: 00:0e.0: FW Poll Status: reg[0x4]=0x1010202 successful 10:06:38: 00:0e.0: DSP core(s) enabled? 0 : core_mask 2 10:06:38: 00:0e.0: FW Poll Status: reg[0x80000]=0x5000001 successful 10:06:41: 00:0e.0: FW Poll Status: reg[0x80000]=0x80000007 timedout 10:06:41: 00:0e.0: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read 10:06:41: 00:0e.0: FW Poll Status: reg[0x160]=0x140000 successful 10:06:41: 00:0e.0: ------------[ DSP dump start ]------------ 10:06:41: 00:0e.0: unknown ROM status value 80000007 10:06:41: 00:0e.0: error: extended rom status: 0x80000007 0x2f 0x0 0x0 \ 0x0 0x0 0x1522100 0x0 10:06:41: 00:0e.0: ------------[ DSP dump end ]------------ 10:06:41: 00:0e.0: error: load fw failed ret: -110 10:06:41: 00:0e.0: error: failed to start DSP 10:06:41: 00:0e.0: error: failed to boot DSP firmware -110 10:06:41: 00:0e.0: FW Poll Status: reg[0x4]=0x1d003c timedout 10:06:41: 00:0e.0: error: hda_dsp_core_reset_enter: timeout on \ HDA_DSP_REG_ADSPCS read 10:06:41: 00:0e.0: error: dsp core reset failed: core_mask 3 10:06:41: probe of 0000:00:0e.0 failed with error -110 Test PR thesofproject#4782 show this commit broke the DSP boot on ALL platforms https://sof-ci.01.org/sofpr/PR4782/build10387/devicetest/ ``` [ 7.798750] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: invalid firmware signature [ 7.798827] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: invalid FW header [ 7.798943] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: failed to load DSP firmware -22 [ 7.810348] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: sof_probe_work failed err: -22 ``` This also broke QEMU boot on a number of platforms: BDW, BYT and CHT, see `error: invalid firmware signature` in https://sof-ci.01.org/sofpr/PR4782/build10387/boottest/ and https://github.com/thesofproject/sof/pull/4782/checks?check_run_id=3634915322 How was it tested? Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8960097 - Browse repository at this point
Copy the full SHA 8960097View commit details
Commits on Sep 22, 2021
-
README.md: add warning that forks must be created using Github
Otherwise the SHA1 is not found and the rest of the process fails. Problem discovered in thesofproject#4790 (comment) Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c038d62 - Browse repository at this point
Copy the full SHA c038d62View commit details
Commits on Oct 5, 2021
-
css.c: add __func__ to "completing manifest" log
This is useful to show which one of the 3 duplicated functions runs. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c66aa9 - Browse repository at this point
Copy the full SHA 0c66aa9View commit details
Commits on Oct 26, 2021
-
cmake: drop '3' from -Wimplicit-fallthrough=3, it's the default value
From the gcc documentation: '-Wimplicit-fallthrough' '-Wimplicit-fallthrough' is the same as '-Wimplicit-fallthrough=3' and '-Wno-implicit-fallthrough' is the same as '-Wimplicit-fallthrough=0'. clang supports only the number-less option. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecb9212 - Browse repository at this point
Copy the full SHA ecb9212View commit details -
cmake: drop binutils-specific '-Wl,-EL' option
Fixes clang failure: clang: error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] -EL has an effect only when using OUTPUT_FORMAT or --oformat but rimage uses neither. The binaries produced by ld version 2.34 are strictly identical before and after this removal. It is not clear why -EL was ever added. It was added to src/Makefile.am by commit 0d33e87 and to src/CMakeLists.txt by commit 4e3ead0 but these commits were initial additions of the entire files and they did not get into detail. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bcbcec7 - Browse repository at this point
Copy the full SHA bcbcec7View commit details
Commits on Nov 16, 2021
-
rimage: add functionality to resign fw image
Add function to resign already signed images. This can be done with switch "q" as follows: "rimage -q sof-tgl.ri -o sof-tgl-mod.ri -c tgl.toml -k key.pem" Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd51ec1 - Browse repository at this point
Copy the full SHA bd51ec1View commit details
Commits on Dec 1, 2021
-
rimage: refactor and add openssl 3.0 support
Refactor the signing and verification functions as they have a lot of duplicated code and adding openssl 3.0 support without refactor would make things even more messy. 1) Add common "rimage_read_key" to read the key from file. 2) Variate most important functionality based on different openssl versions: - rimage_check_key - rimage_set_modexp - rimage_sign - rimage_verify - rimage_get_key_size Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c23242 - Browse repository at this point
Copy the full SHA 3c23242View commit details
Commits on Dec 2, 2021
-
manifest: fix buffer init in resign
Set buffer to NULL to prevent freeing bogus memory in error case. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f64a20 - Browse repository at this point
Copy the full SHA 0f64a20View commit details
Commits on Dec 8, 2021
-
x param was removed from switch case but not from getopt. So if you use x rimage silently fails on the switch case. Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32052ad - Browse repository at this point
Copy the full SHA 32052adView commit details
Commits on Jan 12, 2022
-
cse: fix signed integer overflow
literals are signed by default, so shifting them 32 times is an overflow, found via cppcheck Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23a53ac - Browse repository at this point
Copy the full SHA 23a53acView commit details -
rimage: fix openssl 1.0 support
cppcheck gives errors from openssl 1.0 related code that has some old churn and should be fixed, so fix it. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b4b142 - Browse repository at this point
Copy the full SHA 3b4b142View commit details
Commits on Jan 14, 2022
-
Remove unused declaration of global platform specific manifests
Such a global variables does not exists, so should not be declared. It has been deprecated since: 2965908 (manifest: Remove -m option) Signed-off-by: Trzcinski, Karol <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8753a9e - Browse repository at this point
Copy the full SHA 8753a9eView commit details
Commits on Jan 17, 2022
-
adsp_config: fix invalid format specifier
This patch fixes an invalid format specifier that causes a numeric value to be interpreted as a string, resulting in an Segmentation fault. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce69d7b - Browse repository at this point
Copy the full SHA ce69d7bView commit details
Commits on Jan 21, 2022
-
Update to C99 standard to match SOF. Silenced warning generated by ne…
…west GCC compiler related to int cast of char typed values that may result in negative values. Syntax fix in linkage of crypto library to more generic approach.
Configuration menu - View commit details
-
Copy full SHA for ecb6a66 - Browse repository at this point
Copy the full SHA ecb6a66View commit details
Commits on Jan 31, 2022
-
Remove unconditional "(1 || verbose)" debug hack in cavs25
This is especially a problem considering the -v option outputs non-ASCII garbage which can break some automation, see issue thesofproject#86 Fixes commit db40934 ("cavs: add support for cavs2.5 code signing") Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d855fbf - Browse repository at this point
Copy the full SHA d855fbfView commit details -
Fix confusion in headers between uint8_t arrays and strings
Strings are null terminated, byte arrays not always. Fixes garbage in debug output issue thesofproject#86 Add new parse_printable_key() function that takes a uint8_t * argument instead of char *. Casting the argument on almost every call was a clear indication of the problem. Add new DUMP_PRINTABLE_BYTES() to printf uint8_t arrays _and_ their _optional_ padding. No change to the .ri output, bit for bit identical. Here's an example of how the -v output is fixed: ```diff mem_zone.host_offset: 0x0 cse - partition_name: 'ADSPADSP.man' + partition_name: ADSP header_version: 1 entry_version: 1 nb_entries: 3 - entry.name: 'ADSP.man' + entry.name: ADSP.man\x00\x00\x00\x00 entry.offset: 0x58 entry.length: 0x378 - entry.name: 'cavs0015.met' + entry.name: cavs0015.met entry.offset: 0x400 entry.length: 0x60 - entry.name: 'cavs0015' + entry.name: cavs0015\x00\x00\x00\x00 entry.offset: 0x480 entry.length: 0x0 @@ -140,7 +132,7 @@ exponent_size: 1 signed_pkg - name: 'ADSP' + name: ADSP vcn: 0 svn: 0 fw_type: 0 @@ -161,17 +153,17 @@ bitmap: 0 bitmap: 0 bitmap: 0 - meta.name: 'cavs0015.met^C^B ' + meta.name: cavs0015.met meta.type: 0x3 meta.hash_algo: 0x2 meta.hash_size: 0x20 meta.meta_size: 96 partition_info - name: 'ADSP' + name: ADSP part_version: 0x10000000 instance_id: 1 - module.name: 'cavs0015.met^C' + module.name: cavs0015.met module.meta_size: 0x60 module.type: 0x3 @@ -186,7 +178,7 @@ fw_desc.header header_id: '$AM1' - name: 'ADSPFW' + name: ADSPFW\x00\x00 preload_page_count: 0 fw_image_flags: 0x0 feature_mask: 0xffff ``` Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d006212 - Browse repository at this point
Copy the full SHA d006212View commit details
Commits on Feb 2, 2022
-
Fixed warning of wrong variable type in fprintf
Fixed warning where variable passed to fprintf was of type size_t and fprintf expected format of long int. Signed-off-by: Andrey Borisovich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1589641 - Browse repository at this point
Copy the full SHA 1589641View commit details -
Added handling of OpenSSL on Windows with MSYS2
Added new MSYS_INSTALL_DIR variable that points to MSYS2 installation for Windows users. It is used to include POSIX native headers from /usr/include also required openssl headers. Signed-off-by: Andrey Borisovich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee5c3e1 - Browse repository at this point
Copy the full SHA ee5c3e1View commit details
Commits on Feb 8, 2022
-
Add mt8186.toml to support sof-mt8186.ri binary build Signed-off-by: Allen-KH Cheng <[email protected]> Signed-off-by: Tinghan Shen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05be213 - Browse repository at this point
Copy the full SHA 05be213View commit details
Commits on May 9, 2022
-
Write firmware file micro version to manifest for cAVS platforms
SOF CMake can extract FW file version from latest git tag and defines SOF_MAJOR, SOF_MINOR and SOF_MICRO for 3 version fields. But rimage only gets major and minor version from SOF CMake and writes them into the standard firmware manifest header of cAVS platforms. This patch make rimage also get the micro version from SOF CMake, and write it to the unused hotfix_version field of manifest header. This update will enable sof_ri_info.py to dump entire file version from a FW binary for cAVS platforms. So we can check if a FW release candidate is built from the correct git tag. Signed-off-by: mengdonglin <[email protected]> update
Configuration menu - View commit details
-
Copy full SHA for 9d45332 - Browse repository at this point
Copy the full SHA 9d45332View commit details
Commits on May 23, 2022
-
config: add rmb toml file to support rembrandt build
Add rmb toml file to support sof-rmb.ri binary build Signed-off-by: Balakishorepati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b233f6 - Browse repository at this point
Copy the full SHA 1b233f6View commit details
Commits on May 26, 2022
-
Add ACE 1.5 set of functions to support v3.0 manifest Signed-off-by: Krzysztof Frydryk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c484d99 - Browse repository at this point
Copy the full SHA c484d99View commit details -
config: Add toml config for mtl
This patch will add mtl support Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af947cb - Browse repository at this point
Copy the full SHA af947cbView commit details -
mtl: Add ASRC module to the manifest
Added ASRC module to config/mtl.toml Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe4dcaa - Browse repository at this point
Copy the full SHA fe4dcaaView commit details -
adsp_config: fix name parsing error in parse_signed_pkg_ace_v1_5
Fix name parsing error in parse_signed_pkg_ace_v1_5 Signed-off-by: Krzysztof Frydryk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ba3d17 - Browse repository at this point
Copy the full SHA 8ba3d17View commit details
Commits on Jun 17, 2022
-
rimage: fix openssl 3.0 support in ver25 signing
Fix a misunderstanding with openssl APIs and don't "double sign" the binary. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73a9d7c - Browse repository at this point
Copy the full SHA 73a9d7cView commit details -
rimage: ace signing functions need openssl 3.0 guards
Ace signing functions need guards for not to use deprecated openssl functions and thus fail the compilation. Openssl3 implementation needs to be done as the added stub now returns just -EINVAL. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02abc5d - Browse repository at this point
Copy the full SHA 02abc5dView commit details
Commits on Jun 21, 2022
-
mtl: Add SRC module to the manifest
Added SRC module to config/mtl.toml. Signed-off-by: Krzysztof Frydryk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 452847d - Browse repository at this point
Copy the full SHA 452847dView commit details
Commits on Jun 24, 2022
-
toml: add tgl-h config file for IPC4
tgl-h target is missing the IPC4 toml config file, so add it. tgl-h-cavs.toml is a direct copy from tgl-cavs.toml, only the image size has been changed. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12bb327 - Browse repository at this point
Copy the full SHA 12bb327View commit details
Commits on Jun 28, 2022
-
External libraries can contain processing module code or common library code. Library manager need to distinguish between both type of modules for proper loading. Signed-off-by: Jaroslaw Stelter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5504179 - Browse repository at this point
Copy the full SHA 5504179View commit details
Commits on Jul 1, 2022
-
Add MicSel config int mtl.toml Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d94cfc9 - Browse repository at this point
Copy the full SHA d94cfc9View commit details
Commits on Jul 20, 2022
-
manifest max size for loadable modules
Library manager during loading modules needs manifest max size Signed-off-by: Dobrowolski, PawelX <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d50aefc - Browse repository at this point
Copy the full SHA d50aefcView commit details
Commits on Aug 11, 2022
-
mtl: Add UPDWMIX module to the manifest
Added Up Down Mixer module to config/mtl.toml Increased modules count. Signed-off-by: Arsen Eloglian <[email protected]>
Arsen Eloglian authored and AEloglian committedAug 11, 2022 Configuration menu - View commit details
-
Copy full SHA for 6b4848e - Browse repository at this point
Copy the full SHA 6b4848eView commit details
Commits on Aug 30, 2022
-
config: tgl-cavs: add probe module
Add probe module to tgl-cavs config Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b076f1 - Browse repository at this point
Copy the full SHA 5b076f1View commit details -
config: tgl-h-cavs: add probe module
Add probe module to tgl-h-cavs config Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 542924d - Browse repository at this point
Copy the full SHA 542924dView commit details -
Add probe module to mtl config Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb28357 - Browse repository at this point
Copy the full SHA fb28357View commit details
Commits on Sep 9, 2022
-
manifest: add fw_ver_micro to manifest
Pass fw_ver_micro value to manifest. Signed-off-by: Damian Nikodem <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1b6e6d - Browse repository at this point
Copy the full SHA a1b6e6dView commit details
Commits on Sep 28, 2022
-
rimage: make ace15 signing to support openssl3
Ace signing is currently missing openssl3 support, so let's add it. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d957e03 - Browse repository at this point
Copy the full SHA d957e03View commit details
Commits on Oct 10, 2022
-
mux: add mux cfg to list of modules
No mux in the manifest Signed-off-by: Kwasowiec, Fabiola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dcfd11b - Browse repository at this point
Copy the full SHA dcfd11bView commit details
Commits on Oct 13, 2022
-
error: invalid type /error: key 'module' parsing error Signed-off-by: Kwasowiec, Fabiola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f4a36e - Browse repository at this point
Copy the full SHA 1f4a36eView commit details -
probe: mtl.toml invaliv probe type
error: invalid type 16error: key 'module' parsing error probe module type is 10,which is treated hexally Signed-off-by: Kwasowiec, Fabiola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ee717e - Browse repository at this point
Copy the full SHA 3ee717eView commit details
Commits on Nov 8, 2022
-
Add KD module config Signed-off-by: Ievgen Ganakov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85a2d1e - Browse repository at this point
Copy the full SHA 85a2d1eView commit details -
Add KPB module config Signed-off-by: Ievgen Ganakov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6623073 - Browse repository at this point
Copy the full SHA 6623073View commit details
Commits on Nov 22, 2022
-
rimage: remove incorrect module order check
The original check for "i - 1 == type" is used to make sure that all modules in toml file are in order from 0 to max continuously. But the problem is that some modules are not supported now or some modules share the same module type of efx, so this check is incorrect. Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f51ff46 - Browse repository at this point
Copy the full SHA f51ff46View commit details -
Currently some module types are incorrect and it was set by the change sequence. The module type is used by windows driver not Linux driver. It is defined in the following enum definition in cavs_ext_manifest.h. UpDwMix module type is 5, Mux is 6 kpb is 11, and Selector is 12. The module ASRC, GAIN, PROBE are type of efx (9) according to spec. enum mod_type { ebasefw = 0, emixin, emixout, ecopier, epeakvol, eupdwmix, emux, esrc, ewov, efx, eaec, ekpb, emicselect, efxf, /*i.e.SmartAmp */ eaudclass, efakecopier, eiodriver, ewhm, egdbstub, esensing, emax, einvalid = emax } ; Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe5b959 - Browse repository at this point
Copy the full SHA fe5b959View commit details
Commits on Nov 25, 2022
-
Add src's params to rimage Signed-off-by: Gongjun Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65f345a - Browse repository at this point
Copy the full SHA 65f345aView commit details
Commits on Dec 15, 2022
-
Add mt8188.toml to support sof-mt8188.ri binary build. Signed-off-by: Tinghan Shen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 082b626 - Browse repository at this point
Copy the full SHA 082b626View commit details
Commits on Dec 21, 2022
-
config: tgl-cavs: add smart amp test module config
This patch adds module config for smart amp test module. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c48208 - Browse repository at this point
Copy the full SHA 1c48208View commit details
Commits on Jan 4, 2023
-
Add a command line option to set an Intel-specific PV bit
Add a '-p' command line flag to set Intel reserved bit in IMR area. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bdba825 - Browse repository at this point
Copy the full SHA bdba825View commit details -
The IMR type can be specified either in the TOML configuration file or on the command line. The command line value should override the one from the configuration file. But the current code overwrites the configuration file value with the default value even if no value has been specified on the command line, which is wrong. Fix this by using the default value when reading the configuration file and only overwriting it when the respective command line parameter is used. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3eef3c - Browse repository at this point
Copy the full SHA f3eef3cView commit details -
Fix bitmap according to the IMR type
When the IMR type is set to 4, the default bitmap field thesofproject#4 must be 0x10. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba8534b - Browse repository at this point
Copy the full SHA ba8534bView commit details
Commits on Jan 24, 2023
-
config: tgl-cavs: add fir and iir eq module config
This patch adds module config for fir and iir eq module. Signed-off-by: Jaska Uimonen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bdf48ee - Browse repository at this point
Copy the full SHA bdf48eeView commit details
Commits on Feb 1, 2023
-
config: align module_type with mtl for tgl and tgl-h
The module_type member in module config should be assigned according to the mod_type enum. Previously, for tgl and tgl-h, it is assigned in an incremental way, which is wrong. MTL assigns module_type in the correct way, so align the module_type with mtl for tgl and tgl-h in this patch. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc7d49d - Browse repository at this point
Copy the full SHA bc7d49dView commit details -
config: correct module config load_type
The load_type in extended manifest is used to indicate if a module is a built-in module(0) or a loadable(1) module. We don't have loadable module yet, so load_type should be zero for all modules. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3da7739 - Browse repository at this point
Copy the full SHA 3da7739View commit details -
config: mtl: add smart amp test module config
This patch adds smart amp test module config for mtl. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bc3cfc - Browse repository at this point
Copy the full SHA 7bc3cfcView commit details
Commits on Feb 9, 2023
-
Convert all ELF addresses to cached for calculations
Rimage calculates sizes of ELF sections, for which it has to use addresses from the same address space: either all cached or all uncached. The ELF image itself can contain mixed addresses. Convert all to cached for internal calculations. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec649f3 - Browse repository at this point
Copy the full SHA ec649f3View commit details -
src: adsp_config: Use reserved bits for module init config
Use some of the reserved bits to add a new field, init_config, in struct sof_man_module_type. This will be used to specify the type of payload that the module expects. For now, the 2 options are to have the base config only or the base config with an extension that contains the pin formats. This can be extended in the future to support additional options for modules that need more than the base config or base config + extension. Signed-off-by: Ranjani Sridharan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15ea481 - Browse repository at this point
Copy the full SHA 15ea481View commit details -
config: tgl-cavs: set init_config for smart test
Smart amp needs the base config extension during init. Signed-off-by: Ranjani Sridharan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5d7622 - Browse repository at this point
Copy the full SHA b5d7622View commit details -
config: mtl: Set init_config for smart amp
Smart amp needs the base config extension during module init. Signed-off-by: Ranjani Sridharan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d48ae7a - Browse repository at this point
Copy the full SHA d48ae7aView commit details
Commits on Feb 10, 2023
-
Fix regression - make default return code an error
A recent commit ec649f3 ("Convert all ELF addresses to cached for calculations") had a bug: it assumed a call to parse_uint32_hex_key() for an absent key would return an error by default, which isn't the case. To force it set the default return code to an error value. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for def9d51 - Browse repository at this point
Copy the full SHA def9d51View commit details -
config: set cached and uncached aliases for affected platforms
Set cached and uncached address aliases for all Intel ADSP platforms, supported by Zephyr. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b507ec - Browse repository at this point
Copy the full SHA 9b507ecView commit details -
config:tgl/tglh: Do not set cached/uncached address aliases
tgl.toml and tgl-h.toml are only used for xtos builds. Suggested-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Ranjani Sridharan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e0a85b - Browse repository at this point
Copy the full SHA 1e0a85bView commit details
Commits on Feb 14, 2023
-
Don't convert ROM addresses to cached aliases
We don't include ROM sections into the output image. If conversion is applied to them, they end up in the SRAM address range, which then generates corrupted images. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3863e94 - Browse repository at this point
Copy the full SHA 3863e94View commit details -
config: mtl: set KDTEST module_type to 8
KDTEST module_type should be 8 Signed-off-by: Libin Yang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf23b5e - Browse repository at this point
Copy the full SHA bf23b5eView commit details -
config: tgl-cavs: add kpb, selector and kd support
Add KPB, Selector and KD module config Signed-off-by: Libin Yang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb9c880 - Browse repository at this point
Copy the full SHA cb9c880View commit details -
adsp_config: make the default value zero for init_config
The init_config is used to indicate if base config extension is used (1) or not (0). Its default value is used if not specified in module config, the default value for init_config should be zero instead of one. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffd0542 - Browse repository at this point
Copy the full SHA ffd0542View commit details -
adsp_config: add dump for init_config
This patch adds dump for init_config for debug. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d48ad6b - Browse repository at this point
Copy the full SHA d48ad6bView commit details
Commits on Feb 16, 2023
-
config: mtl: set init_config for micsel
The micsel module will use base config extension, init_config should be one for it. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3aa199f - Browse repository at this point
Copy the full SHA 3aa199fView commit details
Commits on Feb 23, 2023
-
In image re-signing mode or if there are no input files, the memory allocated for heap_adsp was not released. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0931d9c - Browse repository at this point
Copy the full SHA 0931d9cView commit details
Commits on Feb 24, 2023
-
toml_utils: adsp_config: Moved generic parser functions to toml_utils
A set of functions which make it easier to parse toml files has been separated into a new file. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fed69d4 - Browse repository at this point
Copy the full SHA fed69d4View commit details
Commits on Feb 27, 2023
-
file_utils: manifest: ext_manifest: Add new create_file_name function
A new function create_file_name has been created that prepares the name of the output file with the given extensions. Unlike the previous solution, it checks whether the new name will fit in the output buffer. A new file_utils.c file has been prepared, into which generic functions to simplify the use of files will be moved. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 055ea7e - Browse repository at this point
Copy the full SHA 055ea7eView commit details -
file_utils: Add a new get_file_size function
The get_file_size function allows to conveniently get the size of the file. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a64cb9 - Browse repository at this point
Copy the full SHA 6a64cb9View commit details -
manifest: Use the get_file_size function
Simplified retrieval of file size by using the function get_file_size. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98c7f7b - Browse repository at this point
Copy the full SHA 98c7f7bView commit details -
elf: Use the get_file_size function
Simplified retrieval of file size by using the function get_file_size. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36c0c90 - Browse repository at this point
Copy the full SHA 36c0c90View commit details -
Module type is interpreted as hex number Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ebbd65 - Browse repository at this point
Copy the full SHA 5ebbd65View commit details -
toml_utils: Adding support for decimal numbers in hex parser
Modified the strtoul function parameter to automatically recognize the value format. This will avoid the situation when a decimal value is parsed as hexadecimal. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4ca53c - Browse repository at this point
Copy the full SHA a4ca53cView commit details
Commits on Mar 2, 2023
-
ext_manifest: Fix fw_ext_man_cavs_header version
The version fields in the fw_ext_man_cavs_header structure describe version of the structure itself, not the image. The correct version number has been set. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ce1cc8 - Browse repository at this point
Copy the full SHA 9ce1cc8View commit details -
misc_utils: Move byte_swap function to new misc_utils.c file
This function will be used in different places in the code, so I moved it to a separate file. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93c5e8b - Browse repository at this point
Copy the full SHA 93c5e8bView commit details -
Prepared a new set of functions for computing digest with error handling. The hash context has been placed into a separate structure. This allows to conveniently pass the calculated digest along with its length and used algorithm. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bd8be3 - Browse repository at this point
Copy the full SHA 2bd8be3View commit details -
manifest: pkcs1_5: Use new hash functions
Switched to use new hash functions. The parameter list for the rimage_sign and rimage_verify functions has been simplified. The necessary information is now included in the hash_context structure. In addition, code fragments that may be common to different versions of the manifest have been separated. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d258ea2 - Browse repository at this point
Copy the full SHA d258ea2View commit details -
hash: Remove old hash functions
Removed currently unused functions. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c7a151 - Browse repository at this point
Copy the full SHA 6c7a151View commit details -
rimage: Removed hash context from image structure
Fields related to hash computing have been removed from the image structure. Removed openssl headers from rimage.h, which made it necessary to add some missing includes in several files. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fad356 - Browse repository at this point
Copy the full SHA 6fad356View commit details
Commits on Mar 6, 2023
-
mtl: add eq-iir and fir support
Port from tgl-cavs.toml Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35bc644 - Browse repository at this point
Copy the full SHA 35bc644View commit details -
Recent changes introduce build error, fix the build error. Signed-off-by: Chao Song <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5bc2010 - Browse repository at this point
Copy the full SHA 5bc2010View commit details -
mtl: add Aria module to extended manifest
Add ARIA module to MTL extended manifest. Signed-off-by: Przemyslaw Blaszkowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d32db50 - Browse repository at this point
Copy the full SHA d32db50View commit details
Commits on Mar 8, 2023
-
file_utils: Removed duplicated function descriptions
Functions are already described in the header file. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd15443 - Browse repository at this point
Copy the full SHA dd15443View commit details -
file_utils: Add file_error function
Added a generic function that displays a file operation error message. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32a5388 - Browse repository at this point
Copy the full SHA 32a5388View commit details -
Use file_error function to print file related errors
Added error handling where it was missing. According to the documentation, the fseek function returns a non-zero value on error. The conditions for checking this value have been corrected. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4aacac3 - Browse repository at this point
Copy the full SHA 4aacac3View commit details -
file_utils: Fix error detection in get_file_size function
The fseek function returns -1 to signal an error. Return value was assigned to a variable without a sign, so the error could not be detected. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 125745b - Browse repository at this point
Copy the full SHA 125745bView commit details
Commits on Mar 17, 2023
-
Revert "config:tgl/tglh: Do not set cached/uncached address aliases"
Now that rimage can distinguish between Zephyr and XTOS builds, we can use memory alias specifiers with both. This reverts commit 1e0a85b. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 343b6d8 - Browse repository at this point
Copy the full SHA 343b6d8View commit details
Commits on Mar 21, 2023
-
cAVS: add alias definitions to cAVS 1.5-2.0
cAVS 1.5, 1.8 and 2.0 are supported by Zephyr, their configurations need alias definitions. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63eb6ff - Browse repository at this point
Copy the full SHA 63eb6ffView commit details
Commits on Apr 3, 2023
-
config: tgl-h-cavs: align modules to tgl-cavs config
Update the list of modules to match that of "tgl-cavs". Signed-off-by: Kai Vehmanen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bf447c - Browse repository at this point
Copy the full SHA 1bf447cView commit details -
lnl: Add LNL configuration file
Add base LNL config derived from MTL. Signed-off-by: Jaroslaw Stelter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01fd742 - Browse repository at this point
Copy the full SHA 01fd742View commit details -
Change of uuid regarding Windows compatibility Signed-off-by: Kwasowiec, Fabiola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9643a98 - Browse repository at this point
Copy the full SHA 9643a98View commit details
Commits on Apr 5, 2023
-
elf: Add header guard to elf.h
Added header guard in elf.h file to allow safe include this header by multiple units. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2177e5 - Browse repository at this point
Copy the full SHA b2177e5View commit details -
manifest: Check return value of man_create_modules
The man_create_modules function may return an error that was ignored. Added check of a return value. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9633c3b - Browse repository at this point
Copy the full SHA 9633c3bView commit details -
Remove unused dram_offset field / config option
There was no dram_offset value in any configuration file. It also wasn't used anywhere in the code. So the code reading it from the tolm file has been removed. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c210183 - Browse repository at this point
Copy the full SHA c210183View commit details -
misc_utils: Added functions to print enum and flags value
Added name_val structure representing name/value tuple. Added function print_enum which displays the name of the enum corresponding to a given value. Added print_flags function which display names of flags constituting a given value. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d209160 - Browse repository at this point
Copy the full SHA d209160View commit details -
rimage: adsp_config: Create new memory_config structure.
Moved mem_zone field from adsp structure to the new memory_config structure Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9ecb00 - Browse repository at this point
Copy the full SHA b9ecb00View commit details -
rimage: Moved memory alias configuration to a new struct
A new memory_alias structure containing memory address alias configurations has been created. It was placed in the memory_config structure. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ecae53 - Browse repository at this point
Copy the full SHA 9ecae53View commit details -
rimage: manifest: Rename struct module to manifest_module
Changing the name of the structure type is a prelude to separating information about the elf file from the information used during creation of a manifest. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99195d2 - Browse repository at this point
Copy the full SHA 99195d2View commit details -
manifest_module: rename fw_size to output_size
Changed the name of the fw_size variable to a more clear one and added a description. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7367fdf - Browse repository at this point
Copy the full SHA 7367fdfView commit details -
manifest_module: Add is_bootloader field
A is_bootloader field has been added to determine whether a module is a bootloader. This is clearer than checking the module index and the number of modules in different places in the program. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bda0c5 - Browse repository at this point
Copy the full SHA 1bda0c5View commit details -
rimage: Add suport for loadable modules
A new -l parameter has been added to the program's command line. It instructs the program to not treat the first module as a bootloader and not to skip the bss section for it. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e3abe6 - Browse repository at this point
Copy the full SHA 6e3abe6View commit details -
manifest: Move MAN_MAX_SIZE_V1_8 define to the public manifest header
Currently, sof incorrectly includes a private manifest.h header belonging to the manifest.c module. Moved the MAN_MAX_SIZE_V1_8 definition used by sof, to the public manifest header to allow sof to switch to using the correct file. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for debf4cf - Browse repository at this point
Copy the full SHA debf4cfView commit details -
manifest: Use module manifest from toml as a template for elf modules
The manifest for elf modules is read from their .module section. The modules configuration parsed from a toml file was completely ignored. After this change, the parsed configuration is treated as a template for the module manifest. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25804e7 - Browse repository at this point
Copy the full SHA 25804e7View commit details
Commits on Apr 6, 2023
-
Fix: Use module manifest from toml as a template for elf modules
Some platforms (eg. tgl) dont have modules configuration in a toml files. An attempt to use the configuration template ended with a reference to a null pointer. This commit fixes this issue. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab0429f - Browse repository at this point
Copy the full SHA ab0429fView commit details
Commits on Apr 26, 2023
-
cmake: remove "install" target
The deleted "install" target copied only the rimage executable and left the config files behind. This gave the wrong impression that the executable is useful without config files. "Installing" also gave the wrong impression that rimage versions are somewhat stable and relatively independent of SOF versions: they're not. In fact there is no such thing as an rimage "version": everyone should always use the exact rimage _git commit_ from the west manifest or git submodule. There are no rimage "releases" and no semantic versioning or anything like it, rimage is effectively part of the SOF source and build and run directly from its build directory by practically every SOF developer and SOF CI thanks to sof/src/arch/xtensa/CMakeLists.txt#ExternalProject_Add(rimage_ep ... sof/scripts/xtensa-build-zephyr.py#def build_rimage() sof/zephyr/CMakeLists.txt#set(RIMAGE_CONFIG_PATH ... etc. Providing an "install" target greatly increases the chances of different people and CIs using different rimage versions which is the last thing we want considering the many significant rimage changes happening right now, examples: - zephyrproject-rtos/zephyr#56099 - zephyrproject-rtos/zephyr#54700 - thesofproject#7270 - thesofproject#7304 - thesofproject#7320 - thesofproject/rimage#155 While it's useful for multiple files (e.g.: config files), a CMake target was always overkill to copy a single file. Someone or some script who really wants to copy the rimage binary to some other place that the build directory for some (discouraged) reason _can still do so_ with a much more basic, simpler and more transparent file copy command. Finally, the default "bin" DESTINATION required root access which is otherwise totally unncessary to build SOF. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77d4a2a - Browse repository at this point
Copy the full SHA 77d4a2aView commit details
Commits on Apr 27, 2023
-
Config: Change SRCINTC for tgl-cavs.toml and tgl-h-cavs.toml to LL
The SRC should be a normal LL component, it can process 1 ms blocks of audio in real-time. The domain_types = "1" is for DP scheduling that is not enabled currently in Zephyr configuration. It causes a pipeline prepare fail when a topology contains SRC. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for acd8a2b - Browse repository at this point
Copy the full SHA acd8a2bView commit details -
Config: Change indent for SRCINTC
This patch removes one unnecessary tab from section for SRCINTC. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f250a9 - Browse repository at this point
Copy the full SHA 8f250a9View commit details
Commits on May 25, 2023
-
README.md: remove "install" target
Fixes commit 77d4a2a ("cmake: remove "install" target") Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ea1327 - Browse repository at this point
Copy the full SHA 1ea1327View commit details
Commits on May 30, 2023
-
file_simple: Allocate correct buffer size for writing sections out
The original size given to the "calloc" call did not account for the necessity to pad section sizes to a multiple of 4 bytes. As such, every time we wrote a section that did not have a size multiple of 4 we would overflow the allocated buffer. Fix the calloc call to account for that padding requirement. Signed-off-by: Paul Olaru <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 649b0a6 - Browse repository at this point
Copy the full SHA 649b0a6View commit details
Commits on Jun 1, 2023
-
Change of uuid regarding Windows compatibility Signed-off-by: Jaroslaw Stelter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ce79b1 - Browse repository at this point
Copy the full SHA 4ce79b1View commit details
Commits on Jul 4, 2023
-
Config: Add Aria module to tgl-cavs.toml and tgl-h-cavs.toml
This patch adds Aria module for TGL and TGL-H platforms. The used configuration data is copy from mtl.toml. This change allows to use Aria component in topologies. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 089157d - Browse repository at this point
Copy the full SHA 089157dView commit details -
config: add vangogh toml file to support vangogh build
Add vangogh toml file to support sof-vangogh.ri binary build Signed-off-by: SaiSurya, Ch <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4877720 - Browse repository at this point
Copy the full SHA 4877720View commit details
Commits on Jul 12, 2023
-
rimage.c: fix bug where -p requires a new and ignored parameter
Fixes commit 6e3abe6 ("rimage: Add suport for loadable modules") It looks like that commit mistook the `:` sign as a separator. This accidentally added the requirement to give `-p` a parameter which is then ignored. Remove the spurious `:`. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa0ac9e - Browse repository at this point
Copy the full SHA aa0ac9eView commit details
Commits on Jul 26, 2023
-
Config: Add DRC component to TGL, TGL-H, MTL, LNL
This patch allows to load the DRC component. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8ee1aa - Browse repository at this point
Copy the full SHA b8ee1aaView commit details -
Config: Fix comment typo for EQ FIR module
The comment for FIR module entry is corrected. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af9a2fe - Browse repository at this point
Copy the full SHA af9a2feView commit details
Commits on Jul 31, 2023
-
We removed them from the main repo, lets remove them here too. Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d20f1d8 - Browse repository at this point
Copy the full SHA d20f1d8View commit details -
style: trailing whitespace is the root of all evil
Signed-off-by: Curtis Malainey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c84400 - Browse repository at this point
Copy the full SHA 8c84400View commit details
Commits on Aug 11, 2023
-
Config: Add crossover component for TGL and TGL-H cAVS platforms
The configuration is for now copy from IIR, name and UUID are changed. The init_config is set to 1 to let kernel know that the base_cfg_ext is passed to firmware. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c809af8 - Browse repository at this point
Copy the full SHA c809af8View commit details
Commits on Aug 25, 2023
-
config: lnl+mtl: fix length of ADSP.man CSE manifest
The ADSP.man contents is different for ACE_V1_5 layout compared to CAVS_V2_5 layout. so the ADSP.man length should be adjusted accordingly. With this fix, sof_ri_info.py can be used to analyze LNL and MTL firmware images created with rimage. Closes: thesofproject#8073 Signed-off-by: Kai Vehmanen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fb9fe0 - Browse repository at this point
Copy the full SHA 4fb9fe0View commit details
Commits on Aug 28, 2023
-
Config: Add crossover component for MTL and LNL platforms
This PR adds the crossover component for MTL and LNL. The parameters are copied from TGL and TGL-H configuration of crossover. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43eb2a4 - Browse repository at this point
Copy the full SHA 43eb2a4View commit details -
mtl: add measured cps and cpc values
Add CPS and CPC consumptions for given modules Signed-off-by: Krzysztof Frydryk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c183ce2 - Browse repository at this point
Copy the full SHA c183ce2View commit details -
mtl: fill in subsequent measured cps and mcps data
Fill in measured cps consumption data for: mixin, mixout, copier, peakvol, gain, src, updwnmixer for a range of supported formats. Signed-off-by: Krzysztof Frydryk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 352f01f - Browse repository at this point
Copy the full SHA 352f01fView commit details -
mtl: fill in cps and cpc data for ASRC module
Fill in measured cps consumption data for ASRC module for various formats. Signed-off-by: Krzysztof Frydryk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 476d636 - Browse repository at this point
Copy the full SHA 476d636View commit details -
mtl: fill in cps and cpc data for smart_amp_test module
Fill in measured cps consumption data for SMATEST module Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fea2a30 - Browse repository at this point
Copy the full SHA fea2a30View commit details -
mtl: fill in cps and cpc data for EQIIR module
Fill in measured cps consumption data for EQIIR module Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a36634 - Browse repository at this point
Copy the full SHA 4a36634View commit details -
mtl: fill in cps and cpc data for COPIER & GAIN modules
Fill in measured cps consumption data for COPIER & GAIN modules Signed-off-by: Adrian Bonislawski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bcf1fc - Browse repository at this point
Copy the full SHA 8bcf1fcView commit details
Commits on Sep 5, 2023
-
Config: Add Multiband-DRC component to TGL, TGL-H, MTL, LNL
This patch allows to load the Multiband-DRC component. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8b380d - Browse repository at this point
Copy the full SHA e8b380dView commit details
Commits on Sep 7, 2023
-
Config: Add DCblock to TGL, TGL-H, MTL, and LNL
This patch enables load of the DC blocker component. Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bc2958 - Browse repository at this point
Copy the full SHA 7bc2958View commit details
Commits on Sep 26, 2023
-
elf_file: Set of new functions for reading elf files
A structure was created to represent a file, a section and a strings section. Created a new functions to read a elf file, retrieve a section header based on index or name, read a section contents based on a header or name, retrieve section name and functions that print file, section and program headers. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f47509 - Browse repository at this point
Copy the full SHA 5f47509View commit details -
module: Set of a new functions to parse modules
A structure was created to represent the module, module section and section informations. Added a set of new functions for parsing a module and reading its contents. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 539c2b3 - Browse repository at this point
Copy the full SHA 539c2b3View commit details -
Switch to new elf reader and module parse functions.
Moved the module information to the new module structure. Used new functions to parse module. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7155327 - Browse repository at this point
Copy the full SHA 7155327View commit details -
Removed elf.c file that is no longer in use. Signed-off-by: Adrian Warecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fc431b - Browse repository at this point
Copy the full SHA 4fc431bView commit details
Commits on Sep 29, 2023
-
ipc4: add google rtc AEC support for mtl
Signed-off-by: Rander Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d89b7d2 - Browse repository at this point
Copy the full SHA d89b7d2View commit details
Commits on Oct 2, 2023
-
Congfig: Add TDFB to TGL, TGL-H, MTL, and LNL
This patch enables load the of Time domain fixed beamformer (TDFB). Signed-off-by: Seppo Ingalsuo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac487e0 - Browse repository at this point
Copy the full SHA ac487e0View commit details
Commits on Oct 5, 2023
-
rimage: move everything down to subdir tools/rimage/, prepare move to…
… sof Preparation to move everything back into the https://github.com/thesofproject/sof/ repo, see thesofproject#8178 for details. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5f3ed9 - Browse repository at this point
Copy the full SHA b5f3ed9View commit details
Commits on Oct 9, 2023
-
Merge full rimage.git history back into tools/rimage/ subdir of sof.git
Merge full rimage.git history back into tools/rimage/ subdir of sof.git thanks to: git merge --allow-unrelated-histories rimage-repo/main Also list incoming tools/rimage/tomlc99 16000 gitlink in sof/.gitmodules to avoid breaking all git submodule commands. This MUST be done as part of this merge commit to avoid git submodule errors and preserve git bisectability. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fe87be - Browse repository at this point
Copy the full SHA 4fe87beView commit details -
Clean just inherited tools/rimage/.gitmodules file (for tomlc99)
.gitmodules files have no effect unless they're at the top-level. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99206de - Browse repository at this point
Copy the full SHA 99206deView commit details -
Add new sof/tools/rimage/tomlc99 submodule to west.yml too
Add it both as a git submodule and west submodule to minimize disruption. The current focus is on rimage and that's a dramatic enough change; one problem at at time. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b31875 - Browse repository at this point
Copy the full SHA 9b31875View commit details -
Switch Zephyr build to new sof/tools/rimage location
Switch away from the independent rimage submodule. Long story in thesofproject#8178 and others. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f55338a - Browse repository at this point
Copy the full SHA f55338aView commit details -
Switch smex and sof-logger to new sof/tools/rimage location
Switch away from the independent rimage submodule. Long story in thesofproject#8178 and others. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 157457c - Browse repository at this point
Copy the full SHA 157457cView commit details -
cmake: switch XTOS build to sof/tools/rimage
Switch away from the independent rimage submodule. Long story in thesofproject#8178 and others. Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98ee39f - Browse repository at this point
Copy the full SHA 98ee39fView commit details -
Delete old rimage submodule and old rimage west module
Signed-off-by: Marc Herbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e330fb4 - Browse repository at this point
Copy the full SHA e330fb4View commit details