Commit Graph

2274 Commits

Author SHA1 Message Date
Jeffrey Townsend
e82a60e8e3 Merge pull request #476 from brandonchuang/as5812_54x_1
[as5812-54x] Support serial number for YM-2401J PSU in psui.c
2018-11-27 13:19:02 -08:00
Jeffrey Townsend
44b0390225 Merge pull request #475 from brandonchuang/as5812_54x
[as5812-54x] Fix QSFP port mapping issue in sfpi.c
2018-11-27 13:18:47 -08:00
Jeffrey Townsend
506e2f9750 Merge pull request #474 from brandonchuang/as5712_54x
[as5712-54x] Fix QSFP port mapping issue in sfpi.c
2018-11-27 13:18:28 -08:00
Jeffrey Townsend
e57b253c96 Merge pull request #471 from brandonchuang/as7712_32x
[as7712-32x] Support ACBEL FSF019 PSU
2018-11-27 13:17:57 -08:00
Jeffrey Townsend
a215aef4f3 Merge pull request #469 from roylee123/as5916_as7316_26xb_fix_psu_fan_wrong_rpm
[platform]as5916-26xb/as7316-26xb: add support for DC-PSU, model YM-2401U.
2018-11-27 13:17:33 -08:00
Jeffrey Townsend
ee71403e95 Merge pull request #468 from brandonchuang/as5916_54xks
[as5916-54xks] Add cpld watchdog / enhance mutex protection of peripheral drivers
2018-11-27 13:17:11 -08:00
Jeffrey Townsend
01e07ff03c Merge pull request #466 from akenliu/wedge100bf_65x_enhance_performance
[wedge100bf-65x] enhance get data performance
2018-11-27 13:16:38 -08:00
Jeffrey Townsend
e1097f8400 Merge pull request #465 from akenliu/wedge100bf_32x_enhance_performance
enhance get data performance
2018-11-27 13:16:17 -08:00
Jeffrey Townsend
1697ea8643 Merge pull request #460 from roylee123/add_platform_as5916-54xl
[platform] add new platform as5916-54xl.
2018-11-27 13:15:29 -08:00
Jeffrey Townsend
016cdd7ce6 Merge pull request #451 from MellanoxBSP/onl-msn2100b-upstream
Add: MSN2100-b system support
2018-11-27 13:09:36 -08:00
Jeffrey Townsend
3caa838d33 Update the LY2 fan control paths after kernel upgrade. 2018-11-27 18:01:22 +00:00
brandonchuang
c7a9f91270 [as5812-54x] Support serial number for YM-2401J PSU in psui.c 2018-11-08 11:23:55 +08:00
brandonchuang
e631d732c5 [as5712-54x] Fix QSFP port mapping issue in sfpi.c 2018-11-07 11:06:39 +08:00
brandonchuang
4fd8ab8b5b [as5812-54x] Fix QSFP port mapping issue in sfpi.c 2018-11-07 11:02:03 +08:00
Jeffrey Townsend
a5ec39317e Add new port config 48x25+4x100+2x200. 2018-11-05 15:56:27 +00:00
brandonchuang
78e073afd5 [as7712-32x] Support ACBEL FSF019 PSU 2018-11-02 16:45:12 +08:00
roy_lee
200f35319a [platform]as5916-26xb/as7316-26xb: onlpdump get psu capabilities of DC or AC.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-11-01 15:17:06 +08:00
roy_lee
6f3598e330 [platform]as5916-26xb/as7316-26xb: take fan speed value to be unsigned to get correct RPM.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-11-01 15:12:36 +08:00
Jeffrey Townsend
17978ad957 Increase domain socket read timeout to 5 seconds. 2018-10-31 09:07:32 -07:00
brandonchuang
0d1dfb4d6d [as5916-54xks] Add cpld watchdog function and enhance the mutex protection of peripheral drivers 2018-10-30 17:22:16 +08:00
Aken Liu
fbf6f2adac enhance get data performance
1. old method: open UART and close UART whenever we need to get information from BMC.
       new method: open UART at beginning, then we use the UART(TTY) device directly.
    2. old method: use onlp_i2c_readw() to get all QSFP/SFP's eeprom data, it spends 128 times i2c access time.
       new method: use OOM's sysfs
                   we also correct the port mapping
    3. reduce the UART(TTY) retry time and timeout time
    4. add PSU's serial number information
2018-10-24 16:41:27 +08:00
Aken Liu
f1251d7c2b enhance get data performance
1. old method: open UART and close UART whenever we need to get information from BMC.
       new method: open UART at beginning, then we use the UART(TTY) device directly.
    2. old method: use onlp_i2c_readw() to get all QSFP/SFP's eeprom data, it spends 128 times i2c access time.
       new method: use OOM's sysfs
    3. reduce the UART(TTY) retry time and timeout time
    4. add PSU's serial number information
2018-10-24 14:43:56 +08:00
sholeksandr
7a17309531 Delete unnecessary file .project
.project file added by mistake. I deleted it.
2018-10-10 09:15:00 +03:00
Jeffrey Townsend
c5cfb37aa2 Merge pull request #447 from MellanoxBSP/onl-jaguar-pull
Added support for Mellanox MQM8700 system (jaguar)
2018-10-09 13:11:21 -07:00
Jeffrey Townsend
23e743aeff Merge pull request #453 from vic-lin-accton/master
Add support for Accton AS7112-54X
2018-10-09 13:05:20 -07:00
Jeffrey Townsend
a21b640614 Merge pull request #444 from roylee123/add_platform_as7316_26xb
[platform] add new model as7316-26xb
2018-10-09 13:03:31 -07:00
Jeffrey Townsend
2e13d7940d Merge pull request #458 from jostar-yang/as7816_1003
Modify PSU driver to suuport delta and 3y power
2018-10-09 12:50:52 -07:00
Jeffrey Townsend
73fe82862f Merge pull request #445 from brandonchuang/as5916_54xks
[as5916-54xks] Update peripheral drivers to use BMC
2018-10-09 12:50:28 -07:00
Jeffrey Townsend
b349044c34 Merge pull request #439 from roylee123/as5916_54xm_lm75_48to4c
[as5916_54xm]Change one thermal sensor's i2c address to be 0x4C or 0x48.
2018-10-09 12:50:01 -07:00
Jeffrey Townsend
52c0bc9f65 Merge pull request #449 from delta-JohnsonLu/delta_ak7448
[delta ak7448] Add Support for OOM.
2018-10-09 12:49:26 -07:00
Jeffrey Townsend
5289377134 Merge pull request #430 from linyutsung/master
Add support for S9230-64X with Nephos ASIC and 64 QSFP ports
2018-10-09 12:48:38 -07:00
Jeffrey Townsend
fb6456bb14 Merge pull request #438 from jostar-yang/as7716-32x
Use i2c word mode instead of use block mode for access sys eeprom
2018-10-09 12:43:12 -07:00
Jeffrey Townsend
f37a2b2091 Merge pull request #443 from phani-karanam/add_OOM_SUPPORT_for_accton_wedge100_32x
Added OOM support for x86-64-accton-wedge100-32x
2018-10-09 12:42:46 -07:00
Jeffrey Townsend
3c320e921d Merge pull request #446 from phani-karanam/add_OOM_support_for_wedge100BF-65x
Added OOM support for x86-64-accton-wedge100bf-65x
2018-10-09 12:42:25 -07:00
Jeffrey Townsend
7861ad22da Merge pull request #441 from phani-karanam/add_OOM_support_for_x86_64_accton_wedge100bf_32x
Added OOM support for x86-64-accton-wedge100bf-32x
2018-10-09 12:42:09 -07:00
Jeffrey Townsend
b6024968fd Merge pull request #437 from jostar-yang/as7816-64x
Use i2c word mode instead of use block mode for access sys eeprom
2018-10-09 12:41:50 -07:00
Jeffrey Townsend
f6e11cdecf Merge pull request #428 from OrdnanceNetworks/onl-fixes
Assorted set of fixes and improvements to ONL
2018-10-09 12:35:38 -07:00
roy_lee
b1f7d2880b [platform] add new platform "as5916-54xl".
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-10-09 10:13:30 +08:00
Jostar Yang
a8ad49568e Modify PSU driver to suuport delta and 3y power 2018-10-03 14:06:35 +08:00
Jostar Yang
edaff9f159 Modify psu driver to support both 3y and delte power 2018-10-03 11:05:15 +08:00
Jostar Yang
c5ca78c76b Merge branch 'master' of https://github.com/opencomputeproject/OpenNetworkLinux into as7816-64x 2018-10-03 10:34:32 +08:00
Jeffrey Townsend
fcd317b51b Remove debug message. 2018-10-01 21:34:36 +00:00
Zi Zhou
9676da3dbb Merge pull request #457 from zhouzi88/swl-4628
kernel config cleanup
2018-10-01 09:12:25 -07:00
Zi Zhou
5806f03c72 kernel config cleanup 2018-10-01 09:10:23 -07:00
Jeffrey Townsend
37e9c2e873 Merge pull request #456 from zhouzi88/swl-4628
change kernel config to suppport DELL FPGA opencore i2c driver
2018-10-01 07:40:30 -07:00
Zi Zhou
1808b4fca3 change kernel config to suppport DELL FPGA opencore i2c driver 2018-09-28 15:36:35 -07:00
brandonchuang
ef45c1123b [as5916-54xks] Support onlp_sysi_platform_info_get() 2018-09-27 10:20:38 +08:00
Sergey Popovich
82ce411571 all-base-packages: Add debconf and dialog
First installed as dependency for multiple packages and second is used
by debconf, but not installed as it's dependency. This enables package
configuration during install or dpkg-reconfigure(7) from debconf.

This removes following messages on console during package install:

  debconf: unable to initialize frontend: Dialog
  debconf: (No usable dialog-like program is installed, so the dialog \
based frontend cannot be used. at \
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 11.)
  debconf: falling back to frontend: Readline

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00
Sergey Popovich
e2c1fcc335 initrds: ifup: Move NETRETRIES handling to "dhcp" code path
This variable is only required and used for dynamic network configs:
validating and configuring it for rest of the paths isn't necessary.

While there split warning message to two lines to make code and
runtime output more readable.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00
Sergey Popovich
cdad662745 initrds: ifup: Do not apply any config if NETAUTO=none
There are three types of value accepted by NETAUTO:

    1) "dhcp" for automatic network settings via DHCP
    2) "up" to bring link up, wait for IPv6 tentative and link up
       operstate
    3) anything else: apply static configuration, wait for IPv6
       tentative and link up operstate

Note that empty ("") value is subset of 3) and we only skip link up
operstate monitoring for it since commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.").

Add fourth case with NETAUTO=none to skip all but NETHW (hardware
address) from boot-config file and support different management
adapter config methods (e.g. Debian network config system).

This also fixes incorrect "return" statement usage outside of function
introduced with commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.") and adds
newline before wait_link_up() to make code more readable.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00