[PATCH v2] board: ti: j784s4: Update Resource Management configs

Neha Malcom Francis n-francis at ti.com
Fri Feb 28 06:42:22 CET 2025


From: Vaishnav Achath <vaishnav.a at ti.com>

Update rm-cfg.yaml and tifs-rm-cfg.yaml to account for the
changes added in the K3 Resource Partitioning Tool v1.18

The change enables resource sharing between A72_2 and MAIN_0_R5_0
for the BCDMA CSI RX and TX channels, J784S4 supports upto 12
CSI cameras and 16 channels would not be enough for all such use
cases for RTOS and Linux, thus sharing of resources in needed. Resource
sharing between A72 and R5 for BCDMA CSI channels allow Linux to use 32
channels at a time.

Signed-off-by: Vaishnav Achath <vaishnav.a at ti.com>
[n-francis at ti.com: rebased and sent on behalf]
Signed-off-by: Neha Malcom Francis <n-francis at ti.com>
---
Sanity boot log:
https://gist.github.com/nehamalcom/ef40be06080cb5bc4d1be881690aaebb

Changes since v1:
- updated commit message with version and explanation
- added sanity boot log

 board/ti/j784s4/rm-cfg.yaml      | 24 ++++++++++++------------
 board/ti/j784s4/tifs-rm-cfg.yaml | 24 ++++++++++++------------
 2 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/board/ti/j784s4/rm-cfg.yaml b/board/ti/j784s4/rm-cfg.yaml
index a448bd2e1e0..6968d317522 100644
--- a/board/ti/j784s4/rm-cfg.yaml
+++ b/board/ti/j784s4/rm-cfg.yaml
@@ -406,49 +406,49 @@ rm-cfg:
             reserved: 0
         -
             start_resource: 16
-            num_resource: 16
+            num_resource: 32
             type: 17998
             host_id: 12
             reserved: 0
         -
-            start_resource: 32
-            num_resource: 16
+            start_resource: 16
+            num_resource: 32
             type: 17998
             host_id: 35
             reserved: 0
         -
             start_resource: 0
-            num_resource: 8
+            num_resource: 16
             type: 17999
             host_id: 12
             reserved: 0
         -
-            start_resource: 8
-            num_resource: 8
+            start_resource: 0
+            num_resource: 16
             type: 17999
             host_id: 35
             reserved: 0
         -
             start_resource: 0
-            num_resource: 16
+            num_resource: 32
             type: 18017
             host_id: 12
             reserved: 0
         -
-            start_resource: 16
-            num_resource: 16
+            start_resource: 0
+            num_resource: 32
             type: 18017
             host_id: 35
             reserved: 0
         -
             start_resource: 0
-            num_resource: 8
+            num_resource: 16
             type: 18018
             host_id: 12
             reserved: 0
         -
-            start_resource: 8
-            num_resource: 8
+            start_resource: 0
+            num_resource: 16
             type: 18018
             host_id: 35
             reserved: 0
diff --git a/board/ti/j784s4/tifs-rm-cfg.yaml b/board/ti/j784s4/tifs-rm-cfg.yaml
index 1c5faffb8e9..992ea23155a 100644
--- a/board/ti/j784s4/tifs-rm-cfg.yaml
+++ b/board/ti/j784s4/tifs-rm-cfg.yaml
@@ -250,49 +250,49 @@ tifs-rm-cfg:
     resasg_entries:
         -
             start_resource: 16
-            num_resource: 16
+            num_resource: 32
             type: 17998
             host_id: 12
             reserved: 0
         -
-            start_resource: 32
-            num_resource: 16
+            start_resource: 16
+            num_resource: 32
             type: 17998
             host_id: 35
             reserved: 0
         -
             start_resource: 0
-            num_resource: 8
+            num_resource: 16
             type: 17999
             host_id: 12
             reserved: 0
         -
-            start_resource: 8
-            num_resource: 8
+            start_resource: 0
+            num_resource: 16
             type: 17999
             host_id: 35
             reserved: 0
         -
             start_resource: 0
-            num_resource: 16
+            num_resource: 32
             type: 18017
             host_id: 12
             reserved: 0
         -
-            start_resource: 16
-            num_resource: 16
+            start_resource: 0
+            num_resource: 32
             type: 18017
             host_id: 35
             reserved: 0
         -
             start_resource: 0
-            num_resource: 8
+            num_resource: 16
             type: 18018
             host_id: 12
             reserved: 0
         -
-            start_resource: 8
-            num_resource: 8
+            start_resource: 0
+            num_resource: 16
             type: 18018
             host_id: 35
             reserved: 0
-- 
2.34.1



More information about the U-Boot mailing list