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>
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>
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>
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>
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>
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>
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>
Describe steps to use this tool with few examples
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>