glsdk/host-tools.git
18 months agoRM-autogen.py: Fix help string
Nikhil Devshatwar [Thu, 19 Mar 2020 15:17:07 +0000 (20:47 +0530)]
RM-autogen.py: Fix help string

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
18 months agorespart: New option to allow_all the hosts
Nikhil Devshatwar [Wed, 18 Mar 2020 13:14:59 +0000 (18:44 +0530)]
respart: New option to allow_all the hosts

Introduce a new command line option --allow_all
when passed, the script ignores all the partitioning
and generates a boardconfig where are resources are
assigned with HOST_ID_ALL.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agoResAssg: j721e: Fix subtype names
Nikhil Devshatwar [Thu, 27 Feb 2020 12:40:16 +0000 (18:10 +0530)]
ResAssg: j721e: Fix subtype names

* Rename the sheet to j721e
* Fix subtype names

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agoRM-autogen.py: Add support for am65x SoC
Nikhil Devshatwar [Thu, 27 Feb 2020 13:30:26 +0000 (19:00 +0530)]
RM-autogen.py: Add support for am65x SoC

Add an argument to select the soc.
Based on the soc, import the required module which contains
all the macros required for sorting.

Also add the j721e and am65x modules.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agoRM-autogen.py: Add support for sorting the entries
Nikhil Devshatwar [Thu, 27 Feb 2020 13:26:59 +0000 (18:56 +0530)]
RM-autogen.py: Add support for sorting the entries

Starting from SYSFW 2020.01, All the RM boarconfig entries
need to be sorted in the following manner
* ascending order of utype, if same,
* ascending order of start_resource, if same
* ascending order of host_id

Implement this using custom_key for sorted function.
Use the j721e SoC data to use the values of the macros.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Disable unit testing
Nikhil Devshatwar [Wed, 12 Feb 2020 12:42:08 +0000 (18:12 +0530)]
stats: Disable unit testing

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agoLICENSE: Move license to toplevel directory
Nikhil Devshatwar [Mon, 10 Feb 2020 10:49:57 +0000 (16:19 +0530)]
LICENSE: Move license to toplevel directory

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Add support for bargraph for cpuload
Nikhil Devshatwar [Mon, 10 Feb 2020 10:47:06 +0000 (16:17 +0530)]
stats: Add support for bargraph for cpuload

bargraph can be used as an alternate to linegraph
for visualizing the CPU load information.

Show both for cpuload by default.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Fix cpuload to show correct data with 1st sample
Nikhil Devshatwar [Mon, 10 Feb 2020 10:46:32 +0000 (16:16 +0530)]
stats: Fix cpuload to show correct data with 1st sample

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Rename bargraph to linegraph appropriately
Nikhil Devshatwar [Sun, 9 Feb 2020 14:22:31 +0000 (19:52 +0530)]
stats: Rename bargraph to linegraph appropriately

* Rename variables, move functions to reorganize
* Fix unitTest

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Add support for ethfw bandwidth visualization
Nikhil Devshatwar [Thu, 6 Feb 2020 16:29:55 +0000 (21:59 +0530)]
stats: Add support for ethfw bandwidth visualization

* Add utility function to convert units into absolute values
* Add unit test for ethfw-bw
* Pass a custom layout and merge it before creating graph
* Use logarithmic axes for network traffic
* Reformat the HTML

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agoLICENSE: Add TI-TSPA license
Nikhil Devshatwar [Thu, 6 Feb 2020 16:29:11 +0000 (21:59 +0530)]
LICENSE: Add TI-TSPA license

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Cosmetic updates
Nikhil Devshatwar [Wed, 5 Feb 2020 12:50:41 +0000 (18:20 +0530)]
stats: Cosmetic updates

* Simplify status and debug messages
* Always display legend even for single trace

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agostats: Simplify status and debug messages
Nikhil Devshatwar [Wed, 5 Feb 2020 12:50:41 +0000 (18:20 +0530)]
stats: Simplify status and debug messages

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
19 months agorespart: Rename the worksheet to j721e-evm
Nikhil Devshatwar [Wed, 5 Feb 2020 12:41:30 +0000 (18:11 +0530)]
respart: Rename the worksheet to j721e-evm

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
20 months agorespart: Initial commit for resource partitioning python tool
Nikhil Devshatwar [Sun, 26 Jan 2020 13:19:58 +0000 (18:49 +0530)]
respart: Initial commit for resource partitioning python tool

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
20 months agostats: Initial commit fot statitics web tool
Nikhil Devshatwar [Sun, 26 Jan 2020 13:19:25 +0000 (18:49 +0530)]
stats: Initial commit fot statitics web tool

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>