c8f1edfaa4
The block allocation algorithm, as implemented in _balloc(), is first trying to find a single free memory block to satisfy the request. If that fails it is then trying to allocate several blocks in a sequence. That part is implemented wrongly. It can end up allocating multiple such block sequences, and not using but leaking them instead. This patch first simplifies the search for a single suitable buffer, then fixes the leakage. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> |
||
---|---|---|
doc | ||
rimage | ||
scripts | ||
src | ||
test | ||
tools | ||
.gitignore | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
LICENCE | ||
README.md |
README.md
Sound Open Firmware
Status
Documentation
See docs
Prerequisites
- Docker
Build Instructions
-
Run
autogen.sh
-
Build and install the rimage ELF image creator and signing tool
./configure --enable-rimage
make
sudo make install
- Run the following configure based on your platform.
Baytrail :-
./configure --with-arch=xtensa --with-platform=baytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
Cherrytrail :-
./configure --with-arch=xtensa --with-platform=cherrytrail --with-root-dir=$PWD/../xtensa-root/xtensa-byt-elf --host=xtensa-byt-elf
Library for Host Platform :- If building library for host platform, run the following configure. Please modify the --prefix option to choose the directory for installing the library files and headers
./configure --with-arch=host --enable-library=yes --host=x86_64-unknown-linux-gnu --prefix=$PWD/../host-root/
-
make
-
make bin
End with an example of getting some data out of the system or using it for a little demo
Running the tests
See unit testing documentation
Deployment
Add additional notes about how to deploy this on a live system
Contributing
TODO?
License
This project is licensed under the BSD Clause 3 - see the LICENCE file for details