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>
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>
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>
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>
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>
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>
RM-autogen.py: Handle multiple entries per dev,subtype,host
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
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>
j721e.py: Auto generated based on SYSFW 2020.01
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
RM-autogen*.py: Update ROW/COL constants
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
RM-autogen-data.py: Generate a simple CSV file
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
RM-autogen-data.py: Parse the resource range from documentation
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
RM-autogen-data.py: Generate the constants in sorted manner
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
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>
RM-autogen-data.py: Auto generate the excel sheet and soc data
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
RM-autogen.py: Fix help string
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
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>
ResAssg: j721e: Fix subtype names
* Rename the sheet to j721e
* Fix subtype names
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
* Rename the sheet to j721e
* Fix subtype names
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
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>
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>
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>
stats: Disable unit testing
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
LICENSE: Move license to toplevel directory
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
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>
stats: Fix cpuload to show correct data with 1st sample
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
stats: Rename bargraph to linegraph appropriately
* Rename variables, move functions to reorganize
* Fix unitTest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
* Rename variables, move functions to reorganize
* Fix unitTest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
* 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>
LICENSE: Add TI-TSPA license
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
stats: Cosmetic updates
* Simplify status and debug messages
* Always display legend even for single trace
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
* Simplify status and debug messages
* Always display legend even for single trace
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
stats: Simplify status and debug messages
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
respart: Rename the worksheet to j721e-evm
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
respart: Initial commit for resource partitioning python tool
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
stats: Initial commit fot statitics web tool
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>