]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/host-tools.git/log
glsdk/host-tools.git
8 months agodfu-boot: Support usbrelay for toggling power master
Jai Luthra [Mon, 6 Mar 2023 09:49:45 +0000 (15:19 +0530)]
dfu-boot: Support usbrelay for toggling power

USBRelay is a cheaper alternative to phidget for toggling power using
USB [1].

[1]: https://github.com/darrylb123/usbrelay

Signed-off-by: Jai Luthra <j-luthra@ti.com>
21 months agodfu-boot: Support using RPS instead of phidget
Jai Luthra [Wed, 16 Feb 2022 15:01:56 +0000 (20:31 +0530)]
dfu-boot: Support using RPS instead of phidget

* Update documentation to reflect both phidget and RPS as options
* Add switch_type config to select power toggle mechanism: [phidget, rps]
* Add rps_dev config to select UART device of the rps
* Default to phidget if unspecified, for backcompat with older configs

Signed-off-by: Jai Luthra <j-luthra@ti.com>
21 months agorps: Add script to toggle power via RPS
Jai Luthra [Wed, 16 Feb 2022 15:01:15 +0000 (20:31 +0530)]
rps: Add script to toggle power via RPS

Remote power switch is an alternative method to toggle board power.
Add a script that communicates over UART to toggle RPS switches.

Signed-off-by: Jai Luthra <j-luthra@ti.com>
2 years agodfu-boot: Fix UART boot mode selection for am64xx-evm
Naresh A [Thu, 5 Aug 2021 13:23:43 +0000 (18:53 +0530)]
dfu-boot: Fix UART boot mode selection for am64xx-evm

am64xx-evm does not work correctly when switched to uart boot mode.
The board is successfully put in the uart boot mode but then
the uniflash script fails to send bootloader to the ROM.

When the bootmode is switched from A53 u-boot prompt, it works correctly.
So add a change_bootmode_slow function which does this.
Use this function only for am64xx-evm uart boot mode.

Signed-off-by: Naresh A <nareshk@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
2 years agodfu-boot: am64xx-evm: Add uboot patch for boot selection
Nikhil Devshatwar [Mon, 2 Aug 2021 10:36:15 +0000 (16:06 +0530)]
dfu-boot: am64xx-evm: Add uboot patch for boot selection

Add the patch used for building custom binaries used for
boot selection.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
2 years agoREADME: Add switch settings for am64xx-evm
Nikhil Devshatwar [Mon, 5 Jul 2021 15:04:38 +0000 (20:34 +0530)]
README: Add switch settings for am64xx-evm

Document switch settings required to boot the am64xx-evm
into DFU boot mode

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
2 years agodfu-boot: Add support for am64xx-evm board
Nikhil Devshatwar [Mon, 5 Jul 2021 07:09:51 +0000 (12:39 +0530)]
dfu-boot: Add support for am64xx-evm board

* Add command line options for am64xx-evm
* Update the config file template
* Add working boot binaries
* Add boot_select binaries for mmc

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
2 years agodfu-boot: Mount boot partition with correct permissions
Nikhil Devshatwar [Mon, 5 Jul 2021 07:01:06 +0000 (12:31 +0530)]
dfu-boot: Mount boot partition with correct permissions

Mount boot partition with correct uid / gui of the user
Also increase sleep time to avoid any corner case failures

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoREADME: Remove un-necessary details
Nikhil Devshatwar [Wed, 7 Oct 2020 06:25:24 +0000 (11:55 +0530)]
README: Remove un-necessary details

Remove the un-necessary details regarding the functionality
not required to know for using the tool.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agodfu-boot: j7200-evm: Add support for xspi bootmode
Nikhil Devshatwar [Fri, 4 Sep 2020 08:21:38 +0000 (13:51 +0530)]
dfu-boot: j7200-evm: Add support for xspi bootmode

Add prebuilt binary to switch boot mode to xSPI
for j7200-evm board

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agodfu-boot: tftp: Fix boot failures
Nikhil Devshatwar [Tue, 1 Sep 2020 13:16:55 +0000 (18:46 +0530)]
dfu-boot: tftp: Fix boot failures

Quoted string will not do $ expansion in the uboot prompt
Remove them to ensure that the console and optarg variables
are expanded for tftp boot.

Also update the template to describe full path for mounting the
NFS correctly

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoREADME: Update instructions for config file
Nikhil Devshatwar [Tue, 1 Sep 2020 13:12:24 +0000 (18:42 +0530)]
README: Update instructions for config file

Add instructions for setting up the config file
Also add switch settings for j7200-evm

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agok3-bootswitch: Add config file for personalization
Nikhil Devshatwar [Fri, 21 Aug 2020 10:18:49 +0000 (15:48 +0530)]
k3-bootswitch: Add config file for personalization

Copy this file to your own $HOME/config/k3bootswitch.conf
and customize as required.
The script will use the variables from the config file.
Customize the tty device, power switch and other parameters
for every board

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agokbs: dfu-boot: Add support for booting with tftp
Nikhil Devshatwar [Fri, 14 Aug 2020 18:56:49 +0000 (00:26 +0530)]
kbs: dfu-boot: Add support for booting with tftp

Add support for booting the board with dfu, tftp and nfs
All the files are sent from the PC with --tftp option

Bootloader using DFU
Kernel and device trees using TFTP
Filesystem using NFS

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agok3-bootswitch: Add support for j7200-evm board
Nikhil Devshatwar [Tue, 11 Aug 2020 13:33:10 +0000 (19:03 +0530)]
k3-bootswitch: Add support for j7200-evm board

Add arguments for selecting J7VCL EVM
Add the boot select binaries and prebuilt binaries for this
with UMS enabled in u-boot
Also add the uboot patch for generating the boot_select binaries

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agok3-bootswitch: j721e: Add support for eMMC boot
Faiz Abbas [Fri, 21 Aug 2020 09:06:34 +0000 (14:36 +0530)]
k3-bootswitch: j721e: Add support for eMMC boot

Add support for eMMC boot in j7es.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
3 years agoREADME: Fix switch settings for am65xx-evm
Nikhil Devshatwar [Wed, 29 Jul 2020 11:48:49 +0000 (17:18 +0530)]
README: Fix switch settings for am65xx-evm

Fix the switch settings for am65xx-evm board
Do not print the switch settings on error, instead ask
to refer to README
Add instructions for USB cable connection on am65xx-evm

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agobin: am65xx-evm: Update with working binaries
Nikhil Devshatwar [Wed, 29 Jul 2020 11:46:55 +0000 (17:16 +0530)]
bin: am65xx-evm: Update with working binaries

Update u-boot binaries for AM65xx EVM with support
for DFU boot mode and UMS enabled in it.

Now mounting SD / eMMC works on am65xx-evm as well .

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoREADME: Fix name of the script
Nikhil Devshatwar [Tue, 28 Jul 2020 10:03:51 +0000 (15:33 +0530)]
README: Fix name of the script

Update the name of the script to be dfu-boot.sh instead of
dfu-util.sh
Fix typos

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agophidget: Add phidget library and binaries
Nikhil Devshatwar [Tue, 28 Jul 2020 10:01:54 +0000 (15:31 +0530)]
phidget: Add phidget library and binaries

Most common method for toggling power for the board is to
use a Phidget USB relay. Add the libraries and binaries
for controlling these devices from Linux machines.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoam65xx-evm: Add prebuilt binaries
Nikhil Devshatwar [Tue, 28 Jul 2020 09:56:36 +0000 (15:26 +0530)]
am65xx-evm: Add prebuilt binaries

Add more options to select am65xx-evm board
Add the prebuilt binaries to be used for mounting the SD/eMMC
card from the board.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoREADME: Update readme for instructions on am65xx-evm
Nikhil Devshatwar [Thu, 16 Jul 2020 09:29:02 +0000 (14:59 +0530)]
README: Update readme for instructions on am65xx-evm

Update instructions now that we support am65xx-evm as well.
Add the switch settings for the am65xx-evm.
Update the example commands with new arguments.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agodfu-boot: Add support for am65xx-evm board
Nikhil Devshatwar [Mon, 6 Jul 2020 12:42:48 +0000 (18:12 +0530)]
dfu-boot: Add support for am65xx-evm board

Generalize the script to support multiple boards
Select the prebuilt binaries and boot_select binaries
based on the board.

Move the binaries and patches into board specific directories
Add support for am65xx-evm for dfu booting into mmc, ospi, uart,
emmc and noboot modes.

Update the script to handle different board names.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRevert "TEMP changes"
Nikhil Devshatwar [Tue, 16 Jun 2020 13:18:39 +0000 (18:48 +0530)]
Revert "TEMP changes"

This reverts commit abffdc05737eee10b1a90a9954dc894e4dab2d57.

3 years agoTEMP changes
Nikhil Devshatwar [Tue, 16 Jun 2020 13:06:44 +0000 (18:36 +0530)]
TEMP changes

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Fix TISCI prefix for HOST_ID
Nikhil Devshatwar [Thu, 11 Jun 2020 17:51:59 +0000 (23:21 +0530)]
RM-autogen.py: Fix TISCI prefix for HOST_ID

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoSYSFW-NAVSS-ResAssg.xlsx: Switch host_id to C7X to non secure
Nikhil Devshatwar [Mon, 18 May 2020 17:33:32 +0000 (23:03 +0530)]
SYSFW-NAVSS-ResAssg.xlsx: Switch host_id to C7X to non secure

New SysBios allows to run C7X in non secure mode.
Move all the resource allocation to HOST_ID_C7X_1
which is secure context for C7X to SYSFW

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Update template for boarcfg_sciclient
Nikhil Devshatwar [Mon, 18 May 2020 17:31:44 +0000 (23:01 +0530)]
RM-autogen.py: Update template for boarcfg_sciclient

Update the template for sciclient RM board config to
reflect coding practices as expected in the pdk

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Update argument parsing for better usage
Nikhil Devshatwar [Sat, 9 May 2020 17:13:07 +0000 (22:43 +0530)]
RM-autogen.py: Update argument parsing for better usage

Add mandatory and optional arguments separately in the parser.
This will cause the help text to describe these groups in
better way.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agorespart: Update README with setup and usage details
Nikhil Devshatwar [Thu, 7 May 2020 15:24:16 +0000 (20:54 +0530)]
respart: Update README with setup and usage details

Describe steps to use this tool with few examples

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Print resources per host with --perhost
Nikhil Devshatwar [Thu, 7 May 2020 12:27:18 +0000 (17:57 +0530)]
RM-autogen.py: Print resources per host with --perhost

Create a new argument --perhost which would print the resource
assignments list per host.
This will be useful to sync PDK udma_rmcfg structs

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Do not assign multiple ranges to resources
Nikhil Devshatwar [Thu, 7 May 2020 10:55:09 +0000 (16:25 +0530)]
RM-autogen.py: Do not assign multiple ranges to resources

Do not assign multiple ranges of resources for a host.
Only generate first entry and ignore others.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoSYSFW-NAVSS-ResAssg: j721e: Partition GPIO Interrupt routers
Nikhil Devshatwar [Wed, 6 May 2020 19:11:58 +0000 (00:41 +0530)]
SYSFW-NAVSS-ResAssg: j721e: Partition GPIO Interrupt routers

All outputs of the GPIO IRs (both main and wakeup instances)
are not routable to all CPUs. Few lines are connected to a set
of CPUs and few are not. This adds a constraint where a certain
range of resources can only be assigned to a set of HOST_IDs

To achieve this, split the range into multiple ranges and highlight
the cell where it is legal to assign the resources.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoSYSFW-NAVSS-ResAssg: am6x: Update the rsource count for Main NAV rings
Nikhil Devshatwar [Wed, 6 May 2020 09:56:39 +0000 (15:26 +0530)]
SYSFW-NAVSS-ResAssg: am6x: Update the rsource count for Main NAV rings

SYSFW documentation for am6x says for Main NAVSS
Only 1 RX ring is reserved but 2 RX channels are reserved
This is not consistent.

Fix this manually by updating the resource count and start value.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoSYSFW-NAVSS-ResAssg: j721e: Allocate the flows for ethfw to ALL
Nikhil Devshatwar [Wed, 6 May 2020 09:23:40 +0000 (14:53 +0530)]
SYSFW-NAVSS-ResAssg: j721e: Allocate the flows for ethfw to ALL

Ethernet firmware uses a client server model where it owns a chunk
of 64 flows and dynamically assigns few of these to the clients.

Till the flow sharing support is available, mark these resources
as HOST_ID_ALL

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Add support for SCIclient format
Nikhil Devshatwar [Wed, 6 May 2020 07:59:35 +0000 (13:29 +0530)]
RM-autogen.py: Add support for SCIclient format

Replace the SYSFW macros with TISCI prefix for usage
in the sciclient RM board config
Handle differances in dev_prefix for am6x and am65x_sr2

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoSYSFW_RESASG: j721e: Update Resource Partitioning for Main R5FSS0
Nikhil Devshatwar [Sat, 2 May 2020 07:16:59 +0000 (12:46 +0530)]
SYSFW_RESASG: j721e: Update Resource Partitioning for Main R5FSS0

Ethernet firmware and PSDKRA will be combined into a single image
hence forward, leaving the Main R5FSS0 core1 free for customer.

To accomodate this, update the resource partitioning to combine
the resources from both for Main R5FSS0 core0 and leave a few resources
for Main R5FSS0 core1.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agodfu-boot.sh: Fix usage dump
Nikhil Devshatwar [Tue, 28 Apr 2020 12:02:56 +0000 (17:32 +0530)]
dfu-boot.sh: Fix usage dump

Generate available boot modes by listing all spl* files
This avoid un-necessary bootmode patch being displayed
in the usage.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Add support for am65x SR1 and SR2
Nikhil Devshatwar [Wed, 15 Apr 2020 09:33:21 +0000 (15:03 +0530)]
RM-autogen-data.py: Add support for am65x SR1 and SR2

Auto generate the python headers from documentation
Update the argparse to support both Silicon revisions.
Create baseline excel sheet for am6x and am65x_sr2

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Use sysfw documentation to generate the data
Nikhil Devshatwar [Tue, 7 Apr 2020 11:40:33 +0000 (17:10 +0530)]
RM-autogen-data.py: Use sysfw documentation to generate the data

Use the System firmware official documentation to generate the
data required for the SoC RM resource assignment sheet.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agok3-bootswitch: boot_select: Add u-boot patch for reference
Nikhil Devshatwar [Thu, 9 Apr 2020 10:10:53 +0000 (15:40 +0530)]
k3-bootswitch: boot_select: Add u-boot patch for reference

Add the patch which cab be used as reference to port the boot_select
binaries on other bootloaders.
Apply this and build with different defines enabled to create different
spl.xxx binaries.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agok3-bootswitch: Initial version for boot selection script
Nikhil Devshatwar [Tue, 7 Apr 2020 07:14:18 +0000 (12:44 +0530)]
k3-bootswitch: Initial version for boot selection script

Add a bootswitch tool for J721e EVM which can
* Use DFU boot mode to select the boot mode of the EVM from
 command line.
* Mount the SD card and eMMC devices from board to the Linux PC

Commit the working binaries for mounting the storage devices
Also add minified SPL to do bootmode writes.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen.py: Handle multiple entries per dev,subtype,host
Nikhil Devshatwar [Thu, 26 Mar 2020 06:08:56 +0000 (11:38 +0530)]
RM-autogen.py: Handle multiple entries per dev,subtype,host

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoUpdate the resasg for 2020.01
Nikhil Devshatwar [Sat, 21 Mar 2020 11:22:02 +0000 (16:52 +0530)]
Update the resasg for 2020.01

Use the resource start, count from autogenerated sheet
Assign resources from the old sheet.

Changes from previous version:
* Reorder the resources in sorted order of utype
* Assign interrupt routers to correct CPUs

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoj721e.py: Auto generated based on SYSFW 2020.01
Nikhil Devshatwar [Sat, 21 Mar 2020 08:17:22 +0000 (13:47 +0530)]
j721e.py: Auto generated based on SYSFW 2020.01

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen*.py: Update ROW/COL constants
Nikhil Devshatwar [Thu, 26 Mar 2020 05:49:12 +0000 (11:19 +0530)]
RM-autogen*.py: Update ROW/COL constants

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Generate a simple CSV file
Nikhil Devshatwar [Wed, 25 Mar 2020 07:08:55 +0000 (12:38 +0530)]
RM-autogen-data.py: Generate a simple CSV file

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Parse the resource range from documentation
Nikhil Devshatwar [Mon, 23 Mar 2020 13:54:54 +0000 (19:24 +0530)]
RM-autogen-data.py: Parse the resource range from documentation

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Generate the constants in sorted manner
Nikhil Devshatwar [Mon, 23 Mar 2020 13:03:27 +0000 (18:33 +0530)]
RM-autogen-data.py: Generate the constants in sorted manner

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Fix issues with subtype parsing
Nikhil Devshatwar [Sat, 21 Mar 2020 08:31:01 +0000 (14:01 +0530)]
RM-autogen-data.py: Fix issues with subtype parsing

Use the documentation to parse the subtype integers

Use a list instead of dictionary to save devtypes.
Also rename the list as utypes.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years agoRM-autogen-data.py: Auto generate the excel sheet and soc data
Nikhil Devshatwar [Thu, 19 Mar 2020 15:18:49 +0000 (20:48 +0530)]
RM-autogen-data.py: Auto generate the excel sheet and soc data

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>