Changes between Version 17 and Version 18 of gsc
- Timestamp:
- 07/06/2018 04:12:10 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
gsc
v17 v18 138 138 2. Consult individual board hardware manual or the Linux device-tree for a description of what voltage rail this is and what voltage divider is applied in order to scale it. The Newport Linux kernel and BDK use information from the Linux Device-tree to scale and name these ADC's 139 139 140 A Linux 'Hardware Monitor' ({{{hwmon}}}) driver is available which provides simple standard access to the above temperature/voltage registers via sysfs. The arguments have been given labels which define the source. The user can “cat” the label to determine the source. 141 142 Note that the standard sysfs entries for hwmon drivers are such that temperatures are in millidegrees celcius and voltages are in millivolts. 143 144 140 145 141 146 [=#hwmon_v1_v2] 142 === GSC v1/v2 ( Laguna/Ventana)147 === GSC v1/v2 (!Laguna/Ventana) 143 148 A single temperature sensor provides the board temperature in a 16-bit value (MSB first, LSB second) at register offset 0x00 in degrees Celcius. The voltage based ADC inputs provides a voltage (millivolt) as a 24-bit value (MSB first, LSB last). The ADC measurements are performed once per second (1Hz). 144 149 … … 236 241 Combining 0x01 and 0xc0, is 0x01c0, which comes out to be 448, which divided by 10, equals 44.8 Deg. C. 237 242 238 239 243 For Ventana i.MX6 processor temperature, see [wiki:ventana/thermal here] 244 240 245 241 246 [=#fan] … … 440 445 441 446 === EEPROM Secure Key Example === 442 The secure key area starts at 0x51 offset 0x80 and extends for 96 bytes for GSC v1/v2 ( Laguna/Ventana) and for 128 bytes for GSC v2 (Newport).447 The secure key area starts at 0x51 offset 0x80 and extends for 96 bytes for GSC v1/v2 (!Laguna/Ventana) and for 128 bytes for GSC v2 (Newport). 443 448 444 449 To see the secure key, you can use the command i2cdump from the command line: (starts with the ASCII values of D3 and ends with w in below example)