Commit Graph

2323 Commits

Author SHA1 Message Date
roy_lee
efbf0b1d88 To shorten the response time, few changes are made.
1. reducing waiting time.
2. caching data and keep longer.
3. only check if logged in the 1st time.
2019-01-18 11:24:33 +08:00
roy_lee
213d63e6e0 To shorten the response time, few changes are made.
1. reducing waiting time.
2. use shared memory and caching data.
3. only check if logged in at 1st time.

Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-18 11:14:39 +08:00
roy_lee
3da8466b5a Update verified onlpdump code for 16Q PIM only.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-10 14:37:40 +08:00
roy_lee
304634ca5b Add 2 more psu's attribute, and retrieve type of dev_show by the index.
Delay more for tty's slow response.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-10 10:14:24 +08:00
roy_lee
008a8edab7 Minipack at 4.9
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-02 01:44:41 +00:00
roy_lee
e167a59ae8 Update SYS_OBJECT_ID.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-28 09:15:38 +08:00
roy_lee
1c9c8ab933 Add psu3 and psu4 and update number of thermal to be 15.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-27 17:33:51 +08:00
roy_lee
7ecf90d704 Due to PIM can not present at init and hot inserted,
not spawn i2c buses from mux, but dynamically set the channel of muxes.

Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-27 17:32:38 +08:00
roy_lee
1e59735ada Verify and validate onldpump.
But PSU still not ready for
1. model name and serail number.
2. only 2 of 4 PSUs are supported.
3. present and power_good not valid.

Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-27 17:31:08 +08:00
roy_lee
d955470b11 Rename driver and update __init__.py for not using optoe on qsfp ports.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-21 16:57:06 +08:00
roy_lee
c95eb6095d correct typo.w
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-21 03:58:16 +00:00
roy_lee
da4e503942 Add drivers to get peripherals data throught tty to BMC.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-20 13:55:53 +08:00
roy_lee
ee689111cb Change console baudrate to be 57600.
I2c bus from cp2112 is at bus 1, instead of bus0.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-17 15:04:54 +08:00
roylee123
ff9df1b200 Add port config, 128x100G.
Correct the creating of QSFP eeprom devices.
Signed-off-by: roylee123 <roy_lee@accton.com>
2018-12-10 17:20:18 +08:00
roylee123
62d9290667 Add platform minipack.
CPU: Broadwell D1527.
    MAC: BCM tomhwak3.
    Port: 128x100Gbe
Signed-off-by: roylee123 <roy_lee@accton.com>
2018-12-10 14:50:41 +08:00
Jeffrey Townsend
e885ccba45 Move imports of urllib2 into wget() as it has caused some tricky issues with downstream code. 2018-12-04 22:49:20 +00:00
Jeffrey Townsend
4404a41f68 Make the onlswi script marginally less stupid. 2018-12-04 14:27:30 +00:00
Jeffrey Townsend
3c7c37f706 Add Platform Revision field. 2018-11-30 22:50:38 +00:00
Jeffrey Townsend
c31f1889a3 Latest 2018-11-28 10:33:07 -08:00
Jeffrey Townsend
ff19ef83e0 Merge pull request #493 from brandonchuang/as5912_54xks_1
[as5916-54xks] Update threshold of thermal sensors
2018-11-27 13:35:12 -08:00
Jeffrey Townsend
2a6d72a59c Merge pull request #492 from MellanoxBSP/onl-kernel_patches
Added kernel 4.9 patches for mlx-platform
2018-11-27 13:34:58 -08:00
Jeffrey Townsend
57e1ed1f81 Merge pull request #491 from toanju/ag5648-fixup
Ag5648 fixup
2018-11-27 13:34:32 -08:00
Jeffrey Townsend
dfe266881a Merge pull request #490 from toanju/as5712-format-overflow
x86-64-accton-as5712_54x fix -Werror=format-overflow
2018-11-27 13:34:14 -08:00
Jeffrey Townsend
6dce37a5d6 Merge pull request #489 from toanju/ag9032v1-format-overflow
x86-64-delta-ag9032v1 fix -Werror=format-overflow
2018-11-27 13:33:32 -08:00
Jeffrey Townsend
62903a1a90 Merge pull request #488 from toanju/ag7648-los-bits
x86-64-delta-ag7648: fix los register bits
2018-11-27 13:33:14 -08:00
Jeffrey Townsend
a521509d3b Merge pull request #485 from robertxyu/master
Update support for Inventec d7032q28b/d7054q28b
2018-11-27 13:32:58 -08:00
Jeffrey Townsend
2a7854275b Merge pull request #484 from jostar-yang/as9716_1113
Add suport as9716-32d onlp
2018-11-27 13:30:49 -08:00
Jeffrey Townsend
c43294c428 Merge pull request #483 from roylee123/Add_lm_sensor_for_as5912-54x
Add lm-sensor package and update kernel modules of as5912-54x for it.
2018-11-27 13:28:10 -08:00
Jeffrey Townsend
a510ea4a5c Merge pull request #482 from yhwu5/master
Add new platform for Inventec d5254
2018-11-27 13:27:17 -08:00
Jeffrey Townsend
55db8a2ce6 Merge pull request #481 from hans-tseng/master
improve the busess access on  the ag9032v1
2018-11-27 13:21:10 -08:00
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
eaf35c151b Update thermali.c 2018-11-27 09:01:22 +08:00
brandonchuang
f4d35a1cc9 [as5916-54xks] Update threshold of thermal sensors 2018-11-23 17:38:04 +08:00
Oleksandr Shamray
4edfc7bebe Added kernel 4.9 patches
- mlx-platform: backport patches from 4.19
- mlx-platform: Add support for register CPLD3_VER, RST_CUSE
  Add NG system type support

Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-11-21 11:45:50 +00:00
hans
64a4d8de47 1.improve the mathod to access the peripheral bus
Signed-off-by: hans <hans.tseng@deltaww.com>
2018-11-20 17:47:19 +08:00
Jostar Yang
6122f29ee6 Fix set port_name to incorrect sysfs 2018-11-20 14:50:04 +08:00
Tobias Jungel
847305743a x86-64-delta-ag7648: fix los register bits 2018-11-19 23:14:59 +01:00
Tobias Jungel
2c0401325e x86-64-delta-ag9032v1 fix -Werror=format-overflow
would write a terminating nul past the end of dest
2018-11-19 23:14:36 +01:00
Tobias Jungel
347f87c9e0 x86-64-accton-as5712_54x fix -Werror=format-overflow
would write a terminating nul past the end of dest
2018-11-19 23:14:05 +01:00
Tobias Jungel
ee3505a380 dni_ag5648_sfp: read correct presence register 2018-11-19 23:13:46 +01:00