27 Commits

Author SHA1 Message Date
Jeffrey Townsend
3ef3bb3b49 Code Module Cleanup
- Fix autogen definitions for all code modules
- Rerun autogen on all modules
2018-03-08 20:20:50 +00:00
Jeffrey Townsend
ac3aef6597 Remove autogenerated makefiles from git. 2018-03-08 17:56:11 +00:00
Jeffrey Townsend
0e19777233 Compilation fixes for GCC6. 2017-08-23 00:23:48 +00:00
Jeffrey Townsend
f7485d0a4f Revert "merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()" 2017-03-29 13:51:34 -07:00
Zi Zhou
4e9bb102a2 merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read() 2017-03-15 16:38:14 -07:00
Jeffrey Townsend
052cb047e2 Upgrade to kernel 3.16 LTS 2017-01-12 21:22:05 +00:00
Jeffrey Townsend
e0f357b4d0 Merge branch 'redstone' of github.com:spitchai/OpenNetworkLinux 2017-01-09 20:04:08 +00:00
Jeffrey Townsend
106a4029bc Latest variable updates. 2017-01-09 20:00:27 +00:00
Jeffrey Townsend
5d30997ce0 Initial module package for the Seastone. 2017-01-09 20:00:02 +00:00
Jeffrey Townsend
77454cae6b Merge pull request #118 from spitchai/seastone
Platform Celestica Seastone
2017-01-09 11:54:19 -08:00
Jeffrey Townsend
797235db68 Initial vendor and platform module packages. 2017-01-07 21:04:37 +00:00
Jeffrey Townsend
e5b8f44c5e The platform-config template now expects the platform basename and platform revision as separate variables. 2017-01-07 20:54:17 +00:00
Sridhar Pitchai
9955252eef Addressing review comments version 0.1 2016-10-29 08:00:52 -07:00
Sridhar Pitchai
bdaa7486c1 Platform Celestica Seastone
Celestica seastone without ONLP
2016-10-28 21:54:09 -07:00
Sridhar Pitchai
1c4da7ce75 Platform x86-64-cel-redstone-xp
ONLP porting.
        This patch has ONLP APIs for sysi, sfp, fan, psu, led and thermals.
    onlpdump log:
root@localhost:~# onlpdump
   System Information: = {
       Product Name: Redstone-XP D2060
       Part Number: R0854-F1004-01
       Serial Number: D2060B2F105A14AP000001
       MAC: 00:e0:ec:33:5c:dc
       MAC Range: 73
       Manufacturer: CELESTICA
       Manufacture Date: 10/21/2015 12:19:06
       Vendor: CELESTICA
       Platform Name: RANGELEY
       Device Version: 10
       Label Revision: Redstone-XP
       Country Code: CHN
       Diag Version: 1.2.8
       Service Tag: LB
       ONIE Version: 2014.08
   }
   psu @ 1 = {
       Description: PSU-1
       Model:  NULL
       SN:     NULL
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x00000000
       Vin:    117620
       Vout:   11920
       Iin:    760
       Iout:   5810
       Pin:    90120
       Pout:   69250
   }
   psu @ 2 = {
       Description: PSU-2
       Model:  NULL
       SN:     NULL
       Status: 0x00000005 [ PRESENT,UNPLUGGED ]
       Caps:   0x00000000
       Vin:    0
       Vout:   0
       Iin:    0
       Iout:   0
       Pin:    0
       Pout:   0
   }
   led @ 1 = {
       Description: Chassis System LED(DIAG LED)
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00011001 [ ON_OFF,ORANGE,GREEN ]
       Mode: ON
       Char:
   }
   led @ 2 = {
       Description: Chassis FAN(1) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 3 = {
       Description: Chassis FAN(2) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 4 = {
       Description: Chassis FAN(3) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 5 = {
       Description: Chassis FAN(4) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 6 = {
       Description: Chassis FAN(5) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 7 = {
       Description: Chassis FAN(6) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 8 = {
       Description: Chassis FAN(7) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 9 = {
       Description: Chassis FAN(8) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 10 = {
       Description: Chassis PSU(1) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 11 = {
       Description: Chassis PSU(2) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   thermal @ 1 = {
       Description: Chassis Thermal (Rear)
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 36
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 2 = {
       Description: BCM SOC Thermal sensor
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 35
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 3 = {
       Description: CPU Core
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 37
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 4 = {
       Description: Chassis Thermal Sensor (Front)
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 40
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 5 = {
       Description: PSU-1 Thermal Sensor
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 37
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 6 = {
       Description: PSU-2 Thermal Sensor
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 35
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   fan @ 1 = {
       Description: Chassis Fan 1
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    8998
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 2 = {
       Description: Chassis Fan 2
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    7710
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 3 = {
       Description: Chassis Fan 3
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    9340
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 4 = {
       Description: Chassis Fan 4
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    8090
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 5 = {
       Description: Chassis Fan 5
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    9429
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 6 = {
       Description: Chassis Fan 6
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    7992
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 7 = {
       Description: Chassis Fan 7
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    9102
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 8 = {
       Description: Chassis Fan 8
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    7927
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 9 = {
       Description: PSU Fan 1
       Status: 0x00000009 [ PRESENT,F2B ]
       Caps:   0x00000000
       RPM:    8848
       Per:    50
       Model:  NULL
       SN:     NULL
   }
   fan @ 10 = {
       Description: PSU Fan 2
       Status: 0x00000009 [ PRESENT,F2B ]
       Caps:   0x00000000
       RPM:    4700
       Per:    47
       Model:  NULL
       SN:     NULL
   }

SFPs:
  Presence Bitmap: 1 2 35 36
  RX_LOS Bitmap: 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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

Port 01: Present, Status = 0x00000000
eeprom:
  0000: 03 04 22 00 00 00 08 00 00 00 00 01 0d 00 00 00
  0010: 00 00 64 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 17 6a 47 4c 43 2d 54 2d 43 55
  0030: 52 56 20 20 20 20 20 20 42 31 20 20 00 00 00 dc
  0040: 00 1a 00 00 58 41 4e 58 30 42 44 37 35 58 30 30
  0050: 33 32 30 20 31 34 31 30 30 32 20 20 00 00 00 50
  0060: 00 00 11 d4 0e 0e 75 5f eb 3a c6 32 2d f7 e9 dc
  0070: 20 57 b5 00 00 00 00 00 00 00 00 00 c7 d9 08 00
  0080: 43 4e 53 38 54 55 54 41 41 42 33 30 2d 31 34 31
  0090: 30 2d 30 33 56 30 33 20 49 fb 46 00 00 00 00 26
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa
  00c0: 47 4c 43 2d 54 20 20 20 20 20 20 20 20 20 20 20
  00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 97
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 40 00 40 00 00 00 00
Port 02: Present, Status = 0x00000004 [ RX_LOS ]
eeprom:
  0000: 03 04 22 00 00 00 08 00 00 00 00 01 0d 00 00 00
  0010: 00 00 64 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 17 6a 47 4c 43 2d 54 2d 43 55
  0030: 52 56 20 20 20 20 20 20 42 31 20 20 00 00 00 dc
  0040: 00 1a 00 00 58 41 4e 54 58 32 32 38 37 32 20 20
  0050: 20 20 20 20 31 34 30 38 31 39 20 20 00 00 00 e9
  0060: 00 00 11 7e 47 e6 43 7e 15 ef 8b 4b b1 7f 88 ba
  0070: 78 eb 0b 00 00 00 00 00 00 00 00 00 24 fb c9 00
  0080: 43 4e 53 38 54 55 54 41 41 42 33 30 2d 31 34 31
  0090: 30 2d 30 33 56 30 33 20 49 fb 46 00 00 00 00 26
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa
  00c0: 47 4c 43 2d 54 20 20 20 20 20 20 20 20 20 20 20
  00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 97
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 40 00 40 00 00 00 00
Port 03: Missing.
Port 04: Missing.
Port 05: Missing.
Port 06: Missing.
Port 07: Missing.
Port 08: Missing.
Port 09: Missing.
Port 10: Missing.
Port 11: Missing.
Port 12: Missing.
Port 13: Missing.
Port 14: Missing.
Port 15: Missing.
Port 16: Missing.
Port 17: Missing.
Port 18: Missing.
Port 19: Missing.
Port 20: Missing.
Port 21: Missing.
Port 22: Missing.
Port 23: Missing.
Port 24: Missing.
Port 25: Missing.
Port 26: Missing.
Port 27: Missing.
Port 28: Missing.
Port 29: Missing.
Port 30: Missing.
Port 31: Missing.
Port 32: Missing.
Port 33: Missing.
Port 34: Missing.
Port 35: Present, Status = 0x00000000
eeprom:
  0000: 03 04 21 00 00 00 00 00 04 00 00 00 67 00 00 00
  0010: 00 00 03 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 40 20 53 46 50 2d 48 31 30 47
  0030: 42 2d 43 55 33 4d 20 20 30 33 20 20 01 00 00 e8
  0040: 00 00 00 00 43 53 53 33 31 47 35 31 39 32 39 20
  0050: 20 20 20 20 31 36 30 35 30 31 20 20 00 00 00 ab
  0060: 81 00 11 be cd f7 59 20 a9 96 69 41 e7 88 cd da
  0070: 20 41 3b 00 00 00 00 00 00 00 00 00 9c 16 a0 00
  0080: 43 4f 50 51 41 41 36 4a 41 42 33 37 2d 30 39 36
  0090: 31 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 cf
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00c0: 53 46 50 2d 48 31 30 47 42 2d 43 55 33 4d 20 20
  00d0: 20 20 20 20 30 39 00 00 00 00 00 00 00 00 00 b6
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Port 36: Present, Status = 0x00000000
eeprom:
  0000: 03 04 21 00 00 00 00 00 04 00 00 00 67 00 00 00
  0010: 00 00 03 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 40 20 53 46 50 2d 48 31 30 47
  0030: 42 2d 43 55 33 4d 20 20 30 33 20 20 01 00 00 e8
  0040: 00 00 00 00 43 53 53 33 31 47 35 31 39 32 32 20
  0050: 20 20 20 20 31 36 30 35 30 31 20 20 00 00 00 a4
  0060: 81 00 11 41 4f f5 2c 81 28 2e 9a d8 43 78 e9 40
  0070: 65 4e 77 00 00 00 00 00 00 00 00 00 ec dc bd 00
  0080: 43 4f 50 51 41 41 36 4a 41 42 33 37 2d 30 39 36
  0090: 31 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 cf
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00c0: 53 46 50 2d 48 31 30 47 42 2d 43 55 33 4d 20 20
  00d0: 20 20 20 20 30 39 00 00 00 00 00 00 00 00 00 b6
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Port 37: Missing.
Port 38: Missing.
Port 39: Missing.
Port 40: Missing.
Port 41: Missing.
Port 42: Missing.
Port 43: Missing.
Port 44: Missing.
Port 45: Missing.
Port 46: Missing.
Port 47: Missing.
Port 48: Missing.
Port 49: Missing.
Port 50: Missing.
Port 51: Missing.
Port 52: Missing.
Port 53: Missing.
Port 54: Missing.
root@localhost:~#
root@localhost:~#
2016-10-25 12:50:36 -07:00
Sridhar Pitchai
d7683a9909 Platform x86-64-cel-redstone-xp
ONLP porting.
        This patch has ONLP APIs for sysi, sfp, fan, psu, led and thermals.
    onlpdump log:
root@localhost:~# onlpdump
   System Information: = {
       Product Name: Redstone-XP D2060
       Part Number: R0854-F1004-01
       Serial Number: D2060B2F105A14AP000001
       MAC: 00:e0:ec:33:5c:dc
       MAC Range: 73
       Manufacturer: CELESTICA
       Manufacture Date: 10/21/2015 12:19:06
       Vendor: CELESTICA
       Platform Name: RANGELEY
       Device Version: 10
       Label Revision: Redstone-XP
       Country Code: CHN
       Diag Version: 1.2.8
       Service Tag: LB
       ONIE Version: 2014.08
   }
   psu @ 1 = {
       Description: PSU-1
       Model:  NULL
       SN:     NULL
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x00000000
       Vin:    117620
       Vout:   11920
       Iin:    760
       Iout:   5810
       Pin:    90120
       Pout:   69250
   }
   psu @ 2 = {
       Description: PSU-2
       Model:  NULL
       SN:     NULL
       Status: 0x00000005 [ PRESENT,UNPLUGGED ]
       Caps:   0x00000000
       Vin:    0
       Vout:   0
       Iin:    0
       Iout:   0
       Pin:    0
       Pout:   0
   }
   led @ 1 = {
       Description: Chassis System LED(DIAG LED)
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00011001 [ ON_OFF,ORANGE,GREEN ]
       Mode: ON
       Char:
   }
   led @ 2 = {
       Description: Chassis FAN(1) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 3 = {
       Description: Chassis FAN(2) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 4 = {
       Description: Chassis FAN(3) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 5 = {
       Description: Chassis FAN(4) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 6 = {
       Description: Chassis FAN(5) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 7 = {
       Description: Chassis FAN(6) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 8 = {
       Description: Chassis FAN(7) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 9 = {
       Description: Chassis FAN(8) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 10 = {
       Description: Chassis PSU(1) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   led @ 11 = {
       Description: Chassis PSU(2) LED
       Status: 0x00000005 [ PRESENT,ON ]
       Caps:   0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ]
       Mode: ON
       Char:
   }
   thermal @ 1 = {
       Description: Chassis Thermal (Rear)
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 36
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 2 = {
       Description: BCM SOC Thermal sensor
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 35
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 3 = {
       Description: CPU Core
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 37
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 4 = {
       Description: Chassis Thermal Sensor (Front)
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 40
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 5 = {
       Description: PSU-1 Thermal Sensor
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 37
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   thermal @ 6 = {
       Description: PSU-2 Thermal Sensor
       Status: 0x00000001 [ PRESENT ]
       Caps:   0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ]
       Temperature: 35
       thresholds = {
           Warning: 45000
           Error: 55000
           Shutdown: 60000
       }
   }
   fan @ 1 = {
       Description: Chassis Fan 1
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    8998
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 2 = {
       Description: Chassis Fan 2
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    7710
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 3 = {
       Description: Chassis Fan 3
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    9340
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 4 = {
       Description: Chassis Fan 4
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    8090
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 5 = {
       Description: Chassis Fan 5
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    9429
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 6 = {
       Description: Chassis Fan 6
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    7992
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 7 = {
       Description: Chassis Fan 7
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    9102
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 8 = {
       Description: Chassis Fan 8
       Status: 0x00000005 [ PRESENT,B2F ]
       Caps:   0x00000000
       RPM:    7927
       Per:    40
       Model:  NULL
       SN:     NULL
   }
   fan @ 9 = {
       Description: PSU Fan 1
       Status: 0x00000009 [ PRESENT,F2B ]
       Caps:   0x00000000
       RPM:    8848
       Per:    50
       Model:  NULL
       SN:     NULL
   }
   fan @ 10 = {
       Description: PSU Fan 2
       Status: 0x00000009 [ PRESENT,F2B ]
       Caps:   0x00000000
       RPM:    4700
       Per:    47
       Model:  NULL
       SN:     NULL
   }

SFPs:
  Presence Bitmap: 1 2 35 36
  RX_LOS Bitmap: 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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

Port 01: Present, Status = 0x00000000
eeprom:
  0000: 03 04 22 00 00 00 08 00 00 00 00 01 0d 00 00 00
  0010: 00 00 64 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 17 6a 47 4c 43 2d 54 2d 43 55
  0030: 52 56 20 20 20 20 20 20 42 31 20 20 00 00 00 dc
  0040: 00 1a 00 00 58 41 4e 58 30 42 44 37 35 58 30 30
  0050: 33 32 30 20 31 34 31 30 30 32 20 20 00 00 00 50
  0060: 00 00 11 d4 0e 0e 75 5f eb 3a c6 32 2d f7 e9 dc
  0070: 20 57 b5 00 00 00 00 00 00 00 00 00 c7 d9 08 00
  0080: 43 4e 53 38 54 55 54 41 41 42 33 30 2d 31 34 31
  0090: 30 2d 30 33 56 30 33 20 49 fb 46 00 00 00 00 26
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa
  00c0: 47 4c 43 2d 54 20 20 20 20 20 20 20 20 20 20 20
  00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 97
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 40 00 40 00 00 00 00
Port 02: Present, Status = 0x00000004 [ RX_LOS ]
eeprom:
  0000: 03 04 22 00 00 00 08 00 00 00 00 01 0d 00 00 00
  0010: 00 00 64 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 17 6a 47 4c 43 2d 54 2d 43 55
  0030: 52 56 20 20 20 20 20 20 42 31 20 20 00 00 00 dc
  0040: 00 1a 00 00 58 41 4e 54 58 32 32 38 37 32 20 20
  0050: 20 20 20 20 31 34 30 38 31 39 20 20 00 00 00 e9
  0060: 00 00 11 7e 47 e6 43 7e 15 ef 8b 4b b1 7f 88 ba
  0070: 78 eb 0b 00 00 00 00 00 00 00 00 00 24 fb c9 00
  0080: 43 4e 53 38 54 55 54 41 41 42 33 30 2d 31 34 31
  0090: 30 2d 30 33 56 30 33 20 49 fb 46 00 00 00 00 26
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa
  00c0: 47 4c 43 2d 54 20 20 20 20 20 20 20 20 20 20 20
  00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 97
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 40 00 40 00 00 00 00
Port 03: Missing.
Port 04: Missing.
Port 05: Missing.
Port 06: Missing.
Port 07: Missing.
Port 08: Missing.
Port 09: Missing.
Port 10: Missing.
Port 11: Missing.
Port 12: Missing.
Port 13: Missing.
Port 14: Missing.
Port 15: Missing.
Port 16: Missing.
Port 17: Missing.
Port 18: Missing.
Port 19: Missing.
Port 20: Missing.
Port 21: Missing.
Port 22: Missing.
Port 23: Missing.
Port 24: Missing.
Port 25: Missing.
Port 26: Missing.
Port 27: Missing.
Port 28: Missing.
Port 29: Missing.
Port 30: Missing.
Port 31: Missing.
Port 32: Missing.
Port 33: Missing.
Port 34: Missing.
Port 35: Present, Status = 0x00000000
eeprom:
  0000: 03 04 21 00 00 00 00 00 04 00 00 00 67 00 00 00
  0010: 00 00 03 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 40 20 53 46 50 2d 48 31 30 47
  0030: 42 2d 43 55 33 4d 20 20 30 33 20 20 01 00 00 e8
  0040: 00 00 00 00 43 53 53 33 31 47 35 31 39 32 39 20
  0050: 20 20 20 20 31 36 30 35 30 31 20 20 00 00 00 ab
  0060: 81 00 11 be cd f7 59 20 a9 96 69 41 e7 88 cd da
  0070: 20 41 3b 00 00 00 00 00 00 00 00 00 9c 16 a0 00
  0080: 43 4f 50 51 41 41 36 4a 41 42 33 37 2d 30 39 36
  0090: 31 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 cf
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00c0: 53 46 50 2d 48 31 30 47 42 2d 43 55 33 4d 20 20
  00d0: 20 20 20 20 30 39 00 00 00 00 00 00 00 00 00 b6
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Port 36: Present, Status = 0x00000000
eeprom:
  0000: 03 04 21 00 00 00 00 00 04 00 00 00 67 00 00 00
  0010: 00 00 03 00 4f 45 4d 20 20 20 20 20 20 20 20 20
  0020: 20 20 20 20 00 00 40 20 53 46 50 2d 48 31 30 47
  0030: 42 2d 43 55 33 4d 20 20 30 33 20 20 01 00 00 e8
  0040: 00 00 00 00 43 53 53 33 31 47 35 31 39 32 32 20
  0050: 20 20 20 20 31 36 30 35 30 31 20 20 00 00 00 a4
  0060: 81 00 11 41 4f f5 2c 81 28 2e 9a d8 43 78 e9 40
  0070: 65 4e 77 00 00 00 00 00 00 00 00 00 ec dc bd 00
  0080: 43 4f 50 51 41 41 36 4a 41 42 33 37 2d 30 39 36
  0090: 31 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 cf
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00c0: 53 46 50 2d 48 31 30 47 42 2d 43 55 33 4d 20 20
  00d0: 20 20 20 20 30 39 00 00 00 00 00 00 00 00 00 b6
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Port 37: Missing.
Port 38: Missing.
Port 39: Missing.
Port 40: Missing.
Port 41: Missing.
Port 42: Missing.
Port 43: Missing.
Port 44: Missing.
Port 45: Missing.
Port 46: Missing.
Port 47: Missing.
Port 48: Missing.
Port 49: Missing.
Port 50: Missing.
Port 51: Missing.
Port 52: Missing.
Port 53: Missing.
Port 54: Missing.
root@localhost:~#
root@localhost:~#
2016-10-25 11:56:23 -07:00
Sridhar Pitchai
265785a9e0 Platform Celestica Seastone
Celestica seastone without ONLP
2016-10-19 10:46:35 -07:00
Jeffrey Townsend
d763000af8 Add module declaration file. 2016-06-17 17:17:53 +00:00
Jeffrey Townsend
5c3345bef4 Platform class mini-cleanup
- Platform objects now export their physical port configuration
- Property updates.
2016-06-14 15:52:00 +00:00
Carl D. Roth
3f5e708161 Spray and pray! Everything is eth0, right?
- stub out syspath entries for network devices
- assume that each platform boots with eth0
2016-05-18 18:49:34 -07:00
Carl D. Roth
19bdb4d72e Deprecated per-platform grub.cfg, boot shell hooks, legacy install config 2016-05-18 12:59:58 -07:00
Carl D. Roth
5624b49d50 Deprecate /etc/onl/net, /etc/onl/mounts, /etc/fw_env.config 2016-05-17 19:26:01 -07:00
Carl D. Roth
10cd3f6abd Include u-boot and interface configs for all platforms 2016-05-17 19:25:05 -07:00
Carl D. Roth
a5e443274f Platform configs for x86-64 systems 2016-05-02 12:58:47 -07:00
Steven Noble
07b6d0cd34 Update grub.cfg to fix issue with chainloader
From https://github.com/opencomputeproject/OpenNetworkLinux/issues/57
2016-03-15 14:44:42 -07:00
Jeffrey Townsend
779fc15187 Initial framework for the Redstone XP. 2016-01-05 19:37:23 +00:00
Jeffrey Townsend
45dee0c608 Initial. 2015-11-19 22:45:38 +00:00