Commit Graph

1362 Commits

Author SHA1 Message Date
hans
8826b1753a update the delta_ag9032v1 platform 2017-04-14 11:05:51 +08:00
Jeffrey Townsend
1d9defd946 CVE-2016-10229 2017-04-13 23:56:48 +00:00
Jeffrey Townsend
00ddfde529 Do not bring the interface down during setup. 2017-04-13 23:49:36 +00:00
Jeffrey Townsend
1e35af499d Merge branch 'master' of github.com:vincent0083/OpenNetworkLinux
Conflicts:
	packages/platforms/delta/Makefile
	packages/platforms/delta/vendor-config/Makefile
	packages/platforms/delta/vendor-config/PKG.yml
	packages/platforms/delta/vendor-config/src/python/delta/__init__.py
	packages/platforms/delta/x86-64/Makefile
	packages/platforms/delta/x86-64/modules/Makefile
	packages/platforms/delta/x86-64/modules/PKG.yml
2017-04-12 12:24:14 -07:00
Jeffrey Townsend
dd8f694c31 Merge pull request #179 from hans-tseng/agc7648a
agc7648a
2017-04-12 10:04:24 -07:00
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
hans
b0be7624e1 remove the unnecessary config
Signed-off-by: hans <hans.taeng@delta.com.tw>
2017-04-12 13:05:18 +08:00
hans
d15123099d 1.modify the kernel config file to the right folder
Signed-off-by: hans <hans.taeng@delta.com.tw>
2017-04-12 12:55:32 +08: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
vincent0083
5e9bf6ddce [WB2448]
1. Change Vendor name from "DELTA" to "Delta".
2. Re-name the Config defines to uppercase.
3. Change all print calls from printf() to AIM_LOG_ERR().
4. Delete function onlp_sysi_onie_data_free.
2017-03-31 14:36:35 +08: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
hans
8895e0adc7 1. Remove tmp421.c in vendor module.
2. Add define for fan zero TACH count.
3. Remove onlp_sysi_onie_info_get, because it is unnecessary.
4. Replace define which include some lower case character to upper case
5. Update copyright to "Delta Networks, Inc."

Signed-off-by: hans <hans.taeng@delta.com.tw>
2017-03-31 09:14:25 +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
vincent0083
3a7d0a6b2f Add new platform for Delta WB2448. 2017-03-30 15:52:16 +08: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
MASAN.XU
4ceb4351f6 1. Add new class 48 ports 10G SFP+/ 6 ports 100G QSFP28 "OnlPlatformPortConfig_48x10_6x100" for agc7648a
Signed-off-by: MASAN.XU <MASAN.XU@DELTA.COM.TW>
2017-03-16 01:57:47 +00: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
MASAN.XU
85e7cecb28 1. add the first editon of agc7648a branch
Signed-off-by: MASAN.XU <MASAN.XU@DELTA.COM.TW>
2017-03-15 14:34:47 +08: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