Commit Graph

617 Commits

Author SHA1 Message Date
Jeffrey Townsend
227daab6dc Remove ucli advertisement. 2017-07-07 16:24:35 +00:00
Jeffrey Townsend
34537a30c3 Merge pull request #209 from jonathantsai-qci/master
Add Quanta IX2 Platform:
2017-06-30 08:57:42 -07:00
Jeffrey Townsend
1d53e8afee Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-06-13 16:29:47 +00:00
Jeffrey Townsend
3c45fab2a5 Add 3.2 prerequisite. 2017-06-13 16:27:57 +00:00
Jeffrey Townsend
623e901516 Add 3.2 LTS option for x86. 2017-06-13 15:46:46 +00:00
Jeffrey Townsend
4c9ca4145e 3.2 LTS build for x86_64. 2017-06-13 08:35:55 -07:00
Jeffrey Townsend
7a777f87b8 Add 3.2 LTS. 2017-06-13 08:35:21 -07:00
Jeffrey Townsend
90611663f2 - 3.2 LTS X86 Base configuration. 2017-06-13 08:34:24 -07:00
Jeffrey Townsend
48a81f89e6 Set patch directory. 2017-06-13 08:32:29 -07:00
Jeffrey Townsend
0fce071a5f Allow K_PATCH_DIR override. 2017-06-13 08:32:06 -07:00
Jeffrey Townsend
6b6f919350 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-06-09 18:19:52 +00:00
Jeffrey Townsend
895cee3299 Move patchset to arm config area. 2017-06-09 17:03:41 +00:00
Jeffrey Townsend
845ac9878d Add 4.9 package dependency. 2017-05-27 15:23:11 +00:00
Jeffrey Townsend
274bb17fc1 Add 4.9 LTS as a platform kernel option. 2017-05-26 18:43:47 +00:00
Jeffrey Townsend
a8b29c9365 Initial amd64 build for the 4.9 LTS kernel. 2017-05-26 18:20:04 +00:00
Jeffrey Townsend
f57367f392 Initial 4.9 LTS. 2017-05-26 18:19:18 +00:00
Jeffrey Townsend
725f3171fa Improve SWI handling for reduced processor/memory environments.
- Increase SWI bootmode timeout
- Unzip the rootfs directly into the target directory instead of through a pipe.
2017-05-26 16:02:07 +00:00
Jeffrey Townsend
a43cd8a9a3 I2C Read Enhancements
- Enable I2C implicit I2C retries on transaction errors.
  Disabled by ONLP_I2C_F_DISABLE_READ_RETRIES.
2017-05-26 00:42:21 +00:00
Jeffrey Townsend
20af5f254c Merge pull request #206 from Lewis-Kang/master
To be able to support HW watchdog for x86_64 platforms
2017-05-25 09:23:03 -07:00
Jeffrey Townsend
2dab1c0cd8 SFF Improvements
- Add missing xmacros for SFF enumerations.
- Add non-standard part recognition options and types.
2017-05-25 16:09:58 +00:00
Jeffrey Townsend
8419eb7653 Add implicit retries on i2c read errors.
TODO: Make configurable.
2017-05-25 16:08:21 +00:00
Jonathan Tsai
9a9cb17fb7 Add Quanta IX2 Platform:
1. Port IX2 platform driver
2. Add class OnlPlatformPortConfig_48x25_8x100 at base.py
3. Port IX2 ONLP: board info
4. Port IX2 ONLP: thermal
5. Port IX2 ONLP: fan
6. Port IX2 ONLP: psu
7. Port IX2 ONLP: sfp
8. Port IX2 ONLP: modify gpio calling from low-level to onlp-lib
9. Port IX2 ONLP: led
2017-05-23 11:03:29 +08:00
Lewis Kang
92f8676733 support HW watchdog for x86_64 platforms 2017-05-17 16:40:37 +08:00
Zi Zhou
4adef6b4ce identify 100G breakout DAC(QSFP28) that has compliance code of 25GBASE-CR CA-S, CA-N as 100GBASE-CR4 2017-05-08 19:22:55 -07:00
Jeffrey Townsend
196bff1c98 Merge pull request #200 from kenchiang/onlp-snmpd4
Update resources and sensors in separate thread
2017-05-06 07:40:09 -07:00
Ken Chiang
e973183257 Remove/demote log messages in sensor and resource update functions. 2017-05-04 17:03:28 -07:00
Jeffrey Townsend
f4bb81b802 Re-enable this kernel build. 2017-05-04 21:34:24 +00:00
Ken Chiang
a91753e3ba Refactor onlp-snmpd platform and sensor handling so that updates happen in a separate thread. 2017-05-01 18:09:16 -07:00
Jonathan Tsai
01a3908322 Add LY4R platform:
1. [LY4R] Port platform driver
2. [LY4R] Port ONLP: board info
3. [LY4R] Port ONLP: systemled
4. [LY4R] Port ONLP: SFP
5. [LY4R] Print "ONLP is not supported for RPSU/FAN/THERMAL"
6. [LY4R] Port UEFI support
2017-04-28 15:13:14 +08:00
atmaramg
3a596da507 LS MC and AIOP console support 2017-04-26 16:13:26 +05:30
Jeffrey Townsend
9342f86400 Check for the existance of the onie-fwpkg before attempting upgrade and provide a useful error message. 2017-04-20 18:06:19 +00: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
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
Petro Karashchenko
e91feac31c Prevent ONL installation failure on systems not support UBI storages 2017-04-04 01:00:39 +03: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
f7485d0a4f Revert "merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()" 2017-03-29 13:51:34 -07:00
Jeffrey Townsend
09693d8de4 Use the correct path when removing the grubenv file. 2017-03-27 22:08:18 +00: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
4e9bb102a2 merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read() 2017-03-15 16:38:14 -07: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
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
fb2798c157 Don't predicate patch on setup-time architecture. 2017-03-02 20:26:13 +00: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