Commit Graph

1312 Commits

Author SHA1 Message Date
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
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
Zi Zhou
bea691120e recognize QSFP-LM4 (from finisar/DELL) 2017-02-21 11:29:38 -08:00
Jeffrey Townsend
fb94d3b3dd Change the arm-iproc kernel. 2017-02-21 18:58:16 +00:00
Jeffrey Townsend
61686c5b50 Improve output. 2017-02-21 18:43:35 +00:00
Jeffrey Townsend
db19b16a48 Update name. 2017-02-21 18:43:10 +00:00
Jeffrey Townsend
133a2cc9b6 Install a new FIT image (for developers). 2017-02-21 18:42:28 +00:00
Jeffrey Townsend
eb0d476125 3.2 LTS for ARMEL/IPROC. 2017-02-21 18:41:34 +00:00
Jeffrey Townsend
c6bf5387e1 This build has been replaced by the 3.2 LTS package. 2017-02-21 18:40:36 +00:00
Jeffrey Townsend
840389d897 Allow sysconfig overrides from the config partition. 2017-02-21 18:13:01 +00:00
Jeffrey Townsend
9f4581f8af Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-02-21 18:12:41 +00:00
Jeffrey Townsend
4511be1ab9 This kernel has been replaced by the 3.2 LTS version. 2017-02-21 18:12:02 +00:00
Jeffrey Townsend
e1ddecd2bf 3.2 LTS Kernel Build
This kernel tracks the 3.2 LTS kernel with minimal patches to support the Broadcom IPROC.
This replaces the previous 3.2.71 patched kernel put in place temporarily to support ARM.

IPROC systems will be moved to this kernel (which will continue to track 3.2 LTS) until
IPROC support is integrated with the 3.16 LTS package.

This kernel is available for IPROC systems only.
2017-02-21 18:06:48 +00:00
Steven Noble
6887e45562 Updating HCL to remove AS5600 2017-02-20 11:14:27 -08:00
Zi Zhou
ee0ec35c60 onlp driver update for kernel 3.16-lts 2017-02-17 18:46:45 -08:00
Zi Zhou
4bbd27e7f3 ly2 kernel module and onlp driver update for kernel 3.16 2017-02-16 23:41:11 -08:00
Jeffrey Townsend
f3c9cce073 Initial 2017-02-16 15:21:19 +00:00
Jeffrey Townsend
43c687bed9 Remove deprecated kernel builds. 2017-02-16 15:17:34 +00:00
Jeffrey Townsend
7e8e5ea2ef Merge pull request #165 from zhouzi88/master
move to kernel 3.16-lts (powerpc platform)
2017-02-16 07:12:13 -08:00
Zi Zhou
6e29938485 move to kernel 3.16-lts (powerpc platform) 2017-02-16 08:38:37 +00:00
Jeffrey Townsend
4c2a53dd85 Merge pull request #159 from jonathantsai-qci/master
Quanta LYX ONLP update
2017-02-15 12:57:14 -08:00
Jeffrey Townsend
3ec66e4a44 Merge pull request #157 from roylee123/master
Add new platform for Accton AS7312-54X.
2017-02-15 11:58:57 -08:00
Jeffrey Townsend
114e391d09 - Add the AS4610 DTB build to the platform build package.
- The AS4610 DTB now comes from the platform build package rather than the kernel package.
2017-02-15 19:42:46 +00:00
Jeffrey Townsend
65e9865ba8 Add arm dst tree. 2017-02-15 19:41:20 +00:00