1973 Commits

Author SHA1 Message Date
Jeffrey Townsend
306842e7cc Latest 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
b077ed028b Enable ONIE and Firmware Upgrade Package Support 2016-10-26 12:39:24 -07:00
Jeffrey Townsend
4a5732241c Add platform and firmware keys. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
b7879951f0 Commit the sysctl settings prior to first mount. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
03bb6b718d Add default ONIE upgrade package settings. 2016-10-26 12:38:32 -07:00
Jeffrey Townsend
df146fd122 Onie and Loader infrastructure improvements
- Loader and ONIE moved to importable classes for tool usage
- OnieUpgradeBase updated.
2016-10-26 12:37:24 -07:00
Carl D. Roth
06ad896fd4 Added system upgrade key 2016-10-26 12:37:24 -07:00
Carl D. Roth
c10374ddc6 Fixed cpR implementation 2016-10-26 12:37:24 -07:00
Carl D. Roth
b6ce6eb566 Added devtmpfs workaround 2016-10-26 12:37:24 -07:00
Carl D. Roth
5e0ea4516e Update comment 2016-10-26 12:37:24 -07:00
Carl D. Roth
8d9bedd92e Added cp-R, added support for devtmpfs 2016-10-26 12:37:24 -07:00
Carl D. Roth
ead42bc860 Added upgrade-shell 2016-10-26 12:37:24 -07:00
Carl D. Roth
1c12aa5189 Added serialization function 2016-10-26 12:37:24 -07:00
Steven Noble
079765bf85 Updates the Wedge 40 and 100 systems to use the 3.16 kernel (#117) 2016-10-26 12:37:23 -07:00
Sridhar Pitchai
db0790fac8 Platform x86-64-alphanetworks-snx60a0-486f-r0 (#114)
Fixing the console port
2016-10-26 12:37:23 -07:00
Jeffrey Townsend
c875832718 Generalize to all exceptions. 2016-10-26 12:37:20 -07:00
Jeffrey Townsend
fad2b5cd82 Latest 2016-10-26 12:35:13 -07:00
Sridhar Pitchai
7c3d3a2c3b Platform x86-64-agema-agc7648 without ONLP (#113) 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
05ef1f19b4 Latest 2016-10-26 12:35:12 -07:00
Steven Noble
ac03653c5f Kernel configuration options and updated at24 patch for kernel 3.16 2016-10-26 12:35:12 -07:00
Zi Zhou
bc4d2e6f97 Do not show CRC under System Information for "show version" 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
86cedd5bab - Improve retry and timeout performance for the isch driver
- adm1021 device detection option
2016-10-26 12:35:12 -07:00
Jeffrey Townsend
43c30cf187 The onl-pki script has moved. 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
e3030a6a1b Latest 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
c799c39863 Latest 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
35d017c0f8 Latest 2016-10-26 19:34:37 +00:00
Jeffrey Townsend
77e9794fea Latest 2016-10-26 00:24:26 +00: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
Jeffrey Townsend
a24beac4fd - DHCP Timeout support in the Loader environment
When $NETAUTO=dhcp the transaction will now timeout after $NETRETRIES attempts.
  If the system has a local install or SWI then booting can continue.

  For systems which require DHCP to be functional before booting can continue
  (for example SWIs downloaded via URL rather than locally) then NETRETRIES=infinite should be set in the boot-config.

  NETRETRIES can be set to any number of attempts, or infinite. The default value is 5 attempts.

- Wait for ma1 linkup in the loader
  A short wait has been introduced to allow ma1 to linkup prior to continuing.
2016-10-25 18:02:00 +00:00
Jeffrey Townsend
6b051c4533 Upgrade separation and cleanup. 2016-10-21 18:12:33 +00:00
Jeffrey Townsend
b3e2757b31 Fix uninstallation. 2016-10-21 16:02:32 +00:00
Jeffrey Townsend
71e0e08948 Latest 2016-10-21 06:56:09 -07:00
Jeffrey Townsend
09cb160ca6 Enable ONIE and Firmware Upgrade Package Support 2016-10-20 21:18:24 +00:00
Jeffrey Townsend
c227d90e85 Add platform and firmware keys. 2016-10-20 14:16:01 -07:00
Jeffrey Townsend
f61b2436f1 Commit the sysctl settings prior to first mount. 2016-10-20 21:15:05 +00:00
Jeffrey Townsend
36391179b2 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-10-20 21:14:57 +00:00
Carl D. Roth
08e6bddfbb WIP parted API updates -- DO NO MERGE 2016-10-20 12:03:35 -07:00
Carl D. Roth
d129388145 Refactor to use OnieHelper 2016-10-20 12:00:48 -07:00
Carl D. Roth
759b002e4d Added attach/detach support 2016-10-20 11:59:45 -07:00
Carl D. Roth
b9ddd22e82 Added UMOUNT tag to suspend cleanup 2016-10-20 11:59:26 -07:00
Steven Noble
cbeb0f1192 Updates the Wedge 40 and 100 systems to use the 3.16 kernel (#117) 2016-10-19 21:51:01 -07:00
Jeffrey Townsend
23e6922e71 Add default ONIE upgrade package settings. 2016-10-19 21:36:00 +00:00
Jeffrey Townsend
6a97f85532 Onie and Loader infrastructure improvements
- Loader and ONIE moved to importable classes for tool usage
- OnieUpgradeBase updated.
2016-10-19 21:34:54 +00:00
Sridhar Pitchai
265785a9e0 Platform Celestica Seastone
Celestica seastone without ONLP
2016-10-19 10:46:35 -07:00
Sridhar Pitchai
bbf09f51f3 Platform x86-64-alphanetworks-snx60a0-486f-r0 (#114)
Fixing the console port
2016-10-19 10:15:03 -07:00
Jeffrey Townsend
a6aba0a15f Generalize to all exceptions. 2016-10-19 14:54:11 +00:00
Jeffrey Townsend
a994cdb4eb Latest 2016-10-18 11:30:47 -07:00
Sridhar Pitchai
ea397909e5 Platform x86-64-agema-agc7648 without ONLP (#113) 2016-10-14 16:36:45 -07:00
Jeffrey Townsend
a7d7dea1b5 Latest 2016-10-14 18:07:35 +00:00