aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2022-04-21Add simple async API testing to driver_unit_testsJonny Svärd
Change-Id: Iae5733efb40a8fd11e7108e93cc719f67b4f1be3
2022-04-12Extract inference parsing in a dedicated libraryDavide Grohmann
Change-Id: I2753434badec7c5af2c19a2b32e5e808131ba519
2022-04-05Fix: threadx demo app semaphore should be initlaized to count 0Davide Grohmann
Otherwise the core_driver won't wait for the actual interrupt signaling inference completed and exit immediately. Change-Id: Ibb413d19701f9add4fd8c16137dbe59de5868ea9
2022-04-04Enable IRQs after Incoming Message HandlerKristofer Jonsson
Interrups must be enabled after the Incoming Message Handler has been initialized, else we might loose interrupts that were enabled before the firmware booted up. Change-Id: I3c18c7ff4585329b54b18f7556757b2b3e8fbc35
2022-03-31Ensure message-handler can be compiled without EthosU supportDavide Grohmann
Change-Id: I1ae0b1fa6d3c559afd10772778c16002ae93cc63
2022-03-29Network infoKristofer Jonsson
Add message for fetching meta data about built in network models. Change-Id: I757094c20848d4cb018db68b0455297bb03be463
2022-03-11Firmware resident modelKristofer Jonsson
Support building a network model into the firmware binary. The model can be placed by a scatter file or linker script in for example a low lateny high bandwidth memory like SRAM. Change-Id: Ic742abed65e20f0da4ded7adefb039389b68b767
2022-03-03Update ld script for corstone-300Johan Alfvén
Make sure that BRAM data is stored with correct aligment in DDR. The BRAM data is copied from DDR by the .copy.table and if alignment is not correct the BRAM data will be corrupt. Change-Id: I0e8cd9d1ebdc9e8428ddcc9c842411ca40724740
2022-03-01Updating Tensorflow to 2.7.0 in requirements.txt22.02Kristofer Jonsson
Change-Id: I4c7ee5ff5ceb9c6ef2c5c8498bebe41b06e08290
2022-02-25Add CMake variable to pass arguments to ctest22.02-rc3Per Åstrand
This is needed in order to for example turn tarmac tracing on for the FVP running the tests. Change-Id: I6606134046c2e228d3fe06db41792e7403cd6ba8
2022-02-17Fixing compilation warnings in threadx demo appDavide Grohmann
Change-Id: Id765ba9adf9a2d134cc6cc0c04f9e6d7dada3657
2022-02-15Skip printing OFM with message_handler22.02-rc2Alexander Israelsson
Some networks have very big OFM which will completely fill the output buffer and hide more important information. The OFM is already saved as a file and does not need to be included in the output. Change-Id: I4174fd799ba2f31f187d5bf2718a92a19ecee5c1
2022-02-14README: Add section on how to specify NPU configJonny Svärd
Clarify that Python 3.8+ is a requirement Change-Id: I5fbfdc2e72e7cc75cae992ff2c9d308380838594
2022-02-11Fix compilation warningsDavide Grohmann
Change-Id: I57fed2a1b49a61822617b43a201a3125f566fd16
2022-02-10ThreadX demo app bug fix22.02-rc1Lior Dekel
Change-Id: I3f2f6732f8850e76971fad55035d829286d90a99
2022-02-08Updating baremetal modelsKristofer Jonsson
Change-Id: I18db0d2534882a75307b8af8dc572a91681b81e6
2022-02-04PMU begin and end eventsKristofer Jonsson
Restore print format for PMU output. Use begin and end events to enable the PMU cycle counter. Change-Id: Iaf2d9b78b031f34c0cde0296b4248dea38f19860
2022-02-02Replace deprecated word to comply with inclusive language guidelinesLedion Daja
Replace "master" word in the context of AXI protocol, with the recommended word "manager". Change-Id: If594db7ae96b3ad07afd156a8d788846f9bdb34d
2022-02-02Add PMU printsKristofer Jonsson
Update message handler application to output PMU counters to the log. Change-Id: Ib6002e7c0035d6736b58eed61a059553083348ce