Commit Graph

1334 Commits

Author SHA1 Message Date
Ken Chiang
1dbd2fc1f6 Update bigcode submodule for cjson_util_file handling 2017-04-03 16:05:31 -07:00
Jeffrey Townsend
aa779809c7 Fix Loader Upgrade Status
When the Loader upgrade step was moved prior to platform setup the upgrade status was lost
because the platform-current symlink had not been created yet.

This simple fix places the upgrade status file in the absolute directory instead of
the symlinked directory.

The loader status and the firmware status should probably be separated anyways.
The loader status doesn't belong in the platform-specific data.
2017-03-30 20:19:09 +00:00
Jeffrey Townsend
dd31e1b84f Revert SFPI changes. 2017-03-29 20:57:07 +00:00
Jeffrey Townsend
b15a393549 Merge pull request #183 from opencomputeproject/revert-177-sfp
Revert "merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()"
2017-03-29 13:52:56 -07:00
Jeffrey Townsend
f7485d0a4f Revert "merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()" 2017-03-29 13:51:34 -07:00
Steven Noble
87734ee3a3 Updating HCL for Quanta and Accton (#182)
Trivial doc change
2017-03-29 12:23:58 -07:00
Jeffrey Townsend
62bdef9255 Merge pull request #170 from brandonchuang/as5822_54x
[as5822-54x] Add onlp for 5822
2017-03-29 12:22:08 -07:00
Jeffrey Townsend
13d0d26500 Merge pull request #169 from brandonchuang/as5912_54x
[as5912-54x] Add onlp for 5912
2017-03-29 12:21:53 -07:00
Jeffrey Townsend
09693d8de4 Use the correct path when removing the grubenv file. 2017-03-27 22:08:18 +00:00
Zi Zhou
1ba9d83485 Merge pull request #180 from zhouzi88/master
bug fix
2017-03-20 18:16:00 -07:00
Zi Zhou
08b68cac76 bug fix 2017-03-20 18:16:05 -07:00
Zi Zhou
0ba31c95ef Merge pull request #178 from zhouzi88/master
merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()
2017-03-15 19:20:48 -07:00
Zi Zhou
d664fb99a5 merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read() 2017-03-15 19:15:44 -07:00
Zi Zhou
a08c257515 Merge pull request #177 from zhouzi88/sfp
merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()
2017-03-15 18:43:10 -07:00
Zi Zhou
4e9bb102a2 merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read() 2017-03-15 16:38:14 -07:00
brandonchuang
18c9cdae46 [as5822-54x] simplify the code for onlp_file_read_int 2017-03-14 10:30:41 +08:00
Ken Chiang
dd42deb0b7 If the thermal sensor is missing, call onlp_oid_show_state_missing(). (#176)
trivial change, matches with other uses of the call.
2017-03-13 17:38:05 -07:00
brandonchuang
b71824910b [as7712-32x] Correct thermal id and fan path of thermal plan (#173) 2017-03-13 14:42:46 -07:00
brandonchuang
63a8550255 [as5812_54t] Fix onlp_fani_percentage_set will set duty to wrong fan module issue (#175) 2017-03-13 14:42:36 -07:00
brandonchuang
eba81ccc5b [as5912-54x] simplify the code for onlp_file_read_int 2017-03-13 17:26:29 +08:00
Zi Zhou
af4e3b1066 Retry fan speed read when we see zero RPM, to make sure it's not a glitch (#174) 2017-03-09 11:53:41 -08:00
Jeffrey Townsend
a2ef3b9380 This module provides a domain socket registration and handling service.
Clients register a filesystem path they wish to publish
as a domain socket their handlers are called when
the domain socket is accessed.

Some ONLP data can only be retreived by accessing another process
Which cannot be part of the ONLP layer itself for various reasons.

The ONLP File APIs already support unix domain sockets for all operations
as if they were regular files and certain features are already implemented
using this mechanism (see the examples below).
This module provides a common framework to implement the server side of the
domain socket as well (which is currently up to the platform integrator).

Some examples of how this is used:
  - Reporting the switch internal thermal temperature
    - This can only be accessed by the code managing the switch.
    - In this case the switch management agent exports a domain socket
      that reports the temperature when the socket is read and the
      thermali implementation uses that domain socket to satisfy
      the request for the OID.

  - SFP Access through the switch
    - Some platforms implement SFP I2C access through a bus connected
      to the switch itself.
    - Only the agent running the switch can access the SFP eeproms.
    - In this case the strategy is for the switch agent to export domain
      sockets for each SFP which can be used to read the SFP status/eeprom
      etc. The SFPI interface then reads these domain sockets to get the
      required information.

Standardizing on this method allows all system ONLP clients to access
all data, even if that data is present only in seperate processes.
2017-03-03 21:55:27 +00:00
Jeffrey Townsend
6378bafc32 Merge pull request #168 from jonathantsai-qci/master
Quanta LYX ONLP Update - LED, Quanta hwmon, ONLP APIs Call
2017-03-02 13:53:04 -08:00
Jeffrey Townsend
d226a06cb5 Cleanup targets. 2017-03-02 20:32:58 +00:00
Jeffrey Townsend
fb2798c157 Don't predicate patch on setup-time architecture. 2017-03-02 20:26:13 +00:00
Jeffrey Townsend
aa721ab6a4 Merge pull request #172 from roylee123/master
Update new thermal plan for fan speed.
2017-03-02 07:47:59 -08:00
Jeffrey Townsend
1300f71461 Merge pull request #171 from zhouzi88/master
add buffer size for make_printable__()
2017-03-02 07:45:12 -08:00
roylee123
cf54b763c0 Update new thermal plan for fan speed. 2017-03-02 15:49:14 +08:00
Zi Zhou
d391b8b5d7 minor fix 2017-03-02 07:01:46 +00:00
Zi Zhou
dc1f721e66 add buffer size for make_printable__() 2017-03-01 17:37:47 -08:00
Zi Zhou
b87ffa5a0d Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-03-02 00:27:11 +00:00
Jeffrey Townsend
52cb0a0f4b Remove this extra copy of the 2080-r0 platform config package. 2017-03-01 22:20:37 +00:00
brandonchuang
c1956b6864 [as5822-54x] Add onlp for 5822 2017-03-01 15:53:09 +08:00
brandonchuang
e11cb9da1c [as5912-54x] Add onlp for 5912 2017-03-01 15:49:38 +08:00
Zi Zhou
3429a21a06 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-02-28 16:33:58 -08:00
Jeffrey Townsend
1940b755c4 Add arm64 to the default build. 2017-02-28 22:36:02 +00:00
Jeffrey Townsend
b0ecaea175 Enable TUN and VETH. 2017-02-24 02:38:59 +00:00
Jeffrey Townsend
c349324fb4 kernel-3.9.6-powerpc-e500v is now disabled. 2017-02-22 21:07:33 +00:00
Jeffrey Townsend
544fbf3b66 Switch to 3.16 kernel. 2017-02-22 16:59:54 +00:00
Jonathan Tsai
0c7cc3b62e [LY6,LY8,LY9] Change all low-level function-call to onlp APIs 2017-02-22 13:45:18 +08:00
Jonathan Tsai
f4faf45af4 [LY6,LY8,LY9] Change file name from quanta_hwmon.c to quanta_hwmon_ly_series.c 2017-02-22 13:29:29 +08:00
Jonathan Tsai
6b777d8772 [LY6,LY9] port platform management for LED 2017-02-22 13:24:50 +08:00
Jeffrey Townsend
48f4db30d9 The 3.2.65-1+deb7u2 kernel is no longer used. 2017-02-22 02:25:55 +00:00
Jeffrey Townsend
6b727f4dd1 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-02-22 02:17:46 +00:00
Jeffrey Townsend
5f0c28b9d2 Latest 2017-02-22 02:17:33 +00:00
Jeffrey Townsend
4843afd6bd Merge pull request #166 from zhouzi88/master
ly2 kernel module and onlp driver update for kernel 3.16
2017-02-21 18:12:45 -08:00
Jeffrey Townsend
48bd05aca5 Build missing packages. 2017-02-22 02:10:22 +00:00
Zi Zhou
02607f8b3e Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-02-22 00:30:50 +00:00
Jeffrey Townsend
9fd009ed59 Fix kernel package. 2017-02-21 12:05:41 -08:00
Zi Zhou
8c2e2873a2 switch to kernel 3.16-lts (powerpc platform) 2017-02-21 11:31:43 -08:00