sof/lmdk
Serhiy Katsyuba 7bd1953e63 lmdk: Fix linker script
Specifying 0 address for .module section results in few GB binary file.
Instead, put .module section near .text or .rodata.

Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
2024-08-05 18:56:56 +01:00
..
cmake lmdk: Fix linker script 2024-08-05 18:56:56 +01:00
include LMDK: Loadable Modules Dev Kit build scripts 2023-05-12 10:56:34 +02:00
libraries lmdk: dummy: Remove unused api version definitions 2024-02-19 14:31:09 +00:00
modules lmdk: Fix compilation of smart_amp_test example 2024-08-05 18:56:56 +01:00
README.md lmdk: Fix typo in README.md 2024-08-05 18:56:56 +01:00

README.md

Loadable Modules Dev Kit

TODO: add link to the documentation repo!

To build dummy loadable library execute:

cd libraries/dummy
cmake -B build -G <Ninja/Makefile> -DRIMAGE_INSTALL_DIR="path/where/rimage/executable/is" -DSIGNING_KEY="path/to/key"
cd --build build

Here RIMAGE_INSTALL_DIR is a path to directory where rimage executable is, SIGNING_KEY is a path to signing key for rimage. If RIMAGE_INSTALL_DIR is not provided, rimage will be searched for in the directory where SOF project installs it. Dummy module sets up toolchain file in the project file. However, in your library you can select toolchain file in the configure step command:

cmake -B build -G <Ninja/Makefile> --toolchain "../../cmake/xtensa-toolchain.cmake" -DSIGNING_KEY="path/to/key"