[PATCH] board: ti: j722s: Update Resource Management configs
Vaishnav Achath
vaishnav.a at ti.com
Sun Sep 15 22:47:14 CEST 2024
Update J722S Resource Management configs to the latest output
generated by K3 Resource Partitioning tool. Main change includes
allocating more BCDMA channels to A53 for CSI2RX to support
4 x CSIRX capture instance simultaneously.
Signed-off-by: Vaishnav Achath <vaishnav.a at ti.com>
---
Test logs (CSI capture + RM config dump):
https://gist.github.com/vachath/7b37cd288ef16ad8a2ac6ff5710d1e9a
board/ti/j722s/rm-cfg.yaml | 48 ++++++++++++++++++++++-----------
board/ti/j722s/tifs-rm-cfg.yaml | 28 +++++++++++++------
2 files changed, 53 insertions(+), 23 deletions(-)
diff --git a/board/ti/j722s/rm-cfg.yaml b/board/ti/j722s/rm-cfg.yaml
index 21ca30104c..e32beb8479 100644
--- a/board/ti/j722s/rm-cfg.yaml
+++ b/board/ti/j722s/rm-cfg.yaml
@@ -244,7 +244,7 @@ rm-cfg:
subhdr:
magic: 0x7B25
size: 8
- resasg_entries_size: 1160
+ resasg_entries_size: 1184
reserved: 0
resasg_entries:
-
@@ -1017,13 +1017,13 @@ rm-cfg:
reserved: 0
-
start_resource: 8
- num_resource: 12
+ num_resource: 32
type: 12750
host_id: 12
reserved: 0
-
- start_resource: 20
- num_resource: 20
+ start_resource: 8
+ num_resource: 32
type: 12750
host_id: 38
reserved: 0
@@ -1035,13 +1035,13 @@ rm-cfg:
reserved: 0
-
start_resource: 0
- num_resource: 12
+ num_resource: 32
type: 12769
host_id: 12
reserved: 0
-
- start_resource: 12
- num_resource: 20
+ start_resource: 0
+ num_resource: 32
type: 12769
host_id: 38
reserved: 0
@@ -1053,10 +1053,22 @@ rm-cfg:
reserved: 0
-
start_resource: 0
- num_resource: 8
+ num_resource: 2
type: 12810
host_id: 12
reserved: 0
+ -
+ start_resource: 2
+ num_resource: 2
+ type: 12810
+ host_id: 20
+ reserved: 0
+ -
+ start_resource: 4
+ num_resource: 2
+ type: 12810
+ host_id: 22
+ reserved: 0
-
start_resource: 22
num_resource: 18
@@ -1065,21 +1077,27 @@ rm-cfg:
reserved: 0
-
start_resource: 12288
- num_resource: 64
+ num_resource: 56
type: 12813
host_id: 12
reserved: 0
-
- start_resource: 12352
- num_resource: 64
+ start_resource: 12344
+ num_resource: 48
type: 12813
- host_id: 38
+ host_id: 20
reserved: 0
-
- start_resource: 12416
- num_resource: 88
+ start_resource: 12392
+ num_resource: 48
type: 12813
- host_id: 128
+ host_id: 22
+ reserved: 0
+ -
+ start_resource: 12440
+ num_resource: 64
+ type: 12813
+ host_id: 38
reserved: 0
-
start_resource: 1536
diff --git a/board/ti/j722s/tifs-rm-cfg.yaml b/board/ti/j722s/tifs-rm-cfg.yaml
index 5e8d7e0444..4a2af0ebca 100644
--- a/board/ti/j722s/tifs-rm-cfg.yaml
+++ b/board/ti/j722s/tifs-rm-cfg.yaml
@@ -244,7 +244,7 @@ tifs-rm-cfg:
subhdr:
magic: 0x7B25
size: 8
- resasg_entries_size: 976
+ resasg_entries_size: 992
reserved: 0
resasg_entries:
-
@@ -897,13 +897,13 @@ tifs-rm-cfg:
reserved: 0
-
start_resource: 8
- num_resource: 12
+ num_resource: 32
type: 12750
host_id: 12
reserved: 0
-
- start_resource: 20
- num_resource: 20
+ start_resource: 8
+ num_resource: 32
type: 12750
host_id: 38
reserved: 0
@@ -915,13 +915,13 @@ tifs-rm-cfg:
reserved: 0
-
start_resource: 0
- num_resource: 12
+ num_resource: 32
type: 12769
host_id: 12
reserved: 0
-
- start_resource: 12
- num_resource: 20
+ start_resource: 0
+ num_resource: 32
type: 12769
host_id: 38
reserved: 0
@@ -933,10 +933,22 @@ tifs-rm-cfg:
reserved: 0
-
start_resource: 0
- num_resource: 8
+ num_resource: 2
type: 12810
host_id: 12
reserved: 0
+ -
+ start_resource: 2
+ num_resource: 2
+ type: 12810
+ host_id: 20
+ reserved: 0
+ -
+ start_resource: 4
+ num_resource: 2
+ type: 12810
+ host_id: 22
+ reserved: 0
-
start_resource: 22
num_resource: 18
--
2.34.1
More information about the U-Boot
mailing list