-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparse-uart-socid.html
More file actions
161 lines (151 loc) · 7.04 KB
/
parse-uart-socid.html
File metadata and controls
161 lines (151 loc) · 7.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TI Tools - UART SoC ID Parser</title>
<link rel="stylesheet" href="style.css">
<script src="navbar.js"></script>
</head>
<body>
<!-- Navigation bar loaded by navbar.js -->
<div class="container">
<header>
<h1>TI Tools</h1>
<p class="subtitle">UART SoC ID Parser</p>
<div class="header-links">
<a href="index.html" class="doc-link">
← Back to Tools
</a>
<a href="https://software-dl.ti.com/tisci/esd/latest/index.html"
target="_blank"
rel="noopener noreferrer"
class="doc-link">
View Official Documentation
</a>
</div>
</header>
<main>
<section class="info-banner">
<div class="banner-content">
<span class="banner-icon">ℹ️</span>
<div>
<strong>Note:</strong> This tool is for development and debugging purposes. SoC ID data contains device-specific information and should be handled according to your organization's security policies.
</div>
</div>
</section>
<section class="input-section">
<div class="input-group">
<label for="hexInput">Enter SoC ID Hex Data:</label>
<textarea id="hexInput" placeholder="Paste your hex data here (e.g., 01000000011a00006a3765730000000000000000475020200101010001010100) Supports multiple lines and various formats (with or without 0x prefix, spaces, etc.)" rows="6"></textarea>
<button type="button" id="parseButton">Parse SoC ID</button>
<button type="button" id="clearButton" class="secondary">Clear</button>
</div>
<div class="format-hint">
<p><strong>Supported formats:</strong></p>
<ul>
<li>Raw hex: <code>01000000011a00006a37657300000000</code></li>
<li>With 0x prefix: <code>0x01000000 0x011a0000</code></li>
<li>Spaced: <code>01 00 00 00 01 1a 00 00</code></li>
<li>Multiple lines supported</li>
</ul>
</div>
</section>
<section class="results-section" id="resultsSection" style="display: none;">
<h2>Parsed Results</h2>
<div id="resultsContent"></div>
<div class="button-group">
<button type="button" id="exportButton" class="secondary">Export as JSON</button>
</div>
</section>
<section class="info-section">
<h2>About This Tool</h2>
<p>This tool parses UART SoC ID data from Texas Instruments K3 processors. When a K3 SoC is in UART boot mode, it outputs encoded device information that can be parsed to reveal:</p>
<h3>Parsed Information</h3>
<table class="info-table">
<thead>
<tr>
<th>Category</th>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="1"><strong>Header</strong></td>
<td>NumBlocks</td>
<td>Number of data blocks present</td>
</tr>
<tr>
<td rowspan="6"><strong>Public ROM</strong></td>
<td>SubBlockId</td>
<td>Block identifier</td>
</tr>
<tr>
<td>SubBlockSize</td>
<td>Size of the block</td>
</tr>
<tr>
<td>DeviceName</td>
<td>TI device name (e.g., j7es, am64x)</td>
</tr>
<tr>
<td>DeviceType</td>
<td>Device type (GP, HS, etc.)</td>
</tr>
<tr>
<td>DMSC ROM Version</td>
<td>Device Management and Security Controller version</td>
</tr>
<tr>
<td>R5 ROM Version</td>
<td>ARM Cortex-R5 processor ROM version</td>
</tr>
<tr>
<td rowspan="6"><strong>Secure ROM</strong><br><em>(if present)</em></td>
<td>Sec Prime</td>
<td>Security prime number</td>
</tr>
<tr>
<td>Key Revision</td>
<td>Security key revision</td>
</tr>
<tr>
<td>Key Count</td>
<td>Number of security keys</td>
</tr>
<tr>
<td>TI MPK Hash</td>
<td>TI Manufacturer Public Key hash</td>
</tr>
<tr>
<td>Customer MPK Hash</td>
<td>Customer Manufacturer Public Key hash</td>
</tr>
<tr>
<td>Unique ID</td>
<td>Device unique identifier</td>
</tr>
</tbody>
</table>
<div class="example-box">
<h3>Sample SoC ID hex data:</h3>
<pre><code>01000000011a00006a3765730000000000000000475020200101010001010100</code></pre>
<p>This example shows SoC ID data for a <strong>j7es</strong> (Jacinto 7) device with <strong>GP</strong> (General Purpose) security type.</p>
</div>
<div class="resources-box">
<h3>Resources</h3>
<ul>
<li><a href="https://software-dl.ti.com/tisci/esd/latest/index.html" target="_blank" rel="noopener">TI System Controller Interface Documentation →</a></li>
<li><a href="https://www.ti.com/processors" target="_blank" rel="noopener">TI Processors Overview →</a></li>
</ul>
</div>
</section>
</main>
<footer>
<p>TI Tools | UART SoC ID Parser</p>
</footer>
</div>
<script src="parse-uart-socid.js"></script>
</body>
</html>