Jeffrey Townsend
9f563b877e
Merge pull request #181 from jonathantsai-qci/master
...
Add IX1 platform:
2017-04-12 10:00:31 -07:00
Rob Sherwood
10967d52c9
Removed old info from Building.md ( #189 )
...
There was ONL1.0 info in this document. Removed and updated.
2017-04-12 09:58:31 -07:00
Jonathan Tsai
b92ca52f42
[LY6,LY8,LY9,IX1] Remove the newline in the AIM_LOG_ERROR()
2017-04-12 10:58:23 +08:00
Jeffrey Townsend
d4be9f3648
Merge pull request #186 from pkarashchenko/fix_as7512_32x_operation
...
Fix as7512 32x operation
2017-04-11 09:35:40 -07:00
Jeffrey Townsend
f6f95f442d
Latest bigcode.
2017-04-11 00:10:15 +00:00
Jeffrey Townsend
464ee5aac4
Merge pull request #185 from kenchiang/bigcode
...
Update bigcode submodule for cjson_util_file handling
2017-04-04 08:02:04 -07:00
Ken Chiang
1dbd2fc1f6
Update bigcode submodule for cjson_util_file handling
2017-04-03 16:05:31 -07:00
Petro Karashchenko
6e3079d379
Fix possible buffer overflow issue in platform lib of AS7512-32X
2017-04-04 01:15:40 +03:00
Petro Karashchenko
6f15b8929b
Fix access to fan_duty_cycle_percentage node for fan interface of AS7512-32x
2017-04-04 01:10:03 +03:00
Petro Karashchenko
b7a17783fc
Improve error handling in PSU driver for AS7512-32X platform
2017-04-04 01:08:41 +03:00
Petro Karashchenko
6bb72f2a71
Use the new search API to improve compatibility between kernels.
2017-04-04 01:07:10 +03:00
Petro Karashchenko
98605a8e66
Implement onlp sysi platform info interface for AS7512-32X
2017-04-04 01:05:27 +03:00
Petro Karashchenko
cc057381c2
Add 0x64 to address list for accton_i2c_cpld
2017-04-04 01:03:45 +03:00
Petro Karashchenko
c0998b8bba
Fix initialization for CPLD and PSU devices
2017-04-04 01:02:46 +03:00
Petro Karashchenko
e91feac31c
Prevent ONL installation failure on systems not support UBI storages
2017-04-04 01:00:39 +03:00
Jonathan Tsai
877b479a1c
[LY6,LY8,LY9,IX1] Change all print calls from printf() to AIM_LOG_ERROR()
2017-03-31 11:08:56 +08: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
Jonathan Tsai
3708a3b1bd
Add IX1 platform:
...
1. [IX1] Porting platform driver
2. [IX1] Porting quanta_hwmon_ix_series.ko, qci_pmbus.ko
3. [IX1] Porting ONLP
4. [IX1] Porting LED management
2017-03-23 17:22:45 +08: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