aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-19Update to HI 1.0.620.08-rc1Stefan Nannesson
Change-Id: I0f127f7460be2a5d2eda5be2868c91f58cac03c0
2020-08-12Add install target in the cmake scriptBhavik Patel
Change-Id: I44d6220ac488d2e67c0b6a8b005c8da0b9a67011
2020-08-11Set default log severity in headersKristofer Jonsson
Change-Id: Ia984092db29cc5f1294ecdcf5c2b6b744c6d32b2
2020-08-05Header cleanupKristofer Jonsson
Change-Id: I84754f316ce940917516cb7f5c59189f523d4095
2020-07-22MLBEDSW-2594 Initialize the Ethos-U before every jobBhavik Patel
This includes resetting the Ethos-U and restoring the previosuly saved PMU configuration (if any). Change-Id: Id952fb6fef513468952b6a469e857510f8c0214c
2020-07-17MLBEDSW-2596 Add support to set driver log severityBhavik Patel
The driver can log at one of the following levels: 0=emerg, 1=alert, 2=crit, 3=err, 4=warning, 5=notice, 6=info, 7=debug. The logs at or below the set level are printed whereas the higher level logs are not printed. Change-Id: I05a498d4c8c78112207187d9dceaa2386b138c5d
2020-07-03MLBEDSW-2378 Set NPU base address in ethosu_initBhavik Patel
Change-Id: I1145834000ff81d6e497a8fa77bf997478a80372
2020-07-02Move PMU functions from pmu_ethosu.h to ethosu_pmu.cBhavik Patel
This change is done as a prerequisite to be able to set base address for NPU through ethosu_init(). So instead of using a mamory mapped struct we use the same functions to read/write PMU registers as the rest of the ethos-u driver. Change-Id: Ie1f6e6af4627cbe9375e2b2d079ba8017b6294d3
2020-07-02Update Clock and Power Q channel default values to 1Rakesh Gangarajaiah
- TICKET: MLEMBED-1616 Signed-off-by: Rakesh Gangarajaiah <rakesh.gangarajaiah@arm.com> Change-Id: Iea9e6869a1855b42bd8a0fda2986d099d0479a09
2020-06-26MLBEDSW-2447 Set clock_q_enable & power_q_enable correctlyBhavik Patel
Bit [2] in CMD register is used to enable clock off using clock q-interface and enable the master clock gate. Bit [3] is used to enable power off using power q-interface. The clock_q_enable bit is set when putting the Ethos-U into run state. The power_q_enable bit is set to 0 when running the command stream and set to 1 after command stream has finished running. Change-Id: Id9d1405376508e2af2ec0ddc2ebae8fb6c2f5cba
2020-06-22Update arch to 1.0.120.07-rc120.07Douglas Troha
* Includes npu_active event Signed-off-by: Douglas Troha <douglas.troha@arm.com> Change-Id: I2346707c26b7c3709bb844c7b21365d714e9a089
2020-06-17MLBEDSW-2373 Add APIs to configure PMCCNTR_CFG registerBhavik Patel
Change-Id: I73c612746ca678d32d3dec3e1c5619ee1077c012
2020-06-16Allow differing arch patch versions20.06Douglas Troha
* Arch patch versions should be backward compatible Signed-off-by: Douglas Troha <douglas.troha@arm.com> Change-Id: I1b0d292d0885af90d5b39f2239e020af9181008b
2020-06-12Move command stream and base address alignment checksBhavik Patel
Moving the alignment checks for command stream and base addresses to handle_command_stream(). This is done so that applications which directly call ethosu_run_command_stream(), and don't have command stream & base addresses properly aligned can still run the command stream. Change-Id: Ie02e9952af027e3017e53ea7217698a33a33b418
2020-06-05MLBEDSW-2272 Reenable the version checker for optimizer configBhavik Patel
Also check that the command stream address and base address are aligned to 16 bytes. Return error in case they are not correctly aligned. Change-Id: I786d03f403d02d601ee74c53d2dede85b2b0e8a0
2020-06-02Rework AXI patch to not depend on CMakeJonny Svärd
Make ethosu_config.h define default macro's (with default values) unless the user overrides them. For CMake users, the macros can be defined on cmd line by specifying CMAKE_C_FLAGS for cmake, like: cmake ... -DCMAKE_C_FLAGS='-DFOO=1 -DBAR=2' Change-Id: I20fd3e07fdcfb7cba58da7198fd986f8821902bb
2020-05-26MLBEDSW-2288: Set default/configurable AXI valuesJonny Svärd
Change-Id: I2e72d26699e07b12b42832b59e23b3083c59d1d8
2020-05-18Include 0.180 in HI 1.0Douglas Troha
* Rename debug_addr to debug_address and update page names Signed-off-by: Douglas Troha <douglas.troha@arm.com> Change-Id: I1e4a820769dd00ec04e65e8027ae0d4b872c2d52
2020-05-15Log updatesKristofer Jonsson
Rename CMake log variable. Make logging default off. Remove CMake setting compile features. Remove FPGA flag around soft reset. Change-Id: Ia1f1c314ad19e9e05c59efe1a16d5670f6ec0f69
2020-05-13Update to HI 1.0Douglas Troha
* Includes updates for 0.179 Change-Id: I8ab8e9d67ed5dabf9684ed7576d302a0831c1647 Signed-off-by: Douglas Troha <douglas.troha@arm.com>
2020-05-12Remove a unused parameter warningBhavik Patel
Change-Id: If2b542a83ee7f81f64cb5580faee3cae59c94e29
2020-05-11MLBEDSW-1796 Refactor IRQ initializationPer Åstrand
Turn the IRQ initialization around, to have the application define the interrupt handler and expose the driver routine that is to be called when that happens. Change-Id: Idbfba1b1d1a1eaf6678ee16e9583c496eb2287ed
2020-05-08MLBEDSW-2194 Updating PMU filesKristofer Jonsson
Moving PMU files from ethosu_pmu to include and src. Adding extern "C" to PMU header. Removing CMake generated file. Updating default path to CMSIS. Removing timing adapter. Change-Id: I4834c5361c14efe629c5cb36a17013d02cc765c8
2020-05-05MLBEDSW-2054 Add README.mdKristofer Jonsson
Change-Id: I3cdf8f21ed58ace2f2c739748d788ec97fb4083a
2020-04-27Update to HI 0.1690.1.0Diqing Zhong
Change-Id: If2e6ff0b6876380c597cdbc12a666a9cf1bf9dc4
2020-04-27Update to HI 0.162Diqing Zhong
Change-Id: Ieff4a4b66dcc8da09a2f959dfa6bc717cc816f5a
2020-04-24Update to HI 0.162Diqing Zhong
Change-Id: Iaaf3f220d5dc3ad6ae8da39ab89e9b2c05c9581e
2020-04-16Add Ethos-u core driverKristofer Jonsson
Change-Id: I541862775031c21e6483f26446a29dfe452382ab
2020-04-06Adding license fileKristofer Jonsson
Change-Id: Ifcd7e3cc89a6c21350d06729dba73ad44fe62eb3
2020-04-06Initial commitKristofer Jonsson