aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-04Update README how to contributeKristofer Jonsson
Change-Id: I6bee45982a088a1db993a524d9d75c3a95a0d851
2022-10-25Add list of files to be ignored from inclusive language scanning22.11-rc1Ledion Daja
Change-Id: I3aaae60a3fc6a270f479b837d4b10029505bce2c
2022-10-25Add support for ARMCompiler 6.19Jonny Svärd
See Release Notes for ARMCompiler 6.19 for more information about the _sys_tmpnam change. Change-Id: Icf05d4c59d7fc6aed437744edd017447450da9cd
2022-10-19Ethos-U PMU monitorKristofer Jonsson
Add Python script demonstrating how to download performance data from device. Write baremetal PMU events to Event Recorder ring buffer and increase the systick sample rate. Change-Id: Ib73c56100a8de2d7b74c455d8f80cda0b59383da
2022-10-18Configure write-through caching for Corstone-310 BRAMKristofer Jonsson
Change-Id: I5e0fc2ecbbf416ca07be6b9d65e989c1c116b219
2022-09-30Fix cmake CMAKE_SYSTEM_PROCESSOR string matchesLedion Daja
To avoid unwanted matches of regexps, example: "cortex-m3" matches string "cortex-m33", several string MATCHES have been reworked. Change-Id: Ifa7982d82a8f02154f373b1c6f058aa98c6ad3e0
2022-09-29Place code segement in BRAMKristofer Jonsson
Use .ANY1 and .ANY2 to place code with highest priority in ITCM and lower priority in BRAM. Change-Id: Ia335dabb451181bfaf26fc1a7a57cd8196a00912
2022-09-19Move LSTM kernel to BRAMKristofer Jonsson
Change-Id: Id0244bb35236d0b04732e3fddbaa472686c63483
2022-09-13Remove CMake workaround for Arm ClangLedion Daja
Previous version of CMake did not allow CMAKE_SYSTEM_PROCESSOR to contain CPU features for Arm Clang toolchain. A workaround was added to manually strip the CPU features. Recent versions of CMake have removed this limitation and instead requires the toolchain to manually add -mcpu=<CPU+features>, which means that the workaround can be removed. Change-Id: Ie7f493a0dd9771eedf23e87db7a371fae4ec9bb9
2022-09-08Add test message handler to be used for testingDavide Grohmann
It is like message handler but it does not process any inferences. They are simply queue and never executed. Change-Id: I131c3c779b616e82d650ff03e3723dc607de58bf
2022-08-25Add message_handler tests for inference cancellationDavide Grohmann
Change-Id: Ifdacc47024250e34549d45377795501c371c69f5
2022-08-25Add negative testing to message_handlerDavide Grohmann
Also restructure the scatter file to not be constrained of the artificial 512k size limit of the APP_IMAGE region. Add missing sections in DDR for both scatter file and linker script. Change-Id: I3d9bc8aeae1b1c11ab994276be64a2850cc23f8e
2022-08-24Skip ThreadX application for NPU configs other than ethos-u55-128Ledion Daja
Change-Id: I19a30e3b8a8fc5c0c4db301cf98e61f0b1fb48e8
2022-08-23Fix wrong assertion in test for Ethos-U6522.08Davide Grohmann
Both version_major and version_minor for the U65 hw are set to 0, so we cannot test that they are greater than 0. So simply test that version_status is set instead. Change-Id: Ia2ac15a18c4865bdd3501c2645f644ca210d1ee1
2022-08-17Make sure that unused symbols are dropped when using GCC22.08-rc2Davide Grohmann
Add compiler and linker options to add each symbols in its own section so unused one can be dropped. Also adds missing noexcept Change-Id: I9143ae5865c4a071c6e09d14eb08ce3069b4b2db
2022-08-17Add first set of tests for the message_handlerDavide Grohmann
Covering inference runs and other utility messages. Change-Id: I95958a9e5902fde2003c870c78e0b0f2e8cd7968
2022-08-17Generalize test models to be reusedDavide Grohmann
Change-Id: I47705cfde2788fa74f8bbcd07100188e4690dbf2
2022-08-16Fix: compile message_handler_lib with correct flagsDavide Grohmann
Link core_driver as PUBLIC so the ETHOSU define is exported. Change-Id: I8900c11cc1a17ec37b8666131079a5a49875c73f
2022-08-15Updating Tensorflow to 2.9.0Kristofer Jonsson
Change-Id: Id5faecc7e348780237decf31d1195870264f32cc
2022-08-10Increase stack for ThreadX demo22.08-rc1Kristofer Jonsson
Change-Id: I7346b6e57e2579baf44840957e67d870922a5fe8
2022-08-09Revert "Corstone-310 FVP update"Davide Grohmann
This reverts commit de1a9f6e9bdd2243c4158789834ef21ee94fc31c. Change-Id: I9cc6ba7d595a0606254bf9116517be6095eb5470
2022-08-03Corstone-310 FVP updateKristofer Jonsson
Updating scripts to support next release of Corstone-310 FVP. Change-Id: Idb13d8caa9954524d11aa0aa14c812e3c4d6b89d
2022-06-28Bug fix for queue capacity calculationKristofer Jonsson
Reduce queue capacity by one byte, else it will not be possible to distinguish between an empty and full queue. Change-Id: I872e1eeac31bf2ee8682c1340776d56396c00ff7
2022-06-28Initialize padding for core message queuesKristofer Jonsson
Change-Id: Iebf79869216a6f2e24b307e3c9b2273887fb3864
2022-06-20Disable Timing Adapters for Corstone-310Henrik Hoglind
The Timing Adapters are disabled until a proper configuration exists. Change-Id: I3f44c74f9b11e1c032522c0fda448b9779ddc43f
2022-06-20Update npu config for corstone-310Henrik Hoglind
The NPU config used for Corstone-310 is Ethos-U55-256. Change-Id: I386a8541ebe38b1dde4a0d3cf050e56c287815a1
2022-06-15Improve documentationLedion Daja
- added instruction about adding FVP executables into PATH environment variable - removed leading space from markdown table which caused faulty view in Gitiles - reworked description of run_platform.py script - replaced SVG with PNG images to support rendering in Gitiles Change-Id: I2f0b242138fff64b7ebc78f9ce6d76c3ef8a8e5b
2022-06-13Documenting porting guidelinesKristofer Jonsson
Change-Id: Icefe078200f9a6a497b410e6c713d80fb9db1ba0
2022-06-13Refactor message_handler app to be more test friendlyDavide Grohmann
Fix importing indexed models, the inclusion of header files was not working. Change-Id: Idab7e002abc31f57acc4eda6a2f1cf2defdfd5c4
2022-06-13Fix: add missing ethosu_core_*_queue mapping in scatter fileDavide Grohmann
To match the GNU ld definitions. This also solves a problem with scatter loading when data is compressed (seen in message_handler). Change-Id: I50a27d1cb0ff9fd96f84ecf41b7f21c8306b03d1
2022-06-10Fix: add missing sections to dram in corstone-300Davide Grohmann
Change-Id: Ice51d9ab1ca828576b104b61bc86ed1918bdd878
2022-05-24Bugfix for tarmac traces being always enabled22.05-rc322.05Jonny Svärd
Change-Id: Ide11895f0ce96d48d14210253c25d2ac624cf856
2022-05-19Updating Tensorflow to 2.8.022.05-rc2Kristofer Jonsson
Change-Id: I12ac4f1bcfc7302deaa3b1074ea843e878641cce
2022-05-19Handle network indices out of rangePer Åstrand
Check that getting the network succeeds before parsing the the buffer to avoid hardfault. Change-Id: I582412fb0e7459bf45fdb790df2d48401c1a2d0b
2022-05-19Move taskparams out of main stackPer Åstrand
FreeRTOS resets the stack to the running tasks. Move the task parameters to avoid the parameters to be overwritten. Change-Id: Ib22b3d49451ea8c97c6faf24bafc8bf0952b38a9
2022-05-18Update documentation with new path of Vela INI config fileLedion Daja
Change-Id: I1dabf8f675fa47fc9096393a29810fc430e006dc
2022-05-17Silence irrelevant compiler notes about GCC ABI incompatibilitiesDavide Grohmann
There are ABI changes between GCC 6.x and 7.1 that make them incompatible, but that is not relevant here since all software is compiled with only one GCC version. Change-Id: If82f874162404bdedc9c2e93c3a8c7a6d648fde0
2022-05-12Add support for Cortex-M85Davide Grohmann
Rely on CMSIS code for initializing Cortex-M85 devices. Fallback to mcpu=cortex-m55 for gcc until support for cortex-m85 is available. Change-Id: I8b47563c3f0f44e35735a569f2abf8a308948e67
2022-05-12Update Python version in documentation22.05-rc1Kristofer Jonsson
The Python requirement has been relaxed to 3.7+. Change-Id: Ibee4a31af0b5a458163cfcd428d8ca0b8018e79e
2022-05-10Fix warning by adding missing delete operator functionsDavide Grohmann
Also override new/delete operators to call in FreeRTOS malloc/free in the freeRTOS example app. Change-Id: I08c0780c907e5fe90ccb1679869d3f41c87c2731
2022-05-09Update documentationKristofer Jonsson
Add documentation about how base addresses are used by the driver unit tests. Update message handler application to use TENSOR_ARENA_SIZE the same way as the FreeRTOS application. Add documenation about Corstone-310. Change-Id: I08a315b95ca757ce3449cb7af104b8f1ac7f8865
2022-05-09Removing Corstone-PolarisKristofer Jonsson
Removing target files for Corstone-Polaris. This target has been replaced by Corstone-310. Change-Id: Iecc13648859214bcfe74fbd4bd20b547359d162a
2022-05-09Add support for cancelling enqueued inferencesDavide Grohmann
If an enqueued inference is cancelled it is simply removed from the queue. Both a cancel inference response with status done and a inference response with status cancelled are sent back. Also override the new operators to call in the FreeRTOS allocator instead of malloc/free. Change-Id: I243e678aa6b996084c9b9be1d1b00ffcecc75bc9
2022-05-06Fix: length for scatter loading should be in words not in bytesDavide Grohmann
Divide by 4 the length in bytes to get length in words as expected by the CMSIS scatter loading implementation. Change-Id: I5d239e13739a578bd61dc0b594e3453e8dcdab4d
2022-05-05Remove power handling code from driver_unit_testsJonny Svärd
Change-Id: I3b58425cf502a1f5b66fc798337f0b76358790f1
2022-05-05Initial support for inference cancellationDavide Grohmann
Infransctrure work to being able to send back and forth requests and responses for inference cancellations. The implementation is stubbed to always fail in this commit. Change-Id: Id7848930b81a3f38fe6c05323ccca2edd6b5b5bf
2022-05-04Change return value of mutex and semaphore handling functionsLedion Daja
Changed mutex lock/unlock and semaphore take/give functions to return an int value instead of void. In addition changed FreeRTOS and message_handler applications (also FreeRTOS-based) to ignore failure of xSemaphoreGive on binary semaphores, as it does not affect the correctness of such applications. Change-Id: I023c62dc8971488107679f6dd7a5967dec0380a8
2022-05-02Avoid blocking calls in input message handler taskDavide Grohmann
Remove output queue and associated blocking calls. Instead write directly in the mailbox ring buffer. If inference queue is full do not block, instead bail out immeditely and send back a message with rejected status. Change-Id: Id08a39792791fe383f8c01bf28b07a293a49e9b0
2022-04-27Add installation target to the message_handler applicationPer Åstrand
Change-Id: Ic21cc7690b1533f2db849a73ac25a7976bf02d1f
2022-04-26Add Corstone-310 targetKristofer Jonsson
Change-Id: Idcb2238895668ee4858c2e858c02c6765f4b1702